@fedify/vocab 2.3.9-dev.2048 → 2.3.10

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.
@@ -1,6 +1,6 @@
1
1
  import "@js-temporal/polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { B as __commonJSMin, E as Person, H as __toESM, P as Service, T as Organization, a as Application, m as Group } from "./vocab-BhXsxjRa.mjs";
3
+ import { B as __commonJSMin, E as Person, H as __toESM, P as Service, T as Organization, a as Application, m as Group } from "./vocab-BAIlMbeY.mjs";
4
4
  import { t as getTypeId } from "./type-Cf-vxmre.mjs";
5
5
  import { lookupWebFinger } from "@fedify/webfinger";
6
6
  import { SpanStatusCode, trace } from "@opentelemetry/api";
@@ -1206,7 +1206,7 @@ var esm_default = new class FetchMock {
1206
1206
  //#endregion
1207
1207
  //#region deno.json
1208
1208
  var name = "@fedify/vocab";
1209
- var version = "2.3.9-dev.2048+c88fcc8c";
1209
+ var version = "2.3.10";
1210
1210
  //#endregion
1211
1211
  //#region src/actor.ts
1212
1212
  const ACTOR_DISCOVERY_HISTOGRAM_BUCKETS = [
@@ -1,7 +1,7 @@
1
1
  import "@js-temporal/polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { E as Person, P as Service, T as Organization, V as __exportAll, a as Application, m as Group } from "./vocab-BhXsxjRa.mjs";
4
- import { a as normalizeActorHandle, c as esm_default, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "./actor-CGTlJCWj.mjs";
3
+ import { E as Person, P as Service, T as Organization, V as __exportAll, a as Application, m as Group } from "./vocab-BAIlMbeY.mjs";
4
+ import { a as normalizeActorHandle, c as esm_default, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "./actor-JjzTTxMW.mjs";
5
5
  import { createTestMeterProvider, test } from "@fedify/fixture";
6
6
  import { deepStrictEqual, ok, rejects, strictEqual, throws } from "node:assert/strict";
7
7
  //#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { E as Person, S as Object$1, o as Collection, x as Note } from "./vocab-BhXsxjRa.mjs";
4
- import { c as esm_default, i as isActor, o as name, s as version } from "./actor-CGTlJCWj.mjs";
3
+ import { E as Person, S as Object$1, o as Collection, x as Note } from "./vocab-BAIlMbeY.mjs";
4
+ import { c as esm_default, i as isActor, o as name, s as version } from "./actor-JjzTTxMW.mjs";
5
5
  import { t as getTypeId } from "./type-Cf-vxmre.mjs";
6
6
  import { t as assertInstanceOf } from "./utils-CE8Dk5hm.mjs";
7
7
  import { createTestMeterProvider, createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
@@ -314,7 +314,7 @@ test("lookupObject()", {
314
314
  name: "Hong Gildong"
315
315
  }));
316
316
  });
317
- esm_default.removeRoutes();
317
+ esm_default.removeRoutes({ includeFallback: false });
318
318
  esm_default.get("begin:https://example.com/.well-known/webfinger", {
319
319
  subject: "acct:janedoe@example.com",
320
320
  links: [{
@@ -327,7 +327,7 @@ test("lookupObject()", {
327
327
  deepStrictEqual(await lookupObject("janedoe@example.com", options), null);
328
328
  deepStrictEqual(await lookupObject("https://example.com/404", options), null);
329
329
  });
330
- esm_default.removeRoutes();
330
+ esm_default.removeRoutes({ includeFallback: false });
331
331
  esm_default.get("begin:https://example.com/.well-known/webfinger", () => new Promise((resolve) => {
332
332
  setTimeout(() => {
333
333
  resolve({
@@ -349,7 +349,7 @@ test("lookupObject()", {
349
349
  controller.abort();
350
350
  deepStrictEqual(await promise, null);
351
351
  });
352
- esm_default.removeRoutes();
352
+ esm_default.removeRoutes({ includeFallback: false });
353
353
  esm_default.get("begin:https://example.com/.well-known/webfinger", {
354
354
  subject: "acct:johndoe@example.com",
355
355
  links: [{
@@ -367,7 +367,7 @@ test("lookupObject()", {
367
367
  assertInstanceOf(person, Person);
368
368
  deepStrictEqual(person.id, new URL("https://example.com/person"));
369
369
  });
370
- esm_default.removeRoutes();
370
+ esm_default.removeRoutes({ includeFallback: false });
371
371
  esm_default.get("begin:https://example.com/.well-known/webfinger", () => new Promise((resolve) => {
372
372
  setTimeout(() => {
373
373
  resolve({
@@ -388,7 +388,7 @@ test("lookupObject()", {
388
388
  signal: controller.signal
389
389
  }), null);
390
390
  });
391
- esm_default.removeRoutes();
391
+ esm_default.removeRoutes({ includeFallback: false });
392
392
  esm_default.get("https://example.com/slow-object", () => new Promise((resolve) => {
393
393
  setTimeout(() => {
394
394
  resolve({
@@ -1,6 +1,6 @@
1
1
  import "@js-temporal/polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { E as Person, L as getEntityTypeById, R as isEntityType, y as Link } from "./vocab-BhXsxjRa.mjs";
3
+ import { E as Person, L as getEntityTypeById, R as isEntityType, y as Link } from "./vocab-BAIlMbeY.mjs";
4
4
  import { t as getTypeId } from "./type-Cf-vxmre.mjs";
5
5
  import { test } from "@fedify/fixture";
6
6
  import { deepStrictEqual } from "node:assert/strict";