Skip to content

Commit

Permalink
chore: lodash -> lodash-es
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragory committed Jan 1, 2025
1 parent c285984 commit 504ffd7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
4 changes: 2 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"knub": "^32.0.0-next.21",
"knub-command-manager": "^9.1.0",
"last-commit-log": "^2.1.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"moment-timezone": "^0.5.21",
"multer": "^1.4.5-lts.1",
"mysql2": "^3.9.8",
Expand Down Expand Up @@ -83,7 +83,7 @@
"@types/express": "^4.16.1",
"@types/jest": "^24.0.15",
"@types/js-yaml": "^3.12.1",
"@types/lodash": "^4.17.7",
"@types/lodash-es": "^4.17.12",
"@types/moment-timezone": "^0.5.6",
"@types/multer": "^1.4.7",
"@types/passport": "^1.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { guildPluginEventListener } from "knub";
import { difference } from "lodash";
import { isEqual } from "lodash";
import { difference, isEqual } from "lodash-es";
import { runAutomod } from "../functions/runAutomod.js";
import { AutomodContext, AutomodPluginType } from "../types.js";

Expand Down
2 changes: 1 addition & 1 deletion backend/src/plugins/Persist/events/LoadDataEvt.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { GuildMember, PermissionFlagsBits } from "discord.js";
import { GuildPluginData } from "knub";
import { intersection } from "lodash";
import { intersection } from "lodash-es";
import { PersistedData } from "../../../data/entities/PersistedData.js";
import { SECONDS } from "../../../utils.js";
import { canAssignRole } from "../../../utils/canAssignRole.js";
Expand Down
24 changes: 19 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 504ffd7

Please sign in to comment.