@welldone-software/why-did-you-render
Advanced tools
Comparing version 6.2.1 to 6.2.2
import './types.d.ts'; |
@@ -0,0 +0,0 @@ /* eslint-disable*/ |
import './types.d.ts'; |
module.exports = require('react/jsx-runtime'); |
{ | ||
"name": "@welldone-software/why-did-you-render", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"description": "Monkey patches React to notify you about avoidable re-renders.", | ||
@@ -62,35 +62,35 @@ "types": "types.d.ts", | ||
"devDependencies": { | ||
"@babel/cli": "^7.14.8", | ||
"@babel/core": "^7.15.0", | ||
"@babel/eslint-parser": "^7.15.0", | ||
"@babel/plugin-proposal-class-properties": "^7.14.5", | ||
"@babel/preset-env": "^7.15.0", | ||
"@babel/preset-react": "^7.14.5", | ||
"@babel/cli": "^7.16.0", | ||
"@babel/core": "^7.16.0", | ||
"@babel/eslint-parser": "^7.16.3", | ||
"@babel/plugin-proposal-class-properties": "^7.16.0", | ||
"@babel/preset-env": "^7.16.0", | ||
"@babel/preset-react": "^7.16.0", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-commonjs": "^20.0.0", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@rollup/plugin-replace": "^3.0.0", | ||
"@testing-library/jest-dom": "^5.14.1", | ||
"@testing-library/react": "^12.0.0", | ||
"@types/react-redux": "^7.1.18", | ||
"@testing-library/jest-dom": "^5.15.0", | ||
"@testing-library/react": "^12.1.2", | ||
"@types/react-redux": "^7.1.20", | ||
"@welldone-software/jest-console-handler": "^1.0.0", | ||
"acorn-walk": "^8.1.1", | ||
"acorn-walk": "^8.2.0", | ||
"astring": "^1.7.5", | ||
"babel-core": "^7.0.0-bridge.0", | ||
"babel-jest": "^27.0.6", | ||
"concurrently": "^6.2.1", | ||
"babel-jest": "^27.3.1", | ||
"concurrently": "^6.4.0", | ||
"coveralls": "^3.1.1", | ||
"create-react-class": "^15.7.0", | ||
"cross-env": "^7.0.3", | ||
"cypress": "^8.3.0", | ||
"eslint": "^7.32.0", | ||
"eslint-plugin-cypress": "^2.11.3", | ||
"eslint-plugin-jest": "^24.4.0", | ||
"eslint-plugin-react": "^7.24.0", | ||
"cypress": "^9.0.0", | ||
"eslint": "^8.2.0", | ||
"eslint-plugin-cypress": "^2.12.1", | ||
"eslint-plugin-jest": "^25.2.4", | ||
"eslint-plugin-react": "^7.27.0", | ||
"express": "^4.17.1", | ||
"express-history-api-fallback": "^2.2.1", | ||
"husky": "^7.0.0", | ||
"jest": "^27.0.6", | ||
"jest-cli": "^27.0.6", | ||
"husky": "^7.0.4", | ||
"jest": "^27.3.1", | ||
"jest-cli": "^27.3.1", | ||
"magic-string": "^0.25.7", | ||
"nollup": "^0.18.2", | ||
"nollup": "^0.18.6", | ||
"react": "^17.0.2", | ||
@@ -103,15 +103,16 @@ "react-16": "npm:react@^16.14.0", | ||
"react-is-16": "npm:react-is@^16.13.1", | ||
"react-redux": "^7.2.4", | ||
"react-router-dom": "^5.2.0", | ||
"redux": "^4.1.1", | ||
"react-redux": "^7.2.6", | ||
"react-router-dom": "^6.0.2", | ||
"react-router-dom-5": "npm:react-router-dom@^5.3.0", | ||
"redux": "^4.1.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.56.2", | ||
"rollup": "^2.60.0", | ||
"rollup-plugin-alias": "^2.2.0", | ||
"rollup-plugin-commonjs-alternate": "^0.8.0", | ||
"rollup-plugin-license": "^2.5.0", | ||
"rollup-plugin-license": "^2.6.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"start-server-and-test": "^1.13.1", | ||
"styled-components": "^5.3.0", | ||
"typescript": "^4.3.5" | ||
"start-server-and-test": "^1.14.0", | ||
"styled-components": "^5.3.3", | ||
"typescript": "^4.4.4" | ||
} | ||
} |
@@ -85,3 +85,3 @@ # Why Did You Render | ||
Otherwise, add `whyDidYouRender = true` to components you want to track. | ||
Otherwise, add `whyDidYouRender = true` to component classes/functions you want to track. (f.e `Component.whyDidYouRender = true`) | ||
@@ -88,0 +88,0 @@ More information about what is tracked can be found in [Tracking Components](#tracking-components). |
@@ -67,2 +67,6 @@ import * as React from 'react'; | ||
interface VoidFunctionComponent<P = {}> { | ||
whyDidYouRender?: WhyDidYouRenderComponentMember; | ||
} | ||
interface ExoticComponent<P = {}> { | ||
@@ -69,0 +73,0 @@ whyDidYouRender?: WhyDidYouRenderComponentMember; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22200
53
8
108
1