@fedify/fedify 1.3.8 → 1.3.10

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 (103) hide show
  1. package/CHANGES.md +106 -0
  2. package/esm/deno.js +1 -1
  3. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_constants.js +1 -1
  4. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_shared.js +1 -1
  5. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_test_comparator_set.js +1 -1
  6. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/can_parse.js +1 -1
  7. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/equals.js +1 -1
  8. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format_range.js +1 -1
  9. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than.js +1 -1
  10. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than_range.js +1 -1
  11. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/increment.js +1 -1
  12. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_semver.js +1 -1
  13. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than_range.js +1 -1
  14. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/mod.js +1 -1
  15. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse_range.js +7 -9
  16. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/range_intersects.js +1 -1
  17. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/satisfies.js +1 -1
  18. package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse_range.js +1 -1
  19. package/esm/deps/jsr.io/@std/semver/1.0.4/types.js +3 -0
  20. package/esm/nodeinfo/client.js +1 -1
  21. package/esm/nodeinfo/mod.js +1 -1
  22. package/esm/nodeinfo/types.js +1 -1
  23. package/esm/runtime/key.js +1 -1
  24. package/esm/vocab/follow.yaml +3 -0
  25. package/esm/vocab/undo.yaml +3 -0
  26. package/esm/vocab/update.yaml +3 -0
  27. package/esm/vocab/vocab.js +182 -173
  28. package/package.json +1 -1
  29. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_constants.d.ts.map +1 -1
  30. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_shared.d.ts.map +1 -1
  31. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_test_comparator_set.d.ts.map +1 -1
  32. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/can_parse.d.ts.map +1 -1
  33. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/compare.d.ts.map +1 -1
  34. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/difference.d.ts.map +1 -1
  35. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/equals.d.ts.map +1 -1
  36. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format.d.ts.map +1 -1
  37. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format_range.d.ts.map +1 -1
  38. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_or_equal.d.ts.map +1 -1
  39. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than.d.ts.map +1 -1
  40. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than_range.d.ts.map +1 -1
  41. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/increment.d.ts.map +1 -1
  42. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_range.d.ts.map +1 -1
  43. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_semver.d.ts.map +1 -1
  44. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_or_equal.d.ts.map +1 -1
  45. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than.d.ts.map +1 -1
  46. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than_range.d.ts.map +1 -1
  47. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/max_satisfying.d.ts.map +1 -1
  48. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/min_satisfying.d.ts.map +1 -1
  49. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/mod.d.ts.map +1 -1
  50. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/not_equals.d.ts.map +1 -1
  51. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse.d.ts.map +1 -1
  52. package/types/deps/jsr.io/@std/semver/1.0.4/parse_range.d.ts.map +1 -0
  53. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/range_intersects.d.ts.map +1 -1
  54. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/satisfies.d.ts.map +1 -1
  55. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse.d.ts.map +1 -1
  56. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse_range.d.ts.map +1 -1
  57. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/types.d.ts.map +1 -1
  58. package/types/nodeinfo/mod.d.ts +1 -1
  59. package/types/nodeinfo/types.d.ts +1 -1
  60. package/types/vocab/vocab.d.ts.map +1 -1
  61. package/esm/deps/jsr.io/@std/semver/1.0.3/types.js +0 -3
  62. package/types/deps/jsr.io/@std/semver/1.0.3/parse_range.d.ts.map +0 -1
  63. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/compare.js +0 -0
  64. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/difference.js +0 -0
  65. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format.js +0 -0
  66. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_or_equal.js +0 -0
  67. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_range.js +0 -0
  68. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_or_equal.js +0 -0
  69. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than.js +0 -0
  70. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/max_satisfying.js +0 -0
  71. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/min_satisfying.js +0 -0
  72. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/not_equals.js +0 -0
  73. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse.js +0 -0
  74. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse.js +0 -0
  75. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_constants.d.ts +0 -0
  76. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_shared.d.ts +0 -0
  77. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_test_comparator_set.d.ts +0 -0
  78. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/can_parse.d.ts +0 -0
  79. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/compare.d.ts +0 -0
  80. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/difference.d.ts +0 -0
  81. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/equals.d.ts +0 -0
  82. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format.d.ts +0 -0
  83. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format_range.d.ts +0 -0
  84. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_or_equal.d.ts +0 -0
  85. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than.d.ts +0 -0
  86. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than_range.d.ts +0 -0
  87. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/increment.d.ts +0 -0
  88. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_range.d.ts +0 -0
  89. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_semver.d.ts +0 -0
  90. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_or_equal.d.ts +0 -0
  91. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than.d.ts +0 -0
  92. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than_range.d.ts +0 -0
  93. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/max_satisfying.d.ts +0 -0
  94. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/min_satisfying.d.ts +0 -0
  95. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/mod.d.ts +0 -0
  96. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/not_equals.d.ts +0 -0
  97. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse.d.ts +0 -0
  98. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse_range.d.ts +0 -0
  99. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/range_intersects.d.ts +0 -0
  100. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/satisfies.d.ts +0 -0
  101. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse.d.ts +0 -0
  102. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse_range.d.ts +0 -0
  103. /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.3.10
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.3.9
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.3.8
7
33
  -------------
