Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ module.exports = {
'\\.(css|scss|less)$': '<rootDir>/tests/styleMock.js',
// make tests access in [email protected]
'@babel/polyfill/lib/noConflict': '<rootDir>/tests/styleMock.js',
'^lodash-es$': 'lodash',
},
};
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@testing-library/user-event": "^14.4.3",
"@typed-mxgraph/typed-mxgraph": "^1.0.7",
"@types/jest": "^29.2.3",
"@types/lodash": "^4.14.191",
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.0.0",
"@types/shortid": "^0.0.31",
"@types/showdown": "^1.9.0",
Expand Down Expand Up @@ -109,6 +109,7 @@
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-test-renderer": "^18.2.0",
"standard-version": "^9.5.0",
"stylelint": "^14.9.1",
"ts-jest": "^29.0.3",
"typescript": "~4.5.2"
Expand All @@ -121,13 +122,12 @@
"classnames": "^2.2.6",
"handsontable": "6.2.2",
"highlight.js": "^10.5.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"mxgraph": "^4.2.2",
"rc-drawer": "~5.1.0",
"rc-virtual-list": "^3.4.13",
"shortid": "^2.2.16",
"showdown": "^1.9.0",
"standard-version": "^9.5.0",
"use-clippy": "^1.0.9"
},
"config": {
Expand Down
24,371 changes: 9,695 additions & 14,676 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/drawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { CSSProperties, useEffect, useState } from 'react';
import { CloseOutlined } from '@ant-design/icons';
import { Alert, AlertProps, Spin, Tabs } from 'antd';
import classNames from 'classnames';
import { omit } from 'lodash';
import { omit } from 'lodash-es';
import RcDrawer, { DrawerProps as AntdDrawerProps } from 'rc-drawer';

import motionProps from './motion';
Expand Down
2 changes: 1 addition & 1 deletion src/dropdown/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type {
CheckboxValueType,
} from 'antd/lib/checkbox/Group';
import classNames from 'classnames';
import { isEqual } from 'lodash';
import { isEqual } from 'lodash-es';
import List from 'rc-virtual-list';

import './style.scss';
Expand Down
2 changes: 1 addition & 1 deletion src/filterRules/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { message } from 'antd';
import { InternalNamePath } from 'antd/lib/form/interface';
import { clone } from 'lodash';
import { clone } from 'lodash-es';
import shortId from 'shortid';

import { RulesController } from './ruleController';
Expand Down
2 changes: 1 addition & 1 deletion src/modal/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Alert, type AlertProps, Modal, type ModalProps } from 'antd';
import classNames from 'classnames';
import { omit } from 'lodash';
import { omit } from 'lodash-es';

import './index.scss';

Expand Down
4 changes: 2 additions & 2 deletions src/useDebounce/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback, useEffect, useRef } from 'react';
import type { DebounceSettings } from 'lodash';
import { debounce } from 'lodash';
import type { DebounceSettings } from 'lodash-es';
import { debounce } from 'lodash-es';

const useDebounce = <T extends (...args: any) => any>(
func: T,
Expand Down
2 changes: 1 addition & 1 deletion src/useList/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useMemo, useRef, useState } from 'react';
import { merge } from 'lodash';
import { merge } from 'lodash-es';

export type Fetcher<T, P> = (params: P) => Promise<{ data: T[]; total: number }>;

Expand Down
Loading