Socket
Socket
Sign inDemoInstall

@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).


Version published
Weekly downloads
83
decreased by-11.7%
Maintainers
7
Weekly downloads
 
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 14 May 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