Skip to content

Commit 18c3b40

Browse files
committedMay 7, 2024
deps: json-parse-even-better-errors@3.0.2
1 parent 4c5bf77 commit 18c3b40

File tree

6 files changed

+17
-14
lines changed

6 files changed

+17
-14
lines changed
 

‎node_modules/json-parse-even-better-errors/lib/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ const parseError = (e, txt, context = 20) => {
5252
let errIdx
5353
if (badIndexMatch) {
5454
errIdx = +badIndexMatch[1]
55-
} else if (msg.match(/^Unexpected end of JSON.*/i)) {
55+
} else /* istanbul ignore next - doesnt happen in Node 22 */ if (
56+
msg.match(/^Unexpected end of JSON.*/i)
57+
) {
5658
errIdx = txt.length - 1
5759
}
5860

‎node_modules/json-parse-even-better-errors/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-parse-even-better-errors",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "JSON.parse with context information on error",
55
"main": "lib/index.js",
66
"files": [
@@ -18,7 +18,7 @@
1818
},
1919
"repository": {
2020
"type": "git",
21-
"url": "https://github.com/npm/json-parse-even-better-errors.git"
21+
"url": "git+https://github.com/npm/json-parse-even-better-errors.git"
2222
},
2323
"keywords": [
2424
"JSON",
@@ -28,7 +28,7 @@
2828
"license": "MIT",
2929
"devDependencies": {
3030
"@npmcli/eslint-config": "^4.0.0",
31-
"@npmcli/template-oss": "4.20.0",
31+
"@npmcli/template-oss": "4.22.0",
3232
"tap": "^16.3.0"
3333
},
3434
"tap": {
@@ -43,7 +43,7 @@
4343
},
4444
"templateOSS": {
4545
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
46-
"version": "4.20.0",
46+
"version": "4.22.0",
4747
"publish": true
4848
}
4949
}

‎package-lock.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"ini": "^4.1.2",
111111
"init-package-json": "^6.0.3",
112112
"is-cidr": "^5.0.5",
113-
"json-parse-even-better-errors": "^3.0.1",
113+
"json-parse-even-better-errors": "^3.0.2",
114114
"libnpmaccess": "^8.0.1",
115115
"libnpmdiff": "^6.0.3",
116116
"libnpmexec": "^8.0.0",
@@ -6938,10 +6938,11 @@
69386938
"peer": true
69396939
},
69406940
"node_modules/json-parse-even-better-errors": {
6941-
"version": "3.0.1",
6942-
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz",
6943-
"integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==",
6941+
"version": "3.0.2",
6942+
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz",
6943+
"integrity": "sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==",
69446944
"inBundle": true,
6945+
"license": "MIT",
69456946
"engines": {
69466947
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
69476948
}
@@ -14799,7 +14800,7 @@
1479914800
"cacache": "^18.0.3",
1480014801
"common-ancestor-path": "^1.0.1",
1480114802
"hosted-git-info": "^7.0.2",
14802-
"json-parse-even-better-errors": "^3.0.0",
14803+
"json-parse-even-better-errors": "^3.0.2",
1480314804
"json-stringify-nice": "^1.1.4",
1480414805
"minimatch": "^9.0.4",
1480514806
"nopt": "^7.0.0",
@@ -15063,7 +15064,7 @@
1506315064
"dependencies": {
1506415065
"@npmcli/git": "^5.0.7",
1506515066
"@npmcli/run-script": "^8.1.0",
15066-
"json-parse-even-better-errors": "^3.0.0",
15067+
"json-parse-even-better-errors": "^3.0.2",
1506715068
"proc-log": "^4.2.0",
1506815069
"semver": "^7.3.7"
1506915070
},

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"ini": "^4.1.2",
7676
"init-package-json": "^6.0.3",
7777
"is-cidr": "^5.0.5",
78-
"json-parse-even-better-errors": "^3.0.1",
78+
"json-parse-even-better-errors": "^3.0.2",
7979
"libnpmaccess": "^8.0.1",
8080
"libnpmdiff": "^6.0.3",
8181
"libnpmexec": "^8.0.0",

‎workspaces/arborist/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"cacache": "^18.0.3",
1919
"common-ancestor-path": "^1.0.1",
2020
"hosted-git-info": "^7.0.2",
21-
"json-parse-even-better-errors": "^3.0.0",
21+
"json-parse-even-better-errors": "^3.0.2",
2222
"json-stringify-nice": "^1.1.4",
2323
"minimatch": "^9.0.4",
2424
"nopt": "^7.0.0",

‎workspaces/libnpmversion/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"dependencies": {
4040
"@npmcli/git": "^5.0.7",
4141
"@npmcli/run-script": "^8.1.0",
42-
"json-parse-even-better-errors": "^3.0.0",
42+
"json-parse-even-better-errors": "^3.0.2",
4343
"proc-log": "^4.2.0",
4444
"semver": "^7.3.7"
4545
},

0 commit comments

Comments
 (0)
Please sign in to comment.