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

duo-sass

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duo-sass - npm Package Compare versions

Comparing version 1.2.1 to 2.0.0

readme.md

34

index.js

@@ -7,28 +7,20 @@ 'use strict';

/**
* Compile Sass to CSS
*
* @param {Object} [opts]
* @api public
* @return {Function}
*/
module.exports = function (opts) {
opts = opts || {};
opts = opts || {};
return function (file) {
if (file.type !== 'scss' && file.type !== 'sass') {
return;
}
return function (file) {
if (file.type !== 'scss' && file.type !== 'sass') {
return;
}
debug('compiling %s to css', file.id);
debug('compiling %s to css', file.id);
file.src = sass(assign({
data: file.src,
includePaths: [file.root],
indentedSyntax: file.type === 'sass'
}, opts));
file.src = sass(assign({
data: file.src,
includePaths: [file.root],
indentedSyntax: file.type === 'sass'
}, opts));
file.type = 'css';
};
file.type = 'css';
};
};
{
"name": "duo-sass",
"version": "1.2.1",
"version": "2.0.0",
"description": "Sass plugin for Duo",

@@ -24,9 +24,9 @@ "license": "MIT",

"debug": "^2.1.0",
"node-sass": "1.0.3",
"object-assign": "^1.0.0"
"node-sass": "2.0.1",
"object-assign": "^2.0.0"
},
"devDependencies": {
"ava": "^0.0.4",
"duo": "^0.8.2"
"duo": "^0.9.4"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc