Socket
Socket
Sign inDemoInstall

@cucumber/gherkin

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber/gherkin - npm Package Versions

1234

12.0.0

Diff

Changelog

Source

[12.0.0] - 2020-03-31

Added

  • [JavaScript] New exports: * Parser * compile (#924 davidjgoss)
  • [JavaScript] Add Query#getPickles()
  • [JavaScript] Export compile function for compiling Pickles

Changed

  • Upgrade to messages 11.x
  • [JavaScript] The default export has been removed. Replaced with: * import { GherkinStreams } from 'gherkin' to use the fromPaths, fromStream and fromSources functions * import { dialects } from 'gherkin' to access dialects
  • [JavaScript] Dialect properties are read only
  • [JavaScript] fromPaths, fromStream and fromSources now use ReadOnlyArray to prevent modifying the passed array.

Fixed

cukebot
published 11.0.0 •

Changelog

Source

[11.0.0] - 2020-03-02

Changed

  • [JavaScript] Renamed GherkinQuery to Query

Fixed

  • Update Indonesian Gherkin Language (#872 [#KniveX])

Removed

  • [JavaScript] Removed StrictMap and StrictArrayMultiMap
cukebot
published 10.0.0 •

Changelog

Source

[10.0.0] - 2020-02-13

Changed

  • Upgrade to messages v10.0.1

Fixed

  • [Java/JavaScript/Go/Ruby] Fix parsing of commented tags (880, 721 mpkorstanje)
  • [JavaScript] Gherkin#fromPaths emits an error if a path can't be read (for example if it is a directory)
  • [Java/JavaScript/Ruby/Go] Escape triple backticks in alternative docstring (#889 mpkorstanje)
cukebot
published 9.2.0 •

Changelog

Source

[9.2.0] - 2020-01-22

Added

  • [JavaScript] Add getGherkinDocuments(): messages.IGherkinDocument[]
  • [JavaScript] Add `getPickleStepIds(uri: string, lineNumber: number): string[]``

Changed

  • [JavaScript] Change signature of getPickleIds(uri: string, lineNumber?: number): string[] - lineNumber is optional
  • [JavaScript] getPickleIds only operates on pickles, and not on pickle steps
cukebot
published 9.1.0 •

Changelog

Source

[9.1.0] - 2020-01-10

Added

Changed

  • Upgrade to messages 9.0.1
  • [JavaScript] the Gherkin#fromStream, Gherkin#fromPaths and Gherkin#fromSources functions' options argument is no longer optional, and it must have a createReadStream property. The reason for this is to decouple the library from Node's fs module so it can be packaged with Webpack and be used in a browser.
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