@pnpm/filter-lockfile
Advanced tools
Comparing version 9.0.0 to 9.0.1
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; |
@@ -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
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
25266
309