Skip to content

File tree

161 files changed

+1425
-1224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+1425
-1224
lines changed

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -194,16 +194,16 @@
194194
"random-seed": "0.3.0",
195195
"react": "18.2.0",
196196
"react-17": "npm:react@17.0.2",
197-
"react-builtin": "npm:react@18.3.0-canary-2c338b16f-20231116",
197+
"react-builtin": "npm:react@18.3.0-canary-0cdfef19b-20231211",
198198
"react-dom": "18.2.0",
199199
"react-dom-17": "npm:react-dom@17.0.2",
200-
"react-dom-builtin": "npm:react-dom@18.3.0-canary-2c338b16f-20231116",
201-
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-2c338b16f-20231116",
202-
"react-experimental-builtin": "npm:react@0.0.0-experimental-2c338b16f-20231116",
203-
"react-server-dom-turbopack": "18.3.0-canary-2c338b16f-20231116",
204-
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-2c338b16f-20231116",
205-
"react-server-dom-webpack": "18.3.0-canary-2c338b16f-20231116",
206-
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-2c338b16f-20231116",
200+
"react-dom-builtin": "npm:react-dom@18.3.0-canary-0cdfef19b-20231211",
201+
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-0cdfef19b-20231211",
202+
"react-experimental-builtin": "npm:react@0.0.0-experimental-0cdfef19b-20231211",
203+
"react-server-dom-turbopack": "18.3.0-canary-0cdfef19b-20231211",
204+
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-0cdfef19b-20231211",
205+
"react-server-dom-webpack": "18.3.0-canary-0cdfef19b-20231211",
206+
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-0cdfef19b-20231211",
207207
"react-ssr-prepass": "1.0.8",
208208
"react-virtualized": "9.22.3",
209209
"relay-compiler": "13.0.2",
@@ -213,8 +213,8 @@
213213
"resolve-from": "5.0.0",
214214
"sass": "1.54.0",
215215
"satori": "0.10.6",
216-
"scheduler-builtin": "npm:scheduler@0.24.0-canary-2c338b16f-20231116",
217-
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-2c338b16f-20231116",
216+
"scheduler-builtin": "npm:scheduler@0.24.0-canary-0cdfef19b-20231211",
217+
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-0cdfef19b-20231211",
218218
"seedrandom": "3.0.5",
219219
"selenium-webdriver": "4.0.0-beta.4",
220220
"semver": "7.3.7",

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
1717
var React = require("next/dist/compiled/react-experimental");
1818
var ReactDOM = require('react-dom');
1919

20-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
20+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
2121

2222
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2323

@@ -361,7 +361,11 @@ var hasReadOnlyValue = {
361361
function checkControlledValueProps(tagName, props) {
362362
{
363363
if (!(hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || props.value == null)) {
364-
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
364+
if (tagName === 'select') {
365+
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, set `onChange`.');
366+
} else {
367+
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.');
368+
}
365369
}
366370

367371
if (!(props.onChange || props.readOnly || props.disabled || props.checked == null)) {

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function formatProdErrorMessage(code) {
2626
return "Minified React error #" + code + "; visit " + url + " for the full message or " + 'use the non-minified dev environment for full errors and additional ' + 'helpful warnings.';
2727
}
2828

29-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
29+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
3030

3131
// A pure JS implementation of a string hashing function. We do not use it for
3232
// security or obfuscation purposes, only to create compact hashes. So we

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var React = require("next/dist/compiled/react-experimental");
1818
var ReactDOM = require('react-dom');
1919
var stream = require('stream');
2020

21-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
21+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
2222

2323
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2424

@@ -362,7 +362,11 @@ var hasReadOnlyValue = {
362362
function checkControlledValueProps(tagName, props) {
363363
{
364364
if (!(hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || props.value == null)) {
365-
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
365+
if (tagName === 'select') {
366+
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, set `onChange`.');
367+
} else {
368+
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.');
369+
}
366370
}
367371

368372
if (!(props.onChange || props.readOnly || props.disabled || props.checked == null)) {

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var React = require("next/dist/compiled/react-experimental");
1414
var ReactDOM = require('react-dom');
1515
var stream = require('stream');
1616

17-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
17+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
1818

1919
// A pure JS implementation of a string hashing function. We do not use it for
2020
// security or obfuscation purposes, only to create compact hashes. So we

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.development.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function printWarning(level, format, args) {
5555
}
5656
}
5757

58-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
58+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
5959

6060
var Internals = {
6161
usingClientEntryPoint: false,

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.production.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
var React = require("next/dist/compiled/react-experimental");
1414

15-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
15+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
1616

1717
const Internals = {
1818
usingClientEntryPoint: false,

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-rendering-stub.production.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
1717
var React = require("next/dist/compiled/react-experimental");
1818
var ReactDOM = require('react-dom');
1919

20-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
20+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
2121

2222
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2323

@@ -441,7 +441,11 @@ var hasReadOnlyValue = {
441441
function checkControlledValueProps(tagName, props) {
442442
{
443443
if (!(hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || props.value == null)) {
444-
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
444+
if (tagName === 'select') {
445+
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, set `onChange`.');
446+
} else {
447+
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.');
448+
}
445449
}
446450

447451
if (!(props.onChange || props.readOnly || props.disabled || props.checked == null)) {

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
var React = require("next/dist/compiled/react-experimental");
1414
var ReactDOM = require('react-dom');
1515

16-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
16+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
1717

1818
// Do not require this module directly! Use normal `invariant` calls with
1919
// template literal strings. The messages will be replaced with error codes

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
var React = require("next/dist/compiled/react-experimental");
1414
var ReactDOM = require('react-dom');
1515

16-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
16+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
1717

1818
/* global Bun */
1919
function scheduleWork(callback) {

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
1717
var React = require("next/dist/compiled/react-experimental");
1818
var ReactDOM = require('react-dom');
1919

20-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
20+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
2121

2222
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2323

@@ -441,7 +441,11 @@ var hasReadOnlyValue = {
441441
function checkControlledValueProps(tagName, props) {
442442
{
443443
if (!(hasReadOnlyValue[props.type] || props.onChange || props.onInput || props.readOnly || props.disabled || props.value == null)) {
444-
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
444+
if (tagName === 'select') {
445+
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, set `onChange`.');
446+
} else {
447+
error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.');
448+
}
445449
}
446450

447451
if (!(props.onChange || props.readOnly || props.disabled || props.checked == null)) {

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
var React = require("next/dist/compiled/react-experimental");
1414
var ReactDOM = require('react-dom');
1515

16-
var ReactVersion = '18.3.0-experimental-2c338b16f-20231116';
16+
var ReactVersion = '18.3.0-experimental-0cdfef19b-20231211';
1717

1818
// A pure JS implementation of a string hashing function. We do not use it for
1919
// security or obfuscation purposes, only to create compact hashes. So we

0 commit comments

Comments
 (0)