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.0 to 1.0.1

lib/index.js.map

7

lib/index.js

@@ -34,9 +34,6 @@ "use strict";

function validateWorkspaceManifest(manifest) {
if (manifest === undefined) {
// Empty manifest is ok
if (manifest === undefined || manifest === null) {
// Empty or null manifest is ok
return true;
}
if (manifest === null) {
throw new InvalidWorkspaceManifestError('Expected object but found - null');
}
if (typeof manifest !== 'object') {

@@ -43,0 +40,0 @@ throw new InvalidWorkspaceManifestError(`Expected object but found - ${typeof manifest}`);

{
"name": "@pnpm/workspace.read-manifest",
"version": "1.0.0",
"version": "1.0.1",
"description": "Reads a workspace manifest file",

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

"devDependencies": {
"@pnpm/workspace.read-manifest": "1.0.0"
"@pnpm/workspace.read-manifest": "1.0.1"
},

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

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