@fedify/vocab 2.4.5-dev.2462 → 2.4.5

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 { Temporal } from "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import "node:module";
3
+ import { n as __exportAll } from "./rolldown-runtime-BWJg4WE8.mjs";
4
4
  import { LanguageString, decodeMultibase, encodeMultibase, exportMultibaseKey, exportSpki, formatIri, getDocumentLoader, importMultibaseKey, importPem, isDecimal, isGatewayUrl, normalizeLanguageTag, parseDecimal, parseGatewayUrl, parseIri, parseJsonLdId } from "@fedify/vocab-runtime";
5
5
  import { SpanStatusCode, trace } from "@opentelemetry/api";
6
6
  import jsonld from "@fedify/vocab-runtime/jsonld";
@@ -9,38 +9,6 @@ import { compactJsonLdCache, createScopedContextLoader, getPortableActorGateways
9
9
  import { copyPortableProvenance, createSnapshotContextLoader, dereferencePortableIri, getPortableResponseClaim, getReferrerGateways, isPortableIri, isPortableMode, isUnsecuredPortableObject, isUnverifiedPortableClaim, markUnverifiedPortableClaim, mustDereferencePortableObject, parseCompatibleEf61Reference, recordPortableReferrer, rejectMalformedCompatibleReference, warnUnverifiableEmbeddedObject } from "@fedify/vocab-runtime/internal/portable-dereference";
10
10
  import { enterSignedValueScope, resolveSignedValues, retainedSignedValueRef } from "@fedify/vocab-runtime/internal/signed-representation";
11
11
  import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/temporal";
12
- //#region \0rolldown/runtime.js
13
- var __create = Object.create;
14
- var __defProp = Object.defineProperty;
15
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
16
- var __getOwnPropNames = Object.getOwnPropertyNames;
17
- var __getProtoOf = Object.getPrototypeOf;
18
- var __hasOwnProp = Object.prototype.hasOwnProperty;
19
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
20
- var __exportAll = (all, no_symbols) => {
21
- let target = {};
22
- for (var name in all) __defProp(target, name, {
23
- get: all[name],
24
- enumerable: true
25
- });
26
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
27
- return target;
28
- };
29
- var __copyProps = (to, from, except, desc) => {
30
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
31
- key = keys[i];
32
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
33
- get: ((k) => from[k]).bind(null, key),
34
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
35
- });
36
- }
37
- return to;
38
- };
39
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
40
- value: mod,
41
- enumerable: true
42
- }) : target, mod));
43
- //#endregion
44
12
  //#region src/preprocessors.ts
45
13
  /**
46
14
  * A property preprocessor that normalizes Link values to Image objects.
@@ -439,6 +407,11 @@ var Object$1 = class Object$1 {
439
407
  get _warning() {
440
408
  return this.#warning;
441
409
  }
410
+ /**
411
+ * Internal cross-package contract with @fedify/testing, which copies this
412
+ * cache when attaching document loaders to an activity clone. Keep this
413
+ * accessor name and its getter/setter semantics stable.
414
+ */
442
415
  get _cachedJsonLd() {
443
416
  return this.#cachedJsonLd;
444
417
  }
