@fedify/relay 2.0.29-dev.2020 → 2.0.29-dev.2046
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/dist/litepub.test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-
|
|
4
|
+
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-D66GOBdM.js";
|
|
5
5
|
import { MemoryKvStore, signRequest } from "@fedify/fedify";
|
|
6
6
|
import { createRelay } from "@fedify/relay";
|
|
7
7
|
import { Accept, Announce, Create, Delete, Follow, Move, Note, Person, Undo, Update } from "@fedify/vocab";
|
package/dist/mastodon.test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-
|
|
4
|
+
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-D66GOBdM.js";
|
|
5
5
|
import { MemoryKvStore, signRequest } from "@fedify/fedify";
|
|
6
6
|
import { createRelay } from "@fedify/relay";
|
|
7
7
|
import { Create, Delete, Follow, Move, Note, Person, Undo, Update } from "@fedify/vocab";
|
|
@@ -25647,7 +25647,7 @@ const preloadedContexts = {
|
|
|
25647
25647
|
"https://purl.archive.org/miscellany": miscellany_default
|
|
25648
25648
|
};
|
|
25649
25649
|
var name = "@fedify/vocab-runtime";
|
|
25650
|
-
var version = "2.0.29-dev.
|
|
25650
|
+
var version = "2.0.29-dev.2046+5211d803";
|
|
25651
25651
|
/**
|
|
25652
25652
|
* Error thrown when fetching a JSON-LD document failed.
|
|
25653
25653
|
*/
|
|
@@ -26298,7 +26298,11 @@ function getDocumentLoader({ allowPrivateAddress, skipPreloadedContexts, userAge
|
|
|
26298
26298
|
if (!allowPrivateAddress) try {
|
|
26299
26299
|
await validatePublicUrl(currentUrl);
|
|
26300
26300
|
} catch (error) {
|
|
26301
|
-
if (error instanceof UrlError) logger.
|
|
26301
|
+
if (error instanceof UrlError) if (error.reason === "dns") logger.debug("DNS lookup failed for {url}", {
|
|
26302
|
+
url: currentUrl,
|
|
26303
|
+
error
|
|
26304
|
+
});
|
|
26305
|
+
else logger.error("Disallowed private URL: {url}", {
|
|
26302
26306
|
url: currentUrl,
|
|
26303
26307
|
error
|
|
26304
26308
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/relay",
|
|
3
|
-
"version": "2.0.29-dev.
|
|
3
|
+
"version": "2.0.29-dev.2046+5211d803",
|
|
4
4
|
"description": "ActivityPub relay support for Fedify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Fedify",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@js-temporal/polyfill": "^0.5.1",
|
|
52
52
|
"@logtape/logtape": "^2.0.0",
|
|
53
|
-
"@fedify/
|
|
54
|
-
"@fedify/
|
|
53
|
+
"@fedify/fedify": "^2.0.29-dev.2046+5211d803",
|
|
54
|
+
"@fedify/vocab": "2.0.29-dev.2046+5211d803"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"tsdown": "^0.21.6",
|
|
58
58
|
"typescript": "^6.0.0",
|
|
59
59
|
"urlpattern-polyfill": "^10.1.0",
|
|
60
|
-
"@fedify/vocab-runtime": "^2.0.29-dev.
|
|
60
|
+
"@fedify/vocab-runtime": "^2.0.29-dev.2046+5211d803"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build:self": "tsdown",
|