New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

buildkite-graph

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buildkite-graph - npm Package Compare versions

Comparing version

to
5.1.0

2

dist/steps/command/retry.d.ts

@@ -7,2 +7,3 @@ import { Chainable, ExitStatus } from '../../base';

manual(allowed: boolean, permitOnPassed?: boolean, reason?: string): T;
getAutomaticValue(): Map<ExitStatus, number>;
}

@@ -14,2 +15,3 @@ export declare class RetryImpl<T> extends Chainable<T> implements Retry<T>, Serializable {

hasValue(): boolean;
getAutomaticValue(): Map<ExitStatus, number>;
automatic(statuses?: Statuses): T;

@@ -16,0 +18,0 @@ manual(allowed?: boolean, permitOnPassed?: boolean, reason?: string): T;

@@ -169,2 +169,12 @@ "use strict";

};
RetryImpl.prototype.getAutomaticValue = function () {
switch (typeof this._automatic) {
case 'boolean':
return this._automatic ? new Map([['*', 2]]) : new Map();
case 'number':
return new Map([['*', this._automatic]]);
default:
return this._automatic;
}
};
RetryImpl.prototype.automatic = function (statuses) {

@@ -171,0 +181,0 @@ var e_1, _a;

2

package.json
{
"name": "buildkite-graph",
"version": "5.0.1",
"version": "5.1.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts",