Socket
Socket
Sign inDemoInstall

loader-utils

Package Overview
Dependencies
Maintainers
3
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 3.2.1 to 3.2.2

5

lib/interpolateName.js

@@ -54,5 +54,6 @@ "use strict";

if (directory.length === 1) {
if (directory.length <= 1) {
directory = "";
} else if (directory.length > 1) {
} else {
// directory.length > 1
folder = path.basename(directory);

@@ -59,0 +60,0 @@ }

2

package.json
{
"name": "loader-utils",
"version": "3.2.1",
"version": "3.2.2",
"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