@fedify/fedify 1.6.0-dev.811 → 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.
- package/CHANGES.md +2 -0
- package/esm/deno.js +2 -2
- package/esm/federation/collection.js +1 -1
- package/esm/runtime/key.js +4 -4
- package/esm/sig/http.js +2 -2
- package/esm/sig/ld.js +2 -2
- package/esm/sig/proof.js +1 -1
- package/esm/vocab/vocab.js +176 -176
- package/package.json +3 -2
- package/types/deno.d.ts +1 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +0 -2
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -26
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -163
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64url.js +0 -81
- package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.js +0 -109
- package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +0 -9
- package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
- package/types/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts +0 -40
- package/types/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts +0 -40
- package/types/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts +0 -39
- package/types/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +0 -1
package/CHANGES.md
CHANGED
@@ -34,6 +34,8 @@ To be released.
|
|
34
34
|
- Added `HttpMessageSignaturesSpecDeterminer` interface.
|
35
35
|
- Added `--first-knock` option to `fedify lookup` command.
|
36
36
|
|
37
|
+
- The minimum supported version of Node.js is now 22.0.0.
|
38
|
+
|
37
39
|
[RFC 9421]: https://www.rfc-editor.org/rfc/rfc9421
|
38
40
|
[#208]: https://github.com/fedify-dev/fedify/issues/208
|
39
41
|
[#227]: https://github.com/fedify-dev/fedify/issues/227
|
package/esm/deno.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export default {
|
2
2
|
"name": "@fedify/fedify",
|
3
|
-
"version": "1.6.0-dev.
|
3
|
+
"version": "1.6.0-dev.812+f522d042",
|
4
4
|
"license": "MIT",
|
5
5
|
"exports": {
|
6
6
|
".": "./mod.ts",
|
@@ -25,12 +25,12 @@ export default {
|
|
25
25
|
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
|
26
26
|
"@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0",
|
27
27
|
"@std/assert": "jsr:@std/assert@^0.226.0",
|
28
|
-
"@std/encoding": "jsr:@std/encoding@1.0.7",
|
29
28
|
"@std/http": "jsr:@std/http@^1.0.6",
|
30
29
|
"@std/testing": "jsr:@std/testing@^0.224.0",
|
31
30
|
"@std/url": "jsr:@std/url@^0.225.1",
|
32
31
|
"@std/yaml": "jsr:@std/yaml@^0.224.3",
|
33
32
|
"asn1js": "npm:asn1js@^3.0.5",
|
33
|
+
"byte-encodings": "npm:byte-encodings@^1.0.11",
|
34
34
|
"fast-check": "npm:fast-check@^3.22.0",
|
35
35
|
"json-canon": "npm:json-canon@^1.0.1",
|
36
36
|
"jsonld": "npm:jsonld@^8.3.2",
|
package/esm/runtime/key.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as dntShim from "../_dnt.shims.js";
|
2
|
-
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/1.0.7/base64.js";
|
3
|
-
import { decodeBase64Url } from "../deps/jsr.io/@std/encoding/1.0.7/base64url.js";
|
4
|
-
import { decodeHex } from "../deps/jsr.io/@std/encoding/1.0.7/hex.js";
|
5
2
|
import { Integer, Sequence } from "asn1js";
|
6
|
-
import {
|
3
|
+
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
4
|
+
import { decodeBase64Url } from "byte-encodings/base64url";
|
5
|
+
import { decodeHex } from "byte-encodings/hex";
|
7
6
|
import { addPrefix, getCodeFromData, rmPrefix } from "multicodec";
|
8
7
|
import { createPublicKey } from "node:crypto";
|
9
8
|
import { PublicKeyInfo } from "pkijs";
|
9
|
+
import { decode, encode } from "./multibase/index.js";
|
10
10
|
import { validateCryptoKey } from "../sig/key.js";
|
11
11
|
const algorithms = {
|
12
12
|
"1.2.840.113549.1.1.1": { name: "RSASSA-PKCS1-v1_5", hash: "SHA-256" },
|
package/esm/sig/http.js
CHANGED
@@ -2,8 +2,8 @@ import * as dntShim from "../_dnt.shims.js";
|
|
2
2
|
import { getLogger } from "@logtape/logtape";
|
3
3
|
import { SpanStatusCode, trace, } from "@opentelemetry/api";
|
4
4
|
import { ATTR_HTTP_REQUEST_HEADER, ATTR_HTTP_REQUEST_METHOD, ATTR_URL_FULL, } from "@opentelemetry/semantic-conventions";
|
5
|
-
import { decodeBase64, encodeBase64 } from "
|
6
|
-
import { encodeHex } from "
|
5
|
+
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
6
|
+
import { encodeHex } from "byte-encodings/hex";
|
7
7
|
import { decodeDict, encodeItem, Item, } from "structured-field-values";
|
8
8
|
import metadata from "../deno.js";
|
9
9
|
import { CryptographicKey } from "../vocab/vocab.js";
|
package/esm/sig/ld.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as dntShim from "../_dnt.shims.js";
|
2
2
|
import { getLogger } from "@logtape/logtape";
|
3
3
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
4
|
-
import { decodeBase64, encodeBase64 } from "
|
5
|
-
import { encodeHex } from "
|
4
|
+
import { decodeBase64, encodeBase64 } from "byte-encodings/base64";
|
5
|
+
import { encodeHex } from "byte-encodings/hex";
|
6
6
|
// @ts-ignore TS7016
|
7
7
|
import jsonld from "jsonld";
|
8
8
|
import metadata from "../deno.js";
|
package/esm/sig/proof.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as dntShim from "../_dnt.shims.js";
|
2
2
|
import { getLogger } from "@logtape/logtape";
|
3
3
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
4
|
-
import { encodeHex } from "
|
4
|
+
import { encodeHex } from "byte-encodings/hex";
|
5
5
|
// @ts-ignore: json-canon is not typed
|
6
6
|
import serialize from "json-canon";
|
7
7
|
import metadata from "../deno.js";
|