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

@pnpm/workspace.read-manifest

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/workspace.read-manifest - npm Package Compare versions

Comparing version 1.0.3 to 2.0.0

5

lib/index.js

@@ -7,2 +7,3 @@ "use strict";

exports.readWorkspaceManifest = void 0;
const util_1 = __importDefault(require("util"));
const constants_1 = require("@pnpm/constants");

@@ -22,5 +23,5 @@ const error_1 = require("@pnpm/error");

}
catch (err) { // eslint-disable-line
catch (err) {
// File not exists is the same as empty file (undefined)
if (err['code'] === 'ENOENT') {
if (util_1.default.types.isNativeError(err) && 'code' in err && err.code === 'ENOENT') {
return undefined;

@@ -27,0 +28,0 @@ }

12

package.json
{
"name": "@pnpm/workspace.read-manifest",
"version": "1.0.3",
"version": "2.0.0",
"description": "Reads a workspace manifest file",

@@ -12,7 +12,7 @@ "main": "lib/index.js",

"engines": {
"node": ">=16.14"
"node": ">=18.12"
},
"repository": "https://github.com/pnpm/pnpm/blob/main/workspace/read-manifest",
"keywords": [
"pnpm8",
"pnpm9",
"pnpm"

@@ -27,8 +27,8 @@ ],

"read-yaml-file": "^2.1.0",
"@pnpm/error": "5.0.3",
"@pnpm/constants": "7.1.1"
"@pnpm/constants": "8.0.0",
"@pnpm/error": "6.0.0"
},
"funding": "https://opencollective.com/pnpm",
"devDependencies": {
"@pnpm/workspace.read-manifest": "1.0.3"
"@pnpm/workspace.read-manifest": "2.0.0"
},

@@ -35,0 +35,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