fix: `devalue` link in `hydratable_serialization_failed` error (#18999)

pull/18884/merge
Conduitry 1 day ago committed by GitHub
parent 86eb09b76e
commit 79e7c3bd34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: `devalue` link in `hydratable_serialization_failed` error

@ -57,7 +57,7 @@ This error occurs when using `hydratable` multiple times with the same key. To a
```
Failed to serialize `hydratable` data for key `%key%`.
`hydratable` can serialize anything [`uneval` from `devalue`](https://npmjs.com/package/uneval) can, plus Promises.
`hydratable` can serialize anything [`uneval` from `devalue`](https://npmjs.com/package/devalue) can, plus Promises.
Cause:
%stack%

@ -44,7 +44,7 @@ This error occurs when using `hydratable` multiple times with the same key. To a
> Failed to serialize `hydratable` data for key `%key%`.
>
> `hydratable` can serialize anything [`uneval` from `devalue`](https://npmjs.com/package/uneval) can, plus Promises.
> `hydratable` can serialize anything [`uneval` from `devalue`](https://npmjs.com/package/devalue) can, plus Promises.
>
> Cause:
> %stack%

@ -72,7 +72,7 @@ ${stack}\nhttps://svelte.dev/e/hydratable_clobbering`);
/**
* Failed to serialize `hydratable` data for key `%key%`.
*
* `hydratable` can serialize anything [`uneval` from `devalue`](https://npmjs.com/package/uneval) can, plus Promises.
* `hydratable` can serialize anything [`uneval` from `devalue`](https://npmjs.com/package/devalue) can, plus Promises.
*
* Cause:
* %stack%
@ -83,7 +83,7 @@ ${stack}\nhttps://svelte.dev/e/hydratable_clobbering`);
export function hydratable_serialization_failed(key, stack) {
const error = new Error(`hydratable_serialization_failed\nFailed to serialize \`hydratable\` data for key \`${key}\`.
\`hydratable\` can serialize anything [\`uneval\` from \`devalue\`](https://npmjs.com/package/uneval) can, plus Promises.
\`hydratable\` can serialize anything [\`uneval\` from \`devalue\`](https://npmjs.com/package/devalue) can, plus Promises.
Cause:
${stack}\nhttps://svelte.dev/e/hydratable_serialization_failed`);

Loading…
Cancel
Save