node-sass
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -77,3 +77,4 @@ var sass = require('../sass') | ||
var cssPath = join(dest, path) | ||
, sassPath = join(src, path.replace('.css', '.scss')); | ||
, sassPath = join(src, path.replace('.css', '.scss')) | ||
, sassDir = dirname(sassPath) | ||
@@ -111,2 +112,5 @@ if (debug) { | ||
}); | ||
}, { | ||
include_paths: [ sassDir ].concat(options.include_paths || []), | ||
output_style: options.output_style | ||
}); | ||
@@ -113,0 +117,0 @@ }); |
@@ -5,3 +5,3 @@ { | ||
"description": "wrapper around libsass", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"homepage": "http://github.com/andrew/node-sass", | ||
@@ -14,4 +14,8 @@ "main": "./sass.js", | ||
"scripts": { | ||
"install": "node rebuild.js" | ||
"install": "node rebuild.js", | ||
"test": "mocha test" | ||
}, | ||
"bin": { | ||
"node-sass" : "bin/node-sass" | ||
}, | ||
"gypfile": true, | ||
@@ -22,6 +26,9 @@ "engines": { | ||
"dependencies": { | ||
"mkdirp": "0.3.x" | ||
"mkdirp": "0.3.x", | ||
"colors": "0.6.0-1" | ||
}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"mocha": "1.7.x" | ||
}, | ||
"optionalDependencies": {} | ||
} |
##node-sass | ||
[![Build Status](https://secure.travis-ci.org/andrew/node-sass.png?branch=master)](https://travis-ci.org/andrew/node-sass) | ||
Node-sass is a library that provides binding for Node.js to libsass, the C version of the popular stylesheet preprocessor, Sass. | ||
@@ -49,5 +51,16 @@ | ||
* sass compression options | ||
* publish npm | ||
* file context? | ||
* folder context? | ||
* better error handling | ||
* file context | ||
* folder context | ||
### Note on Patches/Pull Requests | ||
* Fork the project. | ||
* Make your feature addition or bug fix. | ||
* Add documentation if necessary. | ||
* Add tests for it. This is important so I don't break it in a future version unintentionally. | ||
* Send a pull request. Bonus points for topic branches. | ||
## Copyright | ||
Copyright (c) 2013 Andrew Nesbitt. See [LICENSE](https://github.com/andrew/node-sass/blob/master/LICENSE) for details. |
@@ -25,5 +25,3 @@ var binding; | ||
var paths, style; | ||
if (toString.call(options) !== '[object Object]') { | ||
options = {}; | ||
} | ||
typeof options != "object" && (options = {}); | ||
paths = options.include_paths || []; | ||
@@ -30,0 +28,0 @@ if (!((style = options.output_style) in SASS_OUTPUT_STYLE)) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5136011
79
274
66
2
2
1
+ Addedcolors@0.6.0-1
+ Addedcolors@0.6.0-1(transitive)