bare-addon-resolve
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -116,3 +116,3 @@ const resolve = require('bare-module-resolve') | ||
} | ||
} while (parentURL.pathname !== '/') | ||
} while (parentURL.pathname !== '' && parentURL.pathname !== '/') | ||
@@ -157,3 +157,3 @@ return false | ||
if (scopeURL.pathname.length === 3 && exports.isWindowsDriveLetter(scopeURL.pathname.substring(1))) break | ||
} while (scopeURL.pathname !== '/') | ||
} while (scopeURL.pathname !== '' && scopeURL.pathname !== '/') | ||
} | ||
@@ -160,0 +160,0 @@ |
{ | ||
"name": "bare-addon-resolve", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Low-level addon resolution algorithm for Bare", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -110,2 +110,5 @@ # bare-addon-resolve | ||
> [!WARNING] | ||
> These functions are currently subject to change between minor releases. If using them directly, make sure to specify a tilde range (`~1.2.3`) when declaring the module dependency. | ||
#### `const generator = resolve.addon(specifier, parentURL[, options])` | ||
@@ -112,0 +115,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25146
128