@fedify/fedify 1.4.1 → 1.4.3
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 +132 -0
- package/esm/deno.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_constants.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_shared.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_test_comparator_set.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/can_parse.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/equals.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format_range.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than_range.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/increment.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_semver.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than_range.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse_range.js +7 -9
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/range_intersects.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/satisfies.js +1 -1
- package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse_range.js +1 -1
- package/esm/deps/jsr.io/@std/semver/1.0.4/types.js +3 -0
- package/esm/nodeinfo/client.js +1 -1
- package/esm/nodeinfo/mod.js +1 -1
- package/esm/nodeinfo/types.js +1 -1
- package/esm/runtime/key.js +1 -1
- package/esm/vocab/follow.yaml +3 -0
- package/esm/vocab/undo.yaml +3 -0
- package/esm/vocab/update.yaml +3 -0
- package/esm/vocab/vocab.js +185 -176
- package/package.json +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_shared.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_test_comparator_set.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/can_parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/compare.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/difference.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/equals.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_or_equal.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/increment.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_semver.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_or_equal.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/max_satisfying.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/min_satisfying.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/not_equals.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/1.0.4/parse_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/range_intersects.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/satisfies.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse_range.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/types.d.ts.map +1 -1
- package/types/nodeinfo/mod.d.ts +1 -1
- package/types/nodeinfo/types.d.ts +1 -1
- package/types/vocab/vocab.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/semver/1.0.3/types.js +0 -3
- package/types/deps/jsr.io/@std/semver/1.0.3/parse_range.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/compare.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/difference.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_or_equal.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_range.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_or_equal.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/max_satisfying.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/min_satisfying.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/not_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse.js +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_shared.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_test_comparator_set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/can_parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/compare.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/difference.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/equals.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_or_equal.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/increment.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_semver.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_or_equal.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/max_satisfying.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/min_satisfying.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/not_equals.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/range_intersects.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/satisfies.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse_range.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/types.d.ts +0 -0
package/CHANGES.md
CHANGED
@@ -3,6 +3,32 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.4.3
|
7
|
+
-------------
|
8
|
+
|
9
|
+
Released on February 22, 2025.
|
10
|
+
|
11
|
+
- Added the following default contexts to `Follow`, `Undo`, and `Update`
|
12
|
+
classes:
|
13
|
+
|
14
|
+
- <https://w3id.org/security/v1>
|
15
|
+
- <https://www.w3.org/ns/did/v1>
|
16
|
+
- <https://w3id.org/security/multikey/v1>
|
17
|
+
|
18
|
+
|
19
|
+
Version 1.4.2
|
20
|
+
-------------
|
21
|
+
|
22
|
+
Released on February 19, 2025.
|
23
|
+
|
24
|
+
- Fixed a bug where the `fedify init` command had failed to locate package
|
25
|
+
managers on Windows. [[#210]]
|
26
|
+
|
27
|
+
- The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
|
28
|
+
to log messages to a file. If the variable is set, the command logs
|
29
|
+
messages to the file specified by the variable.
|
30
|
+
|
31
|
+
|
6
32
|
Version 1.4.1
|
7
33
|
-------------
|
8
34
|
|
@@ -101,6 +127,32 @@ Released on February 5, 2025.
|
|
101
127
|
[#195]: https://github.com/fedify-dev/fedify/issues/195
|
102
128
|
|
103
129
|
|
130
|
+
Version 1.3.10
|
131
|
+
--------------
|
132
|
+
|
133
|
+
Released on February 22, 2025.
|
134
|
+
|
135
|
+
- Added the following default contexts to `Follow`, `Undo`, and `Update`
|
136
|
+
classes:
|
137
|
+
|
138
|
+
- <https://w3id.org/security/v1>
|
139
|
+
- <https://www.w3.org/ns/did/v1>
|
140
|
+
- <https://w3id.org/security/multikey/v1>
|
141
|
+
|
142
|
+
|
143
|
+
Version 1.3.9
|
144
|
+
-------------
|
145
|
+
|
146
|
+
Released on February 19, 2025.
|
147
|
+
|
148
|
+
- Fixed a bug where the `fedify init` command had failed to locate package
|
149
|
+
managers on Windows. [[#210]]
|
150
|
+
|
151
|
+
- The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
|
152
|
+
to log messages to a file. If the variable is set, the command logs
|
153
|
+
messages to the file specified by the variable.
|
154
|
+
|
155
|
+
|
104
156
|
Version 1.3.8
|
105
157
|
-------------
|
106
158
|
|
@@ -315,6 +367,32 @@ Released on November 30, 2024.
|
|
315
367
|
[#193]: https://github.com/fedify-dev/fedify/issues/193
|
316
368
|
|
317
369
|
|
370
|
+
Version 1.2.14
|
371
|
+
--------------
|
372
|
+
|
373
|
+
Released on February 22, 2025.
|
374
|
+
|
375
|
+
- Added the following default contexts to `Follow`, `Undo`, and `Update`
|
376
|
+
classes:
|
377
|
+
|
378
|
+
- <https://w3id.org/security/v1>
|
379
|
+
- <https://www.w3.org/ns/did/v1>
|
380
|
+
- <https://w3id.org/security/multikey/v1>
|
381
|
+
|
382
|
+
|
383
|
+
Version 1.2.13
|
384
|
+
--------------
|
385
|
+
|
386
|
+
Released on February 19, 2025.
|
387
|
+
|
388
|
+
- Fixed a bug where the `fedify init` command had failed to locate package
|
389
|
+
managers on Windows. [[#210]]
|
390
|
+
|
391
|
+
- The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
|
392
|
+
to log messages to a file. If the variable is set, the command logs
|
393
|
+
messages to the file specified by the variable.
|
394
|
+
|
395
|
+
|
318
396
|
Version 1.2.12
|
319
397
|
--------------
|
320
398
|
|
@@ -575,6 +653,32 @@ Released on October 31, 2024.
|
|
575
653
|
[#118]: https://github.com/fedify-dev/fedify/issues/118
|
576
654
|
|
577
655
|
|
656
|
+
Version 1.1.14
|
657
|
+
--------------
|
658
|
+
|
659
|
+
Released on February 22, 2025.
|
660
|
+
|
661
|
+
- Added the following default contexts to `Follow`, `Undo`, and `Update`
|
662
|
+
classes:
|
663
|
+
|
664
|
+
- <https://w3id.org/security/v1>
|
665
|
+
- <https://www.w3.org/ns/did/v1>
|
666
|
+
- <https://w3id.org/security/multikey/v1>
|
667
|
+
|
668
|
+
|
669
|
+
Version 1.1.13
|
670
|
+
--------------
|
671
|
+
|
672
|
+
Released on February 19, 2025.
|
673
|
+
|
674
|
+
- Fixed a bug where the `fedify init` command had failed to locate package
|
675
|
+
managers on Windows. [[#210]]
|
676
|
+
|
677
|
+
- The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
|
678
|
+
to log messages to a file. If the variable is set, the command logs
|
679
|
+
messages to the file specified by the variable.
|
680
|
+
|
681
|
+
|
578
682
|
Version 1.1.12
|
579
683
|
--------------
|
580
684
|
|
@@ -876,6 +980,34 @@ Released on October 20, 2024.
|
|
876
980
|
[#150]: https://github.com/fedify-dev/fedify/issues/150
|
877
981
|
|
878
982
|
|
983
|
+
Version 1.0.17
|
984
|
+
--------------
|
985
|
+
|
986
|
+
Released on February 22, 2025.
|
987
|
+
|
988
|
+
- Added the following default contexts to `Follow`, `Undo`, and `Update`
|
989
|
+
classes:
|
990
|
+
|
991
|
+
- <https://w3id.org/security/v1>
|
992
|
+
- <https://www.w3.org/ns/did/v1>
|
993
|
+
- <https://w3id.org/security/multikey/v1>
|
994
|
+
|
995
|
+
|
996
|
+
Version 1.0.16
|
997
|
+
--------------
|
998
|
+
|
999
|
+
Released on February 19, 2025.
|
1000
|
+
|
1001
|
+
- Fixed a bug where the `fedify init` command had failed to locate package
|
1002
|
+
managers on Windows. [[#210]]
|
1003
|
+
|
1004
|
+
- The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
|
1005
|
+
to log messages to a file. If the variable is set, the command logs
|
1006
|
+
messages to the file specified by the variable.
|
1007
|
+
|
1008
|
+
[#210]: https://github.com/fedify-dev/fedify/issues/210
|
1009
|
+
|
1010
|
+
|
879
1011
|
Version 1.0.15
|
880
1012
|
--------------
|
881
1013
|
|
package/esm/deno.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright 2018-
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
2
2
|
import { isWildcardComparator } from "./_shared.js";
|
3
3
|
import { compare } from "./compare.js";
|
4
4
|
function testComparator(version, comparator) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright 2018-
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
2
2
|
// This module is browser compatible.
|
3
3
|
import { testComparatorSet } from "./_test_comparator_set.js";
|
4
4
|
import { isWildcardComparator } from "./_shared.js";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright 2018-
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
2
2
|
// This module is browser compatible.
|
3
3
|
import { ANY } from "./_constants.js";
|
4
4
|
import { isValidNumber, isValidString } from "./_shared.js";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright 2018-
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
2
2
|
// This module is browser compatible.
|
3
3
|
import { testComparatorSet } from "./_test_comparator_set.js";
|
4
4
|
import { isWildcardComparator } from "./_shared.js";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
// Copyright Isaac Z. Schlueter and Contributors. All rights reserved. ISC license.
|
2
|
-
// Copyright 2018-
|
2
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
3
3
|
// This module is browser compatible.
|
4
4
|
/**
|
5
5
|
* The Semantic Version parser.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright 2018-
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
2
2
|
// This module is browser compatible.
|
3
3
|
import { COMPARATOR_REGEXP, OPERATOR_XRANGE_REGEXP, parseBuild, parseNumber, parsePrerelease, XRANGE, } from "./_shared.js";
|
4
4
|
import { ALL, ANY } from "./_constants.js";
|
@@ -95,9 +95,7 @@ function handleRightHyphenRangeGroups(rightGroups) {
|
|
95
95
|
major: +rightGroups.major,
|
96
96
|
minor: +rightGroups.minor,
|
97
97
|
patch: +rightGroups.patch,
|
98
|
-
prerelease:
|
99
|
-
? parsePrerelease(rightGroups.prerelease)
|
100
|
-
: [],
|
98
|
+
prerelease: [],
|
101
99
|
build: [],
|
102
100
|
};
|
103
101
|
}
|
@@ -105,16 +103,16 @@ function parseHyphenRange(range) {
|
|
105
103
|
const leftMatch = range.match(new RegExp(`^${XRANGE}`));
|
106
104
|
const leftGroup = leftMatch?.groups;
|
107
105
|
if (!leftGroup)
|
108
|
-
return;
|
106
|
+
return null;
|
109
107
|
const leftLength = leftMatch[0].length;
|
110
108
|
const hyphenMatch = range.slice(leftLength).match(/^\s+-\s+/);
|
111
109
|
if (!hyphenMatch)
|
112
|
-
return;
|
110
|
+
return null;
|
113
111
|
const hyphenLength = hyphenMatch[0].length;
|
114
112
|
const rightMatch = range.slice(leftLength + hyphenLength).match(new RegExp(`^${XRANGE}\\s*$`));
|
115
113
|
const rightGroups = rightMatch?.groups;
|
116
114
|
if (!rightGroups)
|
117
|
-
return;
|
115
|
+
return null;
|
118
116
|
const from = handleLeftHyphenRangeGroups(leftGroup);
|
119
117
|
const to = handleRightHyphenRangeGroups(rightGroups);
|
120
118
|
return [from, to].filter(Boolean);
|
@@ -203,7 +201,7 @@ function handleLessThanOperator(groups) {
|
|
203
201
|
if (minorIsWildcard) {
|
204
202
|
if (patchIsWildcard)
|
205
203
|
return [{ operator: "<", major, minor: 0, patch: 0 }];
|
206
|
-
return [{ operator: "<", major, minor, patch: 0 }];
|
204
|
+
return [{ operator: "<", major, minor: 0, patch: 0 }];
|
207
205
|
}
|
208
206
|
if (patchIsWildcard)
|
209
207
|
return [{ operator: "<", major, minor, patch: 0 }];
|
@@ -261,7 +259,7 @@ function handleGreaterOrEqualOperator(groups) {
|
|
261
259
|
if (minorIsWildcard) {
|
262
260
|
if (patchIsWildcard)
|
263
261
|
return [{ operator: ">=", major, minor: 0, patch: 0 }];
|
264
|
-
return [{ operator: ">=", major, minor, patch: 0 }];
|
262
|
+
return [{ operator: ">=", major, minor: 0, patch: 0 }];
|
265
263
|
}
|
266
264
|
if (patchIsWildcard)
|
267
265
|
return [{ operator: ">=", major, minor, patch: 0 }];
|
package/esm/nodeinfo/client.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { getLogger } from "@logtape/logtape";
|
2
|
-
import { parse } from "../deps/jsr.io/@std/semver/1.0.
|
2
|
+
import { parse } from "../deps/jsr.io/@std/semver/1.0.4/mod.js";
|
3
3
|
import { getUserAgent, } from "../runtime/docloader.js";
|
4
4
|
const logger = getLogger(["fedify", "nodeinfo", "client"]);
|
5
5
|
export async function getNodeInfo(url, options = {}) {
|
package/esm/nodeinfo/mod.js
CHANGED
@@ -5,6 +5,6 @@
|
|
5
5
|
* @module
|
6
6
|
* @since 0.2.0
|
7
7
|
*/
|
8
|
-
export { format as formatSemVer, parse as parseSemVer, } from "../deps/jsr.io/@std/semver/1.0.
|
8
|
+
export { format as formatSemVer, parse as parseSemVer, } from "../deps/jsr.io/@std/semver/1.0.4/mod.js";
|
9
9
|
export { getNodeInfo, parseNodeInfo, } from "./client.js";
|
10
10
|
export * from "./types.js";
|
package/esm/nodeinfo/types.js
CHANGED
package/esm/runtime/key.js
CHANGED
@@ -72,7 +72,7 @@ export async function importMultibaseKey(key) {
|
|
72
72
|
type: "pkcs1",
|
73
73
|
});
|
74
74
|
const spki = keyObject.export({ type: "spki", format: "der" }).buffer;
|
75
|
-
return await dntShim.crypto.subtle.importKey("spki", spki, { name: "RSASSA-PKCS1-v1_5", hash: "SHA-256" }, true, ["verify"]);
|
75
|
+
return await dntShim.crypto.subtle.importKey("spki", new Uint8Array(spki), { name: "RSASSA-PKCS1-v1_5", hash: "SHA-256" }, true, ["verify"]);
|
76
76
|
}
|
77
77
|
else if (code === 0xed) { // ed25519-pub
|
78
78
|
return await dntShim.crypto.subtle.importKey("raw", content, "Ed25519", true, ["verify"]);
|
package/esm/vocab/follow.yaml
CHANGED
@@ -12,5 +12,8 @@ description: |
|
|
12
12
|
defaultContext:
|
13
13
|
- "https://w3id.org/identity/v1"
|
14
14
|
- "https://www.w3.org/ns/activitystreams"
|
15
|
+
- "https://w3id.org/security/v1"
|
15
16
|
- "https://w3id.org/security/data-integrity/v1"
|
17
|
+
- "https://www.w3.org/ns/did/v1"
|
18
|
+
- "https://w3id.org/security/multikey/v1"
|
16
19
|
properties: []
|
package/esm/vocab/undo.yaml
CHANGED
@@ -15,5 +15,8 @@ description: |
|
|
15
15
|
defaultContext:
|
16
16
|
- "https://w3id.org/identity/v1"
|
17
17
|
- "https://www.w3.org/ns/activitystreams"
|
18
|
+
- "https://w3id.org/security/v1"
|
18
19
|
- "https://w3id.org/security/data-integrity/v1"
|
20
|
+
- "https://www.w3.org/ns/did/v1"
|
21
|
+
- "https://w3id.org/security/multikey/v1"
|
19
22
|
properties: []
|
package/esm/vocab/update.yaml
CHANGED
@@ -13,7 +13,10 @@ description: |
|
|
13
13
|
defaultContext:
|
14
14
|
- "https://w3id.org/identity/v1"
|
15
15
|
- "https://www.w3.org/ns/activitystreams"
|
16
|
+
- "https://w3id.org/security/v1"
|
16
17
|
- "https://w3id.org/security/data-integrity/v1"
|
18
|
+
- "https://www.w3.org/ns/did/v1"
|
19
|
+
- "https://w3id.org/security/multikey/v1"
|
17
20
|
- alsoKnownAs:
|
18
21
|
"@id": "as:alsoKnownAs"
|
19
22
|
"@type": "@id"
|