@lerna/npm-install
Advanced tools
Comparing version 3.0.0-beta.0 to 3.0.0-beta.2
"use strict"; | ||
const fs = require("fs-extra"); | ||
const log = require("npmlog"); | ||
@@ -9,3 +10,2 @@ const npa = require("npm-package-arg"); | ||
const ChildProcessUtilities = require("@lerna/child-process"); | ||
const FileSystemUtilities = require("@lerna/fs-utils"); | ||
const getExecOpts = require("@lerna/get-npm-exec-opts"); | ||
@@ -57,7 +57,7 @@ | ||
return FileSystemUtilities.rename(pkg.manifestLocation, packageJsonBkp).then(() => { | ||
return fs.rename(pkg.manifestLocation, packageJsonBkp).then(() => { | ||
const cleanup = () => { | ||
log.silly("npmInstallDependencies", "cleanup", pkg.manifestLocation); | ||
// Need to do this one synchronously because we might be doing it on exit. | ||
FileSystemUtilities.renameSync(packageJsonBkp, pkg.manifestLocation); | ||
fs.renameSync(packageJsonBkp, pkg.manifestLocation); | ||
}; | ||
@@ -64,0 +64,0 @@ |
{ | ||
"name": "@lerna/npm-install", | ||
"version": "3.0.0-beta.0", | ||
"version": "3.0.0-beta.2", | ||
"description": "TODO", | ||
@@ -34,4 +34,4 @@ "keywords": [ | ||
"@lerna/child-process": "^3.0.0-beta.0", | ||
"@lerna/fs-utils": "^3.0.0-beta.0", | ||
"@lerna/get-npm-exec-opts": "^3.0.0-beta.0", | ||
"fs-extra": "5.0.0", | ||
"npm-package-arg": "^6.0.0", | ||
@@ -42,3 +42,3 @@ "npmlog": "^4.1.2", | ||
}, | ||
"gitHead": "349b9c765bcbf38988d1fcd48313422417a04c8f" | ||
"gitHead": "ca9561a1ffe6292cceaeca30e4f7d5d85757c710" | ||
} |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
5371
4
1
+ Addedfs-extra@5.0.0
- Removed@lerna/fs-utils@^3.0.0-beta.0
- Removed@lerna/fs-utils@3.0.0-beta.0(transitive)
- Removedpath-exists@3.0.0(transitive)