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

@pnpm/fetch

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/fetch - npm Package Compare versions

Comparing version 4.2.6 to 4.2.7

2

lib/fetchFromRegistry.d.ts
import { FetchFromRegistry } from '@pnpm/fetching-types';
import { AgentOptions } from '@pnpm/npm-registry-agent';
import { AgentOptions } from '@pnpm/network.agent';
import { Response, RequestInfo, RequestInit } from './fetch';

@@ -4,0 +4,0 @@ export declare type FetchWithAgentOptions = RequestInit & {

@@ -25,9 +25,6 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.fetchWithAgent = void 0;
const url_1 = require("url");
const npm_registry_agent_1 = __importDefault(require("@pnpm/npm-registry-agent"));
const network_agent_1 = require("@pnpm/network.agent");
const fetch_1 = __importStar(require("./fetch"));

@@ -40,3 +37,3 @@ const USER_AGENT = 'pnpm'; // or maybe make it `${pkg.name}/${pkg.version} (+https://npm.im/${pkg.name})`

var _a, _b;
const agent = (0, npm_registry_agent_1.default)(url.toString(), {
const agent = (0, network_agent_1.getAgent)(url.toString(), {
...opts.agentOptions,

@@ -43,0 +40,0 @@ strictSsl: (_a = opts.agentOptions.strictSsl) !== null && _a !== void 0 ? _a : true,

{
"name": "@pnpm/fetch",
"version": "4.2.6",
"version": "4.2.7",
"description": "node-fetch with retries",

@@ -31,3 +31,3 @@ "main": "lib/index.js",

"@pnpm/fetching-types": "2.2.1",
"@pnpm/npm-registry-agent": "5.1.0",
"@pnpm/network.agent": "0.0.3",
"@zkochan/retry": "^0.2.0",

@@ -37,3 +37,3 @@ "node-fetch": "3.0.0-beta.9"

"devDependencies": {
"@pnpm/fetch": "4.2.6",
"@pnpm/fetch": "4.2.7",
"@pnpm/logger": "^4.0.0",

@@ -40,0 +40,0 @@ "cpy-cli": "^3.1.1",

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