Socket
Socket
Sign inDemoInstall

resolve-url-loader

Package Overview
Dependencies
31
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.2 to 1.4.3

20

index.js

@@ -34,13 +34,17 @@ /*

// details of the file being processed
// we would normally use compilation.getPath(options.output.path) to get the most correct outputPath,
// however we need to match to the sass-loader and it does not do so
var loader = this,
filePath = loader.context,
outputPath = loader.options.output.path,
options = defaults(loaderUtils.parseQuery(loader.query), loader.options[camelcase(PACKAGE_NAME)], {
absolute : false,
sourceMap: false,
fail : false,
silent : false,
root : null
});
outputPath = path.resolve(loader.options.output.path);
// prefer loader query, else options object, else default values
var options = defaults(loaderUtils.parseQuery(loader.query), loader.options[camelcase(PACKAGE_NAME)], {
absolute : false,
sourceMap: false,
fail : false,
silent : false,
root : null
});
// validate root directory

@@ -47,0 +51,0 @@ var resolvedRoot = (typeof options.root === 'string') && path.resolve(options.root),

2

package.json
{
"name": "resolve-url-loader",
"version": "1.4.2",
"version": "1.4.3",
"description": "Webpack loader that resolves relative paths in url() statements based on the original source file",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc