Releases: sveltejs/devalue
Releases · sveltejs/devalue
v5.7.1
08 Apr 16:48
Compare
Sorry, something went wrong.
No results found
Patch Changes
8becc7c : fix: handle regexes consistently in uneval's value and reference formats
v5.7.0
06 Apr 21:35
Compare
Sorry, something went wrong.
No results found
Minor Changes
df2e284 : feat: use native alternatives to encode/decode base64
498656e : feat: add DataView support
a210130 : feat: whitelist Float16Array
df2e284 : feat: simplify TypedArray slices
Patch Changes
5590634 : fix: get uneval type handling up to parity with stringify
57f73fc : fix: correctly support boxed bigints and sentinel values
v5.6.4
11 Mar 16:06
Compare
Sorry, something went wrong.
No results found
Patch Changes
87c1f3c : fix: reject __proto__ keys in malformed Object wrapper payloads
This validates the "Object" parse path and throws when the wrapped value has an own __proto__ key.
40f1db1 : fix: ensure sparse array indices are integers
87c1f3c : fix: disallow __proto__ keys in null-prototype object parsing
This disallows __proto__ keys in the "null" parse path so null-prototype object hydration cannot carry that key through parse/unflatten.
v5.6.3
18 Feb 17:50
Compare
Sorry, something went wrong.
No results found
Patch Changes
0f04d4d : fix: Properly handle __proto__
819f1ac : fix: better encoding for sparse arrays
v5.6.2
15 Jan 16:09
Compare
Sorry, something went wrong.
No results found
Patch Changes
1175584 : fix: validate input for ArrayBuffer parsing
e46afa6 : fix: validate input for typed arrays
1175584 : fix: more helpful errors for inputs causing stack overflows
v5.6.1
11 Dec 02:51
Compare
Sorry, something went wrong.
No results found
Patch Changes
2161d44 : fix: add hasOwn check before calling reviver
v5.6.0
08 Dec 16:17
Compare
Sorry, something went wrong.
No results found
Minor Changes
a3d09d4 : feat: expose DevalueError for instanceof checks in catch clauses
a3d09d4 : feat: add value and root properties in DevalueError instances
v5.5.0
12 Nov 14:15
Compare
Sorry, something went wrong.
No results found
Minor Changes
828fa1c : Enable support for custom reducer/reviver for "function" values
v5.4.2
21 Oct 21:18
Compare
Sorry, something went wrong.
No results found
Patch Changes
5c26c0d : fix: allow custom revivers to revive things serialized by builtin reducers
v5.4.1
15 Oct 18:18
Compare
Sorry, something went wrong.
No results found
Patch Changes
ca3c7b6 : chore: Remove impossible void type from replacer's uneval