@pnpm/fetch
Advanced tools
Comparing version 8.0.5 to 8.0.6
@@ -29,3 +29,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ResponseError = exports.fetch = exports.Response = exports.isRedirect = void 0; | ||
exports.ResponseError = exports.Response = exports.isRedirect = void 0; | ||
exports.fetch = fetch; | ||
const assert_1 = __importDefault(require("assert")); | ||
@@ -98,3 +99,2 @@ const util_1 = __importDefault(require("util")); | ||
} | ||
exports.fetch = fetch; | ||
class ResponseError extends Error { | ||
@@ -101,0 +101,0 @@ constructor(res) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createFetchFromRegistry = exports.fetchWithAgent = void 0; | ||
exports.fetchWithAgent = fetchWithAgent; | ||
exports.createFetchFromRegistry = createFetchFromRegistry; | ||
const url_1 = require("url"); | ||
@@ -24,3 +25,2 @@ const network_agent_1 = require("@pnpm/network.agent"); | ||
} | ||
exports.fetchWithAgent = fetchWithAgent; | ||
function createFetchFromRegistry(defaultOpts) { | ||
@@ -74,3 +74,2 @@ return async (url, opts) => { | ||
} | ||
exports.createFetchFromRegistry = createFetchFromRegistry; | ||
function getHeaders(opts) { | ||
@@ -77,0 +76,0 @@ const headers = { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.fetchWithAgent = exports.createFetchFromRegistry = exports.fetch = void 0; | ||
exports.fetchWithAgent = exports.createFetchFromRegistry = void 0; | ||
var fetch_1 = require("./fetch"); | ||
@@ -5,0 +5,0 @@ Object.defineProperty(exports, "fetch", { enumerable: true, get: function () { return fetch_1.fetch; } }); |
{ | ||
"name": "@pnpm/fetch", | ||
"version": "8.0.5", | ||
"version": "8.0.6", | ||
"description": "node-fetch with retries", | ||
@@ -25,3 +25,3 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"@pnpm/logger": "^5.0.0" | ||
"@pnpm/logger": "^5.1.0" | ||
}, | ||
@@ -33,5 +33,5 @@ "homepage": "https://github.com/pnpm/pnpm/blob/main/network/fetch#readme", | ||
"node-fetch": "npm:@pnpm/node-fetch@1.0.0", | ||
"@pnpm/core-loggers": "10.0.5", | ||
"@pnpm/core-loggers": "10.0.6", | ||
"@pnpm/fetching-types": "6.0.0", | ||
"@pnpm/types": "12.0.0" | ||
"@pnpm/types": "12.1.0" | ||
}, | ||
@@ -41,3 +41,4 @@ "devDependencies": { | ||
"nock": "13.3.4", | ||
"@pnpm/fetch": "8.0.5" | ||
"@pnpm/fetch": "8.0.6", | ||
"@pnpm/logger": "5.2.0" | ||
}, | ||
@@ -44,0 +45,0 @@ "funding": "https://opencollective.com/pnpm", |
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
17882
4
241
+ Added@pnpm/core-loggers@10.0.6(transitive)
+ Added@pnpm/types@12.1.0(transitive)
- Removed@pnpm/core-loggers@10.0.5(transitive)
- Removed@pnpm/types@12.0.0(transitive)
Updated@pnpm/core-loggers@10.0.6
Updated@pnpm/types@12.1.0