@pnpm/lockfile-walker
Advanced tools
Comparing version 4.0.3 to 4.0.4
# @pnpm/lockfile-walker | ||
## 4.0.4 | ||
### Patch Changes | ||
- a1a03d145: Import only the required functions from ramda. | ||
## 4.0.3 | ||
@@ -4,0 +10,0 @@ |
@@ -24,3 +24,2 @@ "use strict"; | ||
const dp = __importStar(require("dependency-path")); | ||
const R = __importStar(require("ramda")); | ||
function lockfileWalkerGroupImporterSteps(lockfile, importerIds, opts) { | ||
@@ -31,3 +30,3 @@ 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 projectSnapshot = lockfile.importers[importerId]; | ||
const entryNodes = R.toPairs({ | ||
const entryNodes = Object.entries({ | ||
...(((_a = opts === null || opts === void 0 ? void 0 : opts.include) === null || _a === void 0 ? void 0 : _a.devDependencies) === false ? {} : projectSnapshot.devDependencies), | ||
@@ -58,3 +57,3 @@ ...(((_b = opts === null || opts === void 0 ? void 0 : opts.include) === null || _b === void 0 ? void 0 : _b.dependencies) === false ? {} : projectSnapshot.dependencies), | ||
const projectSnapshot = lockfile.importers[importerId]; | ||
R.toPairs({ | ||
Object.entries({ | ||
...(((_a = opts === null || opts === void 0 ? void 0 : opts.include) === null || _a === void 0 ? void 0 : _a.devDependencies) === false ? {} : projectSnapshot.devDependencies), | ||
@@ -111,3 +110,3 @@ ...(((_b = opts === null || opts === void 0 ? void 0 : opts.include) === null || _b === void 0 ? void 0 : _b.dependencies) === false ? {} : projectSnapshot.dependencies), | ||
function next(opts, nextPkg) { | ||
return R.toPairs({ | ||
return Object.entries({ | ||
...nextPkg.dependencies, | ||
@@ -114,0 +113,0 @@ ...(opts.includeOptionalDependencies ? nextPkg.optionalDependencies : {}), |
{ | ||
"name": "@pnpm/lockfile-walker", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Walk over all the dependencies in a lockfile", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
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
15155
146