@fedify/fedify 1.3.0-dev.481 → 1.3.0-dev.484

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGES.md CHANGED
@@ -8,6 +8,10 @@ Version 1.3.0
8
8
 
9
9
  To be released.
10
10
 
11
+ - Fedify now makes HTTP requests with the proper `User-Agent` header.
12
+
13
+ - Added `getUserAgent()` function.
14
+
11
15
 
12
16
  Version 1.2.2
13
17
  -------------
package/esm/deno.js ADDED
@@ -0,0 +1,101 @@
1
+ export default {
2
+ "name": "@fedify/fedify",
3
+ "version": "1.3.0-dev.484+e6a416f0",
4
+ "license": "MIT",
5
+ "exports": {
6
+ ".": "./mod.ts",
7
+ "./federation": "./federation/mod.ts",
8
+ "./nodeinfo": "./nodeinfo/mod.ts",
9
+ "./runtime": "./runtime/mod.ts",
10
+ "./sig": "./sig/mod.ts",
11
+ "./vocab": "./vocab/mod.ts",
12
+ "./webfinger": "./webfinger/mod.ts",
13
+ "./x/denokv": "./x/denokv.ts",
14
+ "./x/fresh": "./x/fresh.ts",
15
+ "./x/hono": "./x/hono.ts"
16
+ },
17
+ "imports": {
18
+ "@cfworker/json-schema": "npm:@cfworker/json-schema@^2.0.1",
19
+ "@david/which-runtime": "jsr:@david/which-runtime@^0.2.0",
20
+ "@deno/dnt": "jsr:@deno/dnt@0.41.2",
21
+ "@fedify/fedify": "./mod.ts",
22
+ "@fedify/fedify/federation": "./federation/mod.ts",
23
+ "@fedify/fedify/nodeinfo": "./nodeinfo/mod.ts",
24
+ "@fedify/fedify/runtime": "./runtime/mod.ts",
25
+ "@fedify/fedify/sig": "./sig/mod.ts",
26
+ "@fedify/fedify/vocab": "./vocab/mod.ts",
27
+ "@fedify/fedify/webfinger": "./webfinger/mod.ts",
28
+ "@fedify/fedify/x/denokv": "./x/denokv.ts",
29
+ "@fedify/fedify/x/fresh": "./x/fresh.ts",
30
+ "@fedify/fedify/x/hono": "./x/hono.ts",
31
+ "@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0",
32
+ "@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
33
+ "@logtape/logtape": "jsr:@logtape/logtape@^0.7.1",
34
+ "@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0",
35
+ "@std/assert": "jsr:@std/assert@^0.226.0",
36
+ "@std/async": "jsr:@std/async@^1.0.5",
37
+ "@std/bytes": "jsr:@std/bytes@^1.0.2",
38
+ "@std/collections": "jsr:@std/collections@^1.0.6",
39
+ "@std/encoding": "jsr:@std/encoding@^1.0.5",
40
+ "@std/fs": "jsr:@std/fs@^1.0.3",
41
+ "@std/http": "jsr:@std/http@^1.0.6",
42
+ "@std/path": "jsr:@std/path@^1.0.6",
43
+ "@std/semver": "jsr:@std/semver@^1.0.3",
44
+ "@std/testing": "jsr:@std/testing@^0.224.0",
45
+ "@std/text": "jsr:@std/text@^1.0.6",
46
+ "@std/url": "jsr:@std/url@^0.225.1",
47
+ "@std/yaml": "jsr:@std/yaml@^0.224.3",
48
+ "asn1js": "npm:asn1js@^3.0.5",
49
+ "fast-check": "npm:fast-check@^3.22.0",
50
+ "json-canon": "npm:json-canon@^1.0.1",
51
+ "jsonld": "npm:jsonld@^8.3.2",
52
+ "mock_fetch": "jsr:@hongminhee/deno-mock-fetch@^0.3.2",
53
+ "multibase": "npm:multibase@^4.0.6",
54
+ "multicodec": "npm:multicodec@^3.2.1",
55
+ "pkijs": "npm:pkijs@^3.2.4",
56
+ "uri-template-router": "npm:uri-template-router@^0.0.16",
57
+ "url-template": "npm:url-template@^3.1.1"
58
+ },
59
+ "include": [
60
+ "vocab/vocab.ts"
61
+ ],
62
+ "exclude": [
63
+ ".git/",
64
+ ".github/",
65
+ ".vscode/",
66
+ ".zed/",
67
+ "apidoc/",
68
+ "cli/",
69
+ "codegen/schema.yaml",
70
+ "docs/",
71
+ "examples/",
72
+ "logo.svg",
73
+ "npm/",
74
+ "vocab/*.yaml",
75
+ "!vocab/vocab.ts"
76
+ ],
77
+ "tasks": {
78
+ "cache": "deno task codegen && deno cache mod.ts",
79
+ "check": "deno task codegen && deno fmt --check && deno lint && deno check */*.ts",
80
+ "codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/vocab.ts && deno fmt vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts",
81
+ "test-without-codegen": "deno test --check --doc --allow-read --allow-write --allow-env --unstable-kv --trace-leaks",
82
+ "test": "deno task codegen && deno task test-without-codegen",
83
+ "coverage": "rm -rf coverage/ && deno task test --coverage && deno coverage --html coverage",
84
+ "bench": "deno task codegen && deno bench --allow-read --allow-write --allow-net --allow-env --allow-run --unstable-kv",
85
+ "apidoc": "deno task codegen && deno doc --html --name=Fedify --output=apidoc/ mod.ts",
86
+ "check-version": "deno run ../cli/scripts/check_version.ts",
87
+ "publish": "deno task codegen && deno publish",
88
+ "dnt-without-codegen": "deno run -A dnt.ts",
89
+ "dnt": "deno task codegen && deno task dnt-without-codegen",
90
+ "test-all": "deno task check && deno task test-without-codegen && deno task dnt-without-codegen && cd npm/ && bun run ./test_runner.js && cd ../",
91
+ "update": "deno run --allow-env --allow-read --allow-write=. --allow-run=git,deno --allow-net=jsr.io,registry.npmjs.org jsr:@molt/cli ./*.ts",
92
+ "update:commit": "deno task -q update --commit --pre-commit=fmt,lint",
93
+ "hooks:install": "deno run --allow-read=deno.json,.git/hooks/ --allow-write=.git/hooks/ jsr:@hongminhee/deno-task-hooks",
94
+ "hooks:pre-commit": "deno task check && deno task check-version"
95
+ },
96
+ "unstable": [
97
+ "kv",
98
+ "temporal"
99
+ ],
100
+ "lock": false
101
+ };
@@ -1,12 +1,18 @@
1
1
  import { getLogger } from "@logtape/logtape";
