@lavamoat/aa
Advanced tools
Comparing version 3.1.2 to 3.1.4
{ | ||
"name": "@lavamoat/aa", | ||
"version": "3.1.2", | ||
"version": "3.1.4", | ||
"main": "src/index.js", | ||
@@ -13,17 +13,8 @@ "bin": { | ||
"scripts": { | ||
"test": "yarn test:run", | ||
"test:run": "ava --timeout=30s test/index.js", | ||
"lint": "yarn lint:eslint && yarn lint:deps", | ||
"lint:eslint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"test": "npm run test:run", | ||
"test:run": "ava", | ||
"lint:deps": "depcheck" | ||
}, | ||
"devDependencies": { | ||
"@metamask/eslint-config-nodejs": "^10.0.0", | ||
"ava": "^3.15.0", | ||
"eslint-plugin-ava": "^11.0.0", | ||
"eslint-plugin-node": "^11.1.0" | ||
}, | ||
"dependencies": { | ||
"resolve": "^1.20.0" | ||
"resolve": "^1.22.3" | ||
}, | ||
@@ -38,3 +29,9 @@ "description": "LavaMoat's secure package naming convention", | ||
}, | ||
"gitHead": "178db076d9a8dbd1c6b5c9eb6d3b3d7ebd06214b" | ||
"ava": { | ||
"files": [ | ||
"test/*.spec.js" | ||
], | ||
"timeout": "30s" | ||
}, | ||
"gitHead": "0de2b246fbe4f4a6e14f3fce021777cbd3102447" | ||
} |
@@ -1,2 +0,2 @@ | ||
const { readFileSync, statSync } = require('fs') | ||
const { readFileSync } = require('fs') | ||
const path = require('path') | ||
@@ -34,3 +34,3 @@ const nodeResolve = require('resolve') | ||
} | ||
}; | ||
} | ||
@@ -43,3 +43,3 @@ /** | ||
const canonicalNameMap = new Map() | ||
// performant resolve avoids loading package.jsons if their path is what's being resolved, | ||
// performant resolve avoids loading package.jsons if their path is what's being resolved, | ||
// offering 2x performance improvement compared to using original resolve | ||
@@ -92,3 +92,4 @@ resolve = resolve || createPerformantResolve() | ||
*/ | ||
function walkDependencyTreeForBestLogicalPaths({ packageDir, logicalPath = [], includeDevDeps = false, visited = new Set(), resolve = performantResolve }) { | ||
function walkDependencyTreeForBestLogicalPaths({ packageDir, logicalPath = [], includeDevDeps = false, visited = new Set(), resolve }) { | ||
resolve = resolve ?? createPerformantResolve() | ||
const preferredPackageLogicalPathMap = new Map() | ||
@@ -95,0 +96,0 @@ // add the entry package as the first work unit |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
19273
0
323
1
Updatedresolve@^1.22.3