Socket
Socket
Sign inDemoInstall

@cucumber/cucumber

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber/cucumber - npm Package Compare versions

Comparing version 7.3.0 to 7.3.1

1

lib/cli/configuration_builder.js

@@ -94,2 +94,3 @@ "use strict";

featurePaths = featurePaths.map((p) => p.replace(/(:\d+)*$/g, '')); // Strip line numbers
featurePaths = [...new Set(featurePaths)]; // Deduplicate the feature files
return this.expandPaths(featurePaths, '.feature');

@@ -96,0 +97,0 @@ }

2

lib/cli/publish_banner.js

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

const formattedEnv = safe_1.default.cyan('CUCUMBER_PUBLISH_ENABLED') + '=' + safe_1.default.cyan('true');
const formattedMoreInfoUrl = underlineBoldCyan('https://reports.cucumber.io/docs/cucumber-js');
const formattedMoreInfoUrl = underlineBoldCyan('https://cucumber.io/docs/cucumber/environment-variables/');
const text = `\

@@ -14,0 +14,0 @@ Share your Cucumber Report with your team at ${formattedReportUrl}

@@ -7,3 +7,7 @@ import { TestStepResultStatus } from '@cucumber/messages';

tag: IColorFn;
diffAdded: IColorFn;
diffRemoved: IColorFn;
errorMessage: IColorFn;
errorStack: IColorFn;
}
export default function getColorFns(enabled: boolean): IColorFns;

@@ -6,3 +6,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const lodash_1 = __importDefault(require("lodash"));
const safe_1 = __importDefault(require("colors/safe"));

@@ -26,2 +25,6 @@ safe_1.default.enable();

tag: safe_1.default.cyan.bind(safe_1.default),
diffAdded: safe_1.default.green.bind(safe_1.default),
diffRemoved: safe_1.default.red.bind(safe_1.default),
errorMessage: safe_1.default.red.bind(safe_1.default),
errorStack: safe_1.default.grey.bind(safe_1.default),
};

@@ -32,6 +35,10 @@ }

forStatus(status) {
return lodash_1.default.identity;
return (x) => x;
},
location: lodash_1.default.identity,
tag: lodash_1.default.identity,
location: (x) => x,
tag: (x) => x,
diffAdded: (x) => x,
diffRemoved: (x) => x,
errorMessage: (x) => x,
errorStack: (x) => x,
};

@@ -38,0 +45,0 @@ }

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

setDefinitionFunctionWrapper: (fn) => {
console.log(`setDefinitionFunctionWrapper is deprecated and will be removed in version 8.0.0 of cucumber-js. If this was used to wrap generator functions, please transition to using async / await. If this was used to wrap step definitions, please use BeforeStep / AfterStep hooks instead. If you had other use cases, please create an issue.`);
this.definitionFunctionWrapper = fn;

@@ -40,0 +41,0 @@ },

@@ -42,3 +42,3 @@ import * as messages from '@cucumber/messages';

name: string;
regexp: RegExp;
regexp: readonly RegExp[] | readonly string[] | RegExp | string;
transformer: (...match: string[]) => T;

@@ -45,0 +45,0 @@ useForSnippets?: boolean;

@@ -11,3 +11,3 @@ {

],
"version": "7.3.0",
"version": "7.3.1",
"homepage": "https://github.com/cucumber/cucumber-js",

@@ -14,0 +14,0 @@ "author": "Julien Biezemans <jb@jbpros.com>",

Sorry, the diff of this file is too big to display

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