mirror of https://github.com/sveltejs/svelte
fix: assign message to error object in handle_error using Object.assign (#11675)
* fix: avoid writing to not writable error object in handle_error * feedback * feedback * Update packages/svelte/src/internal/client/runtime.js Co-authored-by: Rich Harris <rich.harris@vercel.com> * Update .changeset/shiny-pillows-relax.md Co-authored-by: Rich Harris <rich.harris@vercel.com> * Update packages/svelte/src/internal/client/runtime.js Co-authored-by: Rich Harris <rich.harris@vercel.com> * Update packages/svelte/src/internal/client/runtime.js Co-authored-by: Rich Harris <rich.harris@vercel.com> * Update packages/svelte/src/internal/client/runtime.js --------- Co-authored-by: Rich Harris <rich.harris@vercel.com>pull/11895/head
parent
e560044ad5
commit
14ddb87c31
@ -0,0 +1,5 @@
|
||||
---
|
||||
"svelte": patch
|
||||
---
|
||||
|
||||
fix: assign message to error object in `handle_error` using `Object.defineProperty`
|
Loading…
Reference in new issue