Socket
Socket
Sign inDemoInstall

css-sniper

Package Overview
Dependencies
192
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.2 to 0.7.0

.github/workflows/test.yml

7

index.js

@@ -40,9 +40,6 @@ #!/usr/bin/env node

// Create destination dir.
mkdirp(path.dirname(dest), function (err) {
if (err) {
return console.log(err.formatted);
}
mkdirp(path.dirname(dest)).then(() => {
fs.writeFile(dest, result.css.toString(), function (err) {
if (err) {
return console.log(err.formatted);
return console.log(err);
}

@@ -49,0 +46,0 @@ console.log(dest+' written.');

{
"name": "css-sniper",
"version": "0.6.2",
"version": "0.7.0",
"description": "A node module and sass compiler, which lets you remove styles and selectors, while importing external CSS files.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "node index.js -o test/rendered.css test/include.scss"
},

@@ -23,6 +23,10 @@ "repository": {

"dependencies": {
"commander": "^2.20.0",
"css-tree": "^1.0.0-alpha.34",
"node-sass": "^4.14.1"
"commander": "^2.20.3",
"css-tree": "^1.1.3",
"mkdirp": "^1.0.4",
"node-sass": "^6.0.1"
},
"devDependencies": {
"eslint": "^7.32.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc