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 5.0.2 to 5.0.3

2

lib/checkFilesIntegrity.d.ts

@@ -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": {

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