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

@eslint-react/jsx

Package Overview
Dependencies
Maintainers
1
Versions
1128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-react/jsx - npm Package Compare versions

Comparing version 0.8.12 to 0.8.13-beta.0

16

dist/index.d.ts

@@ -106,16 +106,2 @@ import { RuleContext } from '@eslint-react/shared';

declare function isFragmentElement(node: TSESTree.JSXElement, pragma: string, fragment: string): boolean;
/**
* Check if a JSXElement or JSXFragment has only one literal child and is not a child
* @param node The AST node to check
* @returns `true` if the node has only one literal child and is not a child
* @example Somehow fragment like this is useful: <Foo content={<>ee eeee eeee ...</>} />
*/
declare function isFragmentWithOnlyTextAndIsNotChild(node: TSESTree.JSXElement | TSESTree.JSXFragment): boolean;
/**
* Check if a JSXElement or JSXFragment has less than two non-padding children and the first child is not a call expression
* @param node The AST node to check
* @returns boolean
*/
declare function isFragmentHasLessThanTwoChildren(node: TSESTree.JSXElement | TSESTree.JSXFragment): boolean;
declare function isFragmentWithSingleExpression(node: TSESTree.JSXElement | TSESTree.JSXFragment): boolean;

@@ -250,2 +236,2 @@ /**

export { type CallFromPragmaPredicate, JSXValueCheckHint, defaultJSXValueCheckHint, elementType, findPropInAttributes, findPropInProperties, getFragmentFromContext, getPragmaFromContext, getProp, getPropName, getPropValue, hasAnyProp, hasChildren, hasEveryProp, hasProp, hdlAnimation, hdlClipboard, hdlComposition, hdlFocus, hdlForm, hdlImage, hdlKeyboard, hdlMedia, hdlMouse, hdlScroll, hdlSelection, hdlTouch, hdlTransition, hdlWheel, isCallFromPragma, isChildOfJSXElement, isChildrenOfCreateElement, isCloneElementCall, isCreateElementCall, isFragment, isFragmentElement, isFragmentHasLessThanTwoChildren, isFragmentSyntax, isFragmentWithOnlyTextAndIsNotChild, isFragmentWithSingleExpression, isFunctionReturningJSXValue, isInitializedFromPragma, isInsideCreateElementProps, isInsidePropValue, isJSXElementOfBuiltinComponent, isJSXElementOfUserDefinedComponent, isJSXValue, isLineBreak, isLiteral, isPaddingSpaces, isPropertyOfPragma, isWhiteSpace, traverseUpProp };
export { type CallFromPragmaPredicate, JSXValueCheckHint, defaultJSXValueCheckHint, elementType, findPropInAttributes, findPropInProperties, getFragmentFromContext, getPragmaFromContext, getProp, getPropName, getPropValue, hasAnyProp, hasChildren, hasEveryProp, hasProp, hdlAnimation, hdlClipboard, hdlComposition, hdlFocus, hdlForm, hdlImage, hdlKeyboard, hdlMedia, hdlMouse, hdlScroll, hdlSelection, hdlTouch, hdlTransition, hdlWheel, isCallFromPragma, isChildOfJSXElement, isChildrenOfCreateElement, isCloneElementCall, isCreateElementCall, isFragment, isFragmentElement, isFragmentSyntax, isFunctionReturningJSXValue, isInitializedFromPragma, isInsideCreateElementProps, isInsidePropValue, isJSXElementOfBuiltinComponent, isJSXElementOfUserDefinedComponent, isJSXValue, isLineBreak, isLiteral, isPaddingSpaces, isPropertyOfPragma, isWhiteSpace, traverseUpProp };

16

package.json
{
"name": "@eslint-react/jsx",
"version": "0.8.12",
"version": "0.8.13-beta.0",
"description": "ESLint x React's TSESTree AST utility module for static analysis of JSX.",

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

"dependencies": {
"@typescript-eslint/scope-manager": "6.13.0",
"@typescript-eslint/types": "6.13.0",
"@typescript-eslint/utils": "6.13.0"
"@typescript-eslint/scope-manager": "6.13.1",
"@typescript-eslint/types": "6.13.1",
"@typescript-eslint/utils": "6.13.1"
},
"devDependencies": {
"micro-memoize": "4.1.2",
"@eslint-react/ast": "0.8.12",
"@eslint-react/shared": "0.8.12",
"@eslint-react/types": "0.8.12",
"@eslint-react/tools": "0.8.12"
"@eslint-react/ast": "0.8.13-beta.0",
"@eslint-react/types": "0.8.13-beta.0",
"@eslint-react/tools": "0.8.13-beta.0",
"@eslint-react/shared": "0.8.13-beta.0"
},

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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