Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-sass-import

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sass-import - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

CHANGELOG.md

12

lib/node-sass-import.js

@@ -100,9 +100,7 @@ 'use strict';

// '@import' statements.
async.parallel(
urls.map(function (url) {
return function (callback) {
resolver(url, baseDir, callback);
};
})
, function (err, filenames) {
async.parallel(urls.map(function (url) {
return function (callback) {
resolver(url, baseDir, callback);
};
}), function (err, filenames) {
if (err) throw err;

@@ -109,0 +107,0 @@ done(importify(filenames));

{
"name": "node-sass-import",
"version": "1.1.1",
"description": "Allows usage of @include (of .scss) akin to require (of .js) in node.js",
"version": "2.0.0",
"description": "Allows recursive import of SCSS components from local and/or node_modules directories using npm's module resolving algorithm",
"bugs": "https://github.com/anarh/node-sass-import/issues",
"author": "Emmanuel (Manny) Narh <eanarh@yahoo.com>",
"author": "Emmanuel Addo Narh <eanarh@yahoo.com>",
"license": "MIT",

@@ -30,27 +30,33 @@ "main": "index.js",

"dependencies": {
"async": "2.0.1",
"glob": "^6.0.4",
"path-format": "^1.2.1",
"path-parse": "^1.0.5",
"resolve": "^1.1.7",
"yargs": "^3.15.0"
"async": "2.6.0",
"glob": "7.1.2",
"path-format": "1.2.1",
"path-parse": "1.0.5",
"resolve": "1.5.0",
"yargs": "11.0.0"
},
"devDependencies": {
"coveralls": "^2.11.2",
"istanbul": "^0.3.8",
"tape": "^4.0.1",
"tap-spec": "^4.0.2",
"gaze-cli": "^0.2.0",
"semistandard": "^7.0.5",
"demo-scss-npm-module": "^0.0.3",
"node-sass": "^3.8.0"
"@commitlint/cli": "6.1.0",
"@commitlint/config-conventional": "6.1.0",
"coveralls": "3.0.0",
"demo-scss-npm-module": "0.0.3",
"gaze-cli": "0.2.0",
"husky": "0.14.3",
"istanbul": "0.4.5",
"node-sass": "4.7.2",
"semistandard": "12.0.0",
"standard-version": "4.3.0",
"tap-spec": "4.1.1",
"tape": "4.9.0"
},
"scripts": {
"prepublish": "npm run lint && npm test",
"commitmsg": "commitlint -e $GIT_PARAMS",
"istanbul": "istanbul cover test/index.js",
"lint": "semistandard",
"prepublish": "npm run lint && npm test",
"release": "standard-version",
"start": "npm run test:watch",
"test": "node test/index.js | tap-spec",
"test:watch": "gaze 'npm test' 'test/**/*.js' 'lib/**/*.js' 'index.js'",
"start": "npm run test:watch"
"test:watch": "gaze 'npm test' 'test/**/*.js' 'lib/**/*.js' 'index.js'"
}
}

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

Allows recursive import of SCSS components from local and/or node_modules directories using npm's module resolving algorithm. Without the need for tildes(~) to import from node_modules.
Allows usage of `@import "some-sass-npm-module"` akin to `require("some-npm-module")` in node.js

@@ -37,3 +38,3 @@

@import in sass can now be used just like a require statement. The example below imports the main scss file from the newsapps-syles npm module. At build time, all @import statements will be resolved locally or like npm modules. Also includes support for partial (e.g. _partial.scss).
@import in sass can now be used just like a require statement. The example below imports the main scss file from the newsapps-syles npm module. At build time, all @import statements will be resolved locally or like npm modules. Also includes import support for partial scss files e.g. _partial.scss

@@ -50,3 +51,3 @@ ```scss

Coming soon...
Version 2+ supports Node 6+ and npm 2+

@@ -53,0 +54,0 @@ ## License

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