Skip to content

Commit a0dc4ee

Browse files
committed
Override jsonparse to fix deprecated new Buffer.
[DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `node --trace-deprecation ...` to show where the warning was created) creationix/jsonparse#45
1 parent 994ac45 commit a0dc4ee

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

package-lock.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"url": "https://github.com/raineorshine/npm-check-updates/issues"
5151
},
5252
"overrides": {
53+
"jsonparse": "https://github.com/ARitz-Cracker/jsonparse/tree/patch-1",
5354
"@yarnpkg/parsers": "2.6.0"
5455
},
5556
"devDependencies": {
@@ -145,10 +146,12 @@
145146
],
146147
"lockfile-lint": {
147148
"allowed-schemes": [
148-
"https:"
149+
"https:",
150+
"git+ssh:"
149151
],
150152
"allowed-hosts": [
151-
"npm"
153+
"npm",
154+
"github.com"
152155
],
153156
"empty-hostname": false,
154157
"type": "npm ",

0 commit comments

Comments
 (0)