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

@pnpm/symlink-dependency

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/symlink-dependency - npm Package Compare versions

Comparing version 4.0.5 to 4.0.6

2

lib/index.js

@@ -15,5 +15,5 @@ "use strict";

core_loggers_1.linkLogger.debug({ target: dependencyRealLocation, link });
return symlink_dir_1.default(dependencyRealLocation, link);
return (0, symlink_dir_1.default)(dependencyRealLocation, link);
}
exports.default = symlinkDependency;
//# sourceMappingURL=index.js.map

@@ -25,3 +25,3 @@ "use strict";

}
catch (err) {
catch (err) { // eslint-disable-line
if (err.code === 'ENOENT') {

@@ -37,3 +37,3 @@ await fs_1.promises.mkdir(destModulesDir, { recursive: true });

const dest = path_1.default.join(destModulesDirReal, importAs);
const { reused } = await symlink_dir_1.default(dependencyRealocation, dest);
const { reused } = await (0, symlink_dir_1.default)(dependencyRealocation, dest);
if (reused)

@@ -40,0 +40,0 @@ return; // if the link was already present, don't log

{
"name": "@pnpm/symlink-dependency",
"description": "Symlink a dependency to node_modules",
"version": "4.0.5",
"version": "4.0.6",
"bugs": {

@@ -25,2 +25,3 @@ "url": "https://github.com/pnpm/pnpm/issues"

"keywords": [
"pnpm6",
"pnpm"

@@ -34,4 +35,4 @@ ],

"dependencies": {
"@pnpm/core-loggers": "6.0.4",
"@pnpm/types": "7.4.0",
"@pnpm/core-loggers": "6.0.5",
"@pnpm/types": "7.5.0",
"symlink-dir": "^5.0.0"

@@ -43,5 +44,5 @@ },

"test": "pnpm run compile",
"lint": "eslint -c ../../eslint.json src/**/*.ts",
"lint": "eslint src/**/*.ts",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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