2
2
  import { parse } from "../deps/jsr.io/@std/semver/1.0.3/mod.js";
3
+ import { getUserAgent } from "../runtime/docloader.js";
3
4
  const logger = getLogger(["fedify", "nodeinfo", "client"]);
4
5
  export async function getNodeInfo(url, options = {}) {
5
6
  try {
6
7
  let nodeInfoUrl = url;
7
8
  if (!options.direct) {
8
9
  const wellKnownUrl = new URL("/.well-known/nodeinfo", url);
9
- const wellKnownResponse = await fetch(wellKnownUrl);
10
+ const wellKnownResponse = await fetch(wellKnownUrl, {
11
+ headers: {
12
+ Accept: "application/json",
13
+ "User-Agent": getUserAgent(),
14
+ },
15
+ });
10
16
  if (!wellKnownResponse.ok) {
11
17
  logger.error("Failed to fetch {url}: {status} {statusText}", {
12
18
  url: wellKnownUrl.href,
@@ -28,7 +34,12 @@ export async function getNodeInfo(url, options = {}) {
28
34
  }
29
35
  nodeInfoUrl = link.href;
30
36
  }
31
- const response = await fetch(nodeInfoUrl);
37
+ const response = await fetch(nodeInfoUrl, {
38
+ headers: {
39
+ Accept: "application/json",
40
+ "User-Agent": getUserAgent(),
41
+ },
42
+ });
32
43
  if (!response.ok) {
33
44
  logger.error("Failed to fetch NodeInfo document from {url}: {status} {statusText}", {
34
45
  url: nodeInfoUrl.toString(),
@@ -1,6 +1,8 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import { HTTPHeaderLink } from "@hugoalh/http-header-link";
3
3
  import { getLogger } from "@logtape/logtape";
4
+ import process from "node:process";
5
+ import metadata from "../deno.js";
4
6
  import { signRequest } from "../sig/http.js";
5
7
  import { validateCryptoKey } from "../sig/key.js";
6
8
  import preloadedContexts from "./contexts.js";
@@ -30,6 +32,7 @@ function createRequest(url) {
30
32
  return new Request(url, {
31
33
  headers: {
32
34
  Accept: "application/activity+json, application/ld+json",
35
+ "User-Agent": getUserAgent(),
33
36
  },
34
37
  redirect: "manual",
35
38
  });
@@ -268,3 +271,29 @@ export function kvCache({ loader, kv, prefix, rules }) {
268
271
  return cache;
269
272
  };
270
273
  }
274
+ /**
275
+ * Gets the user agent string for the given application and URL.
276
+ * @param app An optional application name and version, e.g., `"Hollo/1.0.0"`.
277
+ * @param url An optional URL to append to the user agent string.
278
+ * Usually the URL of the ActivityPub instance.
279
+ * @returns The user agent string.
280
+ * @since 1.3.0
281
+ */
282
+ export function getUserAgent(app, url) {
283
+ const fedify = `Fedify/${metadata.version}`;
284
+ const runtime = "Deno" in dntShim.dntGlobalThis
285
+ ? `Deno/${dntShim.Deno.version.deno}`
286
+ : "Bun" in dntShim.dntGlobalThis
287
+ // @ts-ignore: `Bun` is a global variable in Bun
288
+ ? `Bun/${Bun.version}`
289
+ : "process" in dntShim.dntGlobalThis
290
+ ? `Node.js/${process.version}`
291
+ : null;
292
+ const userAgent = app == null ? [fedify] : [app, fedify];
293
+ if (runtime != null)
294
+ userAgent.push(runtime);
295
+ if (url != null)
296
+ userAgent.push(`+${url.toString()}`);
297
+ const first = userAgent.shift();
298
+ return `${first} (${userAgent.join("; ")})`;
299
+ }
@@ -1,4 +1,5 @@
1
1
  import { getLogger } from "@logtape/logtape";
2
+ import { getUserAgent } from "../runtime/docloader.js";
2
3
  const logger = getLogger(["fedify", "webfinger", "lookup"]);
3
4
  /**
4
5
  * Looks up a WebFinger resource.
@@ -30,7 +31,10 @@ export async function lookupWebFinger(resource) {
30
31
  let response;
31
32
  try {
32
33
  response = await fetch(url, {
33
- headers: { Accept: "application/jrd+json" },
34
+ headers: {
35
+ Accept: "application/jrd+json",
36
+ "User-Agent": getUserAgent(),
37
+ },
34
38
  redirect: "manual",
35
39
  });
36
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.3.0-dev.481+61b63b6a",
3
+ "version": "1.3.0-dev.484+e6a416f0",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -0,0 +1,84 @@
1
+ declare namespace _default {
2
+ let name: string;
3
+ let version: string;
4
+ let license: string;
5
+ let exports: {
6
+ ".": string;
7
+ "./federation": string;
8
+ "./nodeinfo": string;
9
+ "./runtime": string;
10
+ "./sig": string;
11
+ "./vocab": string;
12
+ "./webfinger": string;
13
+ "./x/denokv": string;
14
+ "./x/fresh": string;
15
+ "./x/hono": string;
16
+ };
17
+ let imports: {
18
+ "@cfworker/json-schema": string;
19
+ "@david/which-runtime": string;
20
+ "@deno/dnt": string;
21
+ "@fedify/fedify": string;
22
+ "@fedify/fedify/federation": string;
23
+ "@fedify/fedify/nodeinfo": string;
24
+ "@fedify/fedify/runtime": string;
25
+ "@fedify/fedify/sig": string;
26
+ "@fedify/fedify/vocab": string;
27
+ "@fedify/fedify/webfinger": string;
28
+ "@fedify/fedify/x/denokv": string;
29
+ "@fedify/fedify/x/fresh": string;
30
+ "@fedify/fedify/x/hono": string;
31
+ "@hongminhee/aitertools": string;
32
+ "@hugoalh/http-header-link": string;
33
+ "@logtape/logtape": string;
34
+ "@phensley/language-tag": string;
35
+ "@std/assert": string;
36
+ "@std/async": string;
37
+ "@std/bytes": string;
38
+ "@std/collections": string;
39
+ "@std/encoding": string;
40
+ "@std/fs": string;
41
+ "@std/http": string;
42
+ "@std/path": string;
43
+ "@std/semver": string;
44
+ "@std/testing": string;
45
+ "@std/text": string;
46
+ "@std/url": string;
47
+ "@std/yaml": string;
48
+ asn1js: string;
49
+ "fast-check": string;
50
+ "json-canon": string;
51
+ jsonld: string;
52
+ mock_fetch: string;
53
+ multibase: string;
54
+ multicodec: string;
55
+ pkijs: string;
56
+ "uri-template-router": string;
57
+ "url-template": string;
58
+ };
59
+ let include: string[];
60
+ let exclude: string[];
61
+ let tasks: {
62
+ cache: string;
63
+ check: string;
64
+ codegen: string;
65
+ "test-without-codegen": string;
66
+ test: string;
67
+ coverage: string;
68
+ bench: string;
69
+ apidoc: string;
70
+ "check-version": string;
71
+ publish: string;
72
+ "dnt-without-codegen": string;
73
+ dnt: string;
74
+ "test-all": string;
75
+ update: string;
76
+ "update:commit": string;
77
+ "hooks:install": string;
78
+ "hooks:pre-commit": string;
79
+ };
80
+ let unstable: string[];
81
+ let lock: boolean;
82
+ }
83
+ export default _default;
84
+ //# sourceMappingURL=deno.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deno.d.ts","sourceRoot":"","sources":["../src/deno.js"],"names":[],"mappings":""}
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Aa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,EACb,OAAO,GAAE,oBAAyB,GACjC,QAAQ,GAAG,IAAI,CAyDjB;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,EACb,OAAO,GAAE,oBAAyB,GACjC,QAAQ,GAAG,IAAI,CAuDjB;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,IAAI,CAY5D;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,EACb,OAAO,GAAE,oBAAyB,GACjC,QAAQ,GAAG,IAAI,CAqBjB;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,IAAI,CAWxE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,eAAe,GAAG,IAAI,CAkB1E;AAED,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,EACb,OAAO,GAAE,oBAAyB,GACjC,KAAK,GAAG,IAAI,CAiEd"}
@@ -119,4 +119,13 @@ export interface KvCacheParameters {
119
119
  * @returns The decorated document loader which is cache-enabled.
120
120
  */
121
121
  export declare function kvCache({ loader, kv, prefix, rules }: KvCacheParameters): DocumentLoader;
122
+ /**
123
+ * Gets the user agent string for the given application and URL.
124
+ * @param app An optional application name and version, e.g., `"Hollo/1.0.0"`.
125
+ * @param url An optional URL to append to the user agent string.
126
+ * Usually the URL of the ActivityPub instance.
127
+ * @returns The user agent string.
128
+ * @since 1.3.0
129
+ */
130
+ export declare function getUserAgent(app?: string | null, url?: string | URL | null): string;
122
131
  //# sourceMappingURL=docloader.d.ts.map
@@ -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,EA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wBAAgB,8BAA8B,CAC5C,QAAQ,EAAE;IAAE,KAAK,EAAE,GAAG,CAAC;IAAC,UAAU,EAAE,OAAO,CAAC,SAAS,CAAA;CAAE,EACvD,mBAAmB,GAAE,OAAe,GACnC,cAAc,CAgChB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IAEvB;;OAEG;IACH,EAAE,EAAE,OAAO,CAAC;IAEZ;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IAEf;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,GAAG,GAAG,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;CAC1E;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CACrB,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAC/C,cAAc,CA2ChB;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,EACnB,GAAG,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,GACxB,MAAM,CAeR"}
@@ -1 +1 @@
1
- {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../src/webfinger/lookup.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD;;;;;GAKG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,GAAG,GAAG,MAAM,GACrB,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAgEpC"}
1
+ {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../src/webfinger/lookup.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD;;;;;GAKG;AACH,wBAAsB,eAAe,CACnC,QAAQ,EAAE,GAAG,GAAG,MAAM,GACrB,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAmEpC"}