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

eslint-plugin-cucumber

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-cucumber - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

lib/rules/async-then.js
module.exports = function(context) {
const CALLBACK_NAMES = /^(next|done)$/;
const CALLBACK_NAMES = /^(next|done|callback)$/;

@@ -4,0 +4,0 @@ function isThenStep(node) {

{
"name": "eslint-plugin-cucumber",
"version": "1.0.0",
"version": "1.1.0",
"description": "eslint rules for cucumber steps",

@@ -5,0 +5,0 @@ "keywords": [

@@ -12,2 +12,4 @@ const rule = require('../../../lib/rules/async-then');

'Then(/step/, function (next) {})',
'this.Then(/step/, function (callback) {})',
'Then(/step/, function (callback) {})',
'this.Given(/step/, function () {})',

@@ -14,0 +16,0 @@ 'Given(/step/, function () {})',

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