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

bare-addon-resolve

Package Overview
Dependencies
Maintainers
0
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.5.0 to 1.5.1

10

index.js

@@ -174,3 +174,3 @@ const resolve = require('bare-module-resolve')

exports.directory = function * (dirname, parentURL, opts = {}) {
const { builtins = [], builtinProtocol = 'builtin:' } = opts
const { resolutions = null, builtins = [], builtinProtocol = 'builtin:' } = opts

@@ -185,2 +185,10 @@ let directoryURL

// Internal preresolution path, do not depend on this! It will be removed without
// warning.
if (resolutions) {
if (yield * resolve.preresolved('bare:addon', resolutions, directoryURL, opts)) {
return true
}
}
let name = null

@@ -187,0 +195,0 @@ let version = null

2

package.json
{
"name": "bare-addon-resolve",
"version": "1.5.0",
"version": "1.5.1",
"description": "Low-level addon resolution algorithm for Bare",

@@ -5,0 +5,0 @@ "exports": {

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