@pnpm/prepare-package
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -13,4 +13,4 @@ "use strict"; | ||
var _a, _b, _c; | ||
const manifest = await read_package_json_1.fromDir(pkgDir); | ||
if (((_a = manifest.scripts) === null || _a === void 0 ? void 0 : _a.prepare) != null && manifest.scripts.prepare !== '') { | ||
const manifest = await read_package_json_1.safeReadPackageFromDir(pkgDir); | ||
if (((_a = manifest === null || manifest === void 0 ? void 0 : manifest.scripts) === null || _a === void 0 ? void 0 : _a.prepare) != null && manifest.scripts.prepare !== '') { | ||
const pm = (_c = (_b = (await preferred_pm_1.default(pkgDir))) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : 'npm'; | ||
@@ -17,0 +17,0 @@ await execa_1.default(pm, ['install'], { cwd: pkgDir }); |
{ | ||
"name": "@pnpm/prepare-package", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Prepares a Git-hosted package", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
"@zkochan/rimraf": "^2.1.1", | ||
"execa": "^5.0.0", | ||
"execa": "npm:safe-execa@^0.1.1", | ||
"preferred-pm": "^3.0.3" | ||
@@ -29,0 +29,0 @@ }, |
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
4322
1
+ Added@zkochan/which@2.0.3(transitive)
+ Addedpath-name@1.0.0(transitive)
+ Addedsafe-execa@0.1.4(transitive)
Updatedexeca@npm:safe-execa@^0.1.1