Skip to content

Commit 87e61a4

Browse files
committed
replace omit.js to rc-util/lib/omit
1 parent b5ba26c commit 87e61a4

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@
4444
"@babel/runtime": "^7.10.1",
4545
"classnames": "2.x",
4646
"mini-store": "^3.0.1",
47-
"omit.js": "^2.0.0",
4847
"rc-motion": "^2.0.1",
4948
"rc-trigger": "^5.1.2",
50-
"rc-util": "^5.5.0",
49+
"rc-util": "^5.7.0",
5150
"resize-observer-polyfill": "^1.5.0",
5251
"shallowequal": "^1.1.0"
5352
},

src/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react';
22
import { Provider, create } from 'mini-store';
3-
import omit from 'omit.js';
3+
import omit from 'rc-util/lib/omit';
44
import { CSSMotionProps } from 'rc-motion';
55
import SubPopupMenu, { getActiveKey } from './SubPopupMenu';
66
import { noop } from './util';

src/MenuItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import KeyCode from 'rc-util/lib/KeyCode';
33
import classNames from 'classnames';
4-
import omit from 'omit.js';
4+
import omit from 'rc-util/lib/omit';
55
import { connect } from 'mini-store';
66
import { noop, menuAllProps } from './util';
77
import {

0 commit comments

Comments
 (0)