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

@cucumber/gherkin-utils

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber/gherkin-utils - npm Package Compare versions

Comparing version 8.0.1 to 8.0.2

tsconfig.base.json

39

dist/package.json
{
"name": "@cucumber/gherkin-utils",
"version": "8.0.1",
"version": "8.0.2",
"description": "Various Gherkin utilities",

@@ -9,4 +9,9 @@ "main": "dist/src/index.js",

"scripts": {
"build": "tsc --build tsconfig.build.json",
"clean": "rm -rf dist",
"eslint-fix": "eslint --ext ts,tsx --max-warnings 0 --fix",
"eslint": "eslint --ext ts,tsx --max-warnings 0",
"test": "mocha",
"prepublishOnly": "tsc --build tsconfig.build.json"
"prepublishOnly": "tsc --build tsconfig.build.json",
"upgrade": "npm-check-updates --upgrade"
},

@@ -27,13 +32,31 @@ "repository": {

"devDependencies": {
"@cucumber/compatibility-kit": "^11.0.0",
"@cucumber/gherkin-streams": "^5.0.1",
"@cucumber/message-streams": "^4.0.1",
"@types/mocha": "10.0.0",
"@types/node": "18.11.8",
"@types/node": "18.11.9",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"ajv": "8.11.2",
"ajv-cli": "5.0.0",
"eslint": "8.28.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.11",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "8.0.0",
"fast-glob": "3.2.12",
"mocha": "10.1.0",
"npm-check-updates": "16.4.1",
"prettier": "2.7.1",
"pretty-quick": "3.1.3",
"rimraf": "^3.0.2",
"ts-node": "10.9.1",
"typescript": "4.8.4"
"tsconfig-paths": "4.1.0",
"typescript": "4.9.3"
},
"dependencies": {
"@cucumber/gherkin": "^24.1.0",
"@cucumber/gherkin": "^25.0.0",
"@cucumber/messages": "^19.1.4",

@@ -46,3 +69,9 @@ "@teppeis/multimaps": "2.0.0",

"test": "test"
},
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
"printWidth": 100
}
}

2

dist/src/commands/formatCommand.d.ts
/// <reference types="node" />
import { Syntax } from '../pretty';
import { Readable, Writable } from 'stream';
export declare type FormatOptions = {
export type FormatOptions = {
fromSyntax?: Syntax;

@@ -6,0 +6,0 @@ toSyntax?: Syntax;

@@ -116,10 +116,17 @@ "use strict";

function read(readable) {
var readable_1, readable_1_1;
var e_1, _a;
var _a, readable_1, readable_1_1;
var _b, e_1, _c, _d;
return __awaiter(this, void 0, void 0, function* () {
const chunks = [];
try {
for (readable_1 = __asyncValues(readable); readable_1_1 = yield readable_1.next(), !readable_1_1.done;) {
const chunk = readable_1_1.value;
chunks.push(chunk);
for (_a = true, readable_1 = __asyncValues(readable); readable_1_1 = yield readable_1.next(), _b = readable_1_1.done, !_b;) {
_d = readable_1_1.value;
_a = false;
try {
const chunk = _d;
chunks.push(chunk);
}
finally {
_a = true;
}
}

@@ -130,3 +137,3 @@ }

try {
if (readable_1_1 && !readable_1_1.done && (_a = readable_1.return)) yield _a.call(readable_1);
if (!_a && !_b && (_c = readable_1.return)) yield _c.call(readable_1);
}

@@ -133,0 +140,0 @@ finally { if (e_1) throw e_1.error; }

import * as messages from '@cucumber/messages';
export declare type GherkinDocumentHandlers<Acc> = {
export type GherkinDocumentHandlers<Acc> = {
feature: (feature: messages.Feature, acc: Acc) => Acc;

@@ -4,0 +4,0 @@ background: (backgrounf: messages.Background, acc: Acc) => Acc;

import * as messages from '@cucumber/messages';
export declare type Syntax = 'markdown' | 'gherkin';
export type Syntax = 'markdown' | 'gherkin';
export default function pretty(gherkinDocument: messages.GherkinDocument, syntax?: Syntax): string;
export declare function escapeCell(s: string): string;
//# sourceMappingURL=pretty.d.ts.map

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

const localMessageFiles = fast_glob_1.default.sync(`${__dirname}/messages/**/*.ndjson`);
const tckMessageFiles = fast_glob_1.default.sync(`${__dirname}/../../../node_modules/@cucumber/compatibility-kit/features/**/*.ndjson`);
const tckMessageFiles = fast_glob_1.default.sync(`${__dirname}/../node_modules/@cucumber/compatibility-kit/features/**/*.ndjson`);
const messageFiles = [].concat(localMessageFiles, tckMessageFiles);

@@ -28,0 +28,0 @@ it('must have some messages for comparison', () => {

{
"name": "@cucumber/gherkin-utils",
"version": "8.0.1",
"version": "8.0.2",
"description": "Various Gherkin utilities",

@@ -9,4 +9,9 @@ "main": "dist/src/index.js",

"scripts": {
"build": "tsc --build tsconfig.build.json",
"clean": "rm -rf dist",
"eslint-fix": "eslint --ext ts,tsx --max-warnings 0 --fix",
"eslint": "eslint --ext ts,tsx --max-warnings 0",
"test": "mocha",
"prepublishOnly": "tsc --build tsconfig.build.json"
"prepublishOnly": "tsc --build tsconfig.build.json",
"upgrade": "npm-check-updates --upgrade"
},

@@ -27,13 +32,31 @@ "repository": {

"devDependencies": {
"@cucumber/compatibility-kit": "^11.0.0",
"@cucumber/gherkin-streams": "^5.0.1",
"@cucumber/message-streams": "^4.0.1",
"@types/mocha": "10.0.0",
"@types/node": "18.11.8",
"@types/node": "18.11.9",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"ajv": "8.11.2",
"ajv-cli": "5.0.0",
"eslint": "8.28.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.11",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "8.0.0",
"fast-glob": "3.2.12",
"mocha": "10.1.0",
"npm-check-updates": "16.4.1",
"prettier": "2.7.1",
"pretty-quick": "3.1.3",
"rimraf": "^3.0.2",
"ts-node": "10.9.1",
"typescript": "4.8.4"
"tsconfig-paths": "4.1.0",
"typescript": "4.9.3"
},
"dependencies": {
"@cucumber/gherkin": "^24.1.0",
"@cucumber/gherkin": "^25.0.0",
"@cucumber/messages": "^19.1.4",

@@ -46,3 +69,9 @@ "@teppeis/multimaps": "2.0.0",

"test": "test"
},
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
"printWidth": 100
}
}

@@ -16,3 +16,3 @@ import assert from 'assert'

const tckMessageFiles = fg.sync(
`${__dirname}/../../../node_modules/@cucumber/compatibility-kit/features/**/*.ndjson`
`${__dirname}/../node_modules/@cucumber/compatibility-kit/features/**/*.ndjson`
)

@@ -19,0 +19,0 @@ const messageFiles = [].concat(localMessageFiles, tckMessageFiles)

{
"extends": "../../tsconfig.build.json",
"extends": "./tsconfig.base.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
"outDir": "dist",
"composite": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"inlineSources": true,
"target": "es6",
"module": "commonjs"
},
"include": [
"src",
"test",
"package.json"
]
"include": ["src", "test", "package.json"]
}
{
"extends": "../../tsconfig.json"
"extends": "./tsconfig.base.json",
"compilerOptions": {
"baseUrl": ".",
"noEmit": true
},
"ts-node": {
"files": true
}
}

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

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