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

eslint-plugin-testing-library

Package Overview
Dependencies
Maintainers
2
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-testing-library - npm Package Compare versions

Comparing version 7.0.0-beta.3 to 7.0.0-beta.4

22

dist/create-testing-library-rule/index.js

@@ -7,15 +7,13 @@ "use strict";

const detect_testing_library_utils_1 = require("./detect-testing-library-utils");
function createTestingLibraryRule({ create, detectionOptions = {}, meta, ...remainingConfig }) {
return utils_1.ESLintUtils.RuleCreator(utils_2.getDocsUrl)({
...remainingConfig,
create: (0, detect_testing_library_utils_1.detectTestingLibraryUtils)(create, detectionOptions),
meta: {
...meta,
docs: {
...meta.docs,
recommended: undefined,
},
const createTestingLibraryRule = ({ create, detectionOptions = {}, meta, ...remainingConfig }) => utils_1.ESLintUtils.RuleCreator(utils_2.getDocsUrl)({
...remainingConfig,
create: (0, detect_testing_library_utils_1.detectTestingLibraryUtils)(create, detectionOptions),
meta: {
...meta,
docs: {
...meta.docs,
recommended: undefined,
},
});
}
},
});
exports.createTestingLibraryRule = createTestingLibraryRule;
{
"name": "eslint-plugin-testing-library",
"version": "7.0.0-beta.3",
"version": "7.0.0-beta.4",
"description": "ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library",

@@ -54,4 +54,4 @@ "keywords": [

"dependencies": {
"@typescript-eslint/scope-manager": "^6.21.0",
"@typescript-eslint/utils": "^6.21.0"
"@typescript-eslint/scope-manager": "^7.18.0",
"@typescript-eslint/utils": "^7.18.0"
},

@@ -68,4 +68,4 @@ "devDependencies": {

"@types/node": "^20.16.12",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"del-cli": "^5.1.0",

@@ -72,0 +72,0 @@ "eslint": "^8.57.1",

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