Package io.github.cdklabs.projen
Class Semver
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.Semver
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.802Z") @Stability(Deprecated) @Deprecated public class Semver extends software.amazon.jsii.JsiiObject
Deprecated.This class will be removed in upcoming releases. if you wish to specify semver requirements indeps,devDeps, etc, specify them like soexpress@^2.1.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Semvercaret(String version)Deprecated.StringgetMode()Deprecated.StringgetSpec()Deprecated.StringgetVersion()Deprecated.static Semverlatest()Deprecated.static Semverof(String spec)Deprecated.static Semverpinned(String version)Deprecated.static Semvertilde(String version)Deprecated.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Method Detail
-
caret
@Stability(Deprecated) @Deprecated @NotNull public static Semver caret(@NotNull String version)
Deprecated.(deprecated) Accept any minor version.= version < next major version
- Parameters:
version- This parameter is required.
-
latest
@Stability(Deprecated) @Deprecated @NotNull public static Semver latest()
Deprecated.(deprecated) Latest version.
-
of
@Stability(Deprecated) @Deprecated @NotNull public static Semver of(@NotNull String spec)
Deprecated.- Parameters:
spec- This parameter is required.
-
pinned
@Stability(Deprecated) @Deprecated @NotNull public static Semver pinned(@NotNull String version)
Deprecated.(deprecated) Accept only an exact version.- Parameters:
version- This parameter is required.
-
tilde
@Stability(Deprecated) @Deprecated @NotNull public static Semver tilde(@NotNull String version)
Deprecated.(deprecated) Accept patches.= version < next minor version
- Parameters:
version- This parameter is required.
-
getSpec
@Stability(Deprecated) @Deprecated @NotNull public String getSpec()
Deprecated.
-
getMode
@Stability(Deprecated) @Deprecated @Nullable public String getMode()
Deprecated.
-
getVersion
@Stability(Deprecated) @Deprecated @Nullable public String getVersion()
Deprecated.
-
-