New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@welldone-software/why-did-you-render

Package Overview
Dependencies
Maintainers
2
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@welldone-software/why-did-you-render - npm Package Compare versions

Comparing version 3.3.4 to 3.3.5

4

dist/cjs/whyDidYouRender.js
/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

/**
* @welldone-software/why-did-you-render 3.3.4
* @welldone-software/why-did-you-render 3.3.5
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-09-13
* Generated at 2019-09-16
*/

@@ -7,0 +7,0 @@

{
"name": "@welldone-software/why-did-you-render",
"version": "3.3.4",
"version": "3.3.5",
"description": "Monkey patches React to notify you about avoidable re-renders.",

@@ -36,7 +36,6 @@ "types": "types.d.ts",

"test:watch": "yarn test --watch",
"lint": "esw . --ext=js --cache --cache-location .cache/eslint-cache",
"lint": "eslint . --ext=js --cache --cache-location .cache/eslint-cache",
"lint:fix": "yarn lint --fix",
"lint:watch": "yarn lint --watch",
"clear": "rimraf .cache dist demo/dist",
"watch": "concurrently --names \"Serve,Lint,Test\" \"npm:start\" \"npm:lint:watch\" \"npm:test:watch\"",
"watch": "concurrently --names \"Serve,Test\" \"npm:start\" \"npm:test:watch\"",
"checkHealth": "yarn lint && yarn test",

@@ -85,3 +84,2 @@ "version": "yarn checkHealth && yarn build && git add --all dist",

"eslint-plugin-react": "^7.14.3",
"eslint-watch": "^6.0.0",
"express": "^4.17.1",

@@ -88,0 +86,0 @@ "express-history-api-fallback": "^2.2.1",

/// <reference types="react" />
declare module NodeJS {
interface Global {
flushConsoleOutput: any
}
}
declare module '@welldone-software/why-did-you-render' {
export interface ReasonForUpdate {
declare namespace WhyDidYouRender {
interface ReasonForUpdate {
hookDifferences: boolean;

@@ -16,3 +10,3 @@ propsDifferences: boolean;

export interface UpdateInfo {
interface UpdateInfo {
Component: React.Component;

@@ -28,3 +22,3 @@ displayName: string;

export interface WhyDidYouRenderOptions {
interface WhyDidYouRenderOptions {
include?: RegExp[];

@@ -42,4 +36,19 @@ exclude?: RegExp[];

}
}
declare module '@welldone-software/why-did-you-render' {
export import ReasonForUpdate = WhyDidYouRender.ReasonForUpdate;
export import UpdateInfo = WhyDidYouRender.UpdateInfo;
export import WhyDidYouRenderOptions = WhyDidYouRender.WhyDidYouRenderOptions;
export default function whyDidYouRender(react: typeof React, options?: WhyDidYouRenderOptions): typeof React;
}
declare namespace React {
interface FunctionComponent<P = {}> {
whyDidYouRender?: boolean|WhyDidYouRender.WhyDidYouRenderOptions;
}
namespace Component {
export const whyDidYouRender: boolean|WhyDidYouRender.WhyDidYouRenderOptions;
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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