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

@ui5/webcomponents-react-base

Package Overview
Dependencies
Maintainers
2
Versions
515
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/webcomponents-react-base

Base for ui5-webcomponents-react

  • 0.0.0-6244bb4be6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
32K
increased by9.51%
Maintainers
2
Weekly downloads
 
Created
Source

@ui5/webcomponents-react-base

Base Utilities for ui5-webcomponents-react

Installation

npm install @ui5/webcomponents-react-base

Usage

This package is a collection of internal utils for the @ui5/webcomponents-react project and is not intended to be used as a standalone library in applications. The only intended public usage is running the codemod cli:

The codemod cli is exposed starting from @ui5/webcomponents-react-base@0.16.2.

# if you only have .js and .jsx files in your project
npx ui5wcr-codemod [transformer-name] [file-or-directory-to-run-on]

# if you are using TypeScript (.ts and .tsx)
npx ui5wcr-codemod [transformer-name] [file-or-directory-to-run-on] --typescript

Available Transformers

transformLibToDist

@ui5/webcomponents-react@0.15.0 changed all import paths from /lib to /dist. You can migrate your codebase (e.g. your src folder) by running:

npx ui5wcr-codemod transformLibToDist src
# add --typescript if you are using TypeScript
renamePropsV18

@ui5/webcomponents-react@0.18.0 renamed lots of props in order to have a more consistent API. You can migrate your codebase (e.g. your src folder) by running:

npx ui5wcr-codemod renamePropsV18 src
# add --typescript if you are using TypeScript

Contribute

Please check our Contribution Guidelines.

License

Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

FAQs

Package last updated on 01 Mar 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