Cucumber version 1.0.0 represents a significant update from the previous stable version, 0.10.4, offering both new features, dependency updates, and some removals that developers should be aware of. Both versions maintain the core functionality of providing a JavaScript implementation of Cucumber, a popular tool for Behavior-Driven Development (BDD).
A key difference lies in the dependencies. Version 1.0.0 introduces a new dependency, base-64, while dropping through and uglifyify which were present in version 0.10.4. A significant update is the jump in the gherkin dependency, upgraded from version 2.12.2 to version 4.0.0. This gherkin update likely includes changes to the Gherkin parser and may require developers to adjust their feature files if relying on deprecated features or syntax from older Gherkin versions. This change can impact how Cucumber reads and interprets your feature files.
Both versions shares many dependencies in common such as co, glob, colors, lodash, callsite, duration, cli-table, commander, camel-case, stack-chain, is-generator, and cucumber-html. Similarly, the devDependencies have many similarities such as tmp, pogo, async, sinon, jshint, rimraf, ansi_up, connect, jasmine, exorcist, fs-extra, json-diff, browserify, serve-static, and coffee-script.
Developers upgrading to version 1.0.0 should carefully review the gherkin changelog and test their existing feature files to ensure compatibility. Understanding the changes introduced by gherkin version 4.0.0 is crucial for a smooth transition. The addition of base-64 may offer new encoding/decoding capabilities within the Cucumber framework, potentially expanding its utility in handling various data formats within tests. Also the versions share similar metadata information, such as the license, repository URL, author information, and main dependencies.
The are not vulnerabilities for the version 1.0.0 of the package cucumber