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

@pnpm/fetcher-base

Package Overview
Dependencies
Maintainers
3
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/fetcher-base - npm Package Compare versions

Comparing version 10.0.1 to 11.0.0

lib/index.js.map

10

CHANGELOG.md
# @pnpm/fetcher-base
## 11.0.0
### Major Changes
- e6a2654a2: `importPackage()` and `tempDir()` added to the `Cafs` type.
### Minor Changes
- e6a2654a2: `PackageFileInfo`, `PackageFilesResponse`, and `ImportPackageFunction` types added.
## 10.0.1

@@ -4,0 +14,0 @@

@@ -5,5 +5,26 @@ /// <reference types="node" />

import { IntegrityLike } from 'ssri';
export interface PackageFileInfo {
checkedAt?: number;
integrity: string;
mode: number;
size: number;
}
export interface PackageFilesResponse {
fromStore: boolean;
filesIndex: Record<string, PackageFileInfo>;
sideEffects?: Record<string, Record<string, PackageFileInfo>>;
}
export declare type ImportPackageFunction = (to: string, opts: {
targetEngine?: string;
filesResponse: PackageFilesResponse;
force: boolean;
}) => Promise<{
isBuilt: boolean;
importMethod: undefined | string;
}>;
export interface Cafs {
addFilesFromDir: (dir: string, manifest?: DeferredManifestPromise) => Promise<FilesIndex>;
addFilesFromTarball: (stream: NodeJS.ReadableStream, manifest?: DeferredManifestPromise) => Promise<FilesIndex>;
importPackage: ImportPackageFunction;
tempDir: () => Promise<string>;
}

@@ -10,0 +31,0 @@ export interface FetchOptions {

2

package.json
{
"name": "@pnpm/fetcher-base",
"version": "10.0.1",
"version": "11.0.0",
"description": "Types for pnpm-compatible fetchers",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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