@types/semver
Advanced tools
Comparing version 7.3.10 to 7.3.11
import semver = require('../index'); | ||
declare class SemVer { | ||
constructor(version: string | SemVer, optionsOrLoose?: boolean | semver.Options); | ||
constructor(version: string | SemVer, optionsOrLoose?: boolean | semver.RangeOptions); | ||
@@ -6,0 +6,0 @@ raw: string; |
@@ -7,8 +7,4 @@ import semver = require('../index'); | ||
*/ | ||
declare function diff( | ||
v1: string | SemVer, | ||
v2: string | SemVer, | ||
optionsOrLoose?: boolean | semver.Options, | ||
): semver.ReleaseType | null; | ||
declare function diff(v1: string | SemVer, v2: string | SemVer): semver.ReleaseType | null; | ||
export = diff; |
@@ -116,2 +116,5 @@ // Type definitions for semver 7.3 | ||
loose?: boolean | undefined; | ||
} | ||
export interface RangeOptions extends Options { | ||
includePrerelease?: boolean | undefined; | ||
@@ -118,0 +121,0 @@ } |
{ | ||
"name": "@types/semver", | ||
"version": "7.3.10", | ||
"version": "7.3.11", | ||
"description": "TypeScript definitions for semver", | ||
@@ -48,4 +48,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ccdbc0a9090b79c7adcbd170c9fd060eb75f1cf4cb83e0ec59a2053a55a33d2a", | ||
"typesPublisherContentHash": "8e354fac0791b982d74b238ddbad160c7db27e558c527b0ab07dd776f86591b4", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -7,8 +7,4 @@ import Range = require('../classes/range'); | ||
*/ | ||
declare function subset( | ||
sub: string | Range, | ||
dom: string | Range, | ||
options?: semver.Options, | ||
): boolean; | ||
declare function subset(sub: string | Range, dom: string | Range, options?: semver.RangeOptions): boolean; | ||
export = subset; |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 15 Jun 2022 15:31:39 GMT | ||
* Last updated: Wed, 10 Aug 2022 17:32:19 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
23489
560