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

@pnpm/cafs

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/cafs - npm Package Compare versions

Comparing version 6.0.2 to 7.0.0

4

lib/addFilesFromTarball.d.ts
/// <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

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