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

@lavamoat/aa

Package Overview
Dependencies
Maintainers
2
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 2.0.1 to 2.0.2

4

package.json
{
"name": "@lavamoat/aa",
"version": "2.0.1",
"version": "2.0.2",
"main": "src/index.js",

@@ -28,3 +28,3 @@ "license": "MIT",

"author": "kumavis",
"gitHead": "dabfe6850e3e2668a148c10307d441f6fe24b199"
"gitHead": "71758e5b9afa95e2eec40998c039356bf7a5d7cd"
}

@@ -66,4 +66,11 @@ const { readFileSync } = require('fs')

// for each cache lookup.
depPackageJsonPath = resolve.sync(depRelativePackageJsonPath, { basedir: packageDir })
depPackageJsonPathCache.set(key, depPackageJsonPath)
try {
depPackageJsonPath = resolve.sync(depRelativePackageJsonPath, { basedir: packageDir })
depPackageJsonPathCache.set(key, depPackageJsonPath)
} catch (err) {
if (!err.message.includes('Cannot find module')) {
throw err
}
depPackageJsonPath = null
}
return depPackageJsonPath

@@ -86,2 +93,5 @@ }

...Object.keys(packageJson.dependencies || {}),
...Object.keys(packageJson.optionalDependencies || {}),
...Object.keys(packageJson.peerDependencies || {}),
...Object.keys(packageJson.bundledDependencies || {}),
...Object.keys(includeDevDeps ? packageJson.devDependencies || {} : {}),

@@ -104,2 +114,6 @@ ]

depPackageJsonPath = memoResolveSync(resolve, depName, packageDir)
// ignore unresolved deps
if (depPackageJsonPath === null) {
continue
}
const childPackageDir = path.dirname(depPackageJsonPath)

@@ -106,0 +120,0 @@ // avoid cycles, but still visit the same package

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