@types/semver
Advanced tools
Comparing version 5.3.31 to 5.3.32
@@ -8,2 +8,4 @@ // Type definitions for semver 5.3 | ||
export type ReleaseType = "major" | "premajor" | "minor" | "preminor" | "patch" | "prepatch" | "prerelease"; | ||
/** | ||
@@ -20,3 +22,3 @@ * Return the parsed version, or null if it's not valid. | ||
*/ | ||
export function inc(v: string, release: string, loose?: boolean): string; | ||
export function inc(v: string, release: ReleaseType, loose?: boolean): string; | ||
/** | ||
@@ -81,3 +83,3 @@ * Return the major version number. | ||
*/ | ||
export function diff(v1: string, v2: string, loose?: boolean): string; | ||
export function diff(v1: string, v2: string, loose?: boolean): ReleaseType; | ||
@@ -133,3 +135,3 @@ // Ranges | ||
comparePre(other: SemVer): number; | ||
inc(release: string): SemVer; | ||
inc(release: ReleaseType): SemVer; | ||
} | ||
@@ -136,0 +138,0 @@ |
{ | ||
"name": "@types/semver", | ||
"version": "5.3.31", | ||
"version": "5.3.32", | ||
"description": "TypeScript definitions for semver", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "918bd55f0f25c18a3dacd10fc9f70a14b5b2d2a55faea36deab8aa91b8e7dacd", | ||
"typesPublisherContentHash": "e08a17db5f6d40575b73771817ec60fa9bfcd16dfc5e84e8e6462aae55ca28b6", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/semver | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver | ||
Additional Details | ||
* Last updated: Mon, 13 Mar 2017 17:09:17 GMT | ||
* Last updated: Tue, 27 Jun 2017 13:51:11 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7730
4
142