@@ -14033,6 +14006,11 @@ var PropertyValue = class {
14033
14006
  get _warning() {
14034
14007
  return this.#warning;
14035
14008
  }
14009
+ /**
14010
+ * Internal cross-package contract with @fedify/testing, which copies this
14011
+ * cache when attaching document loaders to an activity clone. Keep this
14012
+ * accessor name and its getter/setter semantics stable.
14013
+ */
14036
14014
  get _cachedJsonLd() {
14037
14015
  return this.#cachedJsonLd;
14038
14016
  }
@@ -14405,6 +14383,11 @@ var Measure = class {
14405
14383
  get _warning() {
14406
14384
  return this.#warning;
14407
14385
  }
14386
+ /**
14387
+ * Internal cross-package contract with @fedify/testing, which copies this
14388
+ * cache when attaching document loaders to an activity clone. Keep this
14389
+ * accessor name and its getter/setter semantics stable.
14390
+ */
14408
14391
  get _cachedJsonLd() {
14409
14392
  return this.#cachedJsonLd;
14410
14393
  }
@@ -15788,6 +15771,11 @@ var InteractionPolicy = class {
15788
15771
  get _warning() {
15789
15772
  return this.#warning;
15790
15773
  }
15774
+ /**
15775
+ * Internal cross-package contract with @fedify/testing, which copies this
15776
+ * cache when attaching document loaders to an activity clone. Keep this
15777
+ * accessor name and its getter/setter semantics stable.
15778
+ */
15791
15779
  get _cachedJsonLd() {
15792
15780
  return this.#cachedJsonLd;
15793
15781
  }
@@ -16296,6 +16284,11 @@ var InteractionRule = class {
16296
16284
  get _warning() {
16297
16285
  return this.#warning;
16298
16286
  }
16287
+ /**
16288
+ * Internal cross-package contract with @fedify/testing, which copies this
16289
+ * cache when attaching document loaders to an activity clone. Keep this
16290
+ * accessor name and its getter/setter semantics stable.
16291
+ */
16299
16292
  get _cachedJsonLd() {
16300
16293
  return this.#cachedJsonLd;
16301
16294
  }
@@ -19737,6 +19730,11 @@ var Translation = class {
19737
19730
  get _warning() {
19738
19731
  return this.#warning;
19739
19732
  }
19733
+ /**
19734
+ * Internal cross-package contract with @fedify/testing, which copies this
19735
+ * cache when attaching document loaders to an activity clone. Keep this
19736
+ * accessor name and its getter/setter semantics stable.
19737
+ */
19740
19738
  get _cachedJsonLd() {
19741
19739
  return this.#cachedJsonLd;
19742
19740
  }
@@ -27387,6 +27385,11 @@ var DidService = class {
27387
27385
  get _warning() {
27388
27386
  return this.#warning;
27389
27387
  }
27388
+ /**
27389
+ * Internal cross-package contract with @fedify/testing, which copies this
27390
+ * cache when attaching document loaders to an activity clone. Keep this
27391
+ * accessor name and its getter/setter semantics stable.
27392
+ */
27390
27393
  get _cachedJsonLd() {
27391
27394
  return this.#cachedJsonLd;
27392
27395
  }
@@ -27893,6 +27896,11 @@ var DataIntegrityProof = class {
27893
27896
  get _warning() {
27894
27897
  return this.#warning;
27895
27898
  }
27899
+ /**
27900
+ * Internal cross-package contract with @fedify/testing, which copies this
27901
+ * cache when attaching document loaders to an activity clone. Keep this
27902
+ * accessor name and its getter/setter semantics stable.
27903
+ */
27896
27904
  get _cachedJsonLd() {
27897
27905
  return this.#cachedJsonLd;
27898
27906
  }
@@ -28579,6 +28587,11 @@ var CryptographicKey = class {
28579
28587
  get _warning() {
28580
28588
  return this.#warning;
28581
28589
  }
28590
+ /**
28591
+ * Internal cross-package contract with @fedify/testing, which copies this
28592
+ * cache when attaching document loaders to an activity clone. Keep this
28593
+ * accessor name and its getter/setter semantics stable.
28594
+ */
28582
28595
  get _cachedJsonLd() {
28583
28596
  return this.#cachedJsonLd;
28584
28597
  }
@@ -29246,6 +29259,11 @@ var Multikey = class {
29246
29259
  get _warning() {
29247
29260
  return this.#warning;
29248
29261
  }
29262
+ /**
29263
+ * Internal cross-package contract with @fedify/testing, which copies this
29264
+ * cache when attaching document loaders to an activity clone. Keep this
29265
+ * accessor name and its getter/setter semantics stable.
29266
+ */
29249
29267
  get _cachedJsonLd() {
29250
29268
  return this.#cachedJsonLd;
29251
29269
  }
@@ -30308,6 +30326,11 @@ var Commitment = class {
30308
30326
  get _warning() {
30309
30327
  return this.#warning;
30310
30328
  }
30329
+ /**
30330
+ * Internal cross-package contract with @fedify/testing, which copies this
30331
+ * cache when attaching document loaders to an activity clone. Keep this
30332
+ * accessor name and its getter/setter semantics stable.
30333
+ */
30311
30334
  get _cachedJsonLd() {
30312
30335
  return this.#cachedJsonLd;
30313
30336
  }
@@ -30694,6 +30717,11 @@ var Intent = class {
30694
30717
  get _warning() {
30695
30718
  return this.#warning;
30696
30719
  }
30720
+ /**
30721
+ * Internal cross-package contract with @fedify/testing, which copies this
30722
+ * cache when attaching document loaders to an activity clone. Keep this
30723
+ * accessor name and its getter/setter semantics stable.
30724
+ */
30697
30725
  get _cachedJsonLd() {
30698
30726
  return this.#cachedJsonLd;
30699
30727
  }
@@ -41979,6 +42007,11 @@ var Endpoints = class {
41979
42007
  get _warning() {
41980
42008
  return this.#warning;
41981
42009
  }
42010
+ /**
42011
+ * Internal cross-package contract with @fedify/testing, which copies this
42012
+ * cache when attaching document loaders to an activity clone. Keep this
42013
+ * accessor name and its getter/setter semantics stable.
42014
+ */
41982
42015
  get _cachedJsonLd() {
41983
42016
  return this.#cachedJsonLd;
41984
42017
  }
@@ -48681,6 +48714,11 @@ var Link = class Link {
48681
48714
  get _warning() {
48682
48715
  return this.#warning;
48683
48716
  }
48717
+ /**
48718
+ * Internal cross-package contract with @fedify/testing, which copies this
48719
+ * cache when attaching document loaders to an activity clone. Keep this
48720
+ * accessor name and its getter/setter semantics stable.
48721
+ */
48684
48722
  get _cachedJsonLd() {
48685
48723
  return this.#cachedJsonLd;
48686
48724
  }
@@ -74459,6 +74497,11 @@ var Source = class {
74459
74497
  get _warning() {
74460
74498
  return this.#warning;
74461
74499
  }
74500
+ /**
74501
+ * Internal cross-package contract with @fedify/testing, which copies this
74502
+ * cache when attaching document loaders to an activity clone. Keep this
74503
+ * accessor name and its getter/setter semantics stable.
74504
+ */
74462
74505
  get _cachedJsonLd() {
74463
74506
  return this.#cachedJsonLd;
74464
74507
  }
@@ -76850,4 +76893,4 @@ function getEntityTypeById(id) {
76850
76893
  return entityTypeIds.get(typeof id === "string" ? id : id?.href);
76851
76894
  }
76852
76895
  //#endregion
76853
- export { __toESM as $, Object$1 as A, QuoteAuthorization as B, Intent as C, Measure as D, Link as E, Person as F, Tombstone as G, Reject as H, Place as I, getEntityTypeById as J, Translation as K, PropertyValue as L, OrderedCollection as M, OrderedCollectionPage as N, Multikey as O, Organization as P, __exportAll as Q, Proposal as R, Image as S, InteractionRule as T, Service as U, QuoteRequest as V, Source as W, vocab_exports as X, isEntityType as Y, __commonJSMin as Z, FeaturedCollection as _, Application as a, Group as b, CollectionPage as c, CryptographicKey as d, Delete as f, FeatureRequest as g, FeatureAuthorization as h, Announce as i, Offer as j, Note as k, Commitment as l, Endpoints as m, Activity as n, Article as o, Document as p, Update as q, Agreement as r, Collection as s, Accept as t, Create as u, FeaturedItem as v, InteractionPolicy as w, Hashtag as x, Follow as y, Question as z };
76896
+ export { Object$1 as A, QuoteAuthorization as B, Intent as C, Measure as D, Link as E, Person as F, Tombstone as G, Reject as H, Place as I, getEntityTypeById as J, Translation as K, PropertyValue as L, OrderedCollection as M, OrderedCollectionPage as N, Multikey as O, Organization as P, Proposal as R, Image as S, InteractionRule as T, Service as U, QuoteRequest as V, Source as W, vocab_exports as X, isEntityType as Y, FeaturedCollection as _, Application as a, Group as b, CollectionPage as c, CryptographicKey as d, Delete as f, FeatureRequest as g, FeatureAuthorization as h, Announce as i, Offer as j, Note as k, Commitment as l, Endpoints as m, Activity as n, Article as o, Document as p, Update as q, Agreement as r, Collection as s, Accept as t, Create as u, FeaturedItem as v, InteractionPolicy as w, Hashtag as x, Follow as y, Question as z };