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

loader-runner

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loader-runner - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

10

lib/LoaderRunner.js

@@ -18,3 +18,3 @@ /*

var PATH_QUERY_FRAGMENT_REGEXP = /^([^?#]*)(\?[^#]*)?(#.*)?$/;
const PATH_QUERY_FRAGMENT_REGEXP = /^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;

@@ -28,4 +28,4 @@ /**

return {
path: match[1],
query: match[2] || "",
path: match[1].replace(/\0(.)/g, "$1"),
query: match[2] ? match[2].replace(/\0(.)/g, "$1") : "",
fragment: match[3] || ""

@@ -65,3 +65,3 @@ };

get: function() {
return obj.path + obj.query;
return obj.path.replace(/#/g, "\0#") + obj.query.replace(/#/g, "\0#") + obj.fragment;
},

@@ -332,3 +332,3 @@ set: function(value) {

return undefined;
return loaderContext.resourcePath + loaderContext.resourceQuery + loaderContext.resourceFragment;
return loaderContext.resourcePath.replace(/#/g, "\0#") + loaderContext.resourceQuery.replace(/#/g, "\0#") + loaderContext.resourceFragment;
},

@@ -335,0 +335,0 @@ set: function(value) {

{
"name": "loader-runner",
"version": "4.0.0",
"version": "4.1.0",
"description": "Runs (webpack) loaders",

@@ -5,0 +5,0 @@ "main": "lib/LoaderRunner.js",

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