@fedify/fedify 1.4.0 → 1.4.2

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 (99) hide show
  1. package/CHANGES.md +132 -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/vocab/vocab.js +326 -176
  24. package/package.json +1 -1
  25. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_constants.d.ts.map +1 -1
  26. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_shared.d.ts.map +1 -1
  27. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_test_comparator_set.d.ts.map +1 -1
  28. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/can_parse.d.ts.map +1 -1
  29. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/compare.d.ts.map +1 -1
  30. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/difference.d.ts.map +1 -1
  31. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/equals.d.ts.map +1 -1
  32. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format.d.ts.map +1 -1
  33. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format_range.d.ts.map +1 -1
  34. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_or_equal.d.ts.map +1 -1
  35. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than.d.ts.map +1 -1
  36. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than_range.d.ts.map +1 -1
  37. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/increment.d.ts.map +1 -1
  38. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_range.d.ts.map +1 -1
  39. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_semver.d.ts.map +1 -1
  40. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_or_equal.d.ts.map +1 -1
  41. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than.d.ts.map +1 -1
  42. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than_range.d.ts.map +1 -1
  43. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/max_satisfying.d.ts.map +1 -1
  44. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/min_satisfying.d.ts.map +1 -1
  45. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/mod.d.ts.map +1 -1
  46. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/not_equals.d.ts.map +1 -1
  47. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse.d.ts.map +1 -1
  48. package/types/deps/jsr.io/@std/semver/1.0.4/parse_range.d.ts.map +1 -0
  49. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/range_intersects.d.ts.map +1 -1
  50. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/satisfies.d.ts.map +1 -1
  51. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse.d.ts.map +1 -1
  52. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse_range.d.ts.map +1 -1
  53. package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/types.d.ts.map +1 -1
  54. package/types/nodeinfo/mod.d.ts +1 -1
  55. package/types/nodeinfo/types.d.ts +1 -1
  56. package/types/vocab/vocab.d.ts.map +1 -1
  57. package/esm/deps/jsr.io/@std/semver/1.0.3/types.js +0 -3
  58. package/types/deps/jsr.io/@std/semver/1.0.3/parse_range.d.ts.map +0 -1
  59. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/compare.js +0 -0
  60. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/difference.js +0 -0
  61. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format.js +0 -0
  62. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_or_equal.js +0 -0
  63. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_range.js +0 -0
  64. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_or_equal.js +0 -0
  65. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than.js +0 -0
  66. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/max_satisfying.js +0 -0
  67. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/min_satisfying.js +0 -0
  68. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/not_equals.js +0 -0
  69. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse.js +0 -0
  70. /package/esm/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse.js +0 -0
  71. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_constants.d.ts +0 -0
  72. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_shared.d.ts +0 -0
  73. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/_test_comparator_set.d.ts +0 -0
  74. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/can_parse.d.ts +0 -0
  75. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/compare.d.ts +0 -0
  76. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/difference.d.ts +0 -0
  77. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/equals.d.ts +0 -0
  78. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format.d.ts +0 -0
  79. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/format_range.d.ts +0 -0
  80. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_or_equal.d.ts +0 -0
  81. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than.d.ts +0 -0
  82. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/greater_than_range.d.ts +0 -0
  83. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/increment.d.ts +0 -0
  84. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_range.d.ts +0 -0
  85. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/is_semver.d.ts +0 -0
  86. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_or_equal.d.ts +0 -0
  87. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than.d.ts +0 -0
  88. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/less_than_range.d.ts +0 -0
  89. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/max_satisfying.d.ts +0 -0
  90. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/min_satisfying.d.ts +0 -0
  91. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/mod.d.ts +0 -0
  92. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/not_equals.d.ts +0 -0
  93. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse.d.ts +0 -0
  94. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/parse_range.d.ts +0 -0
  95. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/range_intersects.d.ts +0 -0
  96. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/satisfies.d.ts +0 -0
  97. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse.d.ts +0 -0
  98. /package/types/deps/jsr.io/@std/semver/{1.0.3 → 1.0.4}/try_parse_range.d.ts +0 -0
  99. /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.2
