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

@cucumber/cucumber

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber/cucumber - npm Package Compare versions

Comparing version 9.4.0 to 9.5.0

2

lib/api/convert_configuration.js

@@ -35,3 +35,3 @@ "use strict";

var _a, _b;
const splitFormats = flatConfiguration.format.map((item) => configuration_1.OptionSplitter.split(item));
const splitFormats = flatConfiguration.format.map((item) => Array.isArray(item) ? item : configuration_1.OptionSplitter.split(item));
return {

@@ -38,0 +38,0 @@ stdout: (_b = (_a = [...splitFormats].reverse().find(([, target]) => !target)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : 'progress',

@@ -34,3 +34,7 @@ "use strict";

failFast: yup.boolean(),
format: yup.array().of(yup.string()),
format: yup
.array()
.of(yup.lazy((val) => Array.isArray(val)
? yup.array().of(yup.string()).min(2).max(2)
: yup.string())),
formatOptions: yup.object(),

@@ -37,0 +41,0 @@ import: yup.array().of(yup.string()),

import { FormatOptions } from '../formatter';
import { PickleOrder } from '../models/pickle_order';
type FormatsConfiguration = Array<string | [string, string]>;
export interface IConfiguration {

@@ -8,3 +9,3 @@ backtrace: boolean;

failFast: boolean;
format: string[];
format: FormatsConfiguration;
formatOptions: FormatOptions;

@@ -30,1 +31,2 @@ import: string[];

}
export {};

@@ -33,3 +33,6 @@ "use strict";

on('message', (value) => stream.write(JSON.stringify(value) + '\n'));
return () => stream.end();
return () => new Promise((resolve) => {
stream.on('finish', () => resolve());
stream.end();
});
};

@@ -36,0 +39,0 @@ exports.publishPlugin = publishPlugin;

@@ -1,1 +0,1 @@

export declare const version = "9.4.0";
export declare const version = "9.5.0";

@@ -5,3 +5,3 @@ "use strict";

// Generated by genversion.
exports.version = '9.4.0';
exports.version = '9.5.0';
//# sourceMappingURL=version.js.map

@@ -11,3 +11,3 @@ {

],
"version": "9.4.0",
"version": "9.5.0",
"homepage": "https://github.com/cucumber/cucumber-js",

@@ -250,3 +250,3 @@ "author": "Julien Biezemans <jb@jbpros.com>",

"yaml": "^2.2.2",
"yup": "^0.32.11"
"yup": "1.2.0"
},

@@ -253,0 +253,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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