strip-comments-strings
Advanced tools
Comparing version
@@ -22,5 +22,5 @@ ** | ||
{ | ||
let c1 = **; | ||
let c1 = "**"; | ||
const extension = path.extname(filepath); | ||
if (** === extension) | ||
if ("**" === extension) | ||
{ | ||
@@ -30,10 +30,10 @@ return false; | ||
let c2 = **; | ||
let c3 = **; | ||
let c2 = "**"; | ||
let c3 = "**"; | ||
let c4 = `s** | ||
let c4 = `s | ||
let content = "r** | ||
content = stripComments(content); | ||
content = stripComments(content); ` | ||
}; |
{ | ||
"name": "strip-comments-strings", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Strip or extract comments, strings or both from source code.", | ||
"main": "index.cjs", | ||
"module": "index.mjs", | ||
"main": "./index.cjs", | ||
"module": "./index.mjs", | ||
"type": "module", | ||
@@ -25,4 +25,5 @@ "exports": { | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^8.9.0" | ||
"eslint": "^8.9.0", | ||
"to-esm": "^2.2.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22281
2.65%15
7.14%6
20%665
-0.45%