Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hsds/utils-react

Package Overview
Dependencies
Maintainers
7
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hsds/utils-react

This library is part of Help Scout's [@hsds](https://github.com/helpscout/hsds).

  • 9.0.2-esm.0
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

react

This library is part of Help Scout's @hsds.

Includes:

  • ATTRIBUTE_REGEX
  • ATTRIBUTE_NAME_START_CHAR
  • ATTRIBUTE_NAME_CHAR
  • isCustomAttribute
  • OTHER_ATTRIBUTE_REGEX
  • isPropValid
  • getValidProps
  • getComponentName
  • getComponentKey
  • isReact15
  • isReact16
  • isReact15Up
  • isReactComponent
  • getShallowDiffs
  • getDocumentFromComponent
  • wrapComponentName
  • isComponentOneOfType
  • isNativeSpanType
  • hoistNonReactStatics: just a copy of the package hoist-non-react-statics which hasn't been updated in years and has old react dependencies

Running unit tests

Run nx test react to execute the unit tests via Jest.

FAQs

Package last updated on 10 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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