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

eslint-plugin-react-perf

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-perf - npm Package Compare versions

Comparing version 3.3.1 to 3.3.2

reports/coverage/coverage.json

2

docs/rules/jsx-no-new-function-as-prop.md

@@ -1,2 +0,2 @@

# Prevent `function` as JSX prop values (jsx-no-new-object-as-prop)
# Prevent `function` as JSX prop values (jsx-no-new-function-as-prop)

@@ -3,0 +3,0 @@ Prevent Functions that are local to the current method from being used as values of JSX props

{
"name": "eslint-plugin-react-perf",
"version": "3.3.1",
"version": "3.3.2",
"description": "Performance-minded React linting rules for ESLint",

@@ -36,5 +36,4 @@ "main": "index.js",

"eslint-plugin-standard": "^2.0.1",
"eslint-watch": "^2.1.14",
"istanbul": "^0.4.5",
"mocha": "^5.2.0"
"mocha": "^10.2.0"
},

@@ -41,0 +40,0 @@ "peerDependencies": {

"use strict";
const { testRule} = require("../utils/common");

@@ -18,3 +19,3 @@ var invalidJSXElements = [

module.exports = require("../utils/common").testRule(
module.exports = testRule(
"../../../lib/rules/jsx-no-jsx-as-prop",

@@ -21,0 +22,0 @@ "jsx-no-jsx-as-prop",

"use strict";
const { testRule} = require("../utils/common");

@@ -49,3 +50,3 @@ var invalidArrayExpressions = [

module.exports = require("../utils/common").testRule(
module.exports = testRule(
"../../../lib/rules/jsx-no-new-array-as-prop",

@@ -52,0 +53,0 @@ "jsx-no-new-array-as-prop",

"use strict";
const { testRule} = require("../utils/common");

@@ -69,3 +70,3 @@ var invalidFunctionExpressions = [

module.exports = require("../utils/common").testRule(
module.exports = testRule(
"../../../lib/rules/jsx-no-new-function-as-prop",

@@ -72,0 +73,0 @@ "jsx-no-new-function-as-prop",

"use strict";
const { testRule} = require("../utils/common");

@@ -49,3 +50,3 @@ var invalidObjectExpressions = [

module.exports = require("../utils/common").testRule(
module.exports = testRule(
"../../../lib/rules/jsx-no-new-object-as-prop",

@@ -52,0 +53,0 @@ "jsx-no-new-object-as-prop",

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