Skip to content

Commit

Permalink
Merge branch 'main' into feat/runtime-consolidation-part-1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed Apr 21, 2024
2 parents eb6cc7a + 2c147a8 commit e41ba5a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Please see [CONTRIBUTING.md](./CONTRIBUTING.md) on how to contribute to Cucumber

## [Unreleased]

## [10.5.1] - 2024-04-21
### Fixed
- Type signature of `defineParameterType` correctly reflects `transformer` property's optionality.

## [10.5.0] - 2024-04-21
### Added
- Allow supplying error details for pending steps ([#2393](https://github.com/cucumber/cucumber-js/pull/2393))
Expand Down Expand Up @@ -1601,7 +1605,8 @@ this.Given(), this.When(), this.Then() and this.defineStep() ([#2](https://githu

## 0.0.1

[Unreleased]: https://github.com/cucumber/cucumber-js/compare/v10.5.0...HEAD
[Unreleased]: https://github.com/cucumber/cucumber-js/compare/v10.5.1...HEAD
[10.5.1]: https://github.com/cucumber/cucumber-js/compare/v10.5.0...v10.5.1
[10.5.0]: https://github.com/cucumber/cucumber-js/compare/v10.4.0...v10.5.0
[10.4.0]: https://github.com/cucumber/cucumber-js/compare/v10.3.2...v10.4.0
[10.3.2]: https://github.com/cucumber/cucumber-js/compare/v10.3.1...v10.3.2
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"gherkin",
"tests"
],
"version": "10.5.0",
"version": "10.5.1",
"funding": "https://opencollective.com/cucumber",
"homepage": "https://github.com/cucumber/cucumber-js",
"author": "Julien Biezemans <jb@jbpros.com>",
Expand Down
2 changes: 1 addition & 1 deletion src/support_code_library_builder/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export interface IDefineTestRunHookOptions {
export interface IParameterTypeDefinition<T> {
name: string
regexp: readonly RegExp[] | readonly string[] | RegExp | string
transformer: (...match: string[]) => T
transformer?: (...match: string[]) => T
useForSnippets?: boolean
preferForRegexpMatch?: boolean
}
Expand Down

0 comments on commit e41ba5a

Please sign in to comment.