Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/semver

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/semver - npm Package Compare versions

Comparing version 7.3.10 to 7.3.11

2

semver/classes/semver.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc