Socket
Socket
Sign inDemoInstall

@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 Versions

1
45

8.0.0-rc.2

Diff

Changelog

Source

[8.0.0-rc.2] - 2022-01-10

Added

  • Export Cucumber's version number. It is now possible to retrieve the current version of Cucumber using import { version } from '@cucumber/cucumber' (#1866 #1853)

Changed

  • Switched to new @cucumber/ci-environment library for CI detection (#1868)

Fixed

  • Handles spaces in paths for developers working on Cucumber's own code (#1845)
  • Ensure package.json can be imported by consuming projects (#1870 #1869)
  • Allows for parentheses in paths for developers working on Cucumber's own code (#1735)
  • Smoother onboarding for Windows developers (#1863)
  • Pin colors to 1.4.0 to fix security vulnerability (#1884)
  • Pin cli-table3 to 0.6.1 to fix security vulnerability (#251)
cukebot
published 7.3.2 •

Changelog

Source

[7.3.2] - 2022-01-10

Fixed

  • Pin colors to 1.4.0 to fix security vulnerability (#1884)
  • Pin cli-table3 to 0.6.1 to fix security vulnerability (#251)
cukebot
published 8.0.0-rc.1 •

Changelog

Source

[8.0.0-rc.1] - 2021-10-19

Added

  • Add wrapPromiseWithTimeout to public API (#1566)
  • Add support for user code as native ES modules
  • BeforeStep and AfterStep hook functions now have access to the pickleStep in their argument object
  • --config option to the CLI. It allows you to specify a configuration file other than cucumber.js (see documentation) #1794

Changed

  • Relative paths for custom snippet syntaxes must begin with . (#1640)
  • Absolute paths for custom formatters and snippet syntaxes must be a valid file:// URL
  • Use performance timers for test case duration measurement #1793

Fixed

  • Allow targeting same file multiple times (#1708)
  • When running with --dry-run, undefined or ambiguous steps no longer cause the process to exit with code 1 (#1814)
  • When running the --help command, it now shows all available formatters under the --format option #1798

Removed

  • Drop support for Node.js 10 and 15, add support for Node.js 16
  • Remove deprecated --retryTagFilter option (the correct option is --retry-tag-filter) (#1713)
  • Remove validation that step definition functions are not generators
  • Remove --predictable-ids option (was only used for internal testing)
cukebot
published 7.3.1 •

Changelog

Source

[7.3.1] - 2021-07-20

Deprecated

  • Deprecate setDefinitionFunctionWrapper and step definition option wrapperOptions

Fixed

  • Prevent duplicate scenario execution where the same feature is targeted in multiple line expressions (#1706)
  • Fixed reports banner to point to new docs about environment variables
  • Re-add color functions for use with custom formatters 1582
  • IParameterTypeDefinition regexp fix 1702
cukebot
published 7.3.0 •

Changelog

Source

[7.3.0] - 2021-06-17

Added

Changed

  • All testCase messages now emitted upfront at the start of the run (relevant for formatter authors) (#1408 #1669)
  • Clarify that the JSON formatter will not be removed any time soon

Fixed

  • this now has correct TypeScript type in support code functions (#1667 #1690)
  • Progress bar formatter now reports total step count correctly (#1579 #1669)
  • Rerun functionality will now run nothing if the rerun file is empty from the previous run (#1302 #1568)
  • All messages now emitted with project-relative uris (#1534 #1672)
  • Json formatter now works with tagged examples (#1621 #1651)
cukebot
published 7.2.1 •

Changelog

Source

[7.2.1] - 2021-04-21

Fixed

  • Temporarily remove ESM changes due to impact on formatters
cukebot
published 7.2.0 •

Changelog

Source

[7.2.0] - 2021-04-20

Added

cukebot
published 7.1.0 •

Changelog

Source

[7.1.0] - 2021-04-06

Added

  • Support attachments that are already base64-encoded via a prefix on the MIME type e.g. this.attach(base64String, 'base64:image/png') (#1552)
  • Support tagged rules (cucumber#1123)

Fixed

  • Fix types for hook functions so they can return e.g. 'skipped' (#1542)
  • Display the response of the reports server when an error is returned before failing. (#1608)
  • Remove unnecessary implicit dependency on long package (cucumber#1313)
  • Remove unnecessary transitive dependencies on react etc (cucumber#1308)
cukebot
published 7.0.0 •

Changelog

Source

[7.0.0] - 2020-12-21

Added

  • Add a built in html formatter for rich HTML reports output as a standalone page (#1432)
  • Add support for BeforeStep and AfterStep hooks (#1416)
  • Custom formatters can now be resolved by a module name (as well as by a relative path), enabling use of Yarn PnP (#1413)

Fixed

Removed

  • Support for running Cucumber in web browsers has been removed (#1508). This feature was increasingly difficult to support and seldom used. Node.js will now be the only support runtime for Cucumber itself; of course as before you can still use tools like WebDriver and Puppeteer to instrument testing of browser-based software. See the discussion in #1437 for more about why this change is happening.
cukebot
published 7.0.0-rc.0 •

Changelog

Source

[7.0.0-rc.0] - 2020-09-14

Added

Changed

  • The npm module has changed name from cucumber to @cucumber/cucumber - require/import statements must be changed from cucumber to @cucumber/cucumber
  • TypeScript users must rename TableDefinition to DataTable
  • Drop support for Node.js 8, add support for Node.js 14
  • Events are now based on cucumber-messages
  • event-protocol formatter has been removed and replaced with message
  • Formatters
  • Remove long-deprecated typeName from options object for defineParameterType in favour of name
  • CUCUMBER_TOTAL_SLAVES is now CUCUMBER_TOTAL_WORKERS
  • CUCUMBER_SLAVE_ID is now CUCUMBER_WORKER_ID
  • Parallel runtime environment variables renamed for inclusivity:
  • Custom formatters are now loaded via the regular require paths relative to the current directory, unless it begins with a dot (e.g. --format=./relpath/to/formatter). Previously this was always loaded as a file relative to the current directory.

Deprecated

  • json formatter is deprecated and will be removed in next major release. Custom formatters should migrate to use the message formatter, or the standalone JSON formatter as a stopgap.

Fixed

  • don't execute BeforeAll and AfterAll hooks when in dry-run
  • support correct case for --retry-tag-filter CLI argument
1
45
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