Skip to content

Commit 6cbb3f5

Browse files
Version Packages (#133)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 40f1db1 commit 6cbb3f5

File tree

5 files changed

+14
-20
lines changed

5 files changed

+14
-20
lines changed

.changeset/cool-icons-jog.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/eighty-emus-build.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/green-candles-talk.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# devalue changelog
22

3+
## 5.6.4
4+
5+
### Patch Changes
6+
7+
- 87c1f3c: fix: reject `__proto__` keys in malformed `Object` wrapper payloads
8+
9+
This validates the `"Object"` parse path and throws when the wrapped value has an own `__proto__` key.
10+
11+
- 40f1db1: fix: ensure sparse array indices are integers
12+
- 87c1f3c: fix: disallow `__proto__` keys in null-prototype object parsing
13+
14+
This disallows `__proto__` keys in the `"null"` parse path so null-prototype object hydration cannot carry that key through parse/unflatten.
15+
316
## 5.6.3
417

518
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "devalue",
33
"description": "Gets the job done when JSON.stringify can't",
4-
"version": "5.6.3",
4+
"version": "5.6.4",
55
"repository": "sveltejs/devalue",
66
"sideEffects": false,
77
"exports": {

0 commit comments

Comments
 (0)