Replace lodash with lodash-es (#12376)
This commit is contained in:
1 parent
a67a5c2f94
commit
9dbda43a2d
6 files changed
+10
-6
No files matched your search
+1
-1
@@ -61,7 +61,7 @@
|
||||
"leven": "3.1.0",
|
||||
"lines-and-columns": "2.0.3",
|
||||
"linguist-languages": "7.15.0",
|
||||
"lodash": "4.17.21",
|
||||
"lodash-es": "4.17.21",
|
||||
"mem": "9.0.2",
|
||||
"meriyah": "4.2.0",
|
||||
"micromatch": "4.0.4",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import partition from "lodash/partition.js";
|
||||
import { partition } from "lodash-es";
|
||||
|
||||
export default function createMinimistOptions(detailedOptions) {
|
||||
const [boolean, string] = partition(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import pick from "lodash/pick.js";
|
||||
import { pick } from "lodash-es";
|
||||
import camelCase from "camelcase";
|
||||
import chalk from "chalk";
|
||||
import prettierInternal from "../prettier-internal.js";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import groupBy from "lodash/groupBy.js";
|
||||
import { groupBy } from "lodash-es";
|
||||
import camelCase from "camelcase";
|
||||
import * as constant from "./constant.js";
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@ import { createRequire } from "module";
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import uniqBy from "lodash/uniqBy.js";
|
||||
import partition from "lodash/partition.js";
|
||||
import { uniqBy, partition } from "lodash-es";
|
||||
import fastGlob from "fast-glob";
|
||||
import mem, { memClear } from "mem";
|
||||
import thirdParty from "./third-party.cjs";
|
||||
|
||||
@@ -4788,6 +4788,11 @@ locate-path@^7.1.0:
|
||||
dependencies:
|
||||
p-locate "^6.0.0"
|
||||
|
||||
lodash-es@4.17.21:
|
||||
version "4.17.21"
|
||||
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee"
|
||||
integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==
|
||||
|
||||
lodash.debounce@^4.0.8:
|
||||
version "4.0.8"
|
||||
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
|
||||
|
||||
Reference in new issue
Block a user