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.13 to 7.5.0

12

semver/functions/inc.d.ts
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;

2

semver/index.d.ts

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

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