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 5.3.31 to 5.3.32

semver/LICENSE

8

semver/index.d.ts

@@ -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

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