New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

no-symlink

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

no-symlink - npm Package Compare versions

Comparing version 1.0.30 to 1.0.32

12

bring-out-symlinks.js

@@ -27,2 +27,14 @@ #!/usr/bin/env node

// delet if theres package has a dependency on itself
// (calling npm install from outside directory sometimes creates a dependency on itself)
for (var depName in packageJson.dependencies){
const version = packageJson.dependencies[depName]
// If dependency relies on a local file
if(version=="file:" || version=="file:." || version=="file:./"){
delete packageJson.dependencies[depName]
}
}
// Re-Write the package.json

@@ -29,0 +41,0 @@ await fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2));

2

package.json
{
"name": "no-symlink",
"version": "1.0.30",
"version": "1.0.32",
"description": "",

@@ -5,0 +5,0 @@ "bin": {

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