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

@pnpm/read-package-json

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/read-package-json - npm Package Compare versions

Comparing version 9.0.6 to 9.0.7

9

lib/index.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.safeReadPackageJsonFromDir = exports.safeReadPackageJson = exports.readPackageJsonFromDir = exports.readPackageJson = void 0;
exports.readPackageJson = readPackageJson;
exports.readPackageJsonFromDir = readPackageJsonFromDir;
exports.safeReadPackageJson = safeReadPackageJson;
exports.safeReadPackageJsonFromDir = safeReadPackageJsonFromDir;
const path_1 = __importDefault(require("path"));

@@ -24,7 +27,5 @@ const error_1 = require("@pnpm/error");

}
exports.readPackageJson = readPackageJson;
async function readPackageJsonFromDir(pkgPath) {
return readPackageJson(path_1.default.join(pkgPath, 'package.json'));
}
exports.readPackageJsonFromDir = readPackageJsonFromDir;
async function safeReadPackageJson(pkgPath) {

@@ -40,7 +41,5 @@ try {

}
exports.safeReadPackageJson = safeReadPackageJson;
async function safeReadPackageJsonFromDir(pkgPath) {
return safeReadPackageJson(path_1.default.join(pkgPath, 'package.json'));
}
exports.safeReadPackageJsonFromDir = safeReadPackageJsonFromDir;
//# sourceMappingURL=index.js.map
{
"name": "@pnpm/read-package-json",
"version": "9.0.6",
"version": "9.0.7",
"description": "Read a package.json",

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

"@pnpm/error": "6.0.1",
"@pnpm/types": "12.0.0"
"@pnpm/types": "12.1.0"
},

@@ -35,3 +35,3 @@ "funding": "https://opencollective.com/pnpm",

"@types/normalize-package-data": "^2.4.4",
"@pnpm/read-package-json": "9.0.6"
"@pnpm/read-package-json": "9.0.7"
},

@@ -38,0 +38,0 @@ "exports": {

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