@cucumber/gherkin-streams
Advanced tools
Comparing version 3.0.0 to 4.0.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71480
+ Added@cucumber/gherkin@21.0.0(transitive)
+ Addedcommander@8.1.0(transitive)
- Removed@cucumber/gherkin@20.0.1(transitive)
- Removedcommander@8.0.0(transitive)
Updated@cucumber/gherkin@^21.0.0
Updated@cucumber/messages@^17.1.0
Updatedcommander@8.1.0