packages/tools: remove radash

This commit is contained in:
vchikalkin 2023-02-28 10:30:32 +03:00
parent d01047752f
commit 57c28c741e
3 changed files with 3 additions and 5 deletions

View File

@ -1,9 +1,8 @@
import { isEmpty } from 'radash';
import type { BaseOption } from 'ui/elements/types';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function normalizeOptions(options: any[] | null | undefined) {
if (isEmpty(options)) {
if (!options) {
return [];
}

View File

@ -12,7 +12,6 @@
"eslint-config-custom": "*"
},
"dependencies": {
"mobx": "^6.8.0",
"radash": "^10.7.0"
"mobx": "^6.8.0"
}
}

View File

@ -7694,7 +7694,7 @@ quick-lru@^5.1.1:
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932"
integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==
radash@^10.4.0, radash@^10.7.0:
radash@^10.4.0:
version "10.7.0"
resolved "https://registry.yarnpkg.com/radash/-/radash-10.7.0.tgz#aaa164f9697a440d848b88323d51d1bc4f39608a"
integrity sha512-dz5NUcGnvn080kKJnyPtqVnP4MWoiwp5qQhEQFK/qMJxCjffQd8tMR4cybxy6y5hupYa5UkSlJRSRY2F7GPBxQ==