Socket
Socket
Sign inDemoInstall

@lavamoat/allow-scripts

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lavamoat/allow-scripts - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

6

package.json
{
"name": "@lavamoat/allow-scripts",
"version": "2.3.0",
"version": "2.3.1",
"main": "src/index.js",

@@ -15,3 +15,3 @@ "bin": {

"@lavamoat/aa": "^3.1.1",
"@npmcli/run-script": "^1.8.1",
"@npmcli/run-script": "^6.0.0",
"bin-links": "4.0.1",

@@ -53,3 +53,3 @@ "npm-normalize-package-bin": "^3.0.0",

},
"gitHead": "178db076d9a8dbd1c6b5c9eb6d3b3d7ebd06214b"
"gitHead": "1dc8f60b18e679d490388bdb001edb9cea617b69"
}

@@ -140,7 +140,7 @@ const { existsSync,

process.stderr.write(result.stderr)
process.exit(result.status)
console.log('@lavamoat/allow-scripts: Could not add @lavamoat/preinstall-always-fail.')
} else {
console.log('@lavamoat/allow-scripts: Added dependency @lavamoat/preinstall-always-fail.')
}
if(FEATURE.bins) {

@@ -155,5 +155,6 @@ // no motivation to fix lint here, there's a better implementation of this in a neighboring branch

// but passing a unix-style path to node on Windows works fine.
packageJson.scripts['allow-scripts'] = 'node ./node_modules/@lavamoat/allow-scripts/src/cli.js'
packageJson.scripts['allow-scripts'] = 'node ./node_modules/@lavamoat/allow-scripts/src/cli.js --experimental-bins'
console.log('@lavamoat/allow-scripts: Adding allow-scripts as a package.json script with direct path.')
writeFileSync(addInstallParentDir('package.json'), JSON.stringify(packageJson, null, 2))
}
}
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