@pnpm/cafs
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -10,3 +10,3 @@ import type { DeferredManifestPromise, PackageFileInfo } from '@pnpm/cafs-types'; | ||
export declare function checkFilesIntegrity(cafsDir: string, pkgIndex: Record<string, PackageFileInfo>, manifest?: DeferredManifestPromise): Promise<boolean>; | ||
declare type FileInfo = Pick<PackageFileInfo, 'size' | 'checkedAt'> & { | ||
type FileInfo = Pick<PackageFileInfo, 'size' | 'checkedAt'> & { | ||
integrity: string | ssri.IntegrityLike; | ||
@@ -13,0 +13,0 @@ }; |
import { IntegrityLike } from 'ssri'; | ||
export declare const modeIsExecutable: (mode: number) => boolean; | ||
export declare type FileType = 'exec' | 'nonexec' | 'index'; | ||
export type FileType = 'exec' | 'nonexec' | 'index'; | ||
export declare function getFilePathByModeInCafs(cafsDir: string, integrity: string | IntegrityLike, mode: number): string; | ||
export declare function getFilePathInCafs(cafsDir: string, integrity: string | IntegrityLike, fileType: FileType): string; | ||
export declare function contentPathFromHex(fileType: FileType, hex: string): string; |
{ | ||
"name": "@pnpm/cafs", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "A content-addressable filesystem for the packages storage", | ||
@@ -12,5 +12,2 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@pnpm/fetcher-base": "13.1.4", | ||
"@pnpm/graceful-fs": "2.0.0", | ||
"@pnpm/store-controller-types": "14.1.5", | ||
"@zkochan/rimraf": "^2.1.2", | ||
@@ -23,16 +20,19 @@ "concat-stream": "^2.0.0", | ||
"rename-overwrite": "^4.0.3", | ||
"ssri": "^9.0.1", | ||
"ssri": "10.0.0", | ||
"strip-bom": "^4.0.0", | ||
"tar-stream": "^2.2.0" | ||
"tar-stream": "^2.2.0", | ||
"@pnpm/fetcher-base": "13.1.4", | ||
"@pnpm/graceful-fs": "2.0.0", | ||
"@pnpm/store-controller-types": "14.1.5" | ||
}, | ||
"devDependencies": { | ||
"@pnpm/cafs": "5.0.2", | ||
"@pnpm/cafs-types": "1.1.0", | ||
"@pnpm/types": "8.9.0", | ||
"@types/concat-stream": "^2.0.0", | ||
"@types/node": "^14.18.29", | ||
"@types/node": "^14.18.33", | ||
"@types/ssri": "^7.1.1", | ||
"@types/tar-stream": "^2.2.2", | ||
"p-defer": "^3.0.0", | ||
"tempy": "^1.0.1" | ||
"tempy": "^1.0.1", | ||
"@pnpm/cafs": "5.0.3", | ||
"@pnpm/cafs-types": "1.1.0", | ||
"@pnpm/types": "8.9.0" | ||
}, | ||
@@ -49,4 +49,4 @@ "bugs": { | ||
], | ||
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/cafs#readme", | ||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/cafs", | ||
"homepage": "https://github.com/pnpm/pnpm/blob/main/store/cafs#readme", | ||
"repository": "https://github.com/pnpm/pnpm/blob/main/store/cafs", | ||
"funding": "https://opencollective.com/pnpm", | ||
@@ -53,0 +53,0 @@ "exports": { |
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 repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
38398
+ Addedssri@10.0.0(transitive)
- Removedssri@9.0.1(transitive)
Updatedssri@10.0.0