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
3
Versions
516
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/webcomponents-react-base - npm Package Compare versions

Comparing version 2.0.0-rc.0 to 2.0.0-rc.1

3

dist/hooks/index.d.ts
import { useCurrentTheme } from './useCurrentTheme.js';
import { useI18nBundle } from './useI18nBundle.js';
import { useIsomorphicId } from './useIsomorphicId.js';
import { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect.js';

@@ -9,2 +8,2 @@ import { useIsRTL } from './useIsRTL.js';

import { useViewportRange } from './useViewportRange.js';
export { useI18nBundle, useIsomorphicLayoutEffect, useIsRTL, useSyncRef, useViewportRange, useIsomorphicId, useStylesheet, useCurrentTheme };
export { useI18nBundle, useIsomorphicLayoutEffect, useIsRTL, useSyncRef, useViewportRange, useStylesheet, useCurrentTheme };
import { useCurrentTheme } from './useCurrentTheme.js';
import { useI18nBundle } from './useI18nBundle.js';
import { useIsomorphicId } from './useIsomorphicId.js';
import { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect.js';

@@ -9,2 +8,2 @@ import { useIsRTL } from './useIsRTL.js';

import { useViewportRange } from './useViewportRange.js';
export { useI18nBundle, useIsomorphicLayoutEffect, useIsRTL, useSyncRef, useViewportRange, useIsomorphicId, useStylesheet, useCurrentTheme };
export { useI18nBundle, useIsomorphicLayoutEffect, useIsRTL, useSyncRef, useViewportRange, useStylesheet, useCurrentTheme };

@@ -12,8 +12,4 @@ export const deprecationNotice = (component, message) => {

export const enrichEventWithDetails = (event, payload) => {
// todo: once we drop React 16 support, remove this
// the helper accepts both SyntheticEvents and browser events
const syntheticEventCast = event;
if (typeof syntheticEventCast.persist === 'function') {
// if there is a persist method, it's a SyntheticEvent so we need to persist it
syntheticEventCast.persist();
if (!event) {
return event;
}

@@ -20,0 +16,0 @@ // Determine if we need to create a new details object

{
"name": "@ui5/webcomponents-react-base",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "Base for ui5-webcomponents-react",

@@ -34,3 +34,3 @@ "type": "module",

"@ui5/webcomponents-base": "~2.0.1",
"react": "^16.14.0 || ^17 || ^18 || ^19"
"react": "^18 || ^19"
},

@@ -63,3 +63,3 @@ "peerDependenciesMeta": {

},
"gitHead": "4ce69b6f8ca348876d8deb7c68991f1e87bbabff"
"gitHead": "1fcbadbdcb111da70a757e094ba3241834038dd2"
}

@@ -13,3 +13,3 @@ # @ui5/webcomponents-react-base

This package is a collection of utils for the `@ui5/webcomponents-react` project. Please only use [public utils](https://sap.github.io/ui5-webcomponents-react/?path=/docs/knowledge-base-public-utils--docs) described in our documentation, as all others are not subject to semantic versioning and can therefore change without notice.
This package is a collection of utils for the `@ui5/webcomponents-react` project. Please only use [public utils](https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/knowledge-base-public-utils--docs) described in our documentation, as all others are not subject to semantic versioning and can therefore change without notice.

@@ -16,0 +16,0 @@ ## Contribute

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

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