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

@pnpm/manifest-utils

Package Overview
Dependencies
Maintainers
0
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/manifest-utils - npm Package Compare versions

Comparing version 6.0.8 to 6.0.9

12

lib/updateProjectManifestObject.js

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

async function updateProjectManifestObject(prefix, packageManifest, packageSpecs) {
packageSpecs.forEach((packageSpec) => {
for (const packageSpec of packageSpecs) {
if (packageSpec.saveType) {

@@ -15,7 +15,7 @@ const spec = packageSpec.pref ?? findSpec(packageSpec.alias, packageManifest);

packageManifest[packageSpec.saveType][packageSpec.alias] = spec;
types_1.DEPENDENCIES_FIELDS.filter((depField) => depField !== packageSpec.saveType).forEach((deptype) => {
if (packageManifest[deptype] != null) {
delete packageManifest[deptype][packageSpec.alias];
for (const deptype of types_1.DEPENDENCIES_FIELDS) {
if (deptype !== packageSpec.saveType) {
delete packageManifest[deptype]?.[packageSpec.alias];
}
});
}
if (packageSpec.peer === true) {

@@ -40,3 +40,3 @@ packageManifest.peerDependencies = packageManifest.peerDependencies ?? {};

}
});
}
core_loggers_1.packageManifestLogger.debug({

@@ -43,0 +43,0 @@ prefix,

{
"name": "@pnpm/manifest-utils",
"description": "Utils for dealing with package manifest",
"version": "6.0.8",
"version": "6.0.9",
"bugs": {

@@ -23,5 +23,5 @@ "url": "https://github.com/pnpm/pnpm/issues"

"dependencies": {
"@pnpm/core-loggers": "10.0.7",
"@pnpm/error": "6.0.1",
"@pnpm/types": "12.2.0"
"@pnpm/error": "6.0.2",
"@pnpm/types": "12.2.0",
"@pnpm/core-loggers": "10.0.7"
},

@@ -31,3 +31,3 @@ "homepage": "https://github.com/pnpm/pnpm/blob/main/pkg-manifest/manifest-utils#readme",

"devDependencies": {
"@pnpm/manifest-utils": "6.0.8"
"@pnpm/manifest-utils": "6.0.9"
},

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