@fedify/fedify 0.9.0-dev.177 → 0.9.0-dev.181
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @fedify/fedify might be problematic. Click here for more details.
- package/CHANGES.md +13 -0
- package/esm/deps/jsr.io/@std/encoding/{0.224.2 → 0.224.3}/base64.js +14 -7
- package/esm/deps/jsr.io/@std/encoding/{0.224.2 → 0.224.3}/hex.js +24 -7
- package/esm/deps/jsr.io/@std/semver/0.224.1/can_parse.js +30 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/compare.js +17 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/difference.js +37 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/equals.js +27 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/format.js +14 -1
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/format_range.js +9 -1
- package/esm/deps/jsr.io/@std/semver/0.224.1/greater_or_equal.js +25 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/greater_than.js +27 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/greater_than_range.js +19 -1
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/increment.js +18 -2
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/is_range.js +10 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/is_semver.js +16 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/less_or_equal.js +25 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/less_than.js +25 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/less_than_range.js +21 -3
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/max_satisfying.js +12 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/min_satisfying.js +12 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/mod.js +3 -2
- package/esm/deps/jsr.io/@std/semver/0.224.1/not_equals.js +24 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/parse.js +16 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/parse_range.js +18 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_intersects.js +16 -1
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_max.js +16 -5
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_min.js +16 -5
- package/esm/deps/jsr.io/@std/semver/0.224.1/satisfies.js +26 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/test_range.js +28 -0
- package/esm/deps/jsr.io/@std/semver/0.224.1/try_parse.js +30 -0
- package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/try_parse_range.js +16 -1
- package/esm/federation/collection.js +1 -1
- package/esm/federation/handler.js +1 -1
- package/esm/federation/middleware.js +7 -3
- package/esm/httpsig/mod.js +60 -283
- package/esm/nodeinfo/types.js +1 -1
- package/esm/runtime/docloader.js +3 -3
- package/esm/runtime/key.js +1 -1
- package/esm/sig/http.js +229 -0
- package/esm/{httpsig → sig}/key.js +0 -3
- package/esm/sig/mod.js +8 -0
- package/esm/sig/owner.js +94 -0
- package/esm/vocab/tombstone.yaml +20 -0
- package/esm/vocab/vocab.js +165 -0
- package/package.json +7 -1
- package/types/deps/jsr.io/@std/assert/0.225.3/assert.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/assert/0.225.3/assertion_error.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{0.224.2/_util.d.ts → 0.224.3/_validate_binary_like.d.ts} +1 -1
- package/types/deps/jsr.io/@std/encoding/0.224.3/_validate_binary_like.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{0.224.2 → 0.224.3}/base64.d.ts +9 -4
- package/types/deps/jsr.io/@std/encoding/0.224.3/base64.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/0.224.3/hex.d.ts +37 -0
- package/types/deps/jsr.io/@std/encoding/0.224.3/hex.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/encoding.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/language.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/media_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/negotiation.d.ts +27 -6
- package/types/deps/jsr.io/@std/http/0.224.2/negotiation.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/_constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_shared.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_test_comparator_set.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/0.224.1/can_parse.d.ts +17 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/can_parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/compare.d.ts +28 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/compare.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/0.224.1/difference.d.ts +27 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/difference.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/equals.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/equals.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/format.d.ts +14 -1
- package/types/deps/jsr.io/@std/semver/0.224.1/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/format_range.d.ts +17 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/format_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_or_equal.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_or_equal.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_than.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_than.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_than_range.d.ts +22 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/greater_than_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/increment.d.ts +18 -2
- package/types/deps/jsr.io/@std/semver/0.224.1/increment.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/is_range.d.ts +10 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/is_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/is_semver.d.ts +16 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/is_semver.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_or_equal.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_or_equal.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_than.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_than.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_than_range.d.ts +22 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/less_than_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/max_satisfying.d.ts +12 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/max_satisfying.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/min_satisfying.d.ts +12 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/min_satisfying.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/mod.d.ts +3 -2
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/semver/0.224.1/not_equals.d.ts +23 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/not_equals.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/parse.d.ts +25 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/parse_range.d.ts +26 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/parse_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/range_intersects.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/range_intersects.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_max.d.ts +16 -5
- package/types/deps/jsr.io/@std/semver/0.224.1/range_max.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/range_min.d.ts +16 -5
- package/types/deps/jsr.io/@std/semver/0.224.1/range_min.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/satisfies.d.ts +24 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/satisfies.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/test_range.d.ts +27 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/test_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/try_parse.d.ts +21 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/try_parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/try_parse_range.d.ts +23 -0
- package/types/deps/jsr.io/@std/semver/0.224.1/try_parse_range.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/types.d.ts +7 -2
- package/types/deps/jsr.io/@std/semver/0.224.1/types.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/text/{0.224.0 → 0.224.1}/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/text/{0.224.0 → 0.224.1}/case.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/text/0.224.1/closest_string.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/text/0.224.1/compare_similarity.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/text/{0.224.0 → 0.224.1}/levenshtein_distance.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/text/0.224.1/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/text/0.224.1/word_similarity_sort.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_dumper/dumper.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_dumper/dumper_state.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_error.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_loader/loader.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_loader/loader_state.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_mark.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_state.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/binary.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/bool.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/float.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/function.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/int.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/map.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/merge.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/nil.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/omap.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/pairs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/seq.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/set.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/str.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/timestamp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/_type/undefined.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/0.224.1/_utils.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/core.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/default.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/extended.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/failsafe.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/json.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/schema.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/stringify.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{0.224.0 → 0.224.1}/type.d.ts.map +1 -1
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/httpsig/mod.d.ts +45 -48
- package/types/httpsig/mod.d.ts.map +1 -1
- package/types/nodeinfo/types.d.ts +1 -1
- package/types/sig/http.d.ts +54 -0
- package/types/sig/http.d.ts.map +1 -0
- package/types/sig/http.test.d.ts.map +1 -0
- package/types/{httpsig → sig}/key.d.ts +0 -3
- package/types/sig/key.d.ts.map +1 -0
- package/types/sig/key.test.d.ts.map +1 -0
- package/types/sig/mod.d.ts +9 -0
- package/types/sig/mod.d.ts.map +1 -0
- package/types/sig/owner.d.ts +50 -0
- package/types/sig/owner.d.ts.map +1 -0
- package/types/sig/owner.test.d.ts.map +1 -0
- package/types/vocab/vocab.d.ts +143 -0
- package/types/vocab/vocab.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/semver/0.224.0/can_parse.js +0 -15
- package/esm/deps/jsr.io/@std/semver/0.224.0/difference.js +0 -16
- package/esm/deps/jsr.io/@std/semver/0.224.0/equals.js +0 -11
- package/esm/deps/jsr.io/@std/semver/0.224.0/greater_or_equal.js +0 -9
- package/esm/deps/jsr.io/@std/semver/0.224.0/greater_than.js +0 -11
- package/esm/deps/jsr.io/@std/semver/0.224.0/less_or_equal.js +0 -9
- package/esm/deps/jsr.io/@std/semver/0.224.0/less_than.js +0 -9
- package/esm/deps/jsr.io/@std/semver/0.224.0/not_equals.js +0 -9
- package/esm/deps/jsr.io/@std/semver/0.224.0/satisfies.js +0 -11
- package/esm/deps/jsr.io/@std/semver/0.224.0/test_range.js +0 -13
- package/esm/deps/jsr.io/@std/semver/0.224.0/try_parse.js +0 -17
- package/types/deps/jsr.io/@std/encoding/0.224.2/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/0.224.2/base64.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/0.224.2/hex.d.ts +0 -24
- package/types/deps/jsr.io/@std/encoding/0.224.2/hex.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/http/0.224.1/negotiation.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/_constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/can_parse.d.ts +0 -2
- package/types/deps/jsr.io/@std/semver/0.224.0/can_parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/compare.d.ts +0 -11
- package/types/deps/jsr.io/@std/semver/0.224.0/compare.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/difference.d.ts +0 -6
- package/types/deps/jsr.io/@std/semver/0.224.0/difference.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/equals.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/equals.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/format_range.d.ts +0 -9
- package/types/deps/jsr.io/@std/semver/0.224.0/format_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_or_equal.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_or_equal.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_than.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_than.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_than_range.d.ts +0 -4
- package/types/deps/jsr.io/@std/semver/0.224.0/greater_than_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/increment.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/is_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/is_semver.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/less_or_equal.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/less_or_equal.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/less_than.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/less_than.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/less_than_range.d.ts +0 -4
- package/types/deps/jsr.io/@std/semver/0.224.0/less_than_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/max_satisfying.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/min_satisfying.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/not_equals.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/not_equals.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/parse.d.ts +0 -9
- package/types/deps/jsr.io/@std/semver/0.224.0/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/parse_range.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/parse_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/range_intersects.d.ts +0 -9
- package/types/deps/jsr.io/@std/semver/0.224.0/range_intersects.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/range_max.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/range_min.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/satisfies.d.ts +0 -9
- package/types/deps/jsr.io/@std/semver/0.224.0/satisfies.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/test_range.d.ts +0 -12
- package/types/deps/jsr.io/@std/semver/0.224.0/test_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/try_parse.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/try_parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/try_parse_range.d.ts +0 -8
- package/types/deps/jsr.io/@std/semver/0.224.0/try_parse_range.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/semver/0.224.0/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/0.224.0/closest_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/0.224.0/compare_similarity.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/0.224.0/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/0.224.0/word_similarity_sort.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/0.224.0/_utils.d.ts.map +0 -1
- package/types/httpsig/key.d.ts.map +0 -1
- package/types/httpsig/key.test.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/encoding/{0.224.2/_util.js → 0.224.3/_validate_binary_like.js} +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/common.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/encoding.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/language.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/media_type.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/negotiation.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_constants.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_shared.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_test_comparator_set.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/types.js +0 -0
- /package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/encoding.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/language.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{0.224.1 → 0.224.2}/_negotiation/media_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_shared.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/_test_comparator_set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/semver/{0.224.0 → 0.224.1}/constants.d.ts +0 -0
@@ -6,11 +6,12 @@
|
|
6
6
|
* @param data The data to encode.
|
7
7
|
* @returns The base64-encoded string.
|
8
8
|
*
|
9
|
-
* @example
|
9
|
+
* @example Usage
|
10
10
|
* ```ts
|
11
11
|
* import { encodeBase64 } from "@std/encoding/base64";
|
12
|
+
* import { assertEquals } from "@std/assert/assert-equals";
|
12
13
|
*
|
13
|
-
* encodeBase64("foobar")
|
14
|
+
* assertEquals(encodeBase64("foobar"), "Zm9vYmFy");
|
14
15
|
* ```
|
15
16
|
*/
|
16
17
|
export declare function encodeBase64(data: ArrayBuffer | Uint8Array | string): string;
|
@@ -22,11 +23,15 @@ export declare function encodeBase64(data: ArrayBuffer | Uint8Array | string): s
|
|
22
23
|
* @param b64 The base64-encoded string to decode.
|
23
24
|
* @returns The decoded data.
|
24
25
|
*
|
25
|
-
* @example
|
26
|
+
* @example Usage
|
26
27
|
* ```ts
|
27
28
|
* import { decodeBase64 } from "@std/encoding/base64";
|
29
|
+
* import { assertEquals } from "@std/assert/assert-equals";
|
28
30
|
*
|
29
|
-
*
|
31
|
+
* assertEquals(
|
32
|
+
* decodeBase64("Zm9vYmFy"),
|
33
|
+
* new TextEncoder().encode("foobar")
|
34
|
+
* );
|
30
35
|
* ```
|
31
36
|
*/
|
32
37
|
export declare function decodeBase64(b64: string): Uint8Array;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base64.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/0.224.3/base64.ts"],"names":[],"mappings":"AA+FA;;;;;;;;;;;;;;;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,UAAU,CAQpD"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* Converts data into a hex-encoded string.
|
3
|
+
*
|
4
|
+
* @param src The data to encode.
|
5
|
+
*
|
6
|
+
* @returns The hex-encoded string.
|
7
|
+
*
|
8
|
+
* @example Usage
|
9
|
+
* ```ts
|
10
|
+
* import { encodeHex } from "@std/encoding/hex";
|
11
|
+
* import { assertEquals } from "@std/assert/assert-equals";
|
12
|
+
*
|
13
|
+
* assertEquals(encodeHex("abc"), "616263");
|
14
|
+
* ```
|
15
|
+
*/
|
16
|
+
export declare function encodeHex(src: string | Uint8Array | ArrayBuffer): string;
|
17
|
+
/**
|
18
|
+
* Decodes the given hex-encoded string. If the input is malformed, an error is
|
19
|
+
* thrown.
|
20
|
+
*
|
21
|
+
* @param src The hex-encoded string to decode.
|
22
|
+
*
|
23
|
+
* @returns The decoded data.
|
24
|
+
*
|
25
|
+
* @example Usage
|
26
|
+
* ```ts
|
27
|
+
* import { decodeHex } from "@std/encoding/hex";
|
28
|
+
* import { assertEquals } from "@std/assert/assert-equals";
|
29
|
+
*
|
30
|
+
* assertEquals(
|
31
|
+
* decodeHex("616263"),
|
32
|
+
* new TextEncoder().encode("abc"),
|
33
|
+
* );
|
34
|
+
* ```
|
35
|
+
*/
|
36
|
+
export declare function decodeHex(src: string): Uint8Array;
|
37
|
+
//# sourceMappingURL=hex.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hex.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/0.224.3/hex.ts"],"names":[],"mappings":"AAwDA;;;;;;;;;;;;;;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,UAAU,CAiBjD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/0.224.
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/0.224.2/_negotiation/common.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,WAAW,GAAG,MAAM,CAQnE;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAEpD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/0.224.
|
1
|
+
{"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/0.224.2/_negotiation/encoding.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AA4GH;;qCAEqC;AACrC,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,MAAM,EAAE,CAkBV"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/0.224.
|
1
|
+
{"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/0.224.2/_negotiation/language.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAkGH,wBAAgB,kBAAkB,CAChC,MAAM,SAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,MAAM,EAAE,CAiBV"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"media_type.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/0.224.
|
1
|
+
{"version":3,"file":"media_type.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/http/0.224.2/_negotiation/media_type.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAiJH,wBAAgB,mBAAmB,CACjC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,EACtB,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,MAAM,EAAE,CAkBV"}
|
@@ -9,7 +9,7 @@ export type Request = {
|
|
9
9
|
* preference. If there are no media types supplied in the request, then any
|
10
10
|
* media type selector will be returned.
|
11
11
|
*
|
12
|
-
* @example
|
12
|
+
* @example Usage
|
13
13
|
* ```ts
|
14
14
|
* import { accepts } from "@std/http/negotiation";
|
15
15
|
*
|
@@ -29,13 +29,16 @@ export type Request = {
|
|
29
29
|
* // "*\/*",
|
30
30
|
* // ]
|
31
31
|
* ```
|
32
|
+
*
|
33
|
+
* @param request The request to get the acceptable media types for.
|
34
|
+
* @returns An array of acceptable media types.
|
32
35
|
*/
|
33
36
|
export declare function accepts(request: Request): string[];
|
34
37
|
/**
|
35
38
|
* For a given set of media types, return the best match accepted in the
|
36
39
|
* request. If no media type matches, then the function returns `undefined`.
|
37
40
|
*
|
38
|
-
* @example
|
41
|
+
* @example Usage
|
39
42
|
* ```ts
|
40
43
|
* import { accepts } from "@std/http/negotiation";
|
41
44
|
*
|
@@ -48,6 +51,10 @@ export declare function accepts(request: Request): string[];
|
|
48
51
|
*
|
49
52
|
* accepts(req, "text/html", "image/webp"); // "text/html";
|
50
53
|
* ```
|
54
|
+
*
|
55
|
+
* @param request The request to get the acceptable media types for.
|
56
|
+
* @param types An array of media types to find the best matching one from.
|
57
|
+
* @returns The best matching media type, if any match.
|
51
58
|
*/
|
52
59
|
export declare function accepts(request: Request, ...types: string[]): string | undefined;
|
53
60
|
/**
|
@@ -55,7 +62,7 @@ export declare function accepts(request: Request, ...types: string[]): string |
|
|
55
62
|
* preference. If there are no encoding supplied in the request, then `["*"]`
|
56
63
|
* is returned, implying any encoding is accepted.
|
57
64
|
*
|
58
|
-
* @example
|
65
|
+
* @example Usage
|
59
66
|
* ```ts
|
60
67
|
* import { acceptsEncodings } from "@std/http/negotiation";
|
61
68
|
*
|
@@ -65,6 +72,9 @@ export declare function accepts(request: Request, ...types: string[]): string |
|
|
65
72
|
*
|
66
73
|
* acceptsEncodings(req); // ["deflate", "gzip", "*"]
|
67
74
|
* ```
|
75
|
+
*
|
76
|
+
* @param request The request to get the acceptable content encodings for.
|
77
|
+
* @returns An array of content encodings this request accepts.
|
68
78
|
*/
|
69
79
|
export declare function acceptsEncodings(request: Request): string[];
|
70
80
|
/**
|
@@ -76,7 +86,7 @@ export declare function acceptsEncodings(request: Request): string[];
|
|
76
86
|
* to ensure that there is a match when the `Accept-Encoding` header is part
|
77
87
|
* of the request.
|
78
88
|
*
|
79
|
-
* @example
|
89
|
+
* @example Usage
|
80
90
|
* ```ts
|
81
91
|
* import { acceptsEncodings } from "@std/http/negotiation";
|
82
92
|
*
|
@@ -86,6 +96,10 @@ export declare function acceptsEncodings(request: Request): string[];
|
|
86
96
|
*
|
87
97
|
* acceptsEncodings(req, "gzip", "identity"); // "gzip"
|
88
98
|
* ```
|
99
|
+
*
|
100
|
+
* @param request The request to get the acceptable content encodings for.
|
101
|
+
* @param encodings An array of encodings to find the best matching one from.
|
102
|
+
* @returns The best matching encoding, if any match.
|
89
103
|
*/
|
90
104
|
export declare function acceptsEncodings(request: Request, ...encodings: string[]): string | undefined;
|
91
105
|
/**
|
@@ -93,7 +107,7 @@ export declare function acceptsEncodings(request: Request, ...encodings: string[
|
|
93
107
|
* preference. If there are no languages supplied in the request, then `["*"]`
|
94
108
|
* is returned, imply any language is accepted.
|
95
109
|
*
|
96
|
-
* @example
|
110
|
+
* @example Usage
|
97
111
|
* ```ts
|
98
112
|
* import { acceptsLanguages } from "@std/http/negotiation";
|
99
113
|
*
|
@@ -105,13 +119,16 @@ export declare function acceptsEncodings(request: Request, ...encodings: string[
|
|
105
119
|
*
|
106
120
|
* acceptsLanguages(req); // ["fr-CH", "fr", "en", "de", "*"]
|
107
121
|
* ```
|
122
|
+
*
|
123
|
+
* @param request The request to get the acceptable languages for.
|
124
|
+
* @returns An array of languages this request accepts.
|
108
125
|
*/
|
109
126
|
export declare function acceptsLanguages(request: Request): string[];
|
110
127
|
/**
|
111
128
|
* For a given set of languages, return the best match accepted in the request.
|
112
129
|
* If no languages match, then the function returns `undefined`.
|
113
130
|
*
|
114
|
-
* @example
|
131
|
+
* @example Usage
|
115
132
|
* ```ts
|
116
133
|
* import { acceptsLanguages } from "@std/http/negotiation";
|
117
134
|
*
|
@@ -123,6 +140,10 @@ export declare function acceptsLanguages(request: Request): string[];
|
|
123
140
|
*
|
124
141
|
* acceptsLanguages(req, "en-gb", "en-us", "en"); // "en"
|
125
142
|
* ```
|
143
|
+
*
|
144
|
+
* @param request The request to get the acceptable language for.
|
145
|
+
* @param langs An array of languages to find the best matching one from.
|
146
|
+
* @returns The best matching language, if any match.
|
126
147
|
*/
|
127
148
|
export declare function acceptsLanguages(request: Request, ...langs: string[]): string | undefined;
|
128
149
|
//# sourceMappingURL=negotiation.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"negotiation.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/http/0.224.2/negotiation.ts"],"names":[],"mappings":"AAcA,yCAAyC;AACzC,MAAM,MAAM,OAAO,GAAG;IACpB,OAAO,EAAE;QACP,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;KACjC,CAAC;CACH,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAAC;AACpD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,OAAO,CACrB,OAAO,EAAE,OAAO,EAChB,GAAG,KAAK,EAAE,MAAM,EAAE,GACjB,MAAM,GAAG,SAAS,CAAC;AAatB;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAAC;AAC7D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,GAAG,SAAS,EAAE,MAAM,EAAE,GACrB,MAAM,GAAG,SAAS,CAAC;AAetB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAAC;AAC7D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,GAAG,KAAK,EAAE,MAAM,EAAE,GACjB,MAAM,GAAG,SAAS,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_constants.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/_constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,uDAQZ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"_shared.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.
|
1
|
+
{"version":3,"file":"_shared.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/_shared.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,wBAAgB,aAAa,CAC3B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,GACR,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAGZ;AAED,wBAAgB,eAAe,CAC7B,EAAE,GAAE,aAAa,CAAC,MAAM,GAAG,MAAM,CAAM,EACvC,EAAE,GAAE,aAAa,CAAC,MAAM,GAAG,MAAM,CAAM,GACtC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAMZ;AAED,wBAAgB,iBAAiB,CAC/B,EAAE,GAAE,aAAa,CAAC,MAAM,GAAG,MAAM,CAAM,EACvC,EAAE,GAAE,aAAa,CAAC,MAAM,GAAG,MAAM,CAAM,GACtC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAoBZ;AAgDD,eAAO,MAAM,WAAW,QAAkC,CAAC;AAgB3D;;;GAGG;AACH,eAAO,MAAM,MAAM,iSAC0H,CAAC;AAE9I;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAElC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAE7B,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAO7D;AAED,eAAO,MAAM,UAAU,MAAM,CAAC;AAE9B;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAO7D;AAGD,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,uBAWjD;AAED,wBAAgB,UAAU,CAAC,aAAa,EAAE,MAAM,YAE/C;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UAI9D;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAM3D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"_test_comparator_set.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.
|
1
|
+
{"version":3,"file":"_test_comparator_set.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/_test_comparator_set.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAgCrD,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,UAAU,EAAE,GAChB,OAAO,CA6BT"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Returns true if the string can be parsed as SemVer.
|
3
|
+
*
|
4
|
+
* @example Usage
|
5
|
+
* ```ts
|
6
|
+
* import { canParse } from "@std/semver/can-parse";
|
7
|
+
* import { assert, assertFalse } from "@std/assert";
|
8
|
+
*
|
9
|
+
* assert(canParse("1.2.3"));
|
10
|
+
* assertFalse(canParse("invalid"));
|
11
|
+
* ```
|
12
|
+
*
|
13
|
+
* @param version The version string to check
|
14
|
+
* @returns `true` if the string can be parsed as SemVer, `false` otherwise
|
15
|
+
*/
|
16
|
+
export declare function canParse(version: string): boolean;
|
17
|
+
//# sourceMappingURL=can_parse.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"can_parse.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/can_parse.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAUjD"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { SemVer } from "./types.js";
|
2
|
+
/**
|
3
|
+
* Compare two semantic version objects.
|
4
|
+
*
|
5
|
+
* Returns `0` if `s0 === s1`, or `1` if `s0` is greater, or `-1` if `s1` is
|
6
|
+
* greater.
|
7
|
+
*
|
8
|
+
* Sorts in ascending order if passed to `Array.sort()`,
|
9
|
+
*
|
10
|
+
* @example Usage
|
11
|
+
* ```ts
|
12
|
+
* import { parse, compare } from "@std/semver";
|
13
|
+
* import { assertEquals } from "@std/assert/assert-equals";
|
14
|
+
*
|
15
|
+
* const s0 = parse("1.2.3");
|
16
|
+
* const s1 = parse("1.2.4");
|
17
|
+
*
|
18
|
+
* assertEquals(compare(s0, s1), -1);
|
19
|
+
* assertEquals(compare(s1, s0), 1);
|
20
|
+
* assertEquals(compare(s0, s0), 0);
|
21
|
+
* ```
|
22
|
+
*
|
23
|
+
* @param s0 The first SemVer to compare
|
24
|
+
* @param s1 The second SemVer to compare
|
25
|
+
* @returns `1` if `s0` is greater, `0` if equal, or `-1` if `s1` is greater
|
26
|
+
*/
|
27
|
+
export declare function compare(s0: SemVer, s1: SemVer): 1 | 0 | -1;
|
28
|
+
//# sourceMappingURL=compare.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"compare.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/compare.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAOzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,OAAO,CACrB,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,GACT,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CASZ"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/constants.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,GAAG,EAAE,MAMjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG,EAAE,MAMjB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,OAAO,EAAE,MAMrB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,GAAG,EAAE,MAMjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,GAAG,EAAE,UAGjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,IAAI,EAAE,UAGlB,CAAC"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import type { ReleaseType, SemVer } from "./types.js";
|
2
|
+
/**
|
3
|
+
* Returns difference between two versions by the release type,
|
4
|
+
* or `undefined` if the versions are the same.
|
5
|
+
*
|
6
|
+
* @example Usage
|
7
|
+
* ```ts
|
8
|
+
* import { parse, difference } from "@std/semver";
|
9
|
+
* import { assertEquals } from "@std/assert/assert-equals";
|
10
|
+
*
|
11
|
+
* const s0 = parse("1.2.3");
|
12
|
+
* const s1 = parse("1.2.4");
|
13
|
+
* const s2 = parse("1.3.0");
|
14
|
+
* const s3 = parse("2.0.0");
|
15
|
+
*
|
16
|
+
* assertEquals(difference(s0, s1), "patch");
|
17
|
+
* assertEquals(difference(s0, s2), "minor");
|
18
|
+
* assertEquals(difference(s0, s3), "major");
|
19
|
+
* assertEquals(difference(s0, s0), undefined);
|
20
|
+
* ```
|
21
|
+
*
|
22
|
+
* @param s0 The first SemVer to compare
|
23
|
+
* @param s1 The second SemVer to compare
|
24
|
+
* @returns The release type difference or `undefined` if the versions are the same
|
25
|
+
*/
|
26
|
+
export declare function difference(s0: SemVer, s1: SemVer): ReleaseType | undefined;
|
27
|
+
//# sourceMappingURL=difference.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"difference.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/difference.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGtD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAU1E"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import type { SemVer } from "./types.js";
|
2
|
+
/**
|
3
|
+
* Returns `true` if both semantic versions are logically equivalent, even if they're not the exact same version object.
|
4
|
+
*
|
5
|
+
* This is equal to `compare(s0, s1) === 0`.
|
6
|
+
*
|
7
|
+
* @example Usage
|
8
|
+
* ```ts
|
9
|
+
* import { parse, equals } from "@std/semver";
|
10
|
+
* import { assert, assertFalse } from "@std/assert";
|
11
|
+
*
|
12
|
+
* const s0 = parse("1.2.3");
|
13
|
+
* const s1 = parse("1.2.3");
|
14
|
+
*
|
15
|
+
* assert(equals(s0, s1));
|
16
|
+
* assertFalse(equals(s0, parse("1.2.4")));
|
17
|
+
* ```
|
18
|
+
*
|
19
|
+
* @param s0 The first SemVer to compare
|
20
|
+
* @param s1 The second SemVer to compare
|
21
|
+
* @returns `true` if `s0` is equal to `s1`, `false` otherwise
|
22
|
+
*/
|
23
|
+
export declare function equals(s0: SemVer, s1: SemVer): boolean;
|
24
|
+
//# sourceMappingURL=equals.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/equals.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAEtD"}
|
@@ -6,7 +6,20 @@ import type { SemVer } from "./types.js";
|
|
6
6
|
*
|
7
7
|
* If any number is positive or negative infinity then '∞' or '⧞' will be printed instead.
|
8
8
|
*
|
9
|
-
* @
|
9
|
+
* @example Usage
|
10
|
+
* ```ts
|
11
|
+
* import { format } from "@std/semver/format";
|
12
|
+
* import { assertEquals } from "@std/assert/assert-equals";
|
13
|
+
*
|
14
|
+
* const semver = {
|
15
|
+
* major: 1,
|
16
|
+
* minor: 2,
|
17
|
+
* patch: 3,
|
18
|
+
* };
|
19
|
+
* assertEquals(format(semver), "1.2.3");
|
20
|
+
* ```
|
21
|
+
*
|
22
|
+
* @param semver The SemVer to format
|
10
23
|
* @returns The string representation of a semantic version.
|
11
24
|
*/
|
12
25
|
export declare function format(semver: SemVer): string;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/format.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAazC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAc7C"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import type { Range } from "./types.js";
|
2
|
+
/**
|
3
|
+
* Formats the range into a string
|
4
|
+
* @example Usage
|
5
|
+
* ```ts
|
6
|
+
* import { formatRange, parseRange } from "@std/semver";
|
7
|
+
* import { assertEquals } from "@std/assert";
|
8
|
+
*
|
9
|
+
* const range = parseRange(">=1.2.3 <1.2.4");
|
10
|
+
* assertEquals(formatRange(range), ">=1.2.3 <1.2.4");
|
11
|
+
* ```
|
12
|
+
*
|
13
|
+
* @param range The range to format
|
14
|
+
* @returns A string representation of the range
|
15
|
+
*/
|
16
|
+
export declare function formatRange(range: Range): string;
|
17
|
+
//# sourceMappingURL=format_range.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"format_range.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/format_range.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAc,KAAK,EAAE,MAAM,YAAY,CAAC;AAOpD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAGhD"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import type { SemVer } from "./types.js";
|
2
|
+
/**
|
3
|
+
* Greater than or equal to comparison
|
4
|
+
*
|
5
|
+
* This is equal to `compare(s0, s1) >= 0`.
|
6
|
+
*
|
7
|
+
* @example Usage
|
8
|
+
* ```ts
|
9
|
+
* import { parse, greaterOrEqual } from "@std/semver";
|
10
|
+
* import { assert, assertFalse } from "@std/assert";
|
11
|
+
*
|
12
|
+
* const s0 = parse("1.2.3");
|
13
|
+
* const s1 = parse("1.2.4");
|
14
|
+
* assert(greaterOrEqual(s1, s0));
|
15
|
+
* assertFalse(greaterOrEqual(s0, s1));
|
16
|
+
* assert(greaterOrEqual(s0, s0));
|
17
|
+
* ```
|
18
|
+
*
|
19
|
+
* @param s0 The first version to compare
|
20
|
+
* @param s1 The second version to compare
|
21
|
+
* @returns `true` if `s0` is greater than or equal to `s1`, `false` otherwise
|
22
|
+
*/
|
23
|
+
export declare function greaterOrEqual(s0: SemVer, s1: SemVer): boolean;
|
24
|
+
//# sourceMappingURL=greater_or_equal.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"greater_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/greater_or_equal.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAE9D"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import type { SemVer } from "./types.js";
|
2
|
+
/**
|
3
|
+
* Greater than comparison
|
4
|
+
*
|
5
|
+
* This is equal to `compare(s0, s1) > 0`.
|
6
|
+
*
|
7
|
+
* @example Usage
|
8
|
+
* ```ts
|
9
|
+
* import { parse, greaterThan } from "@std/semver";
|
10
|
+
* import { assert, assertFalse } from "@std/assert";
|
11
|
+
*
|
12
|
+
* const s0 = parse("1.2.3");
|
13
|
+
* const s1 = parse("1.2.4");
|
14
|
+
* assert(greaterThan(s1, s0));
|
15
|
+
* assertFalse(greaterThan(s0, s1));
|
16
|
+
* assertFalse(greaterThan(s0, s0));
|
17
|
+
* ```
|
18
|
+
*
|
19
|
+
* @param s0 The first version to compare
|
20
|
+
* @param s1 The second version to compare
|
21
|
+
* @returns `true` if `s0` is greater than `s1`, `false` otherwise
|
22
|
+
*/
|
23
|
+
export declare function greaterThan(s0: SemVer, s1: SemVer): boolean;
|
24
|
+
//# sourceMappingURL=greater_than.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"greater_than.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/greater_than.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAE3D"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { Range, SemVer } from "./types.js";
|
2
|
+
/**
|
3
|
+
* Check if the SemVer is greater than the range.
|
4
|
+
*
|
5
|
+
* @example Usage
|
6
|
+
* ```ts
|
7
|
+
* import { parse, parseRange, greaterThanRange } from "@std/semver";
|
8
|
+
* import { assert, assertFalse } from "@std/assert";
|
9
|
+
*
|
10
|
+
* const v0 = parse("1.2.3");
|
11
|
+
* const v1 = parse("1.2.4");
|
12
|
+
* const range = parseRange(">=1.2.3 <1.2.4");
|
13
|
+
* assertFalse(greaterThanRange(v0, range));
|
14
|
+
* assert(greaterThanRange(v1, range));
|
15
|
+
* ```
|
16
|
+
*
|
17
|
+
* @param semver The version to check.
|
18
|
+
* @param range The range to check against.
|
19
|
+
* @returns `true` if the semver is greater than the range, `false` otherwise.
|
20
|
+
*/
|
21
|
+
export declare function greaterThanRange(semver: SemVer, range: Range): boolean;
|
22
|
+
//# sourceMappingURL=greater_than_range.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"greater_than_range.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/greater_than_range.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAc,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAK5D;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAItE"}
|
@@ -19,11 +19,27 @@ import type { ReleaseType, SemVer } from "./types.js";
|
|
19
19
|
* If the input version has build metadata it will be preserved on the resulting version
|
20
20
|
* unless a new build parameter is specified. Specifying `""` will unset existing build
|
21
21
|
* metadata.
|
22
|
+
*
|
23
|
+
* @example Usage
|
24
|
+
* ```ts
|
25
|
+
* import { increment, parse } from "@std/semver";
|
26
|
+
* import { assertEquals } from "@std/assert/assert-equals";
|
27
|
+
*
|
28
|
+
* const version = parse("1.2.3");
|
29
|
+
* assertEquals(increment(version, "major"), parse("2.0.0"));
|
30
|
+
* assertEquals(increment(version, "minor"), parse("1.3.0"));
|
31
|
+
* assertEquals(increment(version, "patch"), parse("1.2.4"));
|
32
|
+
* assertEquals(increment(version, "prerelease"), parse("1.2.4-0"));
|
33
|
+
*
|
34
|
+
* const prerelease = parse("1.2.3-beta.0");
|
35
|
+
* assertEquals(increment(prerelease, "prerelease"), parse("1.2.3-beta.1"));
|
36
|
+
* ```
|
37
|
+
*
|
22
38
|
* @param version The version to increment
|
23
39
|
* @param release The type of increment to perform
|
24
40
|
* @param prerelease The pre-release metadata of the new version
|
25
|
-
* @param
|
26
|
-
* @returns
|
41
|
+
* @param buildmetadata The build metadata of the new version
|
42
|
+
* @returns The new version
|
27
43
|
*/
|
28
44
|
export declare function increment(version: SemVer, release: ReleaseType, prerelease?: string, buildmetadata?: string): SemVer;
|
29
45
|
//# sourceMappingURL=increment.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"increment.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/increment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAkCtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,WAAW,EACpB,UAAU,CAAC,EAAE,MAAM,EACnB,aAAa,CAAC,EAAE,MAAM,GACrB,MAAM,CAyGR"}
|
@@ -6,6 +6,16 @@ import type { Range } from "./types.js";
|
|
6
6
|
* least the correct fields.
|
7
7
|
*
|
8
8
|
* Adds a type assertion if true.
|
9
|
+
*
|
10
|
+
* @example Usage
|
11
|
+
* ```ts
|
12
|
+
* import { isRange } from "@std/semver/is-range";
|
13
|
+
* import { assert, assertFalse } from "@std/assert";
|
14
|
+
*
|
15
|
+
* const range = [[{ major: 1, minor: 2, patch: 3 }]];
|
16
|
+
* assert(isRange(range));
|
17
|
+
* assertFalse(isRange({}));
|
18
|
+
* ```
|
9
19
|
* @param value The value to check if its a valid Range
|
10
20
|
* @returns True if its a valid Range otherwise false.
|
11
21
|
*/
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"is_range.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/is_range.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAc,KAAK,EAAE,MAAM,YAAY,CAAC;AAmBpD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,KAAK,CAGtD"}
|
@@ -11,6 +11,22 @@ import type { SemVer } from "./types.js";
|
|
11
11
|
* considered SemVer objects and this will return true.
|
12
12
|
*
|
13
13
|
* A type assertion is added to the value.
|
14
|
+
*
|
15
|
+
* @example Usage
|
16
|
+
* ```ts
|
17
|
+
* import { isSemVer } from "@std/semver/is-semver";
|
18
|
+
* import { assert, assertFalse } from "@std/assert";
|
19
|
+
*
|
20
|
+
* const value = {
|
21
|
+
* major: 1,
|
22
|
+
* minor: 2,
|
23
|
+
* patch: 3,
|
24
|
+
* };
|
25
|
+
*
|
26
|
+
* assert(isSemVer(value));
|
27
|
+
* assertFalse(isSemVer({ major: 1, minor: 2 }));
|
28
|
+
* ```
|
29
|
+
*
|
14
30
|
* @param value The value to check to see if its a valid SemVer object
|
15
31
|
* @returns True if value is a valid SemVer otherwise false
|
16
32
|
*/
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"is_semver.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/is_semver.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAuBxD"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import type { SemVer } from "./types.js";
|
2
|
+
/**
|
3
|
+
* Less than or equal to comparison
|
4
|
+
*
|
5
|
+
* This is equal to `compare(s0, s1) <= 0`.
|
6
|
+
*
|
7
|
+
* @example Usage
|
8
|
+
* ```ts
|
9
|
+
* import { parse, lessOrEqual } from "@std/semver";
|
10
|
+
* import { assert, assertFalse } from "@std/assert";
|
11
|
+
*
|
12
|
+
* const s0 = parse("1.2.3");
|
13
|
+
* const s1 = parse("1.2.4");
|
14
|
+
* assert(lessOrEqual(s0, s1));
|
15
|
+
* assertFalse(lessOrEqual(s1, s0));
|
16
|
+
* assert(lessOrEqual(s0, s0));
|
17
|
+
* ```
|
18
|
+
*
|
19
|
+
* @param s0 the first version to compare
|
20
|
+
* @param s1 the second version to compare
|
21
|
+
* @returns `true` if `s0` is less than or equal to `s1`, `false` otherwise
|
22
|
+
*/
|
23
|
+
export declare function lessOrEqual(s0: SemVer, s1: SemVer): boolean;
|
24
|
+
//# sourceMappingURL=less_or_equal.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"less_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/less_or_equal.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAE3D"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import type { SemVer } from "./types.js";
|
2
|
+
/**
|
3
|
+
* Less than comparison
|
4
|
+
*
|
5
|
+
* This is equal to `compare(s0, s1) < 0`.
|
6
|
+
*
|
7
|
+
* @example Usage
|
8
|
+
* ```ts
|
9
|
+
* import { parse, lessThan } from "@std/semver";
|
10
|
+
* import { assert, assertFalse } from "@std/assert";
|
11
|
+
*
|
12
|
+
* const s0 = parse("1.2.3");
|
13
|
+
* const s1 = parse("1.2.4");
|
14
|
+
* assert(lessThan(s0, s1));
|
15
|
+
* assertFalse(lessThan(s1, s0));
|
16
|
+
* assertFalse(lessThan(s0, s0));
|
17
|
+
* ```
|
18
|
+
*
|
19
|
+
* @param s0 the first version to compare
|
20
|
+
* @param s1 the second version to compare
|
21
|
+
* @returns `true` if `s0` is less than `s1`, `false` otherwise
|
22
|
+
*/
|
23
|
+
export declare function lessThan(s0: SemVer, s1: SemVer): boolean;
|
24
|
+
//# sourceMappingURL=less_than.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"less_than.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/semver/0.224.1/less_than.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAExD"}
|