7
+ -------------
8
+
9
+ Released on February 19, 2025.
10
+
11
+ - Fixed a bug where the `fedify init` command had failed to locate package
12
+ managers on Windows. [[#210]]
13
+
14
+ - The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
15
+ to log messages to a file. If the variable is set, the command logs
16
+ messages to the file specified by the variable.
17
+
18
+
19
+ Version 1.4.1
20
+ -------------
21
+
22
+ Released on February 10, 2025.
23
+
24
+ - Fixed a bug with nested object hydration in Activity Vocabulary API where
25
+ deeply nested properties (like `Object.getAttribution()` on
26
+ `Activity.getObject()`) were't being properly hydrated during `toJsonLd()`
27
+ calls. Previously, subsequent calls to `toJsonLd()` on nested objects could
28
+ result in inconsistent JSON-LD output where nested objects remained as URLs
29
+ instead of being fully expanded.
30
+
31
+
6
32
  Version 1.4.0
7
33
  -------------
8
34
 
@@ -88,6 +114,32 @@ Released on February 5, 2025.
88
114
  [#195]: https://github.com/fedify-dev/fedify/issues/195
89
115
 
90
116
 
117
+ Version 1.3.9
118
+ -------------
119
+
120
+ Released on February 19, 2025.
121
+
122
+ - Fixed a bug where the `fedify init` command had failed to locate package
123
+ managers on Windows. [[#210]]
124
+
125
+ - The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
126
+ to log messages to a file. If the variable is set, the command logs
127
+ messages to the file specified by the variable.
128
+
129
+
130
+ Version 1.3.8
131
+ -------------
132
+
133
+ Released on February 10, 2025.
134
+
135
+ - Fixed a bug with nested object hydration in Activity Vocabulary API where
136
+ deeply nested properties (like `Object.getAttribution()` on
137
+ `Activity.getObject()`) were't being properly hydrated during `toJsonLd()`
138
+ calls. Previously, subsequent calls to `toJsonLd()` on nested objects could
139
+ result in inconsistent JSON-LD output where nested objects remained as URLs
140
+ instead of being fully expanded.
141
+
142
+
91
143
  Version 1.3.7
92
144
  -------------
93
145
 
@@ -289,6 +341,32 @@ Released on November 30, 2024.
289
341
  [#193]: https://github.com/fedify-dev/fedify/issues/193
290
342
 
291
343
 
344
+ Version 1.2.13
345
+ --------------
346
+
347
+ Released on February 19, 2025.
348
+
349
+ - Fixed a bug where the `fedify init` command had failed to locate package
350
+ managers on Windows. [[#210]]
351
+
352
+ - The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
353
+ to log messages to a file. If the variable is set, the command logs
354
+ messages to the file specified by the variable.
355
+
356
+
357
+ Version 1.2.12
358
+ --------------
359
+
360
+ Released on February 10, 2025.
361
+
362
+ - Fixed a bug with nested object hydration in Activity Vocabulary API where
363
+ deeply nested properties (like `Object.getAttribution()` on
364
+ `Activity.getObject()`) were't being properly hydrated during `toJsonLd()`
365
+ calls. Previously, subsequent calls to `toJsonLd()` on nested objects could
366
+ result in inconsistent JSON-LD output where nested objects remained as URLs
367
+ instead of being fully expanded.
368
+
369
+
292
370
  Version 1.2.11
293
371
  --------------
294
372
 
@@ -536,6 +614,32 @@ Released on October 31, 2024.
536
614
  [#118]: https://github.com/fedify-dev/fedify/issues/118
537
615
 
538
616
 
617
+ Version 1.1.13
618
+ --------------
619
+
620
+ Released on February 19, 2025.
621
+
622
+ - Fixed a bug where the `fedify init` command had failed to locate package
623
+ managers on Windows. [[#210]]
624
+
625
+ - The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
626
+ to log messages to a file. If the variable is set, the command logs
627
+ messages to the file specified by the variable.
628
+
629
+
630
+ Version 1.1.12
631
+ --------------
632
+
633
+ Released on February 10, 2025.
634
+
635
+ - Fixed a bug with nested object hydration in Activity Vocabulary API where
636
+ deeply nested properties (like `Object.getAttribution()` on
637
+ `Activity.getObject()`) were't being properly hydrated during `toJsonLd()`
638
+ calls. Previously, subsequent calls to `toJsonLd()` on nested objects could
639
+ result in inconsistent JSON-LD output where nested objects remained as URLs
640
+ instead of being fully expanded.
641
+
642
+
539
643
  Version 1.1.11
540
644
  --------------
541
645
 
@@ -824,6 +928,34 @@ Released on October 20, 2024.
824
928
  [#150]: https://github.com/fedify-dev/fedify/issues/150
825
929
 
826
930
 
931
+ Version 1.0.16
932
+ --------------
933
+
934
+ Released on February 19, 2025.
935
+
936
+ - Fixed a bug where the `fedify init` command had failed to locate package
937
+ managers on Windows. [[#210]]
938
+
939
+ - The `fedify` command became aware of `FEDIFY_LOG_FILE` environment variable
940
+ to log messages to a file. If the variable is set, the command logs
941
+ messages to the file specified by the variable.
942
+
943
+ [#210]: https://github.com/fedify-dev/fedify/issues/210
944
+
945
+
946
+ Version 1.0.15
947
+ --------------
948
+
949
+ Released on February 10, 2025.
950
+
951
+ - Fixed a bug with nested object hydration in Activity Vocabulary API where
952
+ deeply nested properties (like `Object.getAttribution()` on
953
+ `Activity.getObject()`) were't being properly hydrated during `toJsonLd()`
954
+ calls. Previously, subsequent calls to `toJsonLd()` on nested objects could
955
+ result in inconsistent JSON-LD output where nested objects remained as URLs
956
+ instead of being fully expanded.
957
+
958
+
827
959
  Version 1.0.14
828
960
  --------------
829
961
 
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
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.