Socket
Socket
Sign inDemoInstall

eslint-plugin-cypress

Package Overview
Dependencies
1
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.0 to 3.1.1

4

lib/rules/unsafe-to-chain-command.js

@@ -22,3 +22,3 @@ 'use strict'

'each',
'focus$',
'focus',
'rightclick',

@@ -134,3 +134,3 @@ 'screenshot',

const unsafeActionsRegex = new RegExp([
...unsafeToChainActions,
...unsafeToChainActions.map((action) => `^${action}$`),
...additionalMethods.map((method) => method instanceof RegExp ? method.source : method),

@@ -137,0 +137,0 @@ ].join('|'))

{
"name": "eslint-plugin-cypress",
"version": "3.1.0",
"version": "3.1.1",
"description": "An ESLint plugin for projects using Cypress",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -21,2 +21,6 @@ 'use strict'

},
{
code: 'cy.submitBtn().click();',
parserOptions,
},
],

@@ -23,0 +27,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc