resolve
Advanced tools
Comparing version 1.22.7 to 1.22.8
{ | ||
"name": "resolve", | ||
"description": "resolve like require.resolve() on behalf of files asynchronously and synchronously", | ||
"version": "1.22.7", | ||
"version": "1.22.8", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -11,2 +11,5 @@ var path = require('path'); | ||
var requireResolveDefaultPathsBroken = (/^v8\.9\.|^v9\.[01]\.0|^v9\.2\./).test(process.version); | ||
// broken in node v8.9.x, v9.0, v9.1, v9.2.x. see https://github.com/nodejs/node/pull/17113 | ||
test('`./sync` entry point', function (t) { | ||
@@ -79,3 +82,3 @@ t.equal(resolve.sync, sync, '`./sync` entry point is the same as `.sync` on `main`'); | ||
); | ||
if (requireResolveSupportsPaths) { | ||
if (!requireResolveDefaultPathsBroken && requireResolveSupportsPaths) { | ||
t.equal( | ||
@@ -130,3 +133,3 @@ resolve.sync('foo', { basedir: basedir }), | ||
); | ||
if (requireResolveSupportsPaths) { | ||
if (!requireResolveDefaultPathsBroken && requireResolveSupportsPaths) { | ||
t.equal( | ||
@@ -144,3 +147,3 @@ resolve.sync('tiv', { basedir: tivDir }), | ||
); | ||
if (requireResolveSupportsPaths) { | ||
if (!requireResolveDefaultPathsBroken && requireResolveSupportsPaths) { | ||
t.equal( | ||
@@ -147,0 +150,0 @@ resolve.sync('grux', { basedir: gruxDir }), |
{ | ||
"name": "monorepo-symlink-test", | ||
"name": "ljharb-monorepo-symlink-test", | ||
"private": true, | ||
@@ -4,0 +4,0 @@ "version": "0.0.0", |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 8 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
145394
3287
27