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.2.0

4

dist/steps/command.d.ts

@@ -15,2 +15,3 @@ import { KeyValue } from '../key_value';

declare type Agents = Map<string, string>;
declare type ConcurrencyMethod = 'eager' | 'ordered';
export declare class CommandStep extends LabeledStep {

@@ -23,2 +24,4 @@ readonly command: Command[];

private concurrencyGroup?;
private _concurrencyMethod?;
private get concurrencyMethod();
private _artifactPaths;

@@ -47,2 +50,3 @@ private _agents;

withConcurrency(concurrency: number, group: string): this;
withConcurrencyMethod(method: ConcurrencyMethod): this;
withSoftFail(fail: ExitStatus | true): this;

@@ -49,0 +53,0 @@ skip(skip: SkipValue | SkipFunction): this;

@@ -194,2 +194,11 @@ "use strict";

});
Object.defineProperty(CommandStep.prototype, "concurrencyMethod", {
get: function () {
return this._concurrencyMethod !== 'ordered'
? this._concurrencyMethod
: undefined;
},
enumerable: true,
configurable: true
});
Object.defineProperty(CommandStep.prototype, "agents", {

@@ -287,2 +296,7 @@ get: function () {

};
CommandStep.prototype.withConcurrencyMethod = function (method) {
ow_1.default(method, ow_1.default.string.oneOf(['eager', 'ordered']));
this._concurrencyMethod = method;
return this;
};
CommandStep.prototype.withSoftFail = function (fail) {

@@ -323,3 +337,3 @@ if (fail !== true) {

case 2:
_c.env = _d.sent(), _c.parallelism = this.parallelism, _c.concurrency = this.concurrency, _c.concurrency_group = this.concurrencyGroup, _c.artifact_paths = this._artifactPaths.size
_c.env = _d.sent(), _c.parallelism = this.parallelism, _c.concurrency = this.concurrency, _c.concurrency_group = this.concurrencyGroup, _c.concurrency_method = this.concurrencyMethod, _c.artifact_paths = this._artifactPaths.size
? Array.from(this._artifactPaths)

@@ -326,0 +340,0 @@ : undefined, _c.agents = this.agents.size ? base_1.mapToObject(this.agents) : undefined, _c.timeout_in_minutes = this.timeout, _c.plugins = plugins_1.transformPlugins(this.plugins), _c.soft_fail = transformSoftFail(this._softFail), _c.skip = this._skip ? transformSkipValue(this._skip) : undefined;

2

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

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