Compare commits

..

2 Commits

Author SHA1 Message Date
Rick Hanlon
f1338f8080 Export React.act from 18.3 2024-04-26 12:17:57 -04:00
Andrew Clark
d6c42f7b11 Bump to 18.3.1 2024-04-26 12:16:41 -04:00
15 changed files with 27 additions and 22 deletions

View File

@@ -18,25 +18,25 @@
//
// 0.0.0-experimental-241c4467e-20200129
const ReactVersion = '18.3.0';
const ReactVersion = '18.3.1';
// The label used by the @next channel. Represents the upcoming release's
// stability. Could be "alpha", "beta", "rc", etc.
const nextChannelLabel = 'next';
const stablePackages = {
'eslint-plugin-react-hooks': '4.6.1',
'jest-react': '0.14.1',
'eslint-plugin-react-hooks': '4.6.2',
'jest-react': '0.14.2',
react: ReactVersion,
'react-art': ReactVersion,
'react-dom': ReactVersion,
'react-is': ReactVersion,
'react-reconciler': '0.29.1',
'react-refresh': '0.14.1',
'react-reconciler': '0.29.2',
'react-refresh': '0.14.2',
'react-test-renderer': ReactVersion,
'use-subscription': '1.8.1',
'use-sync-external-store': '1.2.1',
scheduler: '0.23.1',
'use-subscription': '1.8.2',
'use-sync-external-store': '1.2.2',
scheduler: '0.23.2',
};
// These packages do not exist in the @next or @latest channel, only

View File

@@ -20,8 +20,8 @@
"homepage": "https://reactjs.org/",
"peerDependencies": {
"jest": "^23.0.1 || ^24.0.0 || ^25.1.0",
"react": "^18.3.0",
"react-test-renderer": "^18.3.0"
"react": "^18.3.1",
"react-test-renderer": "^18.3.1"
},
"files": [
"LICENSE",

View File

@@ -1,7 +1,7 @@
{
"name": "react-art",
"description": "React ART is a JavaScript library for drawing vector graphics using React. It provides declarative and reactive bindings to the ART library. Using the same declarative API you can render the output to either Canvas, SVG or VML (IE8).",
"version": "18.3.0",
"version": "18.3.1",
"main": "index.js",
"repository": {
"type": "git",
@@ -28,7 +28,7 @@
"scheduler": "^0.22.0"
},
"peerDependencies": {
"react": "^18.3.0"
"react": "^18.3.1"
},
"files": [
"LICENSE",

View File

@@ -1,6 +1,6 @@
{
"name": "react-dom",
"version": "18.3.0",
"version": "18.3.1",
"description": "React package for working with the DOM.",
"main": "index.js",
"repository": {
@@ -21,7 +21,7 @@
"scheduler": "^0.22.0"
},
"peerDependencies": {
"react": "^18.3.0"
"react": "^18.3.1"
},
"files": [
"LICENSE",

View File

@@ -1,6 +1,6 @@
{
"name": "react-is",
"version": "18.3.0",
"version": "18.3.1",
"description": "Brand checking of React Elements.",
"main": "index.js",
"repository": {

View File

@@ -26,7 +26,7 @@
"node": ">=0.10.0"
},
"peerDependencies": {
"react": "^18.3.0"
"react": "^18.3.1"
},
"dependencies": {
"loose-envify": "^1.1.0",

View File

@@ -20,7 +20,7 @@ describe('isomorphic act()', () => {
ReactNoop = require('react-noop-renderer');
DiscreteEventPriority = require('react-reconciler/constants')
.DiscreteEventPriority;
act = React.unstable_act;
act = gate(flags => flags.variant) ? React.act : React.unstable_act;
});
beforeEach(() => {

View File

@@ -1,6 +1,6 @@
{
"name": "react-test-renderer",
"version": "18.3.0",
"version": "18.3.1",
"description": "React package for snapshot testing.",
"main": "index.js",
"repository": {
@@ -19,12 +19,12 @@
},
"homepage": "https://reactjs.org/",
"dependencies": {
"react-is": "^18.3.0",
"react-is": "^18.3.1",
"react-shallow-renderer": "^16.15.0",
"scheduler": "^0.22.0"
},
"peerDependencies": {
"react": "^18.3.0"
"react": "^18.3.1"
},
"files": [
"LICENSE",

View File

@@ -9,6 +9,7 @@
export {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
act,
act as unstable_act,
Children,
Component,

View File

@@ -9,6 +9,7 @@
export {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
act,
act as unstable_act,
Children,
Component,

View File

@@ -33,6 +33,7 @@ export type ChildrenArray<+T> = $ReadOnlyArray<ChildrenArray<T>> | T;
// We can't use export * from in Flow for some reason.
export {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
act,
act as unstable_act,
Children,
Component,

View File

@@ -9,6 +9,7 @@
export {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
act,
act as unstable_act,
Children,
Component,

View File

@@ -9,6 +9,7 @@
export {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
act,
act as unstable_act,
Children,
Component,

View File

@@ -4,7 +4,7 @@
"keywords": [
"react"
],
"version": "18.3.0",
"version": "18.3.1",
"homepage": "https://reactjs.org/",
"bugs": "https://github.com/facebook/react/issues",
"license": "MIT",

View File

@@ -13,4 +13,4 @@
// TODO: This module is used both by the release scripts and to expose a version
// at runtime. We should instead inject the version number as part of the build
// process, and use the ReactVersions.js module as the single source of truth.
export default '18.3.0';
export default '18.3.1';