@pnpm/cafs
Advanced tools
Comparing version 6.0.2 to 7.0.0
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { PassThrough } from 'stream'; | ||
import { type PassThrough } from 'stream'; | ||
import type { DeferredManifestPromise, FilesIndex, FileWriteResult } from '@pnpm/cafs-types'; | ||
export declare function addFilesFromTarball(addStreamToCafs: (fileStream: PassThrough, mode: number) => Promise<FileWriteResult>, _ignore: null | ((filename: string) => Boolean), stream: NodeJS.ReadableStream, manifest?: DeferredManifestPromise): Promise<FilesIndex>; | ||
export declare function addFilesFromTarball(addStreamToCafs: (fileStream: PassThrough, mode: number) => Promise<FileWriteResult>, _ignore: null | ((filename: string) => boolean), stream: NodeJS.ReadableStream, manifest?: DeferredManifestPromise): Promise<FilesIndex>; |
@@ -1,2 +0,2 @@ | ||
import { IntegrityLike } from 'ssri'; | ||
import { type IntegrityLike } from 'ssri'; | ||
export declare const modeIsExecutable: (mode: number) => boolean; | ||
@@ -3,0 +3,0 @@ export type FileType = 'exec' | 'nonexec' | 'index'; |
/// <reference types="node" /> | ||
import type { PackageFileInfo } from '@pnpm/cafs-types'; | ||
import ssri from 'ssri'; | ||
import { checkPkgFilesIntegrity, PackageFilesIndex } from './checkPkgFilesIntegrity'; | ||
import { checkPkgFilesIntegrity, type PackageFilesIndex } from './checkPkgFilesIntegrity'; | ||
import { readManifestFromStore } from './readManifestFromStore'; | ||
import { getFilePathInCafs, FileType, getFilePathByModeInCafs } from './getFilePathInCafs'; | ||
export { IntegrityLike } from 'ssri'; | ||
export { checkPkgFilesIntegrity, readManifestFromStore, FileType, getFilePathByModeInCafs, getFilePathInCafs, PackageFileInfo, PackageFilesIndex, }; | ||
export declare function createCafs(cafsDir: string, ignore?: ((filename: string) => Boolean)): { | ||
import { getFilePathInCafs, type FileType, getFilePathByModeInCafs } from './getFilePathInCafs'; | ||
export type { IntegrityLike } from 'ssri'; | ||
export { checkPkgFilesIntegrity, readManifestFromStore, type FileType, getFilePathByModeInCafs, getFilePathInCafs, type PackageFileInfo, type PackageFilesIndex, }; | ||
export declare function createCafs(cafsDir: string, ignore?: ((filename: string) => boolean)): { | ||
addFilesFromDir: (dirname: string, manifest?: import("@pnpm/cafs-types").DeferredManifestPromise | undefined) => Promise<import("@pnpm/cafs-types").FilesIndex>; | ||
@@ -11,0 +11,0 @@ addFilesFromTarball: (stream: NodeJS.ReadableStream, manifest?: import("@pnpm/cafs-types").DeferredManifestPromise | undefined) => Promise<import("@pnpm/cafs-types").FilesIndex>; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { PassThrough } from 'stream'; | ||
import { type PassThrough } from 'stream'; | ||
import type { DeferredManifestPromise } from '@pnpm/cafs-types'; | ||
export declare function parseJsonBuffer(buffer: Buffer, deferred: DeferredManifestPromise): void; | ||
export declare function parseJsonStream(stream: PassThrough, deferred: DeferredManifestPromise): void; |
import type { DeferredManifestPromise } from '@pnpm/cafs-types'; | ||
import { PackageFilesIndex } from './checkPkgFilesIntegrity'; | ||
import { type PackageFilesIndex } from './checkPkgFilesIntegrity'; | ||
export declare function readManifestFromStore(cafsDir: string, pkgIndex: PackageFilesIndex, deferredManifest?: DeferredManifestPromise): Promise<boolean>; |
{ | ||
"name": "@pnpm/cafs", | ||
"version": "6.0.2", | ||
"version": "7.0.0", | ||
"description": "A content-addressable filesystem for the packages storage", | ||
@@ -8,3 +8,3 @@ "main": "lib/index.js", | ||
"keywords": [ | ||
"pnpm7" | ||
"pnpm8" | ||
], | ||
@@ -23,5 +23,5 @@ "license": "MIT", | ||
"tar-stream": "^2.2.0", | ||
"@pnpm/fetcher-base": "13.1.6", | ||
"@pnpm/graceful-fs": "2.1.0", | ||
"@pnpm/store-controller-types": "14.3.1" | ||
"@pnpm/fetcher-base": "14.0.0", | ||
"@pnpm/graceful-fs": "3.0.0", | ||
"@pnpm/store-controller-types": "15.0.0" | ||
}, | ||
@@ -35,5 +35,5 @@ "devDependencies": { | ||
"tempy": "^1.0.1", | ||
"@pnpm/cafs": "6.0.2", | ||
"@pnpm/cafs-types": "1.2.0", | ||
"@pnpm/types": "8.10.0" | ||
"@pnpm/cafs": "7.0.0", | ||
"@pnpm/cafs-types": "2.0.0", | ||
"@pnpm/types": "9.0.0" | ||
}, | ||
@@ -44,3 +44,3 @@ "bugs": { | ||
"engines": { | ||
"node": ">=14.6" | ||
"node": ">=16.14" | ||
}, | ||
@@ -47,0 +47,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
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
40938
+ Added@pnpm/fetcher-base@14.0.0(transitive)
+ Added@pnpm/graceful-fs@3.0.0(transitive)
+ Added@pnpm/resolver-base@10.0.0(transitive)
+ Added@pnpm/store-controller-types@15.0.0(transitive)
+ Added@pnpm/types@9.0.0(transitive)
- Removed@pnpm/fetcher-base@13.1.6(transitive)
- Removed@pnpm/graceful-fs@2.1.0(transitive)
- Removed@pnpm/resolver-base@9.2.0(transitive)
- Removed@pnpm/store-controller-types@14.3.1(transitive)
- Removed@pnpm/types@8.10.0(transitive)
Updated@pnpm/fetcher-base@14.0.0
Updated@pnpm/graceful-fs@3.0.0