@cucumber/cucumber 7.0.0-rc.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -3
- package/README.md +2 -2
- package/lib/cli/argv_parser.js +1 -0
- package/lib/cli/argv_parser.js.map +1 -1
- package/lib/cli/helpers.js +2 -2
- package/lib/cli/helpers.js.map +1 -1
- package/lib/cli/index.js +7 -4
- package/lib/cli/index.js.map +1 -1
- package/lib/formatter/builder.d.ts +2 -1
- package/lib/formatter/builder.js +5 -2
- package/lib/formatter/builder.js.map +1 -1
- package/lib/formatter/html_formatter.d.ts +6 -0
- package/lib/formatter/html_formatter.js +33 -0
- package/lib/formatter/html_formatter.js.map +1 -0
- package/lib/formatter/index.d.ts +4 -0
- package/lib/formatter/index.js +4 -0
- package/lib/formatter/index.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/models/test_step_hook_definition.d.ts +9 -0
- package/lib/models/test_step_hook_definition.js +26 -0
- package/lib/models/test_step_hook_definition.js.map +1 -0
- package/lib/runtime/index.js +2 -2
- package/lib/runtime/index.js.map +1 -1
- package/lib/runtime/pickle_runner.d.ts +8 -3
- package/lib/runtime/pickle_runner.js +54 -48
- package/lib/runtime/pickle_runner.js.map +1 -1
- package/lib/support_code_library_builder/index.d.ts +12 -1
- package/lib/support_code_library_builder/index.js +46 -0
- package/lib/support_code_library_builder/index.js.map +1 -1
- package/lib/support_code_library_builder/types.d.ts +19 -0
- package/lib/support_code_library_builder/validate_arguments.js +12 -0
- package/lib/support_code_library_builder/validate_arguments.js.map +1 -1
- package/package.json +47 -51
- package/dist/cucumber.js +0 -80053
package/package.json
CHANGED
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
"gherkin",
|
|
9
9
|
"tests"
|
|
10
10
|
],
|
|
11
|
-
"version": "7.0.0
|
|
11
|
+
"version": "7.0.0",
|
|
12
12
|
"homepage": "https://github.com/cucumber/cucumber-js",
|
|
13
13
|
"author": "Julien Biezemans <jb@jbpros.com>",
|
|
14
14
|
"contributors": [
|
|
15
15
|
"Aaron Garvey",
|
|
16
|
+
"Adam Ark <Adam-ARK@users.noreply.github.com>",
|
|
16
17
|
"Ádám Gólya <adam.golya@lab.coop>",
|
|
17
18
|
"ahulab <alexbaluha@gmail.com>",
|
|
18
19
|
"Alon Diamant <diamant.alon@gmail.com>",
|
|
@@ -79,6 +80,7 @@
|
|
|
79
80
|
"Julian <microweb10@gmail.com>",
|
|
80
81
|
"Julien Biezemans <jb@jbpros.com>",
|
|
81
82
|
"Karine Pires <karine.pires@alterway.fr>",
|
|
83
|
+
"Kārlis Amoliņš <karlis.amolins.5@gmail.com>",
|
|
82
84
|
"Karthik Viswanath <karthik.viswanath-contractor@adp.com>",
|
|
83
85
|
"Kevin Goslar <kevin.goslar@gmail.com>",
|
|
84
86
|
"Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com>",
|
|
@@ -92,6 +94,7 @@
|
|
|
92
94
|
"Lucas Cimon <lucas.cimon@gmail.com>",
|
|
93
95
|
"Lukas Degener <l.degener@tarent.de>",
|
|
94
96
|
"Łukasz Gandecki <lgandecki@css.edu>",
|
|
97
|
+
"M.P. Korstanje <mpkorstanje@users.noreply.github.com>",
|
|
95
98
|
"Marat Dyatko <vectart@gmail.com>",
|
|
96
99
|
"Marc Burton <marc.burton@first-utility.com>",
|
|
97
100
|
"Marcel Hoyer <mhoyer@pixelplastic.de>",
|
|
@@ -164,18 +167,20 @@
|
|
|
164
167
|
"node": ">=10"
|
|
165
168
|
},
|
|
166
169
|
"dependencies": {
|
|
167
|
-
"@cucumber/create-meta": "^2.0.
|
|
168
|
-
"@cucumber/cucumber-expressions": "^
|
|
169
|
-
"@cucumber/gherkin": "^
|
|
170
|
-
"@cucumber/
|
|
171
|
-
"@cucumber/
|
|
170
|
+
"@cucumber/create-meta": "^2.0.4",
|
|
171
|
+
"@cucumber/cucumber-expressions": "^11.0.0",
|
|
172
|
+
"@cucumber/gherkin": "^16.0.0",
|
|
173
|
+
"@cucumber/html-formatter": "^11.0.4",
|
|
174
|
+
"@cucumber/messages": "^13.2.1",
|
|
175
|
+
"@cucumber/query": "^7.0.1",
|
|
172
176
|
"@cucumber/tag-expressions": "^2.0.4",
|
|
173
177
|
"assertion-error-formatter": "^3.0.0",
|
|
174
178
|
"bluebird": "^3.7.2",
|
|
175
|
-
"capital-case": "^1.0.
|
|
179
|
+
"capital-case": "^1.0.4",
|
|
176
180
|
"cli-table3": "^0.6.0",
|
|
177
181
|
"colors": "^1.4.0",
|
|
178
|
-
"commander": "^
|
|
182
|
+
"commander": "^6.2.1",
|
|
183
|
+
"create-require": "^1.1.1",
|
|
179
184
|
"duration": "^0.2.2",
|
|
180
185
|
"durations": "^3.4.2",
|
|
181
186
|
"figures": "^3.2.0",
|
|
@@ -187,8 +192,8 @@
|
|
|
187
192
|
"lodash": "^4.17.20",
|
|
188
193
|
"mz": "^2.7.0",
|
|
189
194
|
"progress": "^2.0.3",
|
|
190
|
-
"
|
|
191
|
-
"resolve": "^
|
|
195
|
+
"resolve": "^1.19.0",
|
|
196
|
+
"resolve-pkg": "^2.0.0",
|
|
192
197
|
"stack-chain": "^2.0.0",
|
|
193
198
|
"stacktrace-js": "^2.0.2",
|
|
194
199
|
"string-argv": "^0.3.1",
|
|
@@ -199,70 +204,63 @@
|
|
|
199
204
|
"devDependencies": {
|
|
200
205
|
"@cucumber/compatibility-kit": "2.0.0",
|
|
201
206
|
"@sinonjs/fake-timers": "6.0.1",
|
|
202
|
-
"@types/bluebird": "3.5.
|
|
203
|
-
"@types/chai": "4.2.
|
|
207
|
+
"@types/bluebird": "3.5.33",
|
|
208
|
+
"@types/chai": "4.2.14",
|
|
204
209
|
"@types/dirty-chai": "2.0.2",
|
|
205
|
-
"@types/express": "
|
|
206
|
-
"@types/fs-extra": "9.0.
|
|
210
|
+
"@types/express": "4.17.9",
|
|
211
|
+
"@types/fs-extra": "9.0.5",
|
|
207
212
|
"@types/glob": "7.1.3",
|
|
208
|
-
"@types/lodash": "4.14.
|
|
209
|
-
"@types/mocha": "8.0
|
|
210
|
-
"@types/mustache": "4.0
|
|
211
|
-
"@types/mz": "2.7.
|
|
212
|
-
"@types/node": "14.
|
|
213
|
+
"@types/lodash": "4.14.165",
|
|
214
|
+
"@types/mocha": "8.2.0",
|
|
215
|
+
"@types/mustache": "4.1.0",
|
|
216
|
+
"@types/mz": "2.7.3",
|
|
217
|
+
"@types/node": "14.14.14",
|
|
213
218
|
"@types/progress": "2.0.3",
|
|
214
219
|
"@types/resolve": "1.17.1",
|
|
215
|
-
"@types/semver": "7.3.
|
|
216
|
-
"@types/sinon-chai": "3.2.
|
|
217
|
-
"@types/sinonjs__fake-timers": "6.0.
|
|
220
|
+
"@types/semver": "7.3.4",
|
|
221
|
+
"@types/sinon-chai": "3.2.5",
|
|
222
|
+
"@types/sinonjs__fake-timers": "6.0.2",
|
|
218
223
|
"@types/stream-buffers": "3.0.3",
|
|
219
224
|
"@types/tmp": "0.2.0",
|
|
220
225
|
"@types/verror": "1.10.4",
|
|
221
|
-
"@typescript-eslint/eslint-plugin": "
|
|
222
|
-
"@typescript-eslint/parser": "
|
|
223
|
-
"ansi-html": "0.0.7",
|
|
224
|
-
"browserify": "16.5.2",
|
|
226
|
+
"@typescript-eslint/eslint-plugin": "4.10.0",
|
|
227
|
+
"@typescript-eslint/parser": "4.10.0",
|
|
225
228
|
"chai": "4.2.0",
|
|
226
229
|
"chai-exclude": "2.0.2",
|
|
227
230
|
"coffeescript": "2.5.1",
|
|
228
|
-
"
|
|
229
|
-
"core-js": "3.6.5",
|
|
231
|
+
"core-js": "3.8.1",
|
|
230
232
|
"coveralls": "3.1.0",
|
|
231
233
|
"dependency-lint": "6.0.0",
|
|
232
234
|
"dirty-chai": "2.0.1",
|
|
233
|
-
"eslint": "7.
|
|
234
|
-
"eslint-config-prettier": "
|
|
235
|
-
"eslint-config-standard-with-typescript": "
|
|
236
|
-
"eslint-plugin-import": "2.22.
|
|
235
|
+
"eslint": "7.16.0",
|
|
236
|
+
"eslint-config-prettier": "7.1.0",
|
|
237
|
+
"eslint-config-standard-with-typescript": "19.0.1",
|
|
238
|
+
"eslint-plugin-import": "2.22.1",
|
|
237
239
|
"eslint-plugin-node": "11.1.0",
|
|
238
|
-
"eslint-plugin-prettier": "3.
|
|
240
|
+
"eslint-plugin-prettier": "3.3.0",
|
|
239
241
|
"eslint-plugin-promise": "4.2.1",
|
|
240
|
-
"eslint-plugin-standard": "4.0
|
|
241
|
-
"express": "
|
|
242
|
+
"eslint-plugin-standard": "4.1.0",
|
|
243
|
+
"express": "4.17.1",
|
|
242
244
|
"fs-extra": "9.0.1",
|
|
243
|
-
"mocha": "8.1
|
|
244
|
-
"mustache": "4.0
|
|
245
|
+
"mocha": "8.2.1",
|
|
246
|
+
"mustache": "4.1.0",
|
|
245
247
|
"ndjson-parse": "1.0.4",
|
|
246
248
|
"nyc": "15.1.0",
|
|
247
|
-
"prettier": "2.
|
|
249
|
+
"prettier": "2.2.1",
|
|
248
250
|
"regenerator-runtime": "0.13.7",
|
|
249
|
-
"semver": "7.3.
|
|
250
|
-
"
|
|
251
|
-
"sinon": "9.0.3",
|
|
251
|
+
"semver": "7.3.4",
|
|
252
|
+
"sinon": "9.2.2",
|
|
252
253
|
"sinon-chai": "3.5.0",
|
|
253
254
|
"stream-buffers": "3.0.2",
|
|
254
255
|
"stream-to-string": "1.2.0",
|
|
255
|
-
"ts-node": "9.
|
|
256
|
-
"
|
|
257
|
-
"typescript": "4.0.2"
|
|
256
|
+
"ts-node": "9.1.1",
|
|
257
|
+
"typescript": "4.1.3"
|
|
258
258
|
},
|
|
259
259
|
"scripts": {
|
|
260
|
-
"build-browser-example": "browserify example/index.ts -o dist/browser-example.js -p [ tsify -p tsconfig.browser.json ]",
|
|
261
260
|
"build-local": "tsc -p tsconfig.node.json",
|
|
262
|
-
"build-release": "browserify scripts/cucumber.ts -o dist/cucumber.js -p [ tsify -p tsconfig.browser.json ] --standalone Cucumber --debug",
|
|
263
261
|
"cck-test": "mocha 'compatibility/**/*_spec.ts'",
|
|
264
262
|
"feature-test": "node ./bin/cucumber-js",
|
|
265
|
-
"
|
|
263
|
+
"html-formatter": "node ./bin/cucumber-js --profile htmlFormatter",
|
|
266
264
|
"lint-autofix": "eslint --fix \"{compatibility,example,features,scripts,src,test}/**/*.ts\"",
|
|
267
265
|
"lint-code": "eslint \"{compatibility,example,features,scripts,src,test}/**/*.ts\"",
|
|
268
266
|
"lint-dependencies": "dependency-lint",
|
|
@@ -272,9 +270,8 @@
|
|
|
272
270
|
"precck-test": "yarn run build-local",
|
|
273
271
|
"prefeature-test": "yarn run build-local",
|
|
274
272
|
"prepublishOnly": "rm -rf lib && npm run build-local",
|
|
275
|
-
"test-
|
|
276
|
-
"test
|
|
277
|
-
"test": "yarn run lint && yarn run unit-test && yarn run cck-test && yarn run feature-test && yarn run formatters-test",
|
|
273
|
+
"test-coverage": "yarn run lint && ./scripts/test-coverage.sh",
|
|
274
|
+
"test": "yarn run lint && yarn run unit-test && yarn run cck-test && yarn run feature-test",
|
|
278
275
|
"unit-test": "mocha 'src/**/*_spec.ts'",
|
|
279
276
|
"update-dependencies": "npx npm-check-updates --upgrade"
|
|
280
277
|
},
|
|
@@ -284,7 +281,6 @@
|
|
|
284
281
|
"license": "MIT",
|
|
285
282
|
"files": [
|
|
286
283
|
"bin/",
|
|
287
|
-
"dist/",
|
|
288
284
|
"lib/"
|
|
289
285
|
]
|
|
290
286
|
}
|