Socket
Socket
Sign inDemoInstall

eslint-plugin-test-selectors

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-test-selectors - npm Package Compare versions

Comparing version 1.3.2 to 2.0.0

docs/rules/onSubmit.md

4

lib/constants.js

@@ -55,4 +55,8 @@ module.exports = {

type: 'JSXOpeningElement'
},
onSubmit: {
message: 'Elements with an onSubmit handler must have a ${ this.attribute } attribute.',
type: 'JSXOpeningElement'
}
}
};

10

package.json
{
"name": "eslint-plugin-test-selectors",
"version": "1.3.2",
"version": "2.0.0",
"description": "Makes sure test DOM attributes (e.g. data-test-id) are added to interactive DOM elements.",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/davidcalhoun/eslint-plugin-test-selectors#readme",

"dependencies": {
"jsx-ast-utils": "^3.2.0",
"nanoid": "^3.1.18",
"jsx-ast-utils": "^3.2.1",
"nanoid": "^3.1.30",
"requireindex": "^1.2.0"

@@ -32,4 +32,4 @@ },

"babel-eslint": "^10.1.0",
"eslint": "^7.16.0",
"mocha": "^8.2.1",
"eslint": "^8.5.0",
"mocha": "^9.1.3",
"mock-require": "^3.0.3"

@@ -36,0 +36,0 @@ },

@@ -141,2 +141,3 @@ # eslint-plugin-test-selectors

* `test-selectors/onKeyUp`
* `test-selectors/onSubmit`

@@ -143,0 +144,0 @@ ## Further Reading

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