@fedify/vocab 2.4.0-dev.2219 → 2.4.0-dev.2228
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 +1 -1
- package/dist/mod.cjs +1 -1
- package/dist/mod.js +1 -1
- package/dist-tests/{actor-DzLs-X1G.mjs → actor-BT5CKpjL.mjs} +1 -1
- package/dist-tests/actor.test.mjs +1 -1
- package/dist-tests/gateway.test.mjs +1 -1
- package/dist-tests/{lookup-DckWWZgA.mjs → lookup-eV4_-duv.mjs} +1 -1
- package/dist-tests/lookup.test.mjs +1 -1
- package/dist-tests/portable-lookup.test.mjs +2 -2
- package/dist-tests/translation.test.mjs +2 -2
- package/dist-tests/vocab.test.mjs +3 -1
- package/package.json +4 -4
- package/src/vocab.test.ts +2 -0
package/deno.json
CHANGED
package/dist/mod.cjs
CHANGED
|
@@ -36,7 +36,7 @@ let _fedify_vocab_runtime_temporal = require("@fedify/vocab-runtime/temporal");
|
|
|
36
36
|
let es_toolkit = require("es-toolkit");
|
|
37
37
|
//#region deno.json
|
|
38
38
|
var name = "@fedify/vocab";
|
|
39
|
-
var version = "2.4.0-dev.
|
|
39
|
+
var version = "2.4.0-dev.2228+6d017d55";
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/type.ts
|
|
42
42
|
function getTypeId(object) {
|
package/dist/mod.js
CHANGED
|
@@ -12,7 +12,7 @@ import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/tem
|
|
|
12
12
|
import { delay } from "es-toolkit";
|
|
13
13
|
//#region deno.json
|
|
14
14
|
var name = "@fedify/vocab";
|
|
15
|
-
var version = "2.4.0-dev.
|
|
15
|
+
var version = "2.4.0-dev.2228+6d017d55";
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/type.ts
|
|
18
18
|
function getTypeId(object) {
|
|
@@ -8,7 +8,7 @@ import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
|
8
8
|
import { domainToASCII, domainToUnicode } from "node:url";
|
|
9
9
|
//#region deno.json
|
|
10
10
|
var name = "@fedify/vocab";
|
|
11
|
-
var version = "2.4.0-dev.
|
|
11
|
+
var version = "2.4.0-dev.2228+6d017d55";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/actor.ts
|
|
14
14
|
const ACTOR_DISCOVERY_HISTOGRAM_BUCKETS = [
|
|
@@ -2,7 +2,7 @@ import "temporal-polyfill";
|
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
3
|
import { F as Person, P as Organization, Q as __exportAll, U as Service, a as Application, b as Group } from "./vocab-D3C791xF.mjs";
|
|
4
4
|
import { t as esm_default } from "./esm-2_Uqq_my.mjs";
|
|
5
|
-
import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "./actor-
|
|
5
|
+
import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "./actor-BT5CKpjL.mjs";
|
|
6
6
|
import { createTestMeterProvider, test } from "@fedify/fixture";
|
|
7
7
|
import { deepStrictEqual, ok, rejects, strictEqual, throws } from "node:assert/strict";
|
|
8
8
|
//#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
|
@@ -2,7 +2,7 @@ import "temporal-polyfill";
|
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
3
|
import { F as Person, M as OrderedCollection, S as Image, c as CollectionPage, k as Note, s as Collection, u as Create } from "./vocab-D3C791xF.mjs";
|
|
4
4
|
import { t as esm_default } from "./esm-2_Uqq_my.mjs";
|
|
5
|
-
import { n as traverseCollection, t as lookupObject } from "./lookup-
|
|
5
|
+
import { n as traverseCollection, t as lookupObject } from "./lookup-eV4_-duv.mjs";
|
|
6
6
|
import { t as assertInstanceOf } from "./utils-Df2odC27.mjs";
|
|
7
7
|
import { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
|
|
8
8
|
import { deepStrictEqual, ok, rejects } from "node:assert/strict";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "temporal-polyfill";
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
3
|
import { A as Object$1 } from "./vocab-D3C791xF.mjs";
|
|
4
|
-
import { i as isActor, o as name, s as version } from "./actor-
|
|
4
|
+
import { i as isActor, o as name, s as version } from "./actor-BT5CKpjL.mjs";
|
|
5
5
|
import { t as getTypeId } from "./type-BMdjm4Eg.mjs";
|
|
6
6
|
import { canonicalizePortableUri, formatIri, getDocumentLoader, haveSameFe34Origin, haveSameIriOrigin, parseIri } from "@fedify/vocab-runtime";
|
|
7
7
|
import { lookupWebFinger } from "@fedify/webfinger";
|
|
@@ -2,7 +2,7 @@ import "temporal-polyfill";
|
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
3
|
import { A as Object$1, F as Person, k as Note, s as Collection } from "./vocab-D3C791xF.mjs";
|
|
4
4
|
import { t as esm_default } from "./esm-2_Uqq_my.mjs";
|
|
5
|
-
import { n as traverseCollection, t as lookupObject } from "./lookup-
|
|
5
|
+
import { n as traverseCollection, t as lookupObject } from "./lookup-eV4_-duv.mjs";
|
|
6
6
|
import { t as assertInstanceOf } from "./utils-Df2odC27.mjs";
|
|
7
7
|
import { createTestMeterProvider, createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
|
|
8
8
|
import { deepStrictEqual, equal, ok, rejects } from "node:assert/strict";
|
|
@@ -2,8 +2,8 @@ import "temporal-polyfill";
|
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
3
|
import { F as Person } from "./vocab-D3C791xF.mjs";
|
|
4
4
|
import { t as esm_default } from "./esm-2_Uqq_my.mjs";
|
|
5
|
-
import { n as getActorHandle } from "./actor-
|
|
6
|
-
import { t as lookupObject } from "./lookup-
|
|
5
|
+
import { n as getActorHandle } from "./actor-BT5CKpjL.mjs";
|
|
6
|
+
import { t as lookupObject } from "./lookup-eV4_-duv.mjs";
|
|
7
7
|
import { t as assertInstanceOf } from "./utils-Df2odC27.mjs";
|
|
8
8
|
import { mockDocumentLoader, test } from "@fedify/fixture";
|
|
9
9
|
import { deepStrictEqual, equal, rejects } from "node:assert/strict";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "temporal-polyfill";
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
3
|
import { A as Object$1, E as Link, F as Person, K as Translation, L as PropertyValue, P as Organization, U as Service, a as Application, b as Group, k as Note, o as Article, q as Update, s as Collection, u as Create } from "./vocab-D3C791xF.mjs";
|
|
4
|
-
import "./actor-
|
|
5
|
-
import "./lookup-
|
|
4
|
+
import "./actor-BT5CKpjL.mjs";
|
|
5
|
+
import "./lookup-eV4_-duv.mjs";
|
|
6
6
|
import { test } from "@fedify/fixture";
|
|
7
7
|
import { deepStrictEqual, ok, rejects } from "node:assert/strict";
|
|
8
8
|
import { LanguageString as LanguageString$1, getDocumentLoader, preloadedContexts } from "@fedify/vocab-runtime";
|
|
@@ -473,7 +473,9 @@ test("FEP-ef61: actor gateways must be HTTP(S) base URIs", async () => {
|
|
|
473
473
|
"https://user@server.example/",
|
|
474
474
|
"https://server.example/path",
|
|
475
475
|
"https://server.example/?x=1",
|
|
476
|
-
"https://server.example
|
|
476
|
+
"https://server.example/?",
|
|
477
|
+
"https://server.example/#fragment",
|
|
478
|
+
"https://server.example/#"
|
|
477
479
|
]) {
|
|
478
480
|
throws(() => new Person({
|
|
479
481
|
id: new URL("ap+ef61://did%3Akey%3Az6Mkabc/actor"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/vocab",
|
|
3
|
-
"version": "2.4.0-dev.
|
|
3
|
+
"version": "2.4.0-dev.2228+6d017d55",
|
|
4
4
|
"homepage": "https://fedify.dev/",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"jsonld": "^9.0.0",
|
|
44
44
|
"pkijs": "^3.3.3",
|
|
45
45
|
"temporal-polyfill": "^1.0.1",
|
|
46
|
-
"@fedify/webfinger": "2.4.0-dev.
|
|
47
|
-
"@fedify/vocab-tools": "2.4.0-dev.
|
|
48
|
-
"@fedify/vocab-runtime": "2.4.0-dev.
|
|
46
|
+
"@fedify/webfinger": "2.4.0-dev.2228+6d017d55",
|
|
47
|
+
"@fedify/vocab-tools": "2.4.0-dev.2228+6d017d55",
|
|
48
|
+
"@fedify/vocab-runtime": "2.4.0-dev.2228+6d017d55"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "^24.12.2",
|
package/src/vocab.test.ts
CHANGED
|
@@ -763,7 +763,9 @@ test("FEP-ef61: actor gateways must be HTTP(S) base URIs", async () => {
|
|
|
763
763
|
"https://user@server.example/",
|
|
764
764
|
"https://server.example/path",
|
|
765
765
|
"https://server.example/?x=1",
|
|
766
|
+
"https://server.example/?",
|
|
766
767
|
"https://server.example/#fragment",
|
|
768
|
+
"https://server.example/#",
|
|
767
769
|
]
|
|
768
770
|
) {
|
|
769
771
|
throws(
|