@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.
@@ -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} {}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.6.1-pr.239.854+e81b7a5d",
3
+ "version": "1.6.1-pr.239.855+05827ff9",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",