Socket
Socket
Sign inDemoInstall

loader-utils

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loader-utils - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13

4

index.js

@@ -244,5 +244,5 @@ var JSON5 = require("json5");

var re = new RegExp(regExp);
var match = loaderContext.resourcePath.match(regExp);
var match = loaderContext.resourcePath.match(re);
if(match) {
for (var i = 1; i < match.length; i++) {
for (var i = 0; i < match.length; i++) {
var re = new RegExp("\\[" + i + "\\]", "ig");

@@ -249,0 +249,0 @@ url = url.replace(re, match[i]);

{
"name": "loader-utils",
"version": "0.2.12",
"version": "0.2.13",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "utils for webpack loaders",

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