Skip to content

Commit a5ff280

Browse files
15.0.0 [skip ci]
1 parent e2f8a7b commit a5ff280

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changes
22

3+
## [15.0.0](https://github.com/prantlf/jsonlint/compare/v14.1.0...v15.0.0) (2024-08-09)
4+
5+
### Features
6+
7+
* Optionally omit object key __proto__ and others from parsed output ([e2f8a7b](https://github.com/prantlf/jsonlint/commit/e2f8a7be3cdb78bf696ba4251e2b3053f5714c22))
8+
9+
### BREAKING CHANGES
10+
11+
Object key `__proto__` and other keys from `Object.prototype` are included in the parsed object by default. Earlier, no keys from `Object.prototype` were included. The new behaviour is consistent with `JSON.parse`. If you need the old behaviour, add the argument `ignore-prototype-keys` to the command line, or set the option `ignorePrototypeKeys` to `true`, when calling the `parse` method. If you don't have under control, what will happens with the parsed object, you should consider setting `ignoreProtoKey` to `true`, when calling the `parse` method, to prevent prototype pollution.
12+
313
## [14.1.0](https://github.com/prantlf/jsonlint/compare/v14.0.3...v14.1.0) (2024-08-09)
414

515
### Features

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prantlf/jsonlint",
3-
"version": "14.1.0",
3+
"version": "15.0.0",
44
"description": "JSON/CJSON/JSON5 parser, syntax and schema validator and pretty-printer.",
55
"author": "Ferdinand Prantl <prantlf@gmail.com> (http://prantl.tk)",
66
"contributors": [

0 commit comments

Comments
 (0)