@fedify/vocab 2.1.0-dev.543 → 2.1.0-dev.592
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 +2 -1
- package/dist/mod.cjs +225 -224
- package/dist/mod.js +3 -2
- package/{dist → dist-tests}/actor.test.js +5 -5
- package/{dist/deno-D76TUHGu.js → dist-tests/deno-BAfIdRCq.js} +3 -2
- package/{dist → dist-tests}/lookup.test.js +7 -6
- package/{dist → dist-tests}/type.test.js +3 -2
- package/{dist/vocab-BL0T9S6o.js → dist-tests/vocab-dV6QKnk_.js} +30 -6263
- package/{dist → dist-tests}/vocab.test.js +3 -2
- package/package.json +6 -7
- package/tsdown.config.ts +14 -5
- package/dist/actor.test.d.ts +0 -2
- package/dist/chunk-BeeFIeNn.js +0 -45
- package/dist/execAsync-Bj-9hhe9.js +0 -17
- package/dist/getMachineId-bsd-JZpH2DVB.js +0 -34
- package/dist/getMachineId-darwin-CIJUQhqg.js +0 -30
- package/dist/getMachineId-linux-l0DNcix-.js +0 -27
- package/dist/getMachineId-unsupported-DFK1bZgt.js +0 -20
- package/dist/getMachineId-win-B0bq2tSf.js +0 -32
- package/dist/lookup.test.d.ts +0 -2
- package/dist/type.test.d.ts +0 -2
- package/dist/vocab.test.d.ts +0 -2
- /package/{dist → dist-tests}/accept.yaml +0 -0
- /package/{dist → dist-tests}/activity.yaml +0 -0
- /package/{dist → dist-tests}/add.yaml +0 -0
- /package/{dist → dist-tests}/announce.yaml +0 -0
- /package/{dist → dist-tests}/announceauthorization.yaml +0 -0
- /package/{dist → dist-tests}/announcerequest.yaml +0 -0
- /package/{dist → dist-tests}/application.yaml +0 -0
- /package/{dist → dist-tests}/arrive.yaml +0 -0
- /package/{dist → dist-tests}/article.yaml +0 -0
- /package/{dist → dist-tests}/audio.yaml +0 -0
- /package/{dist → dist-tests}/block.yaml +0 -0
- /package/{dist → dist-tests}/chatmessage.yaml +0 -0
- /package/{dist → dist-tests}/collection.yaml +0 -0
- /package/{dist → dist-tests}/collectionpage.yaml +0 -0
- /package/{dist → dist-tests}/create.yaml +0 -0
- /package/{dist → dist-tests}/dataintegrityproof.yaml +0 -0
- /package/{dist → dist-tests}/delete.yaml +0 -0
- /package/{dist → dist-tests}/didservice.yaml +0 -0
- /package/{dist → dist-tests}/dislike.yaml +0 -0
- /package/{dist → dist-tests}/document.yaml +0 -0
- /package/{dist → dist-tests}/emoji.yaml +0 -0
- /package/{dist → dist-tests}/emojireact.yaml +0 -0
- /package/{dist → dist-tests}/endpoints.yaml +0 -0
- /package/{dist → dist-tests}/event.yaml +0 -0
- /package/{dist → dist-tests}/export.yaml +0 -0
- /package/{dist → dist-tests}/flag.yaml +0 -0
- /package/{dist → dist-tests}/follow.yaml +0 -0
- /package/{dist → dist-tests}/group.yaml +0 -0
- /package/{dist → dist-tests}/hashtag.yaml +0 -0
- /package/{dist → dist-tests}/ignore.yaml +0 -0
- /package/{dist → dist-tests}/image.yaml +0 -0
- /package/{dist → dist-tests}/interactionpolicy.yaml +0 -0
- /package/{dist → dist-tests}/interactionrule.yaml +0 -0
- /package/{dist → dist-tests}/intransitiveactivity.yaml +0 -0
- /package/{dist → dist-tests}/invite.yaml +0 -0
- /package/{dist → dist-tests}/join.yaml +0 -0
- /package/{dist → dist-tests}/key.yaml +0 -0
- /package/{dist → dist-tests}/leave.yaml +0 -0
- /package/{dist → dist-tests}/like.yaml +0 -0
- /package/{dist → dist-tests}/likeauthorization.yaml +0 -0
- /package/{dist → dist-tests}/likerequest.yaml +0 -0
- /package/{dist → dist-tests}/link.yaml +0 -0
- /package/{dist → dist-tests}/listen.yaml +0 -0
- /package/{dist → dist-tests}/mention.yaml +0 -0
- /package/{dist → dist-tests}/move.yaml +0 -0
- /package/{dist → dist-tests}/multikey.yaml +0 -0
- /package/{dist → dist-tests}/note.yaml +0 -0
- /package/{dist → dist-tests}/object.yaml +0 -0
- /package/{dist → dist-tests}/offer.yaml +0 -0
- /package/{dist → dist-tests}/orderedcollection.yaml +0 -0
- /package/{dist → dist-tests}/orderedcollectionpage.yaml +0 -0
- /package/{dist → dist-tests}/organization.yaml +0 -0
- /package/{dist → dist-tests}/page.yaml +0 -0
- /package/{dist → dist-tests}/person.yaml +0 -0
- /package/{dist → dist-tests}/place.yaml +0 -0
- /package/{dist → dist-tests}/profile.yaml +0 -0
- /package/{dist → dist-tests}/propertyvalue.yaml +0 -0
- /package/{dist → dist-tests}/question.yaml +0 -0
- /package/{dist → dist-tests}/read.yaml +0 -0
- /package/{dist → dist-tests}/reject.yaml +0 -0
- /package/{dist → dist-tests}/relationship.yaml +0 -0
- /package/{dist → dist-tests}/remove.yaml +0 -0
- /package/{dist → dist-tests}/replyauthorization.yaml +0 -0
- /package/{dist → dist-tests}/replyrequest.yaml +0 -0
- /package/{dist → dist-tests}/service.yaml +0 -0
- /package/{dist → dist-tests}/source.yaml +0 -0
- /package/{dist → dist-tests}/tentativeaccept.yaml +0 -0
- /package/{dist → dist-tests}/tentativereject.yaml +0 -0
- /package/{dist → dist-tests}/tombstone.yaml +0 -0
- /package/{dist → dist-tests}/travel.yaml +0 -0
- /package/{dist/type-Dnf0m2yO.js → dist-tests/type-CNuABalk.js} +0 -0
- /package/{dist → dist-tests}/undo.yaml +0 -0
- /package/{dist → dist-tests}/update.yaml +0 -0
- /package/{dist/utils-Dm0Onkcz.js → dist-tests/utils-BSWXlrig.js} +0 -0
- /package/{dist → dist-tests}/video.yaml +0 -0
- /package/{dist → dist-tests}/view.yaml +0 -0
package/dist/mod.js
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import { lookupWebFinger } from "@fedify/webfinger";
|
|
5
5
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
6
6
|
import { domainToASCII, domainToUnicode } from "node:url";
|
|
7
|
-
import jsonld from "jsonld";
|
|
7
|
+
import jsonld from "@fedify/vocab-runtime/jsonld";
|
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
|
9
9
|
import { LanguageString, LanguageString as LanguageString$1, decodeMultibase, encodeMultibase, exportMultibaseKey, exportSpki, getDocumentLoader, importMultibaseKey, importPem } from "@fedify/vocab-runtime";
|
|
10
10
|
import { delay } from "es-toolkit";
|
|
11
11
|
|
|
12
12
|
//#region deno.json
|
|
13
13
|
var name = "@fedify/vocab";
|
|
14
|
-
var version = "2.1.0-dev.
|
|
14
|
+
var version = "2.1.0-dev.592+6c1f6e6f";
|
|
15
15
|
var license = "MIT";
|
|
16
16
|
var exports = { ".": "./src/mod.ts" };
|
|
17
17
|
var description = "Vocabularies library for @fedify/fedify";
|
|
@@ -27,6 +27,7 @@ var imports = {
|
|
|
27
27
|
};
|
|
28
28
|
var exclude = [
|
|
29
29
|
"dist/",
|
|
30
|
+
"dist-tests/",
|
|
30
31
|
"node_modules/",
|
|
31
32
|
"src/*.yaml",
|
|
32
33
|
"!src/vocab.ts"
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
4
|
|
|
5
|
-
import { __export } from "./
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
5
|
+
import { Application, Group, Organization, Person, Service, __export } from "./vocab-dV6QKnk_.js";
|
|
6
|
+
import { deno_default, esm_default } from "./deno-BAfIdRCq.js";
|
|
7
|
+
import { getTypeId } from "./type-CNuABalk.js";
|
|
8
|
+
import { test } from "@fedify/fixture";
|
|
10
9
|
import { deepStrictEqual, ok, rejects, strictEqual, throws } from "node:assert/strict";
|
|
11
10
|
import { lookupWebFinger } from "@fedify/webfinger";
|
|
11
|
+
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
12
12
|
import { domainToASCII, domainToUnicode } from "node:url";
|
|
13
13
|
|
|
14
14
|
//#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
4
|
|
|
5
|
-
import { __commonJS, __toESM } from "./
|
|
5
|
+
import { __commonJS, __toESM } from "./vocab-dV6QKnk_.js";
|
|
6
6
|
|
|
7
7
|
//#region ../../node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js
|
|
8
8
|
var require_glob_to_regexp = __commonJS({ "../../node_modules/.pnpm/glob-to-regexp@0.4.1/node_modules/glob-to-regexp/index.js"(exports, module) {
|
|
@@ -1240,7 +1240,7 @@ var esm_default = FetchMock_default;
|
|
|
1240
1240
|
//#endregion
|
|
1241
1241
|
//#region deno.json
|
|
1242
1242
|
var name = "@fedify/vocab";
|
|
1243
|
-
var version = "2.1.0-dev.
|
|
1243
|
+
var version = "2.1.0-dev.592+6c1f6e6f";
|
|
1244
1244
|
var license = "MIT";
|
|
1245
1245
|
var exports = { ".": "./src/mod.ts" };
|
|
1246
1246
|
var description = "Vocabularies library for @fedify/fedify";
|
|
@@ -1256,6 +1256,7 @@ var imports = {
|
|
|
1256
1256
|
};
|
|
1257
1257
|
var exclude = [
|
|
1258
1258
|
"dist/",
|
|
1259
|
+
"dist-tests/",
|
|
1259
1260
|
"node_modules/",
|
|
1260
1261
|
"src/*.yaml",
|
|
1261
1262
|
"!src/vocab.ts"
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
4
|
|
|
5
|
-
import { Collection, Note, Object as Object$1, Person
|
|
6
|
-
import { deno_default, esm_default } from "./deno-
|
|
7
|
-
import { getTypeId } from "./type-
|
|
8
|
-
import { assertInstanceOf } from "./utils-
|
|
9
|
-
import {
|
|
10
|
-
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
5
|
+
import { Collection, Note, Object as Object$1, Person } from "./vocab-dV6QKnk_.js";
|
|
6
|
+
import { deno_default, esm_default } from "./deno-BAfIdRCq.js";
|
|
7
|
+
import { getTypeId } from "./type-CNuABalk.js";
|
|
8
|
+
import { assertInstanceOf } from "./utils-BSWXlrig.js";
|
|
9
|
+
import { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
|
|
11
10
|
import { deepStrictEqual, equal, ok, rejects } from "node:assert/strict";
|
|
12
11
|
import { lookupWebFinger } from "@fedify/webfinger";
|
|
12
|
+
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
13
|
+
import { getLogger } from "@logtape/logtape";
|
|
13
14
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
|
14
15
|
import { delay } from "es-toolkit";
|
|
15
16
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
4
|
|
|
5
|
-
import { Person
|
|
6
|
-
import { getTypeId } from "./type-
|
|
5
|
+
import { Person } from "./vocab-dV6QKnk_.js";
|
|
6
|
+
import { getTypeId } from "./type-CNuABalk.js";
|
|
7
|
+
import { test } from "@fedify/fixture";
|
|
7
8
|
import { deepStrictEqual } from "node:assert/strict";
|
|
8
9
|
|
|
9
10
|
//#region src/type.test.ts
|