Socket
Socket
Sign inDemoInstall

rc-menu

Package Overview
Dependencies
Maintainers
10
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-menu - npm Package Compare versions

Comparing version 9.5.4 to 9.5.5

CHANGELOG.md

1

es/Divider.d.ts

@@ -0,3 +1,4 @@

/// <reference types="react" />
import type { MenuDividerType } from './interface';
export declare type DividerProps = Omit<MenuDividerType, 'type'>;
export default function Divider({ className, style }: DividerProps): JSX.Element;

4

es/Menu.js

@@ -100,3 +100,5 @@ import _extends from "@babel/runtime/helpers/esm/extends";

var childList = parseItems(children, items, EMPTY_LIST);
var childList = React.useMemo(function () {
return parseItems(children, items, EMPTY_LIST);
}, [children, items]);

@@ -103,0 +105,0 @@ var _React$useState = React.useState(false),

@@ -0,3 +1,4 @@

/// <reference types="react" />
import type { MenuDividerType } from './interface';
export declare type DividerProps = Omit<MenuDividerType, 'type'>;
export default function Divider({ className, style }: DividerProps): JSX.Element;

@@ -133,3 +133,5 @@ "use strict";

restProps = (0, _objectWithoutProperties2.default)(props, _excluded);
var childList = (0, _nodeUtil.parseItems)(children, items, EMPTY_LIST);
var childList = React.useMemo(function () {
return (0, _nodeUtil.parseItems)(children, items, EMPTY_LIST);
}, [children, items]);

@@ -136,0 +138,0 @@ var _React$useState = React.useState(false),

{
"name": "rc-menu",
"version": "9.5.4",
"version": "9.5.5",
"description": "menu ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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