Socket
Socket
Sign inDemoInstall

stylus-loader

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylus-loader - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

2

index.js

@@ -73,3 +73,3 @@ var loaderUtils = require('loader-utils');

} else if (key === 'include') {
needsArray(value).forEach(styl.include);
needsArray(value).forEach(styl.include.bind(styl));
} else if (key === 'import') {

@@ -76,0 +76,0 @@ needsArray(value).forEach(function(stylusModule) {

@@ -43,3 +43,11 @@ var Parser = require('stylus/lib/parser');

ImportVisitor.prototype.visitSelector = function(sel) {
for (var i = 0; i < sel.block.nodes.length; i++) {
this.visit(sel.block.nodes[i]);
}
return sel;
}
ImportVisitor.prototype.visitBlock = ImportVisitor.prototype.visitRoot;
ImportVisitor.prototype.visitGroup = ImportVisitor.prototype.visitRoot;

@@ -46,0 +54,0 @@ // Returns a list of paths that given source imports.

{
"name": "stylus-loader",
"version": "2.1.1",
"version": "2.1.2",
"description": "Stylus loader for webpack",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -105,2 +105,3 @@ # stylus-loader

* Please see https://github.com/shama/stylus-loader/releases
* 2.1.2 - Fix support for stylus include config (@andrewburgess), Add block-level imports to listimports (@kenaniah)
* 2.1.1 - Support Node 6 (@yyx990803), Test in webpack 1 and 2 (@phyllisstein)

@@ -107,0 +108,0 @@ * 2.1.0 - Add support for stylus's include and set (@michaek)

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