@fedify/fedify 1.6.1-pr.239.854 → 1.6.1-pr.239.855
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 +5 -2
- package/dist/federation/mod.d.ts +1 -1
- package/dist/federation/router.d.ts +1 -1
- package/dist/mod.d.ts +1 -1
- 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/from_file_url.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/from_file_url.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js +1 -1
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js +1 -1
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Router.js +1 -1
- package/dist/vocab/vocab.js +176 -176
- package/dist/vocab/vocab.test.js +2 -2
- package/package.json +1 -1
package/dist/vocab/vocab.test.js
CHANGED
@@ -634,7 +634,7 @@ const sampleValues = {
|
|
634
634
|
"fedify:proofPurpose": "assertionMethod",
|
635
635
|
"fedify:units": "m"
|
636
636
|
};
|
637
|
-
const types = await loadSchemaFiles(import.meta.dirname);
|
637
|
+
const types = navigator?.userAgent === "Cloudflare-Workers" ? {} : await loadSchemaFiles(import.meta.dirname);
|
638
638
|
for (const typeUri in types) {
|
639
639
|
const type = types[typeUri];
|
640
640
|
const cls = vocab_exports[type.name];
|
@@ -823,7 +823,7 @@ for (const typeUri in types) {
|
|
823
823
|
}), TypeError);
|
824
824
|
});
|
825
825
|
if ("Deno" in globalThis) {
|
826
|
-
const { assertSnapshot } = await import("@std/testing/snapshot");
|
826
|
+
const { assertSnapshot } = await import("@std/testing/snapshot").catch(() => ({ assertSnapshot: () => Promise.resolve() }));
|
827
827
|
test(`Deno.inspect(${type.name}) [auto]`, async (t) => {
|
828
828
|
const empty = new cls({});
|
829
829
|
assertEquals(Deno.inspect(empty), `${type.name} {}`);
|