Unverified Commit 12f2a66f authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Revert "chore(deps): bump react `18.3.0-canary-1fdacbefd-20230630`" (#52192)

Reverts vercel/next.js#52005
parent df82f1ac
...@@ -189,14 +189,14 @@ ...@@ -189,14 +189,14 @@
"random-seed": "0.3.0", "random-seed": "0.3.0",
"react": "18.2.0", "react": "18.2.0",
"react-17": "npm:react@17.0.2", "react-17": "npm:react@17.0.2",
"react-builtin": "npm:react@18.3.0-canary-1fdacbefd-20230630", "react-builtin": "npm:react@18.3.0-canary-1cea38448-20230530",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@17.0.2", "react-dom-17": "npm:react-dom@17.0.2",
"react-dom-builtin": "npm:react-dom@18.3.0-canary-1fdacbefd-20230630", "react-dom-builtin": "npm:react-dom@18.3.0-canary-1cea38448-20230530",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-1fdacbefd-20230630", "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-1cea38448-20230530",
"react-experimental-builtin": "npm:react@0.0.0-experimental-1fdacbefd-20230630", "react-experimental-builtin": "npm:react@0.0.0-experimental-1cea38448-20230530",
"react-server-dom-webpack": "18.3.0-canary-1fdacbefd-20230630", "react-server-dom-webpack": "18.3.0-canary-1cea38448-20230530",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-1fdacbefd-20230630", "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-1cea38448-20230530",
"react-ssr-prepass": "1.0.8", "react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3", "react-virtualized": "9.22.3",
"relay-compiler": "13.0.2", "relay-compiler": "13.0.2",
...@@ -206,8 +206,8 @@ ...@@ -206,8 +206,8 @@
"resolve-from": "5.0.0", "resolve-from": "5.0.0",
"sass": "1.54.0", "sass": "1.54.0",
"satori": "0.9.1", "satori": "0.9.1",
"scheduler-builtin": "npm:scheduler@0.24.0-canary-1fdacbefd-20230630", "scheduler-builtin": "npm:scheduler@0.24.0-canary-1cea38448-20230530",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-1fdacbefd-20230630", "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-1cea38448-20230530",
"seedrandom": "3.0.5", "seedrandom": "3.0.5",
"selenium-webdriver": "4.0.0-beta.4", "selenium-webdriver": "4.0.0-beta.4",
"semver": "7.3.7", "semver": "7.3.7",
......
...@@ -16,7 +16,7 @@ if (process.env.NODE_ENV !== "production") { ...@@ -16,7 +16,7 @@ if (process.env.NODE_ENV !== "production") {
var React = require("next/dist/compiled/react-experimental"); var React = require("next/dist/compiled/react-experimental");
var ReactVersion = '18.3.0-experimental-1fdacbefd-20230630'; var ReactVersion = '18.3.0-experimental-1cea38448-20230530';
var Internals = { var Internals = {
usingClientEntryPoint: false, usingClientEntryPoint: false,
...@@ -157,13 +157,6 @@ function createPortal() { ...@@ -157,13 +157,6 @@ function createPortal() {
} }
function flushSync() { function flushSync() {
throw new Error('flushSync was called on the server. This is likely caused by a' + ' function being called during render or in module scope that was' + ' intended to be called from an effect or event handler. Update your' + ' to not call flushSync no the server.'); throw new Error('flushSync was called on the server. This is likely caused by a' + ' function being called during render or in module scope that was' + ' intended to be called from an effect or event handler. Update your' + ' to not call flushSync no the server.');
} // on the server we just call the callback because there is
// not update mechanism. Really this should not be called on the
// server but since the semantics are generally clear enough we
// can provide this trivial implementation.
function batchedUpdates(fn, a) {
return fn(a);
} }
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
...@@ -174,7 +167,6 @@ exports.preconnect = preconnect; ...@@ -174,7 +167,6 @@ exports.preconnect = preconnect;
exports.prefetchDNS = prefetchDNS; exports.prefetchDNS = prefetchDNS;
exports.preinit = preinit; exports.preinit = preinit;
exports.preload = preload; exports.preload = preload;
exports.unstable_batchedUpdates = batchedUpdates;
exports.version = ReactVersion; exports.version = ReactVersion;
})(); })();
} }
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
'use strict';var d=require("next/dist/compiled/react-experimental"),e={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function f(b){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+b+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g=e.Dispatcher,h=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher; 'use strict';var d=require("next/dist/compiled/react-experimental"),e={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function f(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 g=e.Dispatcher,h=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=e;exports.createPortal=function(){throw Error(f(448));};exports.experimental_useFormStatus=function(){return h.current.useHostTransitionStatus()};exports.flushSync=function(){throw Error(f(449));};exports.preconnect=function(b,a){var c=g.current;c&&c.preconnect(b,a)};exports.prefetchDNS=function(b){var a=g.current;a&&a.prefetchDNS(b)};exports.preinit=function(b,a){var c=g.current;c&&c.preinit(b,a)}; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=e;exports.createPortal=function(){throw Error(f(448));};exports.experimental_useFormStatus=function(){return h.current.useHostTransitionStatus()};exports.flushSync=function(){throw Error(f(449));};exports.preconnect=function(c,b){var a=g.current;a&&a.preconnect(c,b)};exports.prefetchDNS=function(c){var b=g.current;b&&b.prefetchDNS(c)};exports.preinit=function(c,b){var a=g.current;a&&a.preinit(c,b)};
exports.preload=function(b,a){var c=g.current;c&&c.preload(b,a)};exports.unstable_batchedUpdates=function(b,a){return b(a)};exports.version="18.3.0-experimental-1fdacbefd-20230630"; exports.preload=function(c,b){var a=g.current;a&&a.preload(c,b)};exports.version="18.3.0-experimental-1cea38448-20230530";
...@@ -37,10 +37,10 @@ ...@@ -37,10 +37,10 @@
}, },
"dependencies": { "dependencies": {
"loose-envify": "^1.1.0", "loose-envify": "^1.1.0",
"scheduler": "0.0.0-experimental-1fdacbefd-20230630" "scheduler": "0.0.0-experimental-1cea38448-20230530"
}, },
"peerDependencies": { "peerDependencies": {
"react": "0.0.0-experimental-1fdacbefd-20230630" "react": "0.0.0-experimental-1cea38448-20230530"
}, },
"browser": { "browser": {
"./server.js": "./server.browser.js", "./server.js": "./server.browser.js",
......
...@@ -14,7 +14,7 @@ if (process.env.NODE_ENV !== "production") { ...@@ -14,7 +14,7 @@ if (process.env.NODE_ENV !== "production") {
(function() { (function() {
'use strict'; 'use strict';
var ReactVersion = '18.3.0-canary-1fdacbefd-20230630'; var ReactVersion = '18.3.0-canary-1cea38448-20230530';
var Internals = { var Internals = {
usingClientEntryPoint: false, usingClientEntryPoint: false,
...@@ -95,13 +95,6 @@ function createPortal() { ...@@ -95,13 +95,6 @@ function createPortal() {
} }
function flushSync() { function flushSync() {
throw new Error('flushSync was called on the server. This is likely caused by a' + ' function being called during render or in module scope that was' + ' intended to be called from an effect or event handler. Update your' + ' to not call flushSync no the server.'); throw new Error('flushSync was called on the server. This is likely caused by a' + ' function being called during render or in module scope that was' + ' intended to be called from an effect or event handler. Update your' + ' to not call flushSync no the server.');
} // on the server we just call the callback because there is
// not update mechanism. Really this should not be called on the
// server but since the semantics are generally clear enough we
// can provide this trivial implementation.
function batchedUpdates(fn, a) {
return fn(a);
} }
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
...@@ -112,7 +105,6 @@ exports.preconnect = preconnect; ...@@ -112,7 +105,6 @@ exports.preconnect = preconnect;
exports.prefetchDNS = prefetchDNS; exports.prefetchDNS = prefetchDNS;
exports.preinit = preinit; exports.preinit = preinit;
exports.preload = preload; exports.preload = preload;
exports.unstable_batchedUpdates = batchedUpdates;
exports.version = ReactVersion; exports.version = ReactVersion;
})(); })();
} }
...@@ -7,6 +7,5 @@ ...@@ -7,6 +7,5 @@
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
'use strict';var d={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function e(b){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+b+"; visit "+a+" 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; '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.experimental_useFormStatus=function(){throw Error(e(248));};exports.flushSync=function(){throw Error(e(449));};exports.preconnect=function(b,a){var c=f.current;c&&c.preconnect(b,a)};exports.prefetchDNS=function(b){var a=f.current;a&&a.prefetchDNS(b)};exports.preinit=function(b,a){var c=f.current;c&&c.preinit(b,a)};exports.preload=function(b,a){var c=f.current;c&&c.preload(b,a)};exports.unstable_batchedUpdates=function(b,a){return b(a)}; exports.createPortal=function(){throw Error(e(448));};exports.experimental_useFormStatus=function(){throw Error(e(248));};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-canary-1cea38448-20230530";
exports.version="18.3.0-canary-1fdacbefd-20230630";
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment