Socket
Socket
Sign inDemoInstall

eslint-plugin-react-hooks

Package Overview
Dependencies
Maintainers
3
Versions
1797
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.0-11565a207 to 0.0.0-dfabb77a9

12

build-info.json
{
"branch": "pull/14773",
"buildNumber": "13390",
"checksum": "0a9ba5d",
"commit": "11565a207",
"environment": "ci",
"reactVersion": "16.8.0-canary-11565a207"
"branch": "master",
"buildNumber": null,
"checksum": "2cfdfb4",
"commit": "dfabb77a9",
"environment": "local",
"reactVersion": "16.8.1-canary-dfabb77a9"
}

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

/** @license React v0.0.0-11565a207
/** @license React v0.0.0-dfabb77a9
* eslint-plugin-react-hooks.development.js

@@ -420,3 +420,3 @@ *

// This is a valid code path for React hooks if we are direcly in a React
// This is a valid code path for React hooks if we are directly in a React
// function component or we are in a hook function.

@@ -563,3 +563,3 @@ var isSomewhereInsideComponentOrHook = isInsideComponentOrHook(codePathNode);

// runtime errors in classes anyway, and because a use*()
// call in a class, if it works, is unambigously *not* a hook.
// call in a class, if it works, is unambiguously *not* a hook.
} else if (codePathFunctionName) {

@@ -640,3 +640,3 @@ // Custom message if we found an invalid function name.

/**
* Gets tbe static name of a function AST node. For function declarations it is
* Gets the static name of a function AST node. For function declarations it is
* easy. For anonymous function expressions it is much harder. If you search for

@@ -643,0 +643,0 @@ * `IsAnonymousFunctionDefinition()` in the ECMAScript spec you'll find places

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

/** @license React v0.0.0-11565a207
/** @license React v0.0.0-dfabb77a9
* eslint-plugin-react-hooks.production.min.js

@@ -3,0 +3,0 @@ *

{
"name": "eslint-plugin-react-hooks",
"description": "ESLint rules for React Hooks",
"version": "0.0.0-11565a207",
"version": "0.0.0-dfabb77a9",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

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