@fedify/fedify 1.2.0-dev.468 → 1.2.0-dev.472
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +30 -0
- package/esm/runtime/docloader.js +1 -1
- package/package.json +1 -1
- package/types/runtime/docloader.d.ts.map +1 -1
package/CHANGES.md
CHANGED
@@ -58,6 +58,16 @@ To be released.
|
|
58
58
|
[#118]: https://github.com/dahlia/fedify/issues/118
|
59
59
|
|
60
60
|
|
61
|
+
Version 1.1.3
|
62
|
+
-------------
|
63
|
+
|
64
|
+
Released on October 31, 2024.
|
65
|
+
|
66
|
+
- Fixed a bug where `fetchDocumentLoader()` function had disallowed
|
67
|
+
redirecting to a private network address when the second parameter,
|
68
|
+
a `boolean` value to allow private network addresses, was `true`.
|
69
|
+
|
70
|
+
|
61
71
|
Version 1.1.2
|
62
72
|
-------------
|
63
73
|
|
@@ -178,6 +188,16 @@ Released on October 20, 2024.
|
|
178
188
|
[#150]: https://github.com/dahlia/fedify/issues/150
|
179
189
|
|
180
190
|
|
191
|
+
Version 1.0.7
|
192
|
+
-------------
|
193
|
+
|
194
|
+
Released on October 31, 2024.
|
195
|
+
|
196
|
+
- Fixed a bug where `fetchDocumentLoader()` function had disallowed
|
197
|
+
redirecting to a private network address when the second parameter,
|
198
|
+
a `boolean` value to allow private network addresses, was `true`.
|
199
|
+
|
200
|
+
|
181
201
|
Version 1.0.6
|
182
202
|
-------------
|
183
203
|
|
@@ -417,6 +437,16 @@ Released on September 26, 2024.
|
|
417
437
|
[#137]: https://github.com/dahlia/fedify/issues/137
|
418
438
|
|
419
439
|
|
440
|
+
Version 0.15.5
|
441
|
+
--------------
|
442
|
+
|
443
|
+
Released on October 30, 2024.
|
444
|
+
|
445
|
+
- Fixed a bug where `fetchDocumentLoader()` function had disallowed
|
446
|
+
redirecting to a private network address when the second parameter,
|
447
|
+
a `boolean` value to allow private network addresses, was `true`.
|
448
|
+
|
449
|
+
|
420
450
|
Version 0.15.4
|
421
451
|
--------------
|
422
452
|
|
package/esm/runtime/docloader.js
CHANGED
@@ -171,7 +171,7 @@ export async function fetchDocumentLoader(url, allowPrivateAddress = false) {
|
|
171
171
|
// Follow redirects manually to get the final URL:
|
172
172
|
if (response.status >= 300 && response.status < 400 &&
|
173
173
|
response.headers.has("Location")) {
|
174
|
-
return fetchDocumentLoader(response.headers.get("Location"));
|
174
|
+
return fetchDocumentLoader(response.headers.get("Location"), allowPrivateAddress);
|
175
175
|
}
|
176
176
|
return getRemoteDocument(url, response, (url) => fetchDocumentLoader(url, allowPrivateAddress));
|
177
177
|
}
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"docloader.d.ts","sourceRoot":"","sources":["../../src/runtime/docloader.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAQ1D;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;AAEtE;;;;;;;;GAQG;AACH,MAAM,MAAM,kCAAkC,GAAG,CAC/C,QAAQ,EAAE;IAAE,KAAK,EAAE,GAAG,CAAC;IAAC,UAAU,EAAE,OAAO,CAAC,SAAS,CAAA;CAAE,KACpD,cAAc,CAAC;AAEpB;;GAEG;AACH,qBAAa,UAAW,SAAQ,KAAK;IACnC;;OAEG;IACH,GAAG,EAAE,GAAG,CAAC;IAET;;;;;OAKG;gBACS,GAAG,EAAE,GAAG,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;CAKhD;AAoID;;;;;;;;;;;;;;GAcG;AACH,w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