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

rc-menu

Package Overview
Dependencies
Maintainers
10
Versions
280
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.8.2 to 9.8.3

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;

@@ -45,3 +45,8 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

restProps = _objectWithoutProperties(_this$props, _excluded);
var passedProps = omit(restProps, ['eventKey']);
// Here the props are eventually passed to the DOM element.
// React does not recognize non-standard attributes.
// Therefore, remove the props that is not used here.
// ref: https://github.com/ant-design/ant-design/issues/41395
var passedProps = omit(restProps, ['eventKey', 'popupClassName', 'popupOffset', 'onTitleClick']);
warning(!attribute, '`attribute` of Menu.Item is deprecated. Please pass attribute directly.');

@@ -48,0 +53,0 @@ return /*#__PURE__*/React.createElement(Overflow.Item, _extends({}, attribute, {

@@ -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;

@@ -55,3 +55,8 @@ "use strict";

restProps = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
var passedProps = (0, _omit.default)(restProps, ['eventKey']);
// Here the props are eventually passed to the DOM element.
// React does not recognize non-standard attributes.
// Therefore, remove the props that is not used here.
// ref: https://github.com/ant-design/ant-design/issues/41395
var passedProps = (0, _omit.default)(restProps, ['eventKey', 'popupClassName', 'popupOffset', 'onTitleClick']);
(0, _warning.default)(!attribute, '`attribute` of Menu.Item is deprecated. Please pass attribute directly.');

@@ -58,0 +63,0 @@ return /*#__PURE__*/React.createElement(_rcOverflow.default.Item, (0, _extends2.default)({}, attribute, {

2

package.json
{
"name": "rc-menu",
"version": "9.8.2",
"version": "9.8.3",
"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