Skip to content

Commit d696113

Browse files
feat: bump strip-json-comments from 3 to 5 (mochajs#5484)
1 parent 2935748 commit d696113

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cli/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const parsers = (exports.parsers = {
5252
},
5353
json: (filepath) =>
5454
JSON.parse(
55-
require("strip-json-comments")(fs.readFileSync(filepath, "utf8")),
55+
require("strip-json-comments").default(fs.readFileSync(filepath, "utf8")),
5656
),
5757
});
5858

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"ms": "^2.1.3",
112112
"picocolors": "^1.1.1",
113113
"serialize-javascript": "^6.0.2",
114-
"strip-json-comments": "^3.1.1",
114+
"strip-json-comments": "^5.0.3",
115115
"supports-color": "^8.1.1",
116116
"workerpool": "^9.2.0",
117117
"yargs": "^17.7.2",

0 commit comments

Comments
 (0)