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

@pnpm/lockfile-walker

Package Overview
Dependencies
Maintainers
3
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/lockfile-walker - npm Package Compare versions

Comparing version 3.0.9 to 4.0.0

16

CHANGELOG.md
# @pnpm/lockfile-walker
## 4.0.0
### Major Changes
- 97b986fbc: Node.js 10 support is dropped. At least Node.js 12.17 is required for the package to work.
### Patch Changes
- Updated dependencies [97b986fbc]
- Updated dependencies [6871d74b2]
- Updated dependencies [e4efddbd2]
- Updated dependencies [f2bb5cbeb]
- dependency-path@6.0.0
- @pnpm/lockfile-types@3.0.0
- @pnpm/types@7.0.0
## 3.0.9

@@ -4,0 +20,0 @@

8

lib/index.js

@@ -24,5 +24,5 @@ "use strict";

const dp = __importStar(require("dependency-path"));
const R = require("ramda");
const R = __importStar(require("ramda"));
function lockfileWalkerGroupImporterSteps(lockfile, importerIds, opts) {
const walked = new Set((opts === null || opts === void 0 ? void 0 : opts.skipped) ? Array.from(opts === null || opts === void 0 ? void 0 : opts.skipped) : []);
const walked = new Set(((opts === null || opts === void 0 ? void 0 : opts.skipped) != null) ? Array.from(opts === null || opts === void 0 ? void 0 : opts.skipped) : []);
return importerIds.map((importerId) => {

@@ -51,3 +51,3 @@ var _a, _b, _c, _d;

var _a;
const walked = new Set((opts === null || opts === void 0 ? void 0 : opts.skipped) ? Array.from(opts === null || opts === void 0 ? void 0 : opts.skipped) : []);
const walked = new Set(((opts === null || opts === void 0 ? void 0 : opts.skipped) != null) ? Array.from(opts === null || opts === void 0 ? void 0 : opts.skipped) : []);
const entryNodes = [];

@@ -93,3 +93,3 @@ const directDeps = [];

const pkgSnapshot = (_a = ctx.lockfile.packages) === null || _a === void 0 ? void 0 : _a[depPath];
if (!pkgSnapshot) {
if (pkgSnapshot == null) {
if (depPath.startsWith('link:')) {

@@ -96,0 +96,0 @@ result.links.push(depPath);

{
"name": "@pnpm/lockfile-walker",
"version": "3.0.9",
"version": "4.0.0",
"description": "Walk over all the dependencies in a lockfile",

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

"engines": {
"node": ">=10.16"
"node": ">=12.17"
},

@@ -19,3 +19,3 @@ "files": [

"prepublishOnly": "pnpm run compile",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build"
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
},

@@ -28,3 +28,2 @@ "repository": "https://github.com/pnpm/pnpm/blob/master/packages/lockfile-walker",

],
"author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)",
"license": "MIT",

@@ -40,5 +39,5 @@ "bugs": {

"dependencies": {
"@pnpm/lockfile-types": "2.2.0",
"@pnpm/types": "6.4.0",
"dependency-path": "5.1.1",
"@pnpm/lockfile-types": "3.0.0",
"@pnpm/types": "7.0.0",
"dependency-path": "6.0.0",
"ramda": "^0.27.1"

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