@fedify/fedify 1.6.0-dev.810 → 1.6.0-dev.812

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.
Files changed (42) hide show
  1. package/CHANGES.md +2 -0
  2. package/esm/deno.js +2 -5
  3. package/esm/federation/collection.js +1 -1
  4. package/esm/runtime/docloader.js +14 -7
  5. package/esm/runtime/key.js +7 -6
  6. package/esm/sig/http.js +37 -3
  7. package/esm/sig/ld.js +2 -2
  8. package/esm/sig/proof.js +1 -1
  9. package/esm/vocab/vocab.js +176 -176
  10. package/package.json +3 -2
  11. package/types/deno.d.ts +1 -4
  12. package/types/runtime/docloader.d.ts.map +1 -1
  13. package/types/runtime/key.d.ts.map +1 -1
  14. package/types/sig/http.d.ts +15 -0
  15. package/types/sig/http.d.ts.map +1 -1
  16. package/esm/deps/jsr.io/@david/which-runtime/0.2.1/mod.js +0 -10
  17. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -2
  18. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -32
  19. package/esm/deps/jsr.io/@std/crypto/1.0.5/timing_safe_equal.js +0 -55
  20. package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +0 -2
  21. package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -26
  22. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -163
  23. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64url.js +0 -81
  24. package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.js +0 -109
  25. package/types/deps/jsr.io/@david/which-runtime/0.2.1/mod.d.ts +0 -3
  26. package/types/deps/jsr.io/@david/which-runtime/0.2.1/mod.d.ts.map +0 -1
  27. package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
  28. package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
  29. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
  30. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
  31. package/types/deps/jsr.io/@std/crypto/1.0.5/timing_safe_equal.d.ts +0 -34
  32. package/types/deps/jsr.io/@std/crypto/1.0.5/timing_safe_equal.d.ts.map +0 -1
  33. package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +0 -9
  34. package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +0 -1
  35. package/types/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
  36. package/types/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
  37. package/types/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts +0 -40
  38. package/types/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
  39. package/types/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts +0 -40
  40. package/types/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +0 -1
  41. package/types/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts +0 -39
  42. package/types/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +0 -1
@@ -1,34 +0,0 @@
1
- /**
2
- * When checking the values of cryptographic hashes are equal, default
3
- * comparisons can be susceptible to timing based attacks, where attacker is
4
- * able to find out information about the host system by repeatedly checking
5
- * response times to equality comparisons of values.
6
- *
7
- * It is likely some form of timing safe equality will make its way to the
8
- * WebCrypto standard (see:
9
- * {@link https://github.com/w3c/webcrypto/issues/270 | w3c/webcrypto#270}), but until
10
- * that time, `timingSafeEqual()` is provided:
11
- *
12
- * @example Usage
13
- * ```ts
14
- * import { timingSafeEqual } from "@std/crypto/timing-safe-equal";
15
- * import { assert } from "@std/assert";
16
- *
17
- * const a = await crypto.subtle.digest(
18
- * "SHA-384",
19
- * new TextEncoder().encode("hello world"),
20
- * );
21
- * const b = await crypto.subtle.digest(
22
- * "SHA-384",
23
- * new TextEncoder().encode("hello world"),
24
- * );
25
- *
26
- * assert(timingSafeEqual(a, b));
27
- * ```
28
- *
29
- * @param a The first value to compare.
30
- * @param b The second value to compare.
31
- * @returns `true` if the values are equal, otherwise `false`.
32
- */
33
- export declare function timingSafeEqual(a: ArrayBufferView | ArrayBufferLike | DataView, b: ArrayBufferView | ArrayBufferLike | DataView): boolean;
34
- //# sourceMappingURL=timing_safe_equal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timing_safe_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/crypto/1.0.5/timing_safe_equal.ts"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,eAAe,CAC7B,CAAC,EAAE,eAAe,GAAG,eAAe,GAAG,QAAQ,EAC/C,CAAC,EAAE,eAAe,GAAG,eAAe,GAAG,QAAQ,GAC9C,OAAO,CAWT"}
@@ -1,9 +0,0 @@
1
- /**
2
- * Proxy type of {@code Uint8Array<ArrayBuffer} or {@code Uint8Array} in TypeScript 5.7 or below respectively.
3
- *
4
- * This type is internal utility type and should not be used directly.
5
- *
6
- * @internal @private
7
- */
8
- export type Uint8Array_ = ReturnType<Uint8Array["slice"]>;
9
- //# sourceMappingURL=_types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/_types.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function validateBinaryLike(source: unknown): Uint8Array;
2
- //# sourceMappingURL=_validate_binary_like.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_validate_binary_like.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.ts"],"names":[],"mappings":"AAeA,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAa9D"}
@@ -1,40 +0,0 @@
1
- import type { Uint8Array_ } from "./_types.js";
2
- export type { Uint8Array_ };
3
- /**
4
- * Converts data into a base64-encoded string.
5
- *
6
- * @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-4}
7
- *
8
- * @param data The data to encode.
9
- * @returns The base64-encoded string.
10
- *
11
- * @example Usage
12
- * ```ts
13
- * import { encodeBase64 } from "@std/encoding/base64";
14
- * import { assertEquals } from "@std/assert";
15
- *
16
- * assertEquals(encodeBase64("foobar"), "Zm9vYmFy");
17
- * ```
18
- */
19
- export declare function encodeBase64(data: ArrayBuffer | Uint8Array | string): string;
20
- /**
21
- * Decodes a base64-encoded string.
22
- *
23
- * @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-4}
24
- *
25
- * @param b64 The base64-encoded string to decode.
26
- * @returns The decoded data.
27
- *
28
- * @example Usage
29
- * ```ts
30
- * import { decodeBase64 } from "@std/encoding/base64";
31
- * import { assertEquals } from "@std/assert";
32
- *
33
- * assertEquals(
34
- * decodeBase64("Zm9vYmFy"),
35
- * new TextEncoder().encode("foobar")
36
- * );
37
- * ```
38
- */
39
- export declare function decodeBase64(b64: string): Uint8Array_;
40
- //# sourceMappingURL=base64.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base64.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/base64.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AAqE5B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAmC5E;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAQrD"}
@@ -1,40 +0,0 @@
1
- import type { Uint8Array_ } from "./_types.js";
2
- export type { Uint8Array_ };
3
- /**
4
- * Convert data into a base64url-encoded string.
5
- *
6
- * @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-5}
7
- *
8
- * @param data The data to encode.
9
- * @returns The base64url-encoded string.
10
- *
11
- * @example Usage
12
- * ```ts
13
- * import { encodeBase64Url } from "@std/encoding/base64url";
14
- * import { assertEquals } from "@std/assert";
15
- *
16
- * assertEquals(encodeBase64Url("foobar"), "Zm9vYmFy");
17
- * ```
18
- */
19
- export declare function encodeBase64Url(data: ArrayBuffer | Uint8Array | string): string;
20
- /**
21
- * Decodes a given base64url-encoded string.
22
- *
23
- * @see {@link https://www.rfc-editor.org/rfc/rfc4648.html#section-5}
24
- *
25
- * @param b64url The base64url-encoded string to decode.
26
- * @returns The decoded data.
27
- *
28
- * @example Usage
29
- * ```ts
30
- * import { decodeBase64Url } from "@std/encoding/base64url";
31
- * import { assertEquals } from "@std/assert";
32
- *
33
- * assertEquals(
34
- * decodeBase64Url("Zm9vYmFy"),
35
- * new TextEncoder().encode("foobar")
36
- * );
37
- * ```
38
- */
39
- export declare function decodeBase64Url(b64url: string): Uint8Array_;
40
- //# sourceMappingURL=base64url.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base64url.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/base64url.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AAiC5B;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,GACtC,MAAM,CAER;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAE3D"}
@@ -1,39 +0,0 @@
1
- import type { Uint8Array_ } from "./_types.js";
2
- export type { Uint8Array_ };
3
- /**
4
- * Converts data into a hex-encoded string.
5
- *
6
- * @param src The data to encode.
7
- *
8
- * @returns The hex-encoded string.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { encodeHex } from "@std/encoding/hex";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * assertEquals(encodeHex("abc"), "616263");
16
- * ```
17
- */
18
- export declare function encodeHex(src: string | Uint8Array | ArrayBuffer): string;
19
- /**
20
- * Decodes the given hex-encoded string. If the input is malformed, an error is
21
- * thrown.
22
- *
23
- * @param src The hex-encoded string to decode.
24
- *
25
- * @returns The decoded data.
26
- *
27
- * @example Usage
28
- * ```ts
29
- * import { decodeHex } from "@std/encoding/hex";
30
- * import { assertEquals } from "@std/assert";
31
- *
32
- * assertEquals(
33
- * decodeHex("616263"),
34
- * new TextEncoder().encode("abc"),
35
- * );
36
- * ```
37
- */
38
- export declare function decodeHex(src: string): Uint8Array_;
39
- //# sourceMappingURL=hex.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hex.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.7/hex.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AA4B5B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,MAAM,CAUxE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAiBlD"}