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 1.3.0 to 1.3.1

7

index.js

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

var stylusOptions = this.options.stylus || {};
options.use = options.use || stylusOptions.use || [];
// Instead of assigning to options, we run them manually later so their side effects apply earlier for
// resolving paths.
var use = options.use || stylusOptions.use || [];
options.import = options.import || stylusOptions.import || [];

@@ -104,2 +106,5 @@ options.define = options.define || stylusOptions.define || [];

// Use plugins here so that resolve related side effects can be used while we resolve imports.
use.forEach(styl.use, styl);
when

@@ -106,0 +111,0 @@ // Resolve manual imports like @import files.

6

package.json
{
"name": "stylus-loader",
"version": "1.3.0",
"version": "1.3.1",
"description": "Stylus loader for webpack",

@@ -12,3 +12,5 @@ "main": "index.js",

"test": "testem ci",
"test-dev": "testem -l firefox"
"test-dev": "testem -l firefox",
"test-one": "testem ci -l firefox",
"test-build": "webpack --config test/webpack.config.js --output-path test/tmp --output-file bundle.js"
},

@@ -15,0 +17,0 @@ "author": "Kyle Robinson Young <kyle@dontkry.com> (http://dontkry.com)",

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