@pnpm/symlink-dependency
Advanced tools
Comparing version 4.0.5 to 4.0.6
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8199
1
+ Added@pnpm/core-loggers@6.0.5(transitive)
+ Added@pnpm/types@7.5.0(transitive)
- Removed@pnpm/core-loggers@6.0.4(transitive)
- Removed@pnpm/types@7.4.0(transitive)
Updated@pnpm/core-loggers@6.0.5
Updated@pnpm/types@7.5.0