🚀 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.1.0

9

index.js

@@ -9,2 +9,10 @@ const errors = require('./lib/errors')

if (!opts) opts = {}
const {
imports = null
} = opts
if (imports) yield * exports.packageImportsExports(specifier, imports, parentURL, opts, readPackage)
yield * exports.packageImports(specifier, parentURL, opts, readPackage)

@@ -31,3 +39,2 @@

if (builtins.includes(packageSpecifier)) return yield new URL('builtin:' + packageSpecifier)

@@ -34,0 +41,0 @@

2

package.json
{
"name": "bare-module-resolve",
"version": "1.0.1",
"version": "1.1.0",
"description": "Low-level module resolution algorithm for Bare",

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