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

@types/semantic-release

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/semantic-release - npm Package Compare versions

Comparing version 17.2.3 to 17.2.4

91

semantic-release/index.d.ts

@@ -15,4 +15,6 @@ // Type definitions for semantic-release 17.2

*/
type ReleaseType = "prerelease" | "prepatch" | "patch" | "preminor" | "minor" | "premajor" | "major";
type ReleaseType = 'prerelease' | 'prepatch' | 'patch' | 'preminor' | 'minor' | 'premajor' | 'major';
type LoggerFunction = (...message: any[]) => void;
/**

@@ -213,10 +215,3 @@ * semantic-release options.

/**
* Specifies a git branch holding commits to analyze and code to release.
*
* Each branch may be defined either by a string or an object. Specifying
* a string is a shortcut for specifying that string as the `name` field,
* for example `"master"` expands to `{name: "master"}`.
*/
type BranchSpec = string | {
interface BranchObject {
/**

@@ -297,5 +292,13 @@ * The name of git branch.

prerelease?: string | boolean | undefined;
};
}
/**
* Specifies a git branch holding commits to analyze and code to release.
*
* Each branch may be defined either by a string or an object. Specifying
* a string is a shortcut for specifying that string as the `name` field,
* for example `"master"` expands to `{name: "master"}`.
*/
type BranchSpec = string | BranchObject;
/**
* Specifies a plugin to use.

@@ -428,4 +431,19 @@ *

logger: {
log: (message: string, ...vars: any[]) => void,
error: (message: string, ...vars: any[]) => void,
await: LoggerFunction;
complete: LoggerFunction;
debug: LoggerFunction;
error: LoggerFunction;
fatal: LoggerFunction;
fav: LoggerFunction;
info: LoggerFunction;
log: LoggerFunction;
note: LoggerFunction;
pause: LoggerFunction;
pending: LoggerFunction;
star: LoggerFunction;
start: LoggerFunction;
success: LoggerFunction;
wait: LoggerFunction;
warn: LoggerFunction;
watch: LoggerFunction;
};

@@ -444,2 +462,7 @@

commits?: Commit[];
/**
* Current branch being published.
*/
branch: BranchObject;
}

@@ -593,23 +616,25 @@

*/
type Result = false | {
/**
* Information related to the last release found.
*/
lastRelease: LastRelease;
type Result =
| false
| {
/**
* Information related to the last release found.
*/
lastRelease: LastRelease;
/**
* The list of commits included in the new release.
*/
commits: Commit[];
/**
* The list of commits included in the new release.
*/
commits: Commit[];
/**
* Information related to the newly published release.
*/
nextRelease: NextRelease;
/**
* Information related to the newly published release.
*/
nextRelease: NextRelease;
/**
* The list of releases published, one release per publish plugin.
*/
releases: Release[];
};
/**
* The list of releases published, one release per publish plugin.
*/
releases: Release[];
};
}

@@ -622,5 +647,7 @@

*/
declare function SemanticRelease(options: SemanticRelease.Options,
environment?: SemanticRelease.Config): Promise<SemanticRelease.Result>;
declare function SemanticRelease(
options: SemanticRelease.Options,
environment?: SemanticRelease.Config,
): Promise<SemanticRelease.Result>;
export = SemanticRelease;
{
"name": "@types/semantic-release",
"version": "17.2.3",
"version": "17.2.4",
"description": "TypeScript definitions for semantic-release",

@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semantic-release",

},
"typesPublisherContentHash": "1b53a9d81aadd020616885156bbf747ab9bd4d8973d92ab1e44f3343a16f4d1b",
"typeScriptVersion": "3.7"
"typesPublisherContentHash": "3c2e90ec44a0f89c8633813024fcdc514a5b12e41aefacddce0e1397d79a14b1",
"typeScriptVersion": "4.0"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 08 Nov 2021 19:01:42 GMT
* Last updated: Tue, 19 Jul 2022 20:02:23 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

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