Skip to content

Commit

Permalink
Upgrade React to 18.3.0-canary-b7972822b-20230503
Browse files Browse the repository at this point in the history
Includes the following upstream changes:

- [b7972822b](https://github.com/facebook/react/commits/b7972822b) useOptimisticState -> useOptimistic ([#26772](facebook/react#26772)) (Andrew Clark)
- [388686f29](https://github.com/facebook/react/commits/388686f29) Add "canary" to list of allowed npm dist tags ([#26767](facebook/react#26767)) (Andrew Clark)
- [8a25302c6](https://github.com/facebook/react/commits/8a25302c6) fix[dynamic-scripts-injection]: unregister content scripts before registration ([#26765](facebook/react#26765)) (Ruslan Lesiutin)
- [2c2476834](https://github.com/facebook/react/commits/2c2476834) Rename "next" prerelease channel to "canary" ([#26761](facebook/react#26761)) (Andrew Clark)
- [fa4314841](https://github.com/facebook/react/commits/fa4314841) Remove deprecated workflow key from Circle config ([#26762](facebook/react#26762)) (Andrew Clark)
  • Loading branch information
acdlite committed May 3, 2023
1 parent 354f67b commit 0c8246c
Show file tree
Hide file tree
Showing 62 changed files with 225 additions and 225 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,14 @@
"random-seed": "0.3.0",
"react": "18.2.0",
"react-17": "npm:react@17.0.2",
"react-builtin": "npm:react@18.3.0-next-5dd90c562-20230502",
"react-experimental-builtin": "npm:react@0.0.0-experimental-5dd90c562-20230502",
"react-builtin": "npm:react@18.3.0-canary-b7972822b-20230503",
"react-experimental-builtin": "npm:react@0.0.0-experimental-b7972822b-20230503",
"react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@17.0.2",
"react-dom-builtin": "npm:react-dom@18.3.0-next-5dd90c562-20230502",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-5dd90c562-20230502",
"react-server-dom-webpack": "18.3.0-next-5dd90c562-20230502",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-5dd90c562-20230502",
"react-dom-builtin": "npm:react-dom@18.3.0-canary-b7972822b-20230503",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-b7972822b-20230503",
"react-server-dom-webpack": "18.3.0-canary-b7972822b-20230503",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-b7972822b-20230503",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -215,8 +215,8 @@
"rimraf": "3.0.2",
"sass": "1.54.0",
"satori": "0.4.4",
"scheduler-builtin": "npm:scheduler@0.24.0-next-5dd90c562-20230502",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-5dd90c562-20230502",
"scheduler-builtin": "npm:scheduler@0.24.0-canary-b7972822b-20230503",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-b7972822b-20230503",
"seedrandom": "3.0.5",
"selenium-webdriver": "4.0.0-beta.4",
"semver": "7.3.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/next/src/compiled/@vercel/nft/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/next/src/compiled/babel-packages/packages-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/next/src/compiled/babel/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/next/src/compiled/loader-utils2/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/next/src/compiled/loader-utils3/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/next/src/compiled/node-fetch/index.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');

var ReactVersion = '18.3.0-experimental-5dd90c562-20230502';
var ReactVersion = '18.3.0-experimental-b7972822b-20230503';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down Expand Up @@ -8386,7 +8386,7 @@ function unsupportedSetOptimisticState() {
throw new Error('Cannot update optimistic state while rendering.');
}

function useOptimisticState(passthrough, reducer) {
function useOptimistic(passthrough, reducer) {
resolveCurrentlyRenderingComponent();
return [passthrough, unsupportedSetOptimisticState];
}
Expand Down Expand Up @@ -8494,7 +8494,7 @@ var HooksDispatcher = {
}

{
HooksDispatcher.useOptimisticState = useOptimisticState;
HooksDispatcher.useOptimistic = useOptimistic;
}

var currentResponseState = null;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');
var stream = require('stream');

var ReactVersion = '18.3.0-experimental-5dd90c562-20230502';
var ReactVersion = '18.3.0-experimental-b7972822b-20230503';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down Expand Up @@ -8393,7 +8393,7 @@ function unsupportedSetOptimisticState() {
throw new Error('Cannot update optimistic state while rendering.');
}

function useOptimisticState(passthrough, reducer) {
function useOptimistic(passthrough, reducer) {
resolveCurrentlyRenderingComponent();
return [passthrough, unsupportedSetOptimisticState];
}
Expand Down Expand Up @@ -8501,7 +8501,7 @@ var HooksDispatcher = {
}

{
HooksDispatcher.useOptimisticState = useOptimisticState;
HooksDispatcher.useOptimistic = useOptimistic;
}

var currentResponseState = null;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (process.env.NODE_ENV !== "production") {
(function() {
'use strict';

var ReactVersion = '18.3.0-experimental-5dd90c562-20230502';
var ReactVersion = '18.3.0-experimental-b7972822b-20230503';

var Internals = {
usingClientEntryPoint: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
* LICENSE file in the root directory of this source tree.
*/
'use strict';var d={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function e(c){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+c,a=1;a<arguments.length;a++)b+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+c+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=d.Dispatcher;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d;
exports.createPortal=function(){throw Error(e(448));};exports.flushSync=function(){throw Error(e(449));};exports.preconnect=function(c,b){var a=f.current;a&&a.preconnect(c,b)};exports.prefetchDNS=function(c){var b=f.current;b&&b.prefetchDNS(c)};exports.preinit=function(c,b){var a=f.current;a&&a.preinit(c,b)};exports.preload=function(c,b){var a=f.current;a&&a.preload(c,b)};exports.version="18.3.0-experimental-5dd90c562-20230502";
exports.createPortal=function(){throw Error(e(448));};exports.flushSync=function(){throw Error(e(449));};exports.preconnect=function(c,b){var a=f.current;a&&a.preconnect(c,b)};exports.prefetchDNS=function(c){var b=f.current;b&&b.prefetchDNS(c)};exports.preinit=function(c,b){var a=f.current;a&&a.preinit(c,b)};exports.preload=function(c,b){var a=f.current;a&&a.preload(c,b)};exports.version="18.3.0-experimental-b7972822b-20230503";
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');

var ReactVersion = '18.3.0-experimental-5dd90c562-20230502';
var ReactVersion = '18.3.0-experimental-b7972822b-20230503';

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down Expand Up @@ -8389,7 +8389,7 @@ function unsupportedSetOptimisticState() {
throw new Error('Cannot update optimistic state while rendering.');
}

function useOptimisticState(passthrough, reducer) {
function useOptimistic(passthrough, reducer) {
resolveCurrentlyRenderingComponent();
return [passthrough, unsupportedSetOptimisticState];
}
Expand Down Expand Up @@ -8497,7 +8497,7 @@ var HooksDispatcher = {
}

{
HooksDispatcher.useOptimisticState = useOptimisticState;
HooksDispatcher.useOptimistic = useOptimistic;
}

var currentResponseState = null;
Expand Down
Loading

0 comments on commit 0c8246c

Please sign in to comment.