Socket
Socket
Sign inDemoInstall

enhanced-resolve

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enhanced-resolve - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

4

lib/Resolver.js

@@ -94,3 +94,3 @@ /*

var notModuleRegExp = /^\.$|^\.[\\\/]|^\.\.$|^\.\.[\/\\]|^\/|^[A-Z]:\\/i;
var notModuleRegExp = /^\.$|^\.[\\\/]|^\.\.$|^\.\.[\/\\]|^\/|^[A-Z]:[\\\/]/i;
Resolver.prototype.isModule = function isModule(path) {

@@ -105,3 +105,3 @@ return !notModuleRegExp.test(path);

var absoluteRegExp = /^\/|^[A-Z]:\\/i;
var absoluteRegExp = /^\/|^[A-Z]:[\\\/]/i;
Resolver.prototype.join = function join(path, request) {

@@ -108,0 +108,0 @@ if(absoluteRegExp.test(request)) return request;

{
"name": "enhanced-resolve",
"version": "0.5.2",
"version": "0.5.3",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "Offers a async require.resolve function. It's highly configurable.",

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