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

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.9 to 0.2.10

LICENSE

2

index.js

@@ -91,3 +91,3 @@ var JSON5 = require("json5");

return JSON.stringify(splitted.map(function(part) {
if(/^\/|^[A-Z]:/i.test(part))
if(/^\/|^[A-Z]:/i.test(part) && context)
return "./" + path.relative(context, part).replace(/\\/g, "/");

@@ -94,0 +94,0 @@ return part;

{
"name": "loader-utils",
"version": "0.2.9",
"version": "0.2.10",
"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