@fedify/fedify 1.6.1-pr.239.854 → 1.6.1-pr.242.857
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/dist/codegen/schema.js +2 -1
- package/dist/deno.js +7 -2
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/dirname.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/normalize.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js +1 -1
- package/dist/vocab/vocab.js +176 -176
- package/dist/vocab/vocab.test.js +2 -2
- package/dist/x/cfworkers.d.ts +28 -0
- package/dist/x/cfworkers.js +35 -0
- package/package.json +6 -1
package/dist/codegen/schema.js
CHANGED
@@ -41,10 +41,11 @@ async function loadSchemaValidator() {
|
|
41
41
|
const schemaObject = parse(content);
|
42
42
|
return new Validator(schemaObject);
|
43
43
|
}
|
44
|
-
|
44
|
+
let schemaValidator = void 0;
|
45
45
|
async function loadSchema(path) {
|
46
46
|
const content = await readFile(path, { encoding: "utf-8" });
|
47
47
|
const schema = parse(content);
|
48
|
+
if (schemaValidator == null) schemaValidator = await loadSchemaValidator();
|
48
49
|
const result = schemaValidator.validate(schema);
|
49
50
|
const errors = [];
|
50
51
|
if (result.valid) return schema;
|
package/dist/deno.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
//#region deno.json
|
6
6
|
var name = "@fedify/fedify";
|
7
|
-
var version = "1.6.1-pr.
|
7
|
+
var version = "1.6.1-pr.242.857+3b03b99a";
|
8
8
|
var license = "MIT";
|
9
9
|
var exports = {
|
10
10
|
".": "./mod.ts",
|
@@ -15,6 +15,7 @@ var exports = {
|
|
15
15
|
"./sig": "./sig/mod.ts",
|
16
16
|
"./vocab": "./vocab/mod.ts",
|
17
17
|
"./webfinger": "./webfinger/mod.ts",
|
18
|
+
"./x/cfworkers": "./x/cfworkers.ts",
|
18
19
|
"./x/denokv": "./x/denokv.ts",
|
19
20
|
"./x/fresh": "./x/fresh.ts",
|
20
21
|
"./x/hono": "./x/hono.ts",
|
@@ -22,6 +23,7 @@ var exports = {
|
|
22
23
|
};
|
23
24
|
var imports = {
|
24
25
|
"@cfworker/json-schema": "npm:@cfworker/json-schema@^4.1.1",
|
26
|
+
"@cloudflare/workers-types": "npm:@cloudflare/workers-types@^4.20250529.0",
|
25
27
|
"@es-toolkit/es-toolkit": "jsr:@es-toolkit/es-toolkit@^1.38.0",
|
26
28
|
"@hongminhee/deno-mock-fetch": "jsr:@hongminhee/deno-mock-fetch@^0.3.2",
|
27
29
|
"@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
|
@@ -110,7 +112,10 @@ var tasks = {
|
|
110
112
|
"command": "cd dist/ && bun test --timeout 60000",
|
111
113
|
"dependencies": ["pnpm:build"]
|
112
114
|
},
|
113
|
-
"test:cfworkers":
|
115
|
+
"test:cfworkers": {
|
116
|
+
"command": "pnpm exec wrangler deploy --dry-run --outdir cfworkers && node --import=tsx cfworkers/client.ts",
|
117
|
+
"dependencies": ["pnpm:build"]
|
118
|
+
},
|
114
119
|
"test-all": { "dependencies": [
|
115
120
|
"check",
|
116
121
|
"test",
|
package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
6
6
|
import { isPosixPathSeparator } from "./_util.js";
|
7
|
-
import { assertArg$
|
7
|
+
import { assertArg$2 as assertArg } from "../_common/dirname.js";
|
8
8
|
|
9
9
|
//#region node_modules/.pnpm/@jsr+std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js
|
10
10
|
/**
|
package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
5
|
import { isPosixPathSeparator } from "./_util.js";
|
6
|
-
import { assertArg$
|
6
|
+
import { assertArg$1 as assertArg } from "../_common/normalize.js";
|
7
7
|
import { normalizeString } from "../_common/normalize_string.js";
|
8
8
|
|
9
9
|
//#region node_modules/.pnpm/@jsr+std__path@1.0.9/node_modules/@jsr/std__path/posix/normalize.js
|