🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

bare-module-resolve

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-module-resolve - npm Package Compare versions

Comparing version

to
1.2.4

6

index.js

@@ -129,6 +129,2 @@ const errors = require('./lib/errors')

if (packageSubpath[packageSubpath.length - 1] === '/') {
throw errors.INVALID_MODULE_SPECIFIER()
}
if (yield * exports.packageSelf(packageName, packageSubpath, parentURL, opts)) {

@@ -365,2 +361,4 @@ return true

exports.file = function * (filename, parentURL, allowBare, opts) {
if (filename[filename.length - 1] === '/') return false
const { extensions = [] } = opts

@@ -367,0 +365,0 @@

{
"name": "bare-module-resolve",
"version": "1.2.3",
"version": "1.2.4",
"description": "Low-level module resolution algorithm for Bare",

@@ -5,0 +5,0 @@ "main": "index.js",