@cucumber/gherkin-utils
Advanced tools
Comparing version 8.0.0 to 8.0.1
{ | ||
"name": "@cucumber/gherkin-utils", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Various Gherkin utilities", | ||
"main": "dist/src/index.js", | ||
"types": "dist/src/index.d.ts", | ||
"bin": { | ||
"@cucumber/gherkin-utils": "bin/gherkin-utils" | ||
}, | ||
"bin": "bin/gherkin-utils", | ||
"scripts": { | ||
@@ -28,16 +26,17 @@ "test": "mocha", | ||
"devDependencies": { | ||
"@cucumber/gherkin": "^24.0.0", | ||
"@cucumber/gherkin-streams": "^5.0.1", | ||
"@cucumber/message-streams": "^4.0.1", | ||
"@types/mocha": "9.1.1", | ||
"@types/node": "16.11.36", | ||
"fast-glob": "3.2.11", | ||
"mocha": "10.0.0", | ||
"ts-node": "10.8.0", | ||
"typescript": "4.7.2" | ||
"@types/mocha": "10.0.0", | ||
"@types/node": "18.11.8", | ||
"fast-glob": "3.2.12", | ||
"mocha": "10.1.0", | ||
"ts-node": "10.9.1", | ||
"typescript": "4.8.4" | ||
}, | ||
"dependencies": { | ||
"@cucumber/messages": "^19.0.0", | ||
"@cucumber/gherkin": "^24.1.0", | ||
"@cucumber/messages": "^19.1.4", | ||
"@teppeis/multimaps": "2.0.0", | ||
"commander": "9.3.0" | ||
"commander": "9.4.1", | ||
"source-map-support": "^0.5.21" | ||
}, | ||
@@ -44,0 +43,0 @@ "directories": { |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const assert_1 = __importDefault(require("assert")); | ||
const message_streams_1 = require("@cucumber/message-streams"); | ||
@@ -25,4 +26,7 @@ const stream_1 = require("stream"); | ||
const localMessageFiles = fast_glob_1.default.sync(`${__dirname}/messages/**/*.ndjson`); | ||
const tckMessageFiles = fast_glob_1.default.sync(`${__dirname}/../../../compatibility-kit/javascript/features/**/*.ndjson`); | ||
const tckMessageFiles = fast_glob_1.default.sync(`${__dirname}/../../../node_modules/@cucumber/compatibility-kit/features/**/*.ndjson`); | ||
const messageFiles = [].concat(localMessageFiles, tckMessageFiles); | ||
it('must have some messages for comparison', () => { | ||
assert_1.default.notEqual(messageFiles.length, 0); | ||
}); | ||
for (const messageFile of messageFiles) { | ||
@@ -29,0 +33,0 @@ it(`can walk through GherkinDocuments in ${messageFile}`, () => __awaiter(void 0, void 0, void 0, function* () { |
{ | ||
"name": "@cucumber/gherkin-utils", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Various Gherkin utilities", | ||
"main": "dist/src/index.js", | ||
"types": "dist/src/index.d.ts", | ||
"bin": { | ||
"@cucumber/gherkin-utils": "bin/gherkin-utils" | ||
}, | ||
"bin": "bin/gherkin-utils", | ||
"scripts": { | ||
@@ -28,16 +26,17 @@ "test": "mocha", | ||
"devDependencies": { | ||
"@cucumber/gherkin": "^24.0.0", | ||
"@cucumber/gherkin-streams": "^5.0.1", | ||
"@cucumber/message-streams": "^4.0.1", | ||
"@types/mocha": "9.1.1", | ||
"@types/node": "16.11.36", | ||
"fast-glob": "3.2.11", | ||
"mocha": "10.0.0", | ||
"ts-node": "10.8.0", | ||
"typescript": "4.7.2" | ||
"@types/mocha": "10.0.0", | ||
"@types/node": "18.11.8", | ||
"fast-glob": "3.2.12", | ||
"mocha": "10.1.0", | ||
"ts-node": "10.9.1", | ||
"typescript": "4.8.4" | ||
}, | ||
"dependencies": { | ||
"@cucumber/messages": "^19.0.0", | ||
"@cucumber/gherkin": "^24.1.0", | ||
"@cucumber/messages": "^19.1.4", | ||
"@teppeis/multimaps": "2.0.0", | ||
"commander": "9.3.0" | ||
"commander": "9.4.1", | ||
"source-map-support": "^0.5.21" | ||
}, | ||
@@ -44,0 +43,0 @@ "directories": { |
@@ -0,1 +1,2 @@ | ||
import assert from 'assert' | ||
import * as messages from '@cucumber/messages' | ||
@@ -15,6 +16,10 @@ import { NdjsonToMessageStream } from '@cucumber/message-streams' | ||
const tckMessageFiles = fg.sync( | ||
`${__dirname}/../../../compatibility-kit/javascript/features/**/*.ndjson` | ||
`${__dirname}/../../../node_modules/@cucumber/compatibility-kit/features/**/*.ndjson` | ||
) | ||
const messageFiles = [].concat(localMessageFiles, tckMessageFiles) | ||
it('must have some messages for comparison', () => { | ||
assert.notEqual(messageFiles.length, 0) | ||
}) | ||
for (const messageFile of messageFiles) { | ||
@@ -21,0 +26,0 @@ it(`can walk through GherkinDocuments in ${messageFile}`, async () => { |
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
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
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
338376
8
4161
5
+ Added@cucumber/gherkin@^24.1.0
+ Addedsource-map-support@^0.5.21
+ Added@cucumber/gherkin@24.1.0(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcommander@9.4.1(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsource-map-support@0.5.21(transitive)
- Removedcommander@9.3.0(transitive)
Updated@cucumber/messages@^19.1.4
Updatedcommander@9.4.1