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

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.5.0 to 2.5.1

3

index.js

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

var whenNodefn = require('when/node/function');
var cloneDeep = require('lodash.clonedeep');

@@ -18,3 +19,3 @@ var CachedPathEvaluator = require('./lib/evaluator');

var done = this.async();
var options = loaderUtils.parseQuery(this.query);
var options = cloneDeep(loaderUtils.parseQuery(this.query));
options.dest = options.dest || '';

@@ -21,0 +22,0 @@ options.filename = options.filename || this.resourcePath;

{
"name": "stylus-loader",
"version": "2.5.0",
"version": "2.5.1",
"description": "Stylus loader for webpack",

@@ -27,2 +27,3 @@ "main": "index.js",

"loader-utils": "^0.2.9",
"lodash.clonedeep": "^4.5.0",
"when": "~3.6.x"

@@ -29,0 +30,0 @@ },

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

* Please see https://github.com/shama/stylus-loader/releases
* 2.5.1 - Fix paths mutation in options (@vio)
* 2.5.0 - Define paths in global stylusOptions, in addtion to query params (@JounQin)

@@ -201,0 +202,0 @@ * 2.4.0 - Add OptionsPlugin to help support webpack 2 (@mzgoddard)

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