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

bare-addon-resolve

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-addon-resolve - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

16

index.js

@@ -96,2 +96,10 @@ const resolve = require('bare-module-resolve')

if (version !== null) {
if (builtins.includes(name + '@' + version)) {
yield { resolution: new URL(builtinProtocol + name + '@' + version) }
return true
}
}
if (builtins.includes(name)) {

@@ -106,6 +114,2 @@ yield { resolution: new URL(builtinProtocol + name) }

for (const prebuildsURL of exports.lookupPrebuildsScope(directoryURL, opts)) {
if (yield * exports.file(name, prebuildsURL, opts)) {
yielded = true
}
if (version !== null) {

@@ -116,2 +120,6 @@ if (yield * exports.file(name + '@' + version, prebuildsURL, opts)) {

}
if (yield * exports.file(name, prebuildsURL, opts)) {
yielded = true
}
}

@@ -118,0 +126,0 @@

{
"name": "bare-addon-resolve",
"version": "1.1.0",
"version": "1.2.0",
"description": "Low-level addon resolution algorithm for Bare",

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

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