Socket
Socket
Sign inDemoInstall

node-sass

Package Overview
Dependencies
Maintainers
2
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sass - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

12

lib/middleware.js

@@ -67,2 +67,4 @@ var sass = require('../sass')

var root = options.root || null;
// Default compile callback

@@ -80,4 +82,12 @@ options.compile = options.compile || function(){

, sassPath = join(src, path.replace('.css', '.scss'))
, sassDir = dirname(sassPath)
, sassDir = dirname(sassPath);
if (root) {
cssPath = join(root, dest, path.replace(dest, ''));
sassPath = join(root, src, path
.replace(dest, '')
.replace('.css', '.scss'));
sassDir = dirname(sassPath);
}
if (debug) {

@@ -84,0 +94,0 @@ log('source', sassPath);

2

package.json

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

"description": "wrapper around libsass",
"version": "0.5.0",
"version": "0.5.1",
"homepage": "https://github.com/andrew/node-sass",

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

@@ -5,3 +5,3 @@ ##node-sass

Node-sass is a library that provides binding for Node.js to libsass, the C version of the popular stylesheet preprocessor, Sass.
Node-sass is a library that provides binding for Node.js to [libsass](https://github.com/hcatlin/libsass), the C version of the popular stylesheet preprocessor, Sass.

@@ -99,2 +99,6 @@ It allows you to natively compile .scss files to css at incredible speed and automatically via a connect middleware.

## Grunt extension
[@sindresorhus](https://github.com/sindresorhus/) has created a set of grunt tasks based on node-sass: <https://github.com/sindresorhus/grunt-sass>
## Example App

@@ -101,0 +105,0 @@

Sorry, the diff of this file is not supported yet

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