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

@pnpm/filter-lockfile

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/filter-lockfile - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

10

lib/filterLockfileByImportersAndEngine.d.ts
import { type Lockfile } from '@pnpm/lockfile-types';
import { type SupportedArchitectures, type DependenciesField } from '@pnpm/types';
export declare function filterLockfileByEngine(lockfile: Lockfile, opts: FilterLockfileOptions): {
export interface FilterLockfileResult {
lockfile: Lockfile;
selectedImporterIds: string[];
};
}
export declare function filterLockfileByEngine(lockfile: Lockfile, opts: FilterLockfileOptions): FilterLockfileResult;
export interface FilterLockfileOptions {

@@ -22,5 +23,2 @@ currentEngine: {

}
export declare function filterLockfileByImportersAndEngine(lockfile: Lockfile, importerIds: string[], opts: FilterLockfileOptions): {
lockfile: Lockfile;
selectedImporterIds: string[];
};
export declare function filterLockfileByImportersAndEngine(lockfile: Lockfile, importerIds: string[], opts: FilterLockfileOptions): FilterLockfileResult;

1

lib/filterLockfileByImportersAndEngine.js

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

optional: pkgSnapshot.optional === true,
pnpmVersion: opts.currentEngine.pnpmVersion,
supportedArchitectures: opts.supportedArchitectures,

@@ -127,0 +126,0 @@ }) !== false;

{
"name": "@pnpm/filter-lockfile",
"version": "9.0.0",
"version": "9.0.1",
"description": "Filters a lockfile",

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

"devDependencies": {
"@types/ramda": "0.28.20",
"detect-libc": "^2.0.2",
"@types/ramda": "0.29.12",
"detect-libc": "^2.0.3",
"tempy": "^1.0.1",
"write-yaml-file": "^5.0.0",
"yaml-tag": "1.1.0",
"@pnpm/filter-lockfile": "9.0.0"
"@pnpm/filter-lockfile": "9.0.1"
},

@@ -46,4 +46,4 @@ "dependencies": {

"@pnpm/lockfile-walker": "8.0.0",
"@pnpm/package-is-installable": "9.0.0",
"@pnpm/types": "10.0.0"
"@pnpm/types": "10.0.0",
"@pnpm/package-is-installable": "9.0.0"
},

@@ -50,0 +50,0 @@ "funding": "https://opencollective.com/pnpm",

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