New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

strip-comments-strings

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strip-comments-strings - npm Package Compare versions

Comparing version

to
1.0.5

examples/demo.cjs

12

examples/example-7.js

@@ -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