Skip to content

Commit b2309ea

Browse files
committed
Add 542, 543
1 parent f937c2b commit b2309ea

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 2.1.1
4+
5+
- Add 542, 543
6+
37
## 2.1.0
48

59
- Use native URL class available in the environment instead of importing from `node:url` module

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-error-decoder",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "⚛︎ Decode React minified error message",
55
"keywords": [
66
"react",

src/__snapshots__/test.ts.snap

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ https://react.dev/link/hydration-mismatch%s",
426426
"46": "renderToString(): You must pass a valid ReactElement.",
427427
"460": "Suspense Exception: This is not a real error! It's an implementation detail of \`use\` to interrupt the current render. You must either rethrow it immediately, or move the \`use\` call outside of the \`try/catch\` block. Capturing without rethrowing will lead to unexpected behavior.
428428
429-
To handle async errors, wrap your component in an error boundary, or call the promise's \`.catch\` method and pass the result to \`use\`",
429+
To handle async errors, wrap your component in an error boundary, or call the promise's \`.catch\` method and pass the result to \`use\`.",
430430
"461": "This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.",
431431
"462": "Unexpected SuspendedReason. This is a bug in React.",
432432
"463": "ReactDOMServer.renderToNodeStream(): The Node Stream API is not available in Bun. Use ReactDOMServer.renderToReadableStream() instead.",
@@ -468,7 +468,7 @@ To handle async errors, wrap your component in an error boundary, or call the pr
468468
"496": "Only objects or functions can be passed to taintObjectReference. Try taintUniqueValue instead.",
469469
"497": "Only objects or functions can be passed to taintObjectReference.",
470470
"498": "Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.%s",
471-
"499": "Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.%s",
471+
"499": "Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported.%s",
472472
"5": "update(): %s expects a spec of type 'object'; got %s",
473473
"50": "DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",
474474
"500": "React expected a headers state to exist when emitEarlyPreloads was called but did not find it. This suggests emitEarlyPreloads was called more than once per request. This is a bug in React.",
@@ -523,6 +523,10 @@ Learn more: https://react.dev/warnings/version-mismatch",
523523
"54": "Danger: Did not assign to every index of resultList.",
524524
"540": "String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.",
525525
"541": "Compared context values must be arrays",
526+
"542": "Suspense Exception: This is not a real error! It's an implementation detail of \`useActionState\` to interrupt the current render. You must either rethrow it immediately, or move the \`useActionState\` call outside of the \`try/catch\` block. Capturing without rethrowing will lead to unexpected behavior.
527+
528+
To handle async errors, wrap your component in an error boundary.",
529+
"543": "Expected a ResourceEffectUpdate to be pushed together with ResourceEffectIdentity. This is a bug in React.",
526530
"55": "Danger: Expected markup to render %s nodes, but rendered %s.",
527531
"56": "Cannot render markup in a worker thread. Make sure \`window\` and \`document\` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering.",
528532
"57": "Missing markup.",

0 commit comments

Comments
 (0)