We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2935748 commit d696113Copy full SHA for d696113
lib/cli/config.js
@@ -52,7 +52,7 @@ const parsers = (exports.parsers = {
52
},
53
json: (filepath) =>
54
JSON.parse(
55
- require("strip-json-comments")(fs.readFileSync(filepath, "utf8")),
+ require("strip-json-comments").default(fs.readFileSync(filepath, "utf8")),
56
),
57
});
58
package.json
@@ -111,7 +111,7 @@
111
"ms": "^2.1.3",
112
"picocolors": "^1.1.1",
113
"serialize-javascript": "^6.0.2",
114
- "strip-json-comments": "^3.1.1",
+ "strip-json-comments": "^5.0.3",
115
"supports-color": "^8.1.1",
116
"workerpool": "^9.2.0",
117
"yargs": "^17.7.2",
0 commit comments