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 4.0.3 to 4.0.4

6

CHANGELOG.md
# @pnpm/lockfile-walker
## 4.0.4
### Patch Changes
- a1a03d145: Import only the required functions from ramda.
## 4.0.3

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

7

lib/index.js

@@ -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

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