Skip to content

Commit

Permalink
Update React from 49496d49-20240814 to 1eaccd82-20240816
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Aug 16, 2024
1 parent 12f2fa7 commit f9f14ec
Show file tree
Hide file tree
Showing 182 changed files with 221,130 additions and 779 deletions.
2 changes: 1 addition & 1 deletion .github/.react-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.0.0-rc-49496d49-20240814
19.0.0-rc-1eaccd82-20240816
4 changes: 2 additions & 2 deletions examples/reproduction-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
},
"dependencies": {
"next": "canary",
"react": "19.0.0-rc-49496d49-20240814",
"react-dom": "19.0.0-rc-49496d49-20240814"
"react": "19.0.0-rc-1eaccd82-20240816",
"react-dom": "19.0.0-rc-1eaccd82-20240816"
},
"devDependencies": {
"@types/node": "20.12.12",
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,19 +206,19 @@
"pretty-bytes": "5.3.0",
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0-rc-49496d49-20240814",
"react": "19.0.0-rc-1eaccd82-20240816",
"react-17": "npm:react@17.0.2",
"react-builtin": "npm:react@19.0.0-rc-49496d49-20240814",
"react-dom": "19.0.0-rc-49496d49-20240814",
"react-builtin": "npm:react@19.0.0-rc-1eaccd82-20240816",
"react-dom": "19.0.0-rc-1eaccd82-20240816",
"react-dom-17": "npm:react-dom@17.0.2",
"react-dom-builtin": "npm:react-dom@19.0.0-rc-49496d49-20240814",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-49496d49-20240814",
"react-experimental-builtin": "npm:react@0.0.0-experimental-49496d49-20240814",
"react-is-builtin": "npm:react-is@19.0.0-rc-49496d49-20240814",
"react-server-dom-turbopack": "19.0.0-rc-49496d49-20240814",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-49496d49-20240814",
"react-server-dom-webpack": "19.0.0-rc-49496d49-20240814",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-49496d49-20240814",
"react-dom-builtin": "npm:react-dom@19.0.0-rc-1eaccd82-20240816",
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-1eaccd82-20240816",
"react-experimental-builtin": "npm:react@0.0.0-experimental-1eaccd82-20240816",
"react-is-builtin": "npm:react-is@19.0.0-rc-1eaccd82-20240816",
"react-server-dom-turbopack": "19.0.0-rc-1eaccd82-20240816",
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-1eaccd82-20240816",
"react-server-dom-webpack": "19.0.0-rc-1eaccd82-20240816",
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-1eaccd82-20240816",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -228,8 +228,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.10.9",
"scheduler-builtin": "npm:scheduler@0.25.0-rc-49496d49-20240814",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-49496d49-20240814",
"scheduler-builtin": "npm:scheduler@0.25.0-rc-1eaccd82-20240816",
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-1eaccd82-20240816",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
Expand Down Expand Up @@ -269,10 +269,10 @@
"@babel/traverse": "7.22.5",
"@types/react": "npm:types-react@19.0.0-rc.0",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0",
"react": "19.0.0-rc-49496d49-20240814",
"react-dom": "19.0.0-rc-49496d49-20240814",
"react-is": "19.0.0-rc-49496d49-20240814",
"scheduler": "0.25.0-rc-49496d49-20240814"
"react": "19.0.0-rc-1eaccd82-20240816",
"react-dom": "19.0.0-rc-1eaccd82-20240816",
"react-is": "19.0.0-rc-1eaccd82-20240816",
"scheduler": "0.25.0-rc-1eaccd82-20240816"
},
"patchedDependencies": {
"webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch"
Expand Down
4 changes: 2 additions & 2 deletions packages/create-next-app/templates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ export const installTemplate = async ({
* Default dependencies.
*/
dependencies: {
react: "19.0.0-rc-49496d49-20240814",
"react-dom": "19.0.0-rc-49496d49-20240814",
react: "19.0.0-rc-1eaccd82-20240816",
"react-dom": "19.0.0-rc-1eaccd82-20240816",
next: version,
},
devDependencies: {},
Expand Down
4 changes: 2 additions & 2 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@
"@opentelemetry/api": "^1.1.0",
"@playwright/test": "^1.41.2",
"babel-plugin-react-compiler": "*",
"react": "19.0.0-rc-49496d49-20240814",
"react-dom": "19.0.0-rc-49496d49-20240814",
"react": "19.0.0-rc-1eaccd82-20240816",
"react-dom": "19.0.0-rc-1eaccd82-20240816",
"sass": "^1.3.0"
},
"peerDependenciesMeta": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6065,7 +6065,7 @@
(currentlyRenderingFiber$1.updateQueue = updateQueue));
updateQueue.memoCache = memoCache;
updateQueue = memoCache.data[memoCache.index];
if (void 0 === updateQueue)
if (void 0 === updateQueue || ignorePreviousDependencies)
for (
updateQueue = memoCache.data[memoCache.index] = Array(size),
current = 0;
Expand Down Expand Up @@ -24604,11 +24604,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-49496d49-20240814" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-1eaccd82-20240816" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.0.0-experimental-49496d49-20240814\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-1eaccd82-20240816\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -24645,11 +24645,11 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-experimental-49496d49-20240814",
version: "19.0.0-experimental-1eaccd82-20240816",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-experimental-49496d49-20240814"
reconcilerVersion: "19.0.0-experimental-1eaccd82-20240816"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -24793,7 +24793,7 @@
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14993,14 +14993,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1640 = React.version;
if (
"19.0.0-experimental-49496d49-20240814" !==
"19.0.0-experimental-1eaccd82-20240816" !==
isomorphicReactPackageVersion$jscomp$inline_1640
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1640,
"19.0.0-experimental-49496d49-20240814"
"19.0.0-experimental-1eaccd82-20240816"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15022,11 +15022,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2039 = {
bundleType: 0,
version: "19.0.0-experimental-49496d49-20240814",
version: "19.0.0-experimental-1eaccd82-20240816",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-experimental-49496d49-20240814"
reconcilerVersion: "19.0.0-experimental-1eaccd82-20240816"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2040 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -15130,4 +15130,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
Original file line number Diff line number Diff line change
Expand Up @@ -6073,7 +6073,7 @@
(currentlyRenderingFiber$1.updateQueue = updateQueue));
updateQueue.memoCache = memoCache;
updateQueue = memoCache.data[memoCache.index];
if (void 0 === updateQueue)
if (void 0 === updateQueue || ignorePreviousDependencies)
for (
updateQueue = memoCache.data[memoCache.index] = Array(size),
current = 0;
Expand Down Expand Up @@ -24661,11 +24661,11 @@
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-49496d49-20240814" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-1eaccd82-20240816" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.0.0-experimental-49496d49-20240814\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-1eaccd82-20240816\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -24702,11 +24702,11 @@
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-experimental-49496d49-20240814",
version: "19.0.0-experimental-1eaccd82-20240816",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-experimental-49496d49-20240814"
reconcilerVersion: "19.0.0-experimental-1eaccd82-20240816"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -25180,7 +25180,7 @@
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15696,14 +15696,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1729 = React.version;
if (
"19.0.0-experimental-49496d49-20240814" !==
"19.0.0-experimental-1eaccd82-20240816" !==
isomorphicReactPackageVersion$jscomp$inline_1729
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1729,
"19.0.0-experimental-49496d49-20240814"
"19.0.0-experimental-1eaccd82-20240816"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15725,11 +15725,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1736 = {
bundleType: 0,
version: "19.0.0-experimental-49496d49-20240814",
version: "19.0.0-experimental-1eaccd82-20240816",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-experimental-49496d49-20240814",
reconcilerVersion: "19.0.0-experimental-1eaccd82-20240816",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$291 = 0;
Expand Down Expand Up @@ -16009,7 +16009,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9176,5 +9176,5 @@
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -5971,4 +5971,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
Original file line number Diff line number Diff line change
Expand Up @@ -9176,5 +9176,5 @@
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -6063,4 +6063,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
);
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
Original file line number Diff line number Diff line change
Expand Up @@ -8050,11 +8050,11 @@
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-49496d49-20240814" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-1eaccd82-20240816" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.0.0-experimental-49496d49-20240814\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-1eaccd82-20240816\nLearn more: https://react.dev/warnings/version-mismatch")
);
}
var React = require("next/dist/compiled/react-experimental"),
Expand Down Expand Up @@ -9776,5 +9776,5 @@
startWork(request);
});
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -6468,12 +6468,12 @@ function getPostponedState(request) {
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-49496d49-20240814" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-1eaccd82-20240816" !== isomorphicReactPackageVersion)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion,
"19.0.0-experimental-49496d49-20240814"
"19.0.0-experimental-1eaccd82-20240816"
)
);
}
Expand Down Expand Up @@ -6678,4 +6678,4 @@ exports.resume = function (children, postponedState, options) {
startWork(request);
});
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
Original file line number Diff line number Diff line change
Expand Up @@ -5977,13 +5977,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
}
var isomorphicReactPackageVersion$jscomp$inline_789 = React.version;
if (
"19.0.0-experimental-49496d49-20240814" !==
"19.0.0-experimental-1eaccd82-20240816" !==
isomorphicReactPackageVersion$jscomp$inline_789
)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion$jscomp$inline_789 +
"\n - react-dom: 19.0.0-experimental-49496d49-20240814\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-1eaccd82-20240816\nLearn more: https://react.dev/warnings/version-mismatch")
);
exports.renderToReadableStream = function (children, options) {
return new Promise(function (resolve, reject) {
Expand Down Expand Up @@ -6071,4 +6071,4 @@ exports.renderToReadableStream = function (children, options) {
startWork(request);
});
};
exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
Original file line number Diff line number Diff line change
Expand Up @@ -8069,11 +8069,11 @@
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-49496d49-20240814" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-1eaccd82-20240816" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.0.0-experimental-49496d49-20240814\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-1eaccd82-20240816\nLearn more: https://react.dev/warnings/version-mismatch")
);
}
var React = require("next/dist/compiled/react-experimental"),
Expand Down Expand Up @@ -9802,5 +9802,5 @@ const setTimeoutOrImmediate =
? globalThis['set' + 'Immediate']
: setTimeout;

exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -6572,11 +6572,11 @@ function getPostponedState(request) {
}
function ensureCorrectIsomorphicReactVersion() {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-experimental-49496d49-20240814" !== isomorphicReactPackageVersion)
if ("19.0.0-experimental-1eaccd82-20240816" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.0.0-experimental-49496d49-20240814\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-experimental-1eaccd82-20240816\nLearn more: https://react.dev/warnings/version-mismatch")
);
}
ensureCorrectIsomorphicReactVersion();
Expand Down Expand Up @@ -6791,4 +6791,4 @@ const setTimeoutOrImmediate =
? globalThis['set' + 'Immediate']
: setTimeout;

exports.version = "19.0.0-experimental-49496d49-20240814";
exports.version = "19.0.0-experimental-1eaccd82-20240816";
Loading

0 comments on commit f9f14ec

Please sign in to comment.