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

@eslint-react/core

Package Overview
Dependencies
Maintainers
1
Versions
968
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-react/core - npm Package Compare versions

Comparing version 0.10.12 to 1.0.0-beta.0

20

dist/index.d.ts

@@ -8,3 +8,8 @@ import { TSESTreeFunction, TSESTreeClass } from '@eslint-react/ast';

interface ERAnalyzerNode {
declare function isReactAPIWithName(name: string): ReturnType<typeof isFromPragma>;
declare function isReactAPIWithName(name: string, member: string): ReturnType<typeof isFromPragmaMember>;
declare function isReactAPICallWithName(name: string): ReturnType<typeof isCallFromPragma>;
declare function isReactAPICallWithName(name: string, member: string): ReturnType<typeof isCallFromPragmaMember>;
interface ERSemanticNode {
_: string;

@@ -19,7 +24,2 @@ flag: bigint;

declare function isReactAPIWithName(name: string): ReturnType<typeof isFromPragma>;
declare function isReactAPIWithName(name: string, member: string): ReturnType<typeof isFromPragmaMember>;
declare function isReactAPICallWithName(name: string): ReturnType<typeof isCallFromPragma>;
declare function isReactAPICallWithName(name: string, member: string): ReturnType<typeof isCallFromPragmaMember>;
type ERComponentHint = bigint;

@@ -162,3 +162,3 @@ /**

interface ERFunctionComponent extends ERAnalyzerNode {
interface ERFunctionComponent extends ERSemanticNode {
id: O.Option<TSESTree.Identifier | TSESTree.Identifier[]>;

@@ -173,3 +173,3 @@ kind: "function";

}
interface ERClassComponent extends ERAnalyzerNode {
interface ERClassComponent extends ERSemanticNode {
id: O.Option<TSESTree.Identifier>;

@@ -265,3 +265,3 @@ kind: "class";

interface ERHook extends ERAnalyzerNode {
interface ERHook extends ERSemanticNode {
id: O.Some<TSESTree.Identifier>;

@@ -387,2 +387,2 @@ node: TSESTreeFunction;

export { DEFAULT_COMPONENT_HINT, type ERAnalyzerNode, type ERClassComponent, ERClassComponentFlag, type ERComponent, ERComponentHint, type ERComponentInitPath, type ERComponentKind, type ERFunctionComponent, ERFunctionComponentFlag, type ERHook, RE_COMPONENT_NAME, RE_HOOK_NAME, getComponentInitPath, getComponentNameFromIdentifier, getFunctionComponentIdentifier, getParentClassComponent, hasCallInInitPath, hasNoneOrValidComponentName, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCloneElement, isCloneElementCall, isComponentName, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isForwardRef, isForwardRefCall, isFunctionOfRenderMethod, isInsideReactHook, isInsideReactHookCall, isInsideRenderMethod, isMemo, isMemoCall, isPureComponent, isReactAPICallWithName, isReactAPIWithName, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameLoose, isReactHookName, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, unsafeIsDeclaredInRenderProp, unsafeIsDirectValueOfRenderProperty, unsafeIsRenderFunction, unsafeIsRenderProp, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
export { DEFAULT_COMPONENT_HINT, type ERClassComponent, ERClassComponentFlag, type ERComponent, ERComponentHint, type ERComponentInitPath, type ERComponentKind, type ERFunctionComponent, ERFunctionComponentFlag, type ERHook, type ERSemanticNode, RE_COMPONENT_NAME, RE_HOOK_NAME, getComponentInitPath, getComponentNameFromIdentifier, getFunctionComponentIdentifier, getParentClassComponent, hasCallInInitPath, hasNoneOrValidComponentName, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCloneElement, isCloneElementCall, isComponentName, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isForwardRef, isForwardRefCall, isFunctionOfRenderMethod, isInsideReactHook, isInsideReactHookCall, isInsideRenderMethod, isMemo, isMemoCall, isPureComponent, isReactAPICallWithName, isReactAPIWithName, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameLoose, isReactHookName, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, unsafeIsDeclaredInRenderProp, unsafeIsDirectValueOfRenderProperty, unsafeIsRenderFunction, unsafeIsRenderProp, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
{
"name": "@eslint-react/core",
"version": "0.10.12",
"version": "1.0.0-beta.0",
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and Patterns.",

@@ -38,12 +38,12 @@ "homepage": "https://github.com/rel1cx/eslint-react",

"dependencies": {
"@typescript-eslint/scope-manager": ">=6.19.0",
"@typescript-eslint/type-utils": ">=6.19.0",
"@typescript-eslint/types": ">=6.19.0",
"@typescript-eslint/utils": ">=6.19.0",
"@typescript-eslint/scope-manager": ">=6.19.1",
"@typescript-eslint/type-utils": ">=6.19.1",
"@typescript-eslint/types": ">=6.19.1",
"@typescript-eslint/utils": ">=6.19.1",
"short-unique-id": "5.0.3",
"@eslint-react/ast": "0.10.12",
"@eslint-react/jsx": "0.10.12",
"@eslint-react/shared": "0.10.12",
"@eslint-react/tools": "0.10.12",
"@eslint-react/types": "0.10.12"
"@eslint-react/ast": "1.0.0-beta.0",
"@eslint-react/jsx": "1.0.0-beta.0",
"@eslint-react/tools": "1.0.0-beta.0",
"@eslint-react/shared": "1.0.0-beta.0",
"@eslint-react/types": "1.0.0-beta.0"
},

@@ -50,0 +50,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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