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

@cucumber/gherkin-streams

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber/gherkin-streams - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

16

dist/package.json
{
"name": "@cucumber/gherkin-streams",
"version": "3.0.0",
"version": "4.0.0",
"description": "Streams for reading Gherkin parser output",

@@ -21,14 +21,14 @@ "main": "dist/src/index.js",

"dependencies": {
"@cucumber/messages": "^17.0.0",
"@cucumber/messages": "^17.1.0",
"@cucumber/message-streams": "^3.0.0",
"@cucumber/gherkin": "^20.0.0",
"commander": "8.0.0",
"@cucumber/gherkin": "^21.0.0",
"commander": "8.1.0",
"source-map-support": "0.5.19"
},
"devDependencies": {
"@types/mocha": "8.2.3",
"@types/node": "14.17.5",
"mocha": "9.0.2",
"@types/mocha": "9.0.0",
"@types/node": "14.17.14",
"mocha": "9.1.1",
"nyc": "15.1.0",
"typescript": "4.3.5"
"typescript": "4.4.2"
},

@@ -35,0 +35,0 @@ "bugs": {

@@ -13,3 +13,3 @@ "use strict";

const pathsCopy = paths.slice();
options = makeGherkinOptions_1.default(options);
options = (0, makeGherkinOptions_1.default)(options);
const combinedMessageStream = new stream_1.PassThrough({

@@ -43,3 +43,3 @@ writableObjectMode: true,

const envelopesCopy = envelopes.slice();
options = makeGherkinOptions_1.default(options);
options = (0, makeGherkinOptions_1.default)(options);
const combinedMessageStream = new stream_1.PassThrough({

@@ -46,0 +46,0 @@ writableObjectMode: true,

@@ -15,3 +15,3 @@ "use strict";

if (envelope.source) {
const messageList = gherkin_1.generateMessages(envelope.source.data, envelope.source.uri, envelope.source.mediaType, this.options);
const messageList = (0, gherkin_1.generateMessages)(envelope.source.data, envelope.source.uri, envelope.source.mediaType, this.options);
for (const message of messageList) {

@@ -18,0 +18,0 @@ this.push(message);

@@ -22,3 +22,3 @@ "use strict";

const data = this.buffer.toString('utf-8');
const chunk = gherkin_1.makeSourceEnvelope(data, this.relativeTo ? path_1.relative(this.relativeTo, this.uri) : this.uri);
const chunk = (0, gherkin_1.makeSourceEnvelope)(data, this.relativeTo ? (0, path_1.relative)(this.relativeTo, this.uri) : this.uri);
this.push(chunk);

@@ -25,0 +25,0 @@ callback();

@@ -38,3 +38,3 @@ "use strict";

it('parses gherkin from STDIN', () => __awaiter(void 0, void 0, void 0, function* () {
const source = gherkin_1.makeSourceEnvelope(`Feature: Minimal
const source = (0, gherkin_1.makeSourceEnvelope)(`Feature: Minimal

@@ -48,3 +48,3 @@ Scenario: minimalistic

it('parses gherkin using the provided default language', () => __awaiter(void 0, void 0, void 0, function* () {
const source = gherkin_1.makeSourceEnvelope(`Fonctionnalité: i18n support
const source = (0, gherkin_1.makeSourceEnvelope)(`Fonctionnalité: i18n support
Scénario: Support des caractères spéciaux

@@ -51,0 +51,0 @@ Soit un exemple de scénario en français

{
"name": "@cucumber/gherkin-streams",
"version": "3.0.0",
"version": "4.0.0",
"description": "Streams for reading Gherkin parser output",

@@ -21,14 +21,14 @@ "main": "dist/src/index.js",

"dependencies": {
"@cucumber/messages": "^17.0.0",
"@cucumber/messages": "^17.1.0",
"@cucumber/message-streams": "^3.0.0",
"@cucumber/gherkin": "^20.0.0",
"commander": "8.0.0",
"@cucumber/gherkin": "^21.0.0",
"commander": "8.1.0",
"source-map-support": "0.5.19"
},
"devDependencies": {
"@types/mocha": "8.2.3",
"@types/node": "14.17.5",
"mocha": "9.0.2",
"@types/mocha": "9.0.0",
"@types/node": "14.17.14",
"mocha": "9.1.1",
"nyc": "15.1.0",
"typescript": "4.3.5"
"typescript": "4.4.2"
},

@@ -35,0 +35,0 @@ "bugs": {

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 not supported yet

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