@pnpm/network.fetch 1100.1.12 → 1100.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @pnpm/fetch
2
2
 
3
+ ## 1100.1.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Added support for registry replacement tarballs using standard integrity values, explicit revision fields, registry routing from the `registries` setting, non-redirecting integrity-addressed URLs, canonical safe-integer revision numbers, and pnpr proxying for immutable upstream revision artifacts.
8
+
9
+ - Updated dependencies:
10
+ - @pnpm/core-loggers@1100.3.4
11
+ - @pnpm/types@1102.1.0
12
+
13
+ ## 1100.1.13
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies:
18
+ - @pnpm/core-loggers@1100.3.3
19
+ - @pnpm/error@1100.1.3
20
+ - @pnpm/types@1102.0.0
21
+
3
22
  ## 1100.1.12
4
23
 
5
24
  ### Patch Changes
@@ -78,7 +78,9 @@ export function createFetchFromRegistry(defaultOpts) {
78
78
  retry: opts?.retry,
79
79
  timeout: opts?.timeout ?? 60000,
80
80
  });
81
- if (!isRedirect(response.status) || redirects >= MAX_FOLLOWED_REDIRECTS) {
81
+ if (opts?.redirect === 'manual' ||
82
+ !isRedirect(response.status) ||
83
+ redirects >= MAX_FOLLOWED_REDIRECTS) {
82
84
  return response;
83
85
  }
84
86
  redirects++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/network.fetch",
3
- "version": "1100.1.12",
3
+ "version": "1100.1.14",
4
4
  "description": "Native fetch with retries",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -30,10 +30,10 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@pnpm/config.registry-auth-key": "1100.0.0",
33
- "@pnpm/core-loggers": "1100.3.2",
34
- "@pnpm/error": "1100.1.2",
33
+ "@pnpm/core-loggers": "1100.3.4",
34
+ "@pnpm/error": "1100.1.3",
35
35
  "@pnpm/fetching.types": "1100.0.3",
36
- "@pnpm/types": "1101.9.0",
36
+ "@pnpm/types": "1102.1.0",
37
37
  "@zkochan/retry": "^0.2.0",
38
38
  "lru-cache": "^11.5.2",
39
39
  "socks": "^2.8.9",
@@ -45,7 +45,7 @@
45
45
  "devDependencies": {
46
46
  "@jest/globals": "30.4.1",
47
47
  "@pnpm/logger": "1100.0.0",
48
- "@pnpm/network.fetch": "1100.1.12",
48
+ "@pnpm/network.fetch": "1100.1.14",
49
49
  "https-proxy-server-express": "0.1.2"
50
50
  },
51
51
  "engines": {