NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
npm
npm, #1564 most downloaded on npm
JSON parse with prototype poisoning protection
Latest stable
4.1.1
Last release 1 months ago
10 Oct 2026
Release timing varies
gaps range from 3 weeks to 1.6 years
Most releases are documented
notes for 15 of 18 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
18 releases Β· first in 2019
Drag across the ruler to compare, or tap a release to open it.
docs(readme): update benchmarks by @Fdawgs in https://github.com/fastify/secure-json-parse/pull/155
Full Changelog: https://github.com/fastify/secure-json-parse/compare/v4.1.0...v4.1.1
Your coding agent can read these notes before it upgrades. Set up the MCP server β
ci(.github): use latest node version by @Fdawgs in https://github.com/fastify/secure-json-parse/pull/136
safe option by @Fdawgs in https://github.com/fastify/secure-json-parse/pull/154Full Changelog: https://github.com/fastify/secure-json-parse/compare/v4.0.0...v4.1.0
build(dependabot): reduce npm updates to monthly by @Fdawgs in https://github.com/fastify/secure-json-parse/pull/130
undefined on error instead of null by @Fdawgs in https://github.com/fastify/secure-json-parse/pull/133Full Changelog: https://github.com/fastify/secure-json-parse/compare/v3.0.2...v4.0.0
build(deps-dev): bump airtap from 4.0.4 to 5.0.0 by @dependabot in https://github.com/fastify/secure-json-parse/pull/119
Full Changelog: https://github.com/fastify/secure-json-parse/compare/v3.0.1...v3.0.2
style: remove trailing whitespace by @Fdawgs in https://github.com/fastify/secure-json-parse/pull/117
Full Changelog: https://github.com/fastify/secure-json-parse/compare/v3.0.0...v3.0.1
chore(.gitignore): add bun lockfile by @Fdawgs in https://github.com/fastify/secure-json-parse/pull/91
parse by @timursaurus in https://github.com/fastify/secure-json-parse/pull/95.gitattributes file by @Fdawgs in https://github.com/fastify/secure-json-parse/pull/102Full Changelog: https://github.com/fastify/secure-json-parse/compare/v2.7.0...v3.0.0
Bump tsd from 0.24.1 to 0.25.0 by @dependabot in https://github.com/fastify/secure-json-parse/pull/88
Full Changelog: https://github.com/fastify/secure-json-parse/compare/v2.6.0...v2.7.0
Bump tsd from 0.22.0 to 0.23.0 by @dependabot in https://github.com/fastify/secure-json-parse/pull/82
Full Changelog: https://github.com/fastify/secure-json-parse/compare/v2.5.0...v2.6.0
chore: doc and ci updates by @Fdawgs in https://github.com/fastify/secure-json-parse/pull/31
Full Changelog: https://github.com/fastify/secure-json-parse/compare/v2.4.0...v2.5.0
π PR: add types
π PR:
Throw only if the constructor key has a child named prototype - #25
Fixes:
π PR: - Add testing in browsers (#21) - Dropped .npmignore
π PR:
Access global Buffer conditionally
π PR:
Bump standard from 14.3.4 to 15.0.0
π PR:
Nothing published for this version
Now the library also detects the use of the constructor key, as it was doing with the __proto__ key. parse will throw an error by default, while safeP
Now the library also detects the use of the constructor key, as it was doing with the __proto__ key.
parse will throw an error by default, while safeParse will continue to work as before.
// old behavior
j.parse(
'{"a": 5, "b": 6, "constructor":{"prototype":{"bar":"baz"}}, "__proto__": { "x": 7 } }',
{ protoAction: 'remove' }
) // => { a: 5: b:6, constructor: { prototype: { bar: 'baz' } } }
// new bahavior
j.parse(
'{"a": 5, "b": 6, "constructor":{"prototype":{"bar":"baz"}}, "__proto__": { "x": 7 } }',
{ protoAction: 'remove' }
) // => SyntaxError
// for having the same behavior as before:
j.parse(
'{"a": 5, "b": 6, "constructor":{"prototype":{"bar":"baz"}}, "__proto__": { "x": 7 } }',
{ protoAction: 'remove', constructorAction: 'ignore' }
) // => { a: 5: b:6, constructor: { prototype: { bar: 'baz' } } }
Features:
constructorAction - https://github.com/fastify/secure-json-parse/pull/4Nothing published for this version
Nothing published for this version
One column per quarter.