Socket
Socket
Sign inDemoInstall

node-sass

Package Overview
Dependencies
10
Maintainers
4
Versions
148
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

2

package.json

@@ -5,3 +5,3 @@ {

"description": "wrapper around libsass",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/sass/node-sass",

@@ -8,0 +8,0 @@ "keywords": [

@@ -158,2 +158,3 @@ # node-sass

## Integrations

@@ -163,2 +164,6 @@

### Brackets extension
[@jasonsanjose](https://github.com/jasonsanjose) has created a [Brackets](http://brackets.io) extension based on node-sass: <https://github.com/jasonsanjose/brackets-sass>. When editing Sass files, the extension compiles changes on save. The extension also integrates with Live Preview to show Sass changes in the browser without saving or compiling.
### Brunch plugin

@@ -165,0 +170,0 @@

@@ -152,3 +152,3 @@ var path = require('path');

output = options.file? binding.renderFileSync(options) : binding.renderSync(options);
finishStats(options.stats);
finishStats(options.stats, options.stats.sourceMap);

@@ -155,0 +155,0 @@ return output;

@@ -314,1 +314,15 @@ var sass = process.env.NODESASS_COVERAGE ? require('../sass-coverage') : require('../sass');

});
describe('compile with stats', function() {
it('should report correct sourceMap in stats with renderSync', function(done) {
var stats = {};
sass.renderSync({
file: sampleFilename,
stats: stats,
sourceComments: 'map',
sourceMap: true
});
done(assert.ok(stats.sourceMap.indexOf('sample.scss') !== -1));
});
});
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc