dep: lodash를 lodash-es 로 변경

This commit is contained in:
2023-03-12 17:47:03 +09:00
parent 0da9ffee9b
commit 40fb8a4836
7 changed files with 6 additions and 9 deletions
-3
View File
@@ -8,8 +8,5 @@
"modules": false
}
]
],
"plugins": [
"lodash"
]
}
+1 -1
View File
@@ -1,5 +1,5 @@
import chai, { assert } from "chai";
import _ from "lodash";
import _ from "lodash-es";
import { formatConnectScore } from "../ts/utilGame/formatConnectScore";
import { formatDexLevel } from "../ts/utilGame/formatDexLevel";
import { formatDefenceTrain } from "../ts/utilGame/formatDefenceTrain";
+1 -1
View File
@@ -178,7 +178,7 @@ declare const formatCityInfo: (city: MapCityParsedRaw) => MapCityParsed;
</script>
<script lang="ts" setup>
import { BContainer, BButton, useToast } from "bootstrap-vue-3";
import { isString } from "lodash";
import { isString } from "lodash-es";
import { computed, onMounted, provide, ref, watch } from "vue";
import { GameConstStore, getGameConstStore } from "./GameConstStore";
import { SammoAPI } from "./SammoAPI";
+1 -1
View File
@@ -46,7 +46,7 @@
<script setup lang="ts">
import type { GetFrontInfoResponse, GetMenuResponse, MenuItem, MenuMulti, MenuSplit } from "@/defs/API/Global";
import { BButton, BDropdown, BDropdownItem, type ButtonVariant } from "bootstrap-vue-3";
import { isArray } from "lodash";
import { isArray } from "lodash-es";
import { computed, toRef } from "vue";
const props = defineProps<{
+1 -1
View File
@@ -34,7 +34,7 @@
<script setup lang="ts">
import type { GetFrontInfoResponse, GetMenuResponse, MenuItem, MenuMulti, MenuSplit } from "@/defs/API/Global";
import { isArray } from "lodash";
import { isArray } from "lodash-es";
import { computed, toRef } from "vue";
const props = defineProps<{
+1 -1
View File
@@ -167,7 +167,7 @@ declare const staticValues: {
import { onMounted, ref, toRef, watch, type Ref } from "vue";
import { delay } from "@/util/delay";
import { SammoAPI } from "@/SammoAPI";
import { isString } from "lodash";
import { isString } from "lodash-es";
import type { MabilboxListResponse, MsgItem, MsgResponse, MsgType } from "@/defs/API/Message";
import MessagePlate from "@/components/MessagePlate.vue";
import { useToast, BFormSelect } from "bootstrap-vue-3";
+1 -1
View File
@@ -92,7 +92,7 @@ import { differenceInMilliseconds, addMinutes } from "date-fns/esm";
import { computed, ref, toRef, watch, type ComputedRef, type Ref } from "vue";
import linkifyStr from "linkifyjs/string";
import { SammoAPI } from "@/SammoAPI";
import { isError, isString } from "lodash";
import { isError, isString } from "lodash-es";
import { isBrightColor } from "@/util/isBrightColor";
const props = defineProps<{