@pnpm/lockfile-walker
Advanced tools
Comparing version 3.0.9 to 4.0.0
# @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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10904
1
+ Added@pnpm/lockfile-types@3.0.0(transitive)
+ Added@pnpm/types@7.0.0(transitive)
+ Addeddependency-path@6.0.0(transitive)
- Removed@pnpm/lockfile-types@2.2.0(transitive)
- Removed@pnpm/types@6.4.0(transitive)
- Removeddependency-path@5.1.1(transitive)
Updated@pnpm/lockfile-types@3.0.0
Updated@pnpm/types@7.0.0
Updateddependency-path@6.0.0