@fedify/vocab-runtime 2.4.0-dev.1531 → 2.4.0-dev.1564

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/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab-runtime",
3
- "version": "2.4.0-dev.1531+0896bc51",
3
+ "version": "2.4.0-dev.1564+5a2c6c2c",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./src/mod.ts",
package/dist/mod.cjs CHANGED
@@ -4287,6 +4287,28 @@ const preloadedContexts = {
4287
4287
  "@type": "@id"
4288
4288
  }
4289
4289
  } },
4290
+ "https://w3id.org/fep/7aa9": { "@context": {
4291
+ "FeaturedCollection": "https://w3id.org/fep/7aa9#FeaturedCollection",
4292
+ "FeaturedItem": "https://w3id.org/fep/7aa9#FeaturedItem",
4293
+ "FeatureRequest": "https://w3id.org/fep/7aa9#FeatureRequest",
4294
+ "FeatureAuthorization": "https://w3id.org/fep/7aa9#FeatureAuthorization",
4295
+ "topic": {
4296
+ "@id": "https://w3id.org/fep/7aa9#topic",
4297
+ "@type": "@id"
4298
+ },
4299
+ "featuredObject": {
4300
+ "@id": "https://w3id.org/fep/7aa9#featuredObject",
4301
+ "@type": "@id"
4302
+ },
4303
+ "canFeature": {
4304
+ "@id": "https://w3id.org/fep/7aa9#canFeature",
4305
+ "@type": "@id"
4306
+ },
4307
+ "featureAuthorization": {
4308
+ "@id": "https://w3id.org/fep/7aa9#featureAuthorization",
4309
+ "@type": "@id"
4310
+ }
4311
+ } },
4290
4312
  "https://join-lemmy.org/context.json": { "@context": ["https://w3id.org/security/v1", {
4291
4313
  "as": "https://www.w3.org/ns/activitystreams#",
4292
4314
  "lemmy": "https://join-lemmy.org/ns#",
@@ -4345,7 +4367,7 @@ const preloadedContexts = {
4345
4367
  //#endregion
4346
4368
  //#region deno.json
4347
4369
  var name = "@fedify/vocab-runtime";
4348
- var version = "2.4.0-dev.1531+0896bc51";
4370
+ var version = "2.4.0-dev.1564+5a2c6c2c";
4349
4371
  //#endregion
4350
4372
  //#region src/link.ts
4351
4373
  const parametersNeedLowerCase = ["rel", "type"];
package/dist/mod.js CHANGED
@@ -4283,6 +4283,28 @@ const preloadedContexts = {
4283
4283
  "@type": "@id"
4284
4284
  }
4285
4285
  } },
4286
+ "https://w3id.org/fep/7aa9": { "@context": {
4287
+ "FeaturedCollection": "https://w3id.org/fep/7aa9#FeaturedCollection",
4288
+ "FeaturedItem": "https://w3id.org/fep/7aa9#FeaturedItem",
4289
+ "FeatureRequest": "https://w3id.org/fep/7aa9#FeatureRequest",
4290
+ "FeatureAuthorization": "https://w3id.org/fep/7aa9#FeatureAuthorization",
4291
+ "topic": {
4292
+ "@id": "https://w3id.org/fep/7aa9#topic",
4293
+ "@type": "@id"
4294
+ },
4295
+ "featuredObject": {
4296
+ "@id": "https://w3id.org/fep/7aa9#featuredObject",
4297
+ "@type": "@id"
4298
+ },
4299
+ "canFeature": {
4300
+ "@id": "https://w3id.org/fep/7aa9#canFeature",
4301
+ "@type": "@id"
4302
+ },
4303
+ "featureAuthorization": {
4304
+ "@id": "https://w3id.org/fep/7aa9#featureAuthorization",
4305
+ "@type": "@id"
4306
+ }
4307
+ } },
4286
4308
  "https://join-lemmy.org/context.json": { "@context": ["https://w3id.org/security/v1", {
4287
4309
  "as": "https://www.w3.org/ns/activitystreams#",
4288
4310
  "lemmy": "https://join-lemmy.org/ns#",
@@ -4341,7 +4363,7 @@ const preloadedContexts = {
4341
4363
  //#endregion
4342
4364
  //#region deno.json
4343
4365
  var name = "@fedify/vocab-runtime";
4344
- var version = "2.4.0-dev.1531+0896bc51";
4366
+ var version = "2.4.0-dev.1564+5a2c6c2c";
4345
4367
  //#endregion
4346
4368
  //#region src/link.ts
4347
4369
  const parametersNeedLowerCase = ["rel", "type"];
@@ -1,5 +1,5 @@
1
1
  require("./chunk-C2EiDwsr.cjs");
2
- require("./docloader-Cvdl8PIZ.cjs");
2
+ require("./docloader-UAdXnDwt.cjs");
3
3
  require("./url-2XwVbUS_.cjs");
4
4
  require("./key-pMmqUKuo.cjs");
5
5
  require("./multibase-Bz_UUDtL.cjs");
@@ -1,4 +1,4 @@
1
- import "./docloader-Bfj7NaT_.mjs";
1
+ import "./docloader-CYQvKbtL.mjs";
2
2
  import "./url-YWJbnRlf.mjs";
3
3
  import "./key-CrrK9mYh.mjs";
4
4
  import "./multibase-B4bvakyA.mjs";
@@ -1,4 +1,4 @@
1
- import { a as name, i as logRequest, n as createActivityPubRequest, o as version, t as FetchError } from "./request-B5Su2gl0.mjs";
1
+ import { a as name, i as logRequest, n as createActivityPubRequest, o as version, t as FetchError } from "./request-DgAlI7RF.mjs";
2
2
  import { t as HttpHeaderLink } from "./link-NUUWCdnK.mjs";
3
3
  import { l as validatePublicUrl, t as UrlError } from "./url-YWJbnRlf.mjs";
4
4
  import { getLogger } from "@logtape/logtape";
@@ -4277,6 +4277,28 @@ const preloadedContexts = {
4277
4277
  "@type": "@id"
4278
4278
  }
4279
4279
  } },
4280
+ "https://w3id.org/fep/7aa9": { "@context": {
4281
+ "FeaturedCollection": "https://w3id.org/fep/7aa9#FeaturedCollection",
4282
+ "FeaturedItem": "https://w3id.org/fep/7aa9#FeaturedItem",
4283
+ "FeatureRequest": "https://w3id.org/fep/7aa9#FeatureRequest",
4284
+ "FeatureAuthorization": "https://w3id.org/fep/7aa9#FeatureAuthorization",
4285
+ "topic": {
4286
+ "@id": "https://w3id.org/fep/7aa9#topic",
4287
+ "@type": "@id"
4288
+ },
4289
+ "featuredObject": {
4290
+ "@id": "https://w3id.org/fep/7aa9#featuredObject",
4291
+ "@type": "@id"
4292
+ },
4293
+ "canFeature": {
4294
+ "@id": "https://w3id.org/fep/7aa9#canFeature",
4295
+ "@type": "@id"
4296
+ },
4297
+ "featureAuthorization": {
4298
+ "@id": "https://w3id.org/fep/7aa9#featureAuthorization",
4299
+ "@type": "@id"
4300
+ }
4301
+ } },
4280
4302
  "https://join-lemmy.org/context.json": { "@context": ["https://w3id.org/security/v1", {
4281
4303
  "as": "https://www.w3.org/ns/activitystreams#",
4282
4304
  "lemmy": "https://join-lemmy.org/ns#",
@@ -1,5 +1,5 @@
1
1
  require("./chunk-C2EiDwsr.cjs");
2
- const require_request = require("./request-DJvOZdo7.cjs");
2
+ const require_request = require("./request-DnzhAfki.cjs");
3
3
  const require_link = require("./link-FguCydMA.cjs");
4
4
  const require_url = require("./url-2XwVbUS_.cjs");
5
5
  let _logtape_logtape = require("@logtape/logtape");
@@ -4278,6 +4278,28 @@ const preloadedContexts = {
4278
4278
  "@type": "@id"
4279
4279
  }
4280
4280
  } },
4281
+ "https://w3id.org/fep/7aa9": { "@context": {
4282
+ "FeaturedCollection": "https://w3id.org/fep/7aa9#FeaturedCollection",
4283
+ "FeaturedItem": "https://w3id.org/fep/7aa9#FeaturedItem",
4284
+ "FeatureRequest": "https://w3id.org/fep/7aa9#FeatureRequest",
4285
+ "FeatureAuthorization": "https://w3id.org/fep/7aa9#FeatureAuthorization",
4286
+ "topic": {
4287
+ "@id": "https://w3id.org/fep/7aa9#topic",
4288
+ "@type": "@id"
4289
+ },
4290
+ "featuredObject": {
4291
+ "@id": "https://w3id.org/fep/7aa9#featuredObject",
4292
+ "@type": "@id"
4293
+ },
4294
+ "canFeature": {
4295
+ "@id": "https://w3id.org/fep/7aa9#canFeature",
4296
+ "@type": "@id"
4297
+ },
4298
+ "featureAuthorization": {
4299
+ "@id": "https://w3id.org/fep/7aa9#featureAuthorization",
4300
+ "@type": "@id"
4301
+ }
4302
+ } },
4281
4303
  "https://join-lemmy.org/context.json": { "@context": ["https://w3id.org/security/v1", {
4282
4304
  "as": "https://www.w3.org/ns/activitystreams#",
4283
4305
  "lemmy": "https://join-lemmy.org/ns#",
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require("./chunk-C2EiDwsr.cjs");
2
- const require_docloader = require("./docloader-Cvdl8PIZ.cjs");
3
- const require_request = require("./request-DJvOZdo7.cjs");
2
+ const require_docloader = require("./docloader-UAdXnDwt.cjs");
3
+ const require_request = require("./request-DnzhAfki.cjs");
4
4
  const require_url = require("./url-2XwVbUS_.cjs");
5
5
  let node_assert = require("node:assert");
6
6
  let node_test = require("node:test");
@@ -1,5 +1,5 @@
1
- import { n as getRemoteDocument, r as preloadedContexts, t as getDocumentLoader } from "./docloader-Bfj7NaT_.mjs";
2
- import { t as FetchError } from "./request-B5Su2gl0.mjs";
1
+ import { n as getRemoteDocument, r as preloadedContexts, t as getDocumentLoader } from "./docloader-CYQvKbtL.mjs";
2
+ import { t as FetchError } from "./request-DgAlI7RF.mjs";
3
3
  import { t as UrlError } from "./url-YWJbnRlf.mjs";
4
4
  import { deepStrictEqual, ok, rejects } from "node:assert";
5
5
  import { test } from "node:test";
@@ -1,7 +1,7 @@
1
1
  import process from "node:process";
2
2
  //#region deno.json
3
3
  var name = "@fedify/vocab-runtime";
4
- var version = "2.4.0-dev.1531+0896bc51";
4
+ var version = "2.4.0-dev.1564+5a2c6c2c";
5
5
  //#endregion
6
6
  //#region src/request.ts
7
7
  /**
@@ -3,7 +3,7 @@ let node_process = require("node:process");
3
3
  node_process = require_chunk.__toESM(node_process, 1);
4
4
  //#region deno.json
5
5
  var name = "@fedify/vocab-runtime";
6
- var version = "2.4.0-dev.1531+0896bc51";
6
+ var version = "2.4.0-dev.1564+5a2c6c2c";
7
7
  //#endregion
8
8
  //#region src/request.ts
9
9
  /**
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-C2EiDwsr.cjs");
2
- const require_request = require("./request-DJvOZdo7.cjs");
2
+ const require_request = require("./request-DnzhAfki.cjs");
3
3
  let node_assert = require("node:assert");
4
4
  let node_test = require("node:test");
5
5
  let node_process = require("node:process");
@@ -1,4 +1,4 @@
1
- import { o as version, r as getUserAgent } from "./request-B5Su2gl0.mjs";
1
+ import { o as version, r as getUserAgent } from "./request-DgAlI7RF.mjs";
2
2
  import { deepStrictEqual } from "node:assert";
3
3
  import { test } from "node:test";
4
4
  import process from "node:process";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab-runtime",
3
- "version": "2.4.0-dev.1531+0896bc51",
3
+ "version": "2.4.0-dev.1564+5a2c6c2c",
4
4
  "homepage": "https://fedify.dev/",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,24 @@
1
+ {
2
+ "@context": {
3
+ "FeaturedCollection": "https://w3id.org/fep/7aa9#FeaturedCollection",
4
+ "FeaturedItem": "https://w3id.org/fep/7aa9#FeaturedItem",
5
+ "FeatureRequest": "https://w3id.org/fep/7aa9#FeatureRequest",
6
+ "FeatureAuthorization": "https://w3id.org/fep/7aa9#FeatureAuthorization",
7
+ "topic": {
8
+ "@id": "https://w3id.org/fep/7aa9#topic",
9
+ "@type": "@id"
10
+ },
11
+ "featuredObject": {
12
+ "@id": "https://w3id.org/fep/7aa9#featuredObject",
13
+ "@type": "@id"
14
+ },
15
+ "canFeature": {
16
+ "@id": "https://w3id.org/fep/7aa9#canFeature",
17
+ "@type": "@id"
18
+ },
19
+ "featureAuthorization": {
20
+ "@id": "https://w3id.org/fep/7aa9#featureAuthorization",
21
+ "@type": "@id"
22
+ }
23
+ }
24
+ }
package/src/contexts.ts CHANGED
@@ -7,6 +7,7 @@ import activitystreams from "./contexts/activitystreams.json" with {
7
7
  };
8
8
  import didV1 from "./contexts/did-v1.json" with { type: "json" };
9
9
  import fep5711 from "./contexts/fep-5711.json" with { type: "json" };
10
+ import fep7aa9 from "./contexts/fep-7aa9.json" with { type: "json" };
10
11
  import gotosocial from "./contexts/gotosocial.json" with { type: "json" };
11
12
  import identityV1 from "./contexts/identity-v1.json" with { type: "json" };
12
13
  import joinLemmyContext from "./contexts/join-lemmy.json" with { type: "json" };
@@ -35,6 +36,7 @@ const preloadedContexts: Record<string, unknown> = {
35
36
  "http://schema.org/": schemaorg,
36
37
  "https://gotosocial.org/ns": gotosocial,
37
38
  "https://w3id.org/fep/5711": fep5711,
39
+ "https://w3id.org/fep/7aa9": fep7aa9,
38
40
 
39
41
  // Lemmy's context document is served as application/json without the JSON-LD
40
42
  // context Link header. The default document loader treats that as a regular