denoland / deno_std

The Deno Standard Library
https://jsr.io/@std
MIT License
2.83k stars 581 forks source link

BREAKING(semver): remove `SEMVER_SPEC_VERSION` #5180

Closed iuioiua closed 4 days ago

iuioiua commented 4 days ago

What's changed

The SEMVER_SPEC_VERSION constant has been removed from @std/semver.

Motivation

This constant was removed as it provided no further value to the package. The single source of truth for this value can be found in the documentation.

Migration guide

If needed, see the documentation to get the currently supported SemVer spec version, and define the constant.

- import { SEMVER_SPEC_VERSION } from "@std/semver";

+ const SEMVER_SPEC_VERSION = "2.0.0";
  foo(SEMVER_SPEC_VERSION);
codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.34%. Comparing base (4052256) to head (f28d0f8).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #5180 +/- ## ========================================== - Coverage 93.34% 93.34% -0.01% ========================================== Files 469 469 Lines 37917 37915 -2 Branches 5386 5386 ========================================== - Hits 35392 35390 -2 Misses 2483 2483 Partials 42 42 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.