@fedify/vocab 2.3.0-dev.1050 → 2.3.0-dev.1079
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 +2 -2
- package/dist/mod.js +1 -1
- package/dist-tests/actor.test.mjs +6 -3
- package/dist-tests/{deno-9eAeYHHm.mjs → deno-BNlyFwdW.mjs} +6 -8
- package/dist-tests/lookup.test.mjs +2 -2
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-C7fgfBaH.mjs → vocab-CbuinVXl.mjs} +1 -1
- package/dist-tests/vocab.test.mjs +1 -1
- package/package.json +9 -9
- package/tsdown.config.ts +2 -2
package/deno.json
CHANGED
package/dist/mod.cjs
CHANGED
|
@@ -26,13 +26,13 @@ let _fedify_webfinger = require("@fedify/webfinger");
|
|
|
26
26
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
27
27
|
let node_url = require("node:url");
|
|
28
28
|
let _fedify_vocab_runtime_jsonld = require("@fedify/vocab-runtime/jsonld");
|
|
29
|
-
_fedify_vocab_runtime_jsonld = __toESM(_fedify_vocab_runtime_jsonld);
|
|
29
|
+
_fedify_vocab_runtime_jsonld = __toESM(_fedify_vocab_runtime_jsonld, 1);
|
|
30
30
|
let _logtape_logtape = require("@logtape/logtape");
|
|
31
31
|
let _fedify_vocab_runtime = require("@fedify/vocab-runtime");
|
|
32
32
|
let es_toolkit = require("es-toolkit");
|
|
33
33
|
//#region deno.json
|
|
34
34
|
var name = "@fedify/vocab";
|
|
35
|
-
var version = "2.3.0-dev.
|
|
35
|
+
var version = "2.3.0-dev.1079+36ac23d1";
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/type.ts
|
|
38
38
|
function getTypeId(object) {
|
package/dist/mod.js
CHANGED
|
@@ -8,7 +8,7 @@ import { LanguageString, LanguageString as LanguageString$1, decodeMultibase, en
|
|
|
8
8
|
import { delay } from "es-toolkit";
|
|
9
9
|
//#region deno.json
|
|
10
10
|
var name = "@fedify/vocab";
|
|
11
|
-
var version = "2.3.0-dev.
|
|
11
|
+
var version = "2.3.0-dev.1079+36ac23d1";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/type.ts
|
|
14
14
|
function getTypeId(object) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
|
-
import { j as __exportAll, r as Application, u as Group, v as Organization, w as Service, y as Person } from "./vocab-
|
|
4
|
-
import { n as version, r as esm_default, t as name } from "./deno-
|
|
3
|
+
import { j as __exportAll, r as Application, u as Group, v as Organization, w as Service, y as Person } from "./vocab-CbuinVXl.mjs";
|
|
4
|
+
import { n as version, r as esm_default, t as name } from "./deno-BNlyFwdW.mjs";
|
|
5
5
|
import { t as getTypeId } from "./type-Cf-vxmre.mjs";
|
|
6
6
|
import { test } from "@fedify/fixture";
|
|
7
7
|
import { deepStrictEqual, ok, rejects, strictEqual, throws } from "node:assert/strict";
|
|
@@ -1984,7 +1984,10 @@ var RunExecution = class RunExecution {
|
|
|
1984
1984
|
return currentTree;
|
|
1985
1985
|
}
|
|
1986
1986
|
fail(value, id, failure) {
|
|
1987
|
-
if (this.verbosity >= VerbosityLevel.Verbose)
|
|
1987
|
+
if (this.verbosity >= VerbosityLevel.Verbose) {
|
|
1988
|
+
const currentTree = this.appendExecutionTree(ExecutionStatus.Failure, value);
|
|
1989
|
+
this.currentLevelExecutionTrees = currentTree.children;
|
|
1990
|
+
}
|
|
1988
1991
|
if (this.pathToFailure == null) this.pathToFailure = `${id}`;
|
|
1989
1992
|
else this.pathToFailure += `:${id}`;
|
|
1990
1993
|
this.value = value;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
|
-
import { A as __commonJSMin, M as __toESM } from "./vocab-
|
|
4
|
-
//#
|
|
5
|
-
|
|
3
|
+
import { A as __commonJSMin, M as __toESM } from "./vocab-CbuinVXl.mjs";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region ../../node_modules/.pnpm/regexparam@3.0.0/node_modules/regexparam/dist/index.mjs
|
|
6
|
+
var import_glob_to_regexp = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
7
|
module.exports = function(glob, opts) {
|
|
7
8
|
if (typeof glob !== "string") throw new TypeError("Expected a string");
|
|
8
9
|
var str = String(glob);
|
|
@@ -73,9 +74,7 @@ var require_glob_to_regexp = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
73
74
|
if (!flags || !~flags.indexOf("g")) reStr = "^" + reStr + "$";
|
|
74
75
|
return new RegExp(reStr, flags);
|
|
75
76
|
};
|
|
76
|
-
}));
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region ../../node_modules/.pnpm/regexparam@3.0.0/node_modules/regexparam/dist/index.mjs
|
|
77
|
+
})))(), 1);
|
|
79
78
|
/**
|
|
80
79
|
* @param {string|RegExp} input The route pattern
|
|
81
80
|
* @param {boolean} [loose] Allow open-ended matching. Ignored with `RegExp` input.
|
|
@@ -430,7 +429,6 @@ function normalizeHeaders(headers) {
|
|
|
430
429
|
}
|
|
431
430
|
//#endregion
|
|
432
431
|
//#region ../../node_modules/.pnpm/fetch-mock@12.6.0/node_modules/fetch-mock/dist/esm/Matchers.js
|
|
433
|
-
var import_glob_to_regexp = /* @__PURE__ */ __toESM(require_glob_to_regexp(), 1);
|
|
434
432
|
const isUrlMatcher = (matcher) => matcher instanceof RegExp || typeof matcher === "string" || typeof matcher === "object" && "href" in matcher;
|
|
435
433
|
const isFunctionMatcher = (matcher) => typeof matcher === "function";
|
|
436
434
|
const stringMatchers = {
|
|
@@ -1204,6 +1202,6 @@ var esm_default = new class FetchMock {
|
|
|
1204
1202
|
//#endregion
|
|
1205
1203
|
//#region deno.json
|
|
1206
1204
|
var name = "@fedify/vocab";
|
|
1207
|
-
var version = "2.3.0-dev.
|
|
1205
|
+
var version = "2.3.0-dev.1079+36ac23d1";
|
|
1208
1206
|
//#endregion
|
|
1209
1207
|
export { version as n, esm_default as r, name as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
|
-
import { g as Object$1, h as Note, i as Collection, y as Person } from "./vocab-
|
|
4
|
-
import { n as version, r as esm_default, t as name } from "./deno-
|
|
3
|
+
import { g as Object$1, h as Note, i as Collection, y as Person } from "./vocab-CbuinVXl.mjs";
|
|
4
|
+
import { n as version, r as esm_default, t as name } from "./deno-BNlyFwdW.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 { createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
|
package/dist-tests/type.test.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
|
-
import { D as getEntityTypeById, O as isEntityType, m as Link, y as Person } from "./vocab-
|
|
3
|
+
import { D as getEntityTypeById, O as isEntityType, m as Link, y as Person } from "./vocab-CbuinVXl.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";
|
|
@@ -11,7 +11,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
11
11
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
12
12
|
var __getProtoOf = Object.getPrototypeOf;
|
|
13
13
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
14
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
15
15
|
var __exportAll = (all, no_symbols) => {
|
|
16
16
|
let target = {};
|
|
17
17
|
for (var name in all) __defProp(target, name, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
globalThis.addEventListener = () => {};
|
|
3
|
-
import { C as QuoteRequest, E as Tombstone, S as QuoteAuthorization, T as Source, _ as OrderedCollectionPage, a as Create, b as Place, c as Endpoints, d as Hashtag, f as InteractionPolicy, g as Object$1, h as Note, i as Collection, k as vocab_exports, l as Follow, m as Link, n as Announce, o as CryptographicKey, p as InteractionRule, s as Delete, t as Activity, x as Question, y as Person } from "./vocab-
|
|
3
|
+
import { C as QuoteRequest, E as Tombstone, S as QuoteAuthorization, T as Source, _ as OrderedCollectionPage, a as Create, b as Place, c as Endpoints, d as Hashtag, f as InteractionPolicy, g as Object$1, h as Note, i as Collection, k as vocab_exports, l as Follow, m as Link, n as Announce, o as CryptographicKey, p as InteractionRule, s as Delete, t as Activity, x as Question, y as Person } from "./vocab-CbuinVXl.mjs";
|
|
4
4
|
import { t as assertInstanceOf } from "./utils-CE8Dk5hm.mjs";
|
|
5
5
|
import { mockDocumentLoader, test } from "@fedify/fixture";
|
|
6
6
|
import { deepStrictEqual, notDeepStrictEqual, ok, rejects, throws } from "node:assert/strict";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/vocab",
|
|
3
|
-
"version": "2.3.0-dev.
|
|
3
|
+
"version": "2.3.0-dev.1079+36ac23d1",
|
|
4
4
|
"homepage": "https://fedify.dev/",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@js-temporal/polyfill": "^0.5.1",
|
|
42
42
|
"@multiformats/base-x": "^4.0.1",
|
|
43
|
-
"@logtape/logtape": "^2.0.
|
|
44
|
-
"@opentelemetry/api": "^1.9.
|
|
45
|
-
"asn1js": "^3.0.
|
|
46
|
-
"es-toolkit": "1.
|
|
43
|
+
"@logtape/logtape": "^2.0.7",
|
|
44
|
+
"@opentelemetry/api": "^1.9.1",
|
|
45
|
+
"asn1js": "^3.0.10",
|
|
46
|
+
"es-toolkit": "1.46.1",
|
|
47
47
|
"jsonld": "^9.0.0",
|
|
48
48
|
"pkijs": "^3.3.3",
|
|
49
|
-
"@fedify/vocab-tools": "2.3.0-dev.
|
|
50
|
-
"@fedify/
|
|
51
|
-
"@fedify/
|
|
49
|
+
"@fedify/vocab-tools": "2.3.0-dev.1079+36ac23d1",
|
|
50
|
+
"@fedify/webfinger": "2.3.0-dev.1079+36ac23d1",
|
|
51
|
+
"@fedify/vocab-runtime": "2.3.0-dev.1079+36ac23d1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^22.17.0",
|
|
55
55
|
"fast-check": "^3.22.0",
|
|
56
56
|
"fetch-mock": "^12.5.4",
|
|
57
|
-
"tsdown": "^0.
|
|
57
|
+
"tsdown": "^0.22.0",
|
|
58
58
|
"typescript": "^5.9.2",
|
|
59
59
|
"@fedify/fixture": "2.0.0"
|
|
60
60
|
},
|
package/tsdown.config.ts
CHANGED
|
@@ -18,7 +18,7 @@ export default [
|
|
|
18
18
|
dts: { compilerOptions: { isolatedDeclarations: true, declaration: true } },
|
|
19
19
|
format: ["esm", "cjs"],
|
|
20
20
|
platform: "neutral",
|
|
21
|
-
|
|
21
|
+
deps: { neverBundle: [/^node:/] },
|
|
22
22
|
outputOptions(outputOptions, format) {
|
|
23
23
|
if (format === "cjs") {
|
|
24
24
|
outputOptions.intro = `
|
|
@@ -37,7 +37,7 @@ export default [
|
|
|
37
37
|
entry: (await Array.fromAsync(glob(`src/**/*.test.ts`)))
|
|
38
38
|
.map((f) => f.replace(sep, "/")),
|
|
39
39
|
dts: false,
|
|
40
|
-
|
|
40
|
+
deps: { neverBundle: [/^node:/, "@fedify/fixture"] },
|
|
41
41
|
inputOptions: {
|
|
42
42
|
onwarn(warning, defaultHandler) {
|
|
43
43
|
if (
|