☕️ Classic, reliable, trusted test framework for Node.js and the browser
feat: bump strip-json-comments from 3 to 5 (#5484)
Josh Goldberg ✨9b0db24740c6
diff --git a/lib/cli/config.js b/lib/cli/config.jsindex 20682811..bc5333a2 100644--- a/lib/cli/config.js+++ b/lib/cli/config.js@@ -52,7 +52,7 @@ const parsers = (exports.parsers = {},json: (filepath) =>JSON.parse(- require("strip-json-comments")(fs.readFileSync(filepath, "utf8")),+ require("strip-json-comments").default(fs.readFileSync(filepath, "utf8")),),});diff --git a/package-lock.json b/package-lock.jsonindex b347b2a9..10308464 100644--- a/package-lock.json+++ b/package-lock.json@@ -24,7 +24,7 @@"ms": "^2.1.3","picocolors": "^1.1.1","serialize-javascript": "^6.0.2",- "strip-json-comments": "^3.1.1",+ "strip-json-comments": "^5.0.3","supports-color": "^8.1.1","workerpool": "^9.2.0","yargs": "^17.7.2",@@ -745,6 +745,19 @@"node": "*"}},+ "node_modules/@eslint/eslintrc/node_modules/strip-json-comments": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/@eslint/js": {"version": "9.39.2","resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.2.tgz",@@ -9079,6 +9092,19 @@"node": ">=10"}},+ "node_modules/jsdoc/node_modules/strip-json-comments": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/jsdoc/node_modules/taffydb": {"version": "2.6.2","resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz",@@ -15331,6 +15357,19 @@"node": "^14.17.0 || ^16.13.0 || >=18.0.0"}},+ "node_modules/run-con/node_modules/strip-json-comments": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/run-parallel": {"version": "1.2.0","resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",@@ -16355,11 +16394,12 @@}},"node_modules/strip-json-comments": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",+ "version": "5.0.3",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz",+ "integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==",+ "license": "MIT","engines": {- "node": ">=8"+ "node": ">=14.16"},"funding": {"url": "https://github.com/sponsors/sindresorhus"@@ -18787,6 +18827,12 @@"requires": {"brace-expansion": "^1.1.7"}+ },+ "strip-json-comments": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",+ "dev": true}}},@@ -24931,6 +24977,12 @@"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==","dev": true},+ "strip-json-comments": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",+ "dev": true+ },"taffydb": {"version": "2.6.2","resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz",@@ -29287,6 +29339,12 @@"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz","integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==","dev": true+ },+ "strip-json-comments": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",+ "dev": true}}},@@ -30098,9 +30156,9 @@"dev": true},"strip-json-comments": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="+ "version": "5.0.3",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz",+ "integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw=="},"strip-outer": {"version": "1.0.1",diff --git a/package.json b/package.jsonindex 320cf079..69f4a80a 100644--- a/package.json+++ b/package.json@@ -111,7 +111,7 @@"ms": "^2.1.3","picocolors": "^1.1.1","serialize-javascript": "^6.0.2",- "strip-json-comments": "^3.1.1",+ "strip-json-comments": "^5.0.3","supports-color": "^8.1.1","workerpool": "^9.2.0","yargs": "^17.7.2",