@cucumber/cucumber
Advanced tools
Comparing version 9.4.0 to 9.5.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
804750
8060
+ Addedtiny-case@1.0.3(transitive)
+ Addedtype-fest@2.19.0(transitive)
+ Addedyup@1.2.0(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@types/lodash@4.17.13(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlodash-es@4.17.21(transitive)
- Removednanoclone@0.2.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedyup@0.32.11(transitive)
Updatedyup@1.2.0