Socket
Socket
Sign inDemoInstall

@lavamoat/aa

Package Overview
Dependencies
Maintainers
6
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lavamoat/aa - npm Package Compare versions

Comparing version 3.1.2 to 3.1.4

.depcheckrc

25

package.json
{
"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

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