8
34
 
@@ -217,6 +243,32 @@ Released on November 30, 2024.
217
243
  [#193]: https://github.com/fedify-dev/fedify/issues/193
218
244
 
219
245
 
246
+ Version 1.2.14
247
+ --------------
248
+
249
+ Released on February 22, 2025.
250
+
251
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
252
+ classes:
253
+
254
+ - <https://w3id.org/security/v1>
255
+ - <https://www.w3.org/ns/did/v1>
256
+ - <https://w3id.org/security/multikey/v1>
257
+
258
+
259
+ Version 1.2.13
260
+ --------------
261
+
262
+ Released on February 19, 2025.
263
+
264
+ - Fixed a bug where the `fedify init` command had failed to locate package
265
+ managers on Windows. [[#210]]
266
+
267
+ - The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
268
+ to log messages to a file. If the variable is set, the command logs
269
+ messages to the file specified by the variable.
270
+
271
+
220
272
  Version 1.2.12
221
273
  --------------
222
274
 
@@ -477,6 +529,32 @@ Released on October 31, 2024.
477
529
  [#118]: https://github.com/fedify-dev/fedify/issues/118
478
530
 
479
531
 
532
+ Version 1.1.14
533
+ --------------
534
+
535
+ Released on February 22, 2025.
536
+
537
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
538
+ classes:
539
+
540
+ - <https://w3id.org/security/v1>
541
+ - <https://www.w3.org/ns/did/v1>
542
+ - <https://w3id.org/security/multikey/v1>
543
+
544
+
545
+ Version 1.1.13
546
+ --------------
547
+
548
+ Released on February 19, 2025.
549
+
550
+ - Fixed a bug where the `fedify init` command had failed to locate package
551
+ managers on Windows. [[#210]]
552
+
553
+ - The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
554
+ to log messages to a file. If the variable is set, the command logs
555
+ messages to the file specified by the variable.
556
+
557
+
480
558
  Version 1.1.12
481
559
  --------------
482
560
 
@@ -778,6 +856,34 @@ Released on October 20, 2024.
778
856
  [#150]: https://github.com/fedify-dev/fedify/issues/150
779
857
 
780
858
 
859
+ Version 1.0.17
860
+ --------------
861
+
862
+ Released on February 22, 2025.
863
+
864
+ - Added the following default contexts to `Follow`, `Undo`, and `Update`
865
+ classes:
866
+
867
+ - <https://w3id.org/security/v1>
868
+ - <https://www.w3.org/ns/did/v1>
869
+ - <https://w3id.org/security/multikey/v1>
870
+
871
+
872
+ Version 1.0.16
873
+ --------------
874
+
875
+ Released on February 19, 2025.
876
+
877
+ - Fixed a bug where the `fedify init` command had failed to locate package
878
+ managers on Windows. [[#210]]
879
+
880
+ - The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
881
+ to log messages to a file. If the variable is set, the command logs
882
+ messages to the file specified by the variable.
883
+
884
+ [#210]: https://github.com/fedify-dev/fedify/issues/210
885
+
886
+
781
887
  Version 1.0.15
782
888
  --------------
783
889
 
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  /**
3
3
  * The minimum valid SemVer object. Equivalent to `0.0.0`.
4
4
  */
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  export function compareNumber(a, b) {
3
3
  if (isNaN(a) || isNaN(b)) {
4
4
  throw new Error("Cannot compare against non-numbers");
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
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-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { parse } from "./parse.js";
4
4
  /**
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { compare } from "./compare.js";
4
4
  /**
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { format } from "./format.js";
4
4
  import { isWildcardComparator } from "./_shared.js";
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { compare } from "./compare.js";
4
4
  /**
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
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-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { parseBuild } from "./_shared.js";
4
4
  function bumpPrereleaseNumber(prerelease = []) {
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
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-2024 the Deno authors. All rights reserved. MIT license.
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-2024 the Deno authors. All rights reserved. MIT license.
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-2024 the Deno authors. All rights reserved. MIT license.
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: rightGroups.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 }];
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { isWildcardComparator } from "./_shared.js";
4
4
  import { compare } from "./compare.js";
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  import { testComparatorSet } from "./_test_comparator_set.js";
3
3
  /**
4
4
  * Test to see if the SemVer satisfies the range.
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { parseRange } from "./parse_range.js";
4
4
  /**
@@ -0,0 +1,3 @@
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
+ // This module is browser compatible.
3
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { getLogger } from "@logtape/logtape";
2
- import { parse } from "../deps/jsr.io/@std/semver/1.0.3/mod.js";
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 = {}) {
@@ -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.3/mod.js";
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";
@@ -1,4 +1,4 @@
1
- import { format } from "../deps/jsr.io/@std/semver/1.0.3/mod.js";
1
+ import { format } from "../deps/jsr.io/@std/semver/1.0.4/mod.js";
2
2
  /**
3
3
  * Converts a {@link NodeInfo} object to a JSON value.
4
4
  * @param nodeInfo The {@link NodeInfo} object to convert.
@@ -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"]);
@@ -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: []
@@ -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: []
@@ -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"