@types/semver
Advanced tools
Comparing version 7.3.13 to 7.5.0
import SemVer = require('../classes/semver'); | ||
import semver = require('../index'); | ||
declare namespace inc { | ||
/** Base number to be used for the prerelease identifier */ | ||
type IdentifierBase = '0' | '1'; | ||
} | ||
/** | ||
@@ -11,6 +16,11 @@ * Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid. | ||
optionsOrLoose?: boolean | semver.Options, | ||
identifier?: string | ||
): string | null; | ||
declare function inc( | ||
version: string | SemVer, | ||
release: semver.ReleaseType, | ||
identifier?: string, | ||
identifierBase?: inc.IdentifierBase | false, | ||
): string | null; | ||
declare function inc(version: string | SemVer, release: semver.ReleaseType, identifier?: string): string | null; | ||
export = inc; |
@@ -1,2 +0,2 @@ | ||
// Type definitions for semver 7.3 | ||
// Type definitions for semver 7.5 | ||
// Project: https://github.com/npm/node-semver | ||
@@ -3,0 +3,0 @@ // Definitions by: Bart van der Schoor <https://github.com/Bartvds> |
{ | ||
"name": "@types/semver", | ||
"version": "7.3.13", | ||
"version": "7.5.0", | ||
"description": "TypeScript definitions for semver", | ||
@@ -48,4 +48,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "5443a0792891f230352efbc23f545699de0ce8eef9fe3e28cefd36a3fe993eb6", | ||
"typeScriptVersion": "4.1" | ||
"typesPublisherContentHash": "a1ae8c1d9f9371bb1030d232fd0c118ad40215d3dd62afb98c7d6f15678c60de", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 26 Oct 2022 20:03:05 GMT | ||
* Last updated: Mon, 08 May 2023 19:02:57 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
23724
569