Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gherkin

Package Overview
Dependencies
Maintainers
3
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gherkin - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

lib/gherkin/generate_events.js

10

CONTRIBUTING.md

@@ -21,11 +21,1 @@ Please read [CONTRIBUTING](https://github.com/cucumber/gherkin/blob/master/CONTRIBUTING.md) first.

make dist/gherkin.js
## Make a release
# Do not manually change the version in package.json - this
# happens during npm version.
npm outdated --depth 0 # See if you can upgrade anything
npm version NEW_VERSION
npm publish
git push
git push --tags

26

index.js

@@ -1,13 +0,15 @@

(function (root, factory) {
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module !== 'undefined' && module.exports) {
// Node.js/IO.js/RequireJS
// AMD. Register as an anonymous module
define([], factory)
}
if (typeof module !== 'undefined' && module.exports) {
// Node.js/RequireJS
module.exports = factory();
} else {
// Browser globals (root is window)
root.Gherkin = factory();
}
}(this, function () {
if (typeof window === 'object'){
// Browser globals
window.Gherkin = factory();
}
}(function () {
return {

@@ -20,8 +22,4 @@ Parser: require('./lib/gherkin/parser'),

DIALECTS: require('./lib/gherkin/dialects'),
Stream: {
createGherkinStream: require('./lib/gherkin/stream/gherkin_stream'),
createSourceEventStream: require('./lib/gherkin/stream/source_event_stream'),
createNdjsonStream: require('./lib/gherkin/stream/ndjson_stream')
}
generateEvents: require('./lib/gherkin/generate_events')
};
}));
{
"name": "gherkin",
"version": "4.1.2",
"version": "4.1.3",
"description": "Gherkin parser",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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