@cucumber/gherkin
Advanced tools
Comparing version 12.0.0 to 13.0.0
{ | ||
"name": "@cucumber/gherkin", | ||
"version": "12.0.0", | ||
"version": "13.0.0", | ||
"description": "Gherkin parser", | ||
@@ -34,18 +34,18 @@ "main": "dist/src/index.js", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^13.9.8", | ||
"@typescript-eslint/eslint-plugin": "^2.26.0", | ||
"@typescript-eslint/parser": "^2.26.0", | ||
"@types/node": "^13.11.1", | ||
"@typescript-eslint/eslint-plugin": "^2.28.0", | ||
"@typescript-eslint/parser": "^2.28.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.10.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"eslint-plugin-react": "^7.19.0", | ||
"mocha": "^7.1.1", | ||
"nyc": "^15.0.0", | ||
"prettier": "^2.0.2", | ||
"ts-node": "^8.8.1", | ||
"nyc": "^15.0.1", | ||
"prettier": "^2.0.4", | ||
"ts-node": "^8.8.2", | ||
"typescript": "^3.8.3" | ||
}, | ||
"dependencies": { | ||
"@cucumber/messages": "^11.1.1", | ||
"@cucumber/messages": "^12.0.0", | ||
"@teppeis/multimaps": "^1.1.0", | ||
@@ -52,0 +52,0 @@ "commander": "^5.0.0", |
@@ -187,2 +187,3 @@ "use strict"; | ||
return messages_1.messages.GherkinDocument.Feature.Background.create({ | ||
id: this.newId(), | ||
location: this.getLocation(backgroundLine), | ||
@@ -220,2 +221,3 @@ keyword: backgroundLine.matchedKeyword, | ||
return messages_1.messages.GherkinDocument.Feature.Scenario.Examples.create({ | ||
id: this.newId(), | ||
tags: tags, | ||
@@ -335,2 +337,3 @@ location: this.getLocation(examplesLine), | ||
return messages_1.messages.GherkinDocument.Feature.FeatureChild.Rule.create({ | ||
id: this.newId(), | ||
location: this.getLocation(ruleLine), | ||
@@ -337,0 +340,0 @@ keyword: ruleLine.matchedKeyword, |
import { messages, IdGenerator } from '@cucumber/messages'; | ||
import IGherkinDocument = messages.IGherkinDocument; | ||
export default function compile(gherkinDocument: IGherkinDocument, uri: string, newId: IdGenerator.NewId): messages.IPickle[]; | ||
export default function compile(gherkinDocument: IGherkinDocument, uri: string, newId: IdGenerator.NewId): ReadonlyArray<messages.IPickle>; |
@@ -86,3 +86,3 @@ "use strict"; | ||
result.push(messages_1.messages.Envelope.create({ | ||
attachment: { | ||
parseError: { | ||
source: { | ||
@@ -95,3 +95,3 @@ uri: uri, | ||
}, | ||
body: error.message, | ||
message: error.message, | ||
}, | ||
@@ -98,0 +98,0 @@ })); |
{ | ||
"name": "@cucumber/gherkin", | ||
"version": "12.0.0", | ||
"version": "13.0.0", | ||
"description": "Gherkin parser", | ||
@@ -34,18 +34,18 @@ "main": "dist/src/index.js", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^13.9.8", | ||
"@typescript-eslint/eslint-plugin": "^2.26.0", | ||
"@typescript-eslint/parser": "^2.26.0", | ||
"@types/node": "^13.11.1", | ||
"@typescript-eslint/eslint-plugin": "^2.28.0", | ||
"@typescript-eslint/parser": "^2.28.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-prettier": "^6.10.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"eslint-plugin-react": "^7.19.0", | ||
"mocha": "^7.1.1", | ||
"nyc": "^15.0.0", | ||
"prettier": "^2.0.2", | ||
"ts-node": "^8.8.1", | ||
"nyc": "^15.0.1", | ||
"prettier": "^2.0.4", | ||
"ts-node": "^8.8.2", | ||
"typescript": "^3.8.3" | ||
}, | ||
"dependencies": { | ||
"@cucumber/messages": "^11.1.1", | ||
"@cucumber/messages": "^12.0.0", | ||
"@teppeis/multimaps": "^1.1.0", | ||
@@ -52,0 +52,0 @@ "commander": "^5.0.0", |
@@ -178,2 +178,3 @@ import AstNode from './AstNode' | ||
return messages.GherkinDocument.Feature.Background.create({ | ||
id: this.newId(), | ||
location: this.getLocation(backgroundLine), | ||
@@ -214,2 +215,3 @@ keyword: backgroundLine.matchedKeyword, | ||
return messages.GherkinDocument.Feature.Scenario.Examples.create({ | ||
id: this.newId(), | ||
tags, | ||
@@ -316,2 +318,3 @@ location: this.getLocation(examplesLine), | ||
return messages.GherkinDocument.Feature.FeatureChild.Rule.create({ | ||
id: this.newId(), | ||
location: this.getLocation(ruleLine), | ||
@@ -318,0 +321,0 @@ keyword: ruleLine.matchedKeyword, |
@@ -8,3 +8,3 @@ import { messages, IdGenerator } from '@cucumber/messages' | ||
newId: IdGenerator.NewId | ||
) { | ||
): ReadonlyArray<messages.IPickle> { | ||
const pickles: messages.IPickle[] = [] | ||
@@ -11,0 +11,0 @@ |
@@ -66,3 +66,3 @@ import Parser from '../Parser' | ||
messages.Envelope.create({ | ||
attachment: { | ||
parseError: { | ||
source: { | ||
@@ -75,3 +75,3 @@ uri, | ||
}, | ||
body: error.message, | ||
message: error.message, | ||
}, | ||
@@ -78,0 +78,0 @@ }) |
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 too big to display
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
723751
17476
+ Added@cucumber/messages@12.4.0(transitive)
+ Added@types/uuid@8.3.4(transitive)
+ Addeduuid@8.3.2(transitive)
- Removed@cucumber/messages@11.1.1(transitive)
- Removed@types/uuid@7.0.8(transitive)
- Removeduuid@7.0.3(transitive)
Updated@cucumber/messages@^12.0.0