Skip to content

Commit 4b6f16f

Browse files
authored
Upgrade JSON11 from 1.1.2 to 2.0.0 (#885)
Signed-off-by: Miki <miki@amazon.com>
1 parent 7e38b3b commit 4b6f16f

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1313
### Deprecated
1414
### Removed
1515
### Fixed
16+
- Upgrade `JSON11` from 1.1.2 to 2.0.0 to ensure UTF-8 safety when stringifying JSON data
1617
### Security
1718

1819
## [2.12.0]

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"dependencies": {
105105
"aws4": "^1.11.0",
106106
"debug": "^4.3.1",
107-
"json11": "^1.1.2",
107+
"json11": "^2.0.0",
108108
"hpagent": "^1.2.0",
109109
"ms": "^2.1.3",
110110
"secure-json-parse": "^2.4.0"

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -2091,10 +2091,10 @@ json-stable-stringify-without-jsonify@^1.0.1:
20912091
resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
20922092
integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=
20932093

2094-
json11@^1.1.2:
2095-
version "1.1.2"
2096-
resolved "https://registry.yarnpkg.com/json11/-/json11-1.1.2.tgz#35ffd3ee5073b0cc09ef826b0a0dc005ebef2b5b"
2097-
integrity sha512-5r1RHT1/Gr/jsI/XZZj/P6F11BKM8xvTaftRuiLkQI9Z2PFDukM82Ysxw8yDszb3NJP/NKnRlSGmhUdG99rlBw==
2094+
json11@^2.0.0:
2095+
version "2.0.0"
2096+
resolved "https://registry.yarnpkg.com/json11/-/json11-2.0.0.tgz#06c4ad0a40b50c5de99a87f6d3028593137e5641"
2097+
integrity sha512-VuKJKUSPEJape+daTm70Nx7vdcdorf4S6LCyN2z0jUVH4UrQ4ftXo2kC0bnHpCREmxHuHqCNVPA75BjI3CB6Ag==
20982098

20992099
json5@^2.1.2:
21002100
version "2.2.3"

0 commit comments

Comments
 (0)