Socket
Socket
Sign inDemoInstall

@pnpm/prepare-package

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/prepare-package - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

4

lib/index.js

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

async function preparePackage(pkgDir) {
var _a, _b, _c;
var _a, _b, _c, _d;
const manifest = await (0, read_package_json_1.safeReadPackageFromDir)(pkgDir);

@@ -22,3 +22,3 @@ if (((_a = manifest === null || manifest === void 0 ? void 0 : manifest.scripts) === null || _a === void 0 ? void 0 : _a.prepare) != null && manifest.scripts.prepare !== '') {

catch (err) { // eslint-disable-line
throw new error_1.default('PREPARE_PKG_FAILURE', `${err.shortMessage}`); // eslint-disable-line
throw new error_1.default('PREPARE_PKG_FAILURE', (_d = err.shortMessage) !== null && _d !== void 0 ? _d : err.message);
}

@@ -25,0 +25,0 @@ await (0, rimraf_1.default)(path_1.default.join(pkgDir, 'node_modules'));

{
"name": "@pnpm/prepare-package",
"version": "1.0.8",
"version": "1.0.9",
"description": "Prepares a Git-hosted package",

@@ -26,3 +26,3 @@ "main": "lib/index.js",

"@pnpm/error": "2.0.0",
"@pnpm/read-package-json": "5.0.7",
"@pnpm/read-package-json": "5.0.8",
"@zkochan/rimraf": "^2.1.1",

@@ -29,0 +29,0 @@ "execa": "npm:safe-execa@^0.1.1",

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