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

@pnpm/lockfile-file

Package Overview
Dependencies
Maintainers
3
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/lockfile-file - npm Package Compare versions

Comparing version 3.0.12 to 3.0.13

6

CHANGELOG.md
# @pnpm/lockfile-file
## 3.0.13
### Patch Changes
- 9550b0505: Remove the `packages` field before saving, if it equals `undefined`.
## 3.0.12

@@ -4,0 +10,0 @@

2

lib/index.js

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

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

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

}
if (R.isEmpty(lockfileToSave.packages)) {
if (R.isEmpty(lockfileToSave.packages) || !lockfileToSave.packages) {
delete lockfileToSave.packages;

@@ -78,3 +78,3 @@ }

};
if (R.isEmpty(lockfileToSave.packages)) {
if (R.isEmpty(lockfileToSave.packages) || !lockfileToSave.packages) {
delete lockfileToSave.packages;

@@ -81,0 +81,0 @@ }

{
"name": "@pnpm/lockfile-file",
"version": "3.0.12",
"version": "3.0.13",
"description": "Read/write pnpm-lock.yaml files",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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