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

@pnpm/lockfile-file

Package Overview
Dependencies
Maintainers
2
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 6.0.1 to 6.0.2

6

lib/sortLockfileKeys.js

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

exports.sortLockfileKeys = void 0;
const util_lex_comparator_1 = require("@pnpm/util.lex-comparator");
const sort_keys_1 = __importDefault(require("sort-keys"));

@@ -56,6 +57,3 @@ const ORDERED_KEYS = {

return 1;
// We want deterministic sorting, so we can't use .localCompare here.
// comparing strings with < and > will produce the same result on each machine.
// An alternative solution could be to use a specific culture for compare, using Intl.Collator
return left < right ? -1 : (left > right ? 1 : 0);
return (0, util_lex_comparator_1.lexCompare)(left, right);
}

@@ -62,0 +60,0 @@ function sortLockfileKeys(lockfile) {

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

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

"devDependencies": {
"@pnpm/lockfile-file": "6.0.1",
"@pnpm/lockfile-file": "6.0.2",
"@types/js-yaml": "^4.0.5",
"@types/normalize-path": "^3.0.0",
"@types/ramda": "0.28.15",
"@types/semver": "7.3.12",
"@types/semver": "7.3.13",
"@types/write-file-atomic": "^3.0.3",

@@ -45,8 +45,9 @@ "tempy": "^1.0.1",

"@pnpm/git-utils": "0.1.0",
"@pnpm/lockfile-types": "4.3.4",
"@pnpm/merge-lockfile-changes": "4.0.1",
"@pnpm/types": "8.8.0",
"@pnpm/lockfile-types": "4.3.5",
"@pnpm/merge-lockfile-changes": "4.0.2",
"@pnpm/types": "8.9.0",
"@pnpm/util.lex-comparator": "1.0.0",
"@zkochan/rimraf": "^2.1.2",
"comver-to-semver": "^1.0.0",
"dependency-path": "9.2.7",
"dependency-path": "9.2.8",
"js-yaml": "npm:@zkochan/js-yaml@^0.0.6",

@@ -53,0 +54,0 @@ "normalize-path": "^3.0.0",

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