Skip to content

Commit

Permalink
fix: missing lodash.shuffle
Browse files Browse the repository at this point in the history
  • Loading branch information
hlolli committed Dec 15, 2024
1 parent 1607e61 commit f47f798
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 2 additions & 0 deletions functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@
"firebase-functions": "^6.1.2",
"firebase-tools": "^13.28.0",
"isbot": "^5.1.17",
"lodash-es": "^4.17.21",
"ramda": "^0.30.1",
"typescript": "^5.7.2"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
"eslint": "^9.16.0",
"eslint-plugin-promise": "^7.2.1",
"firebase-functions-test": "^3.3.0"
Expand Down
2 changes: 1 addition & 1 deletion functions/src/random_projects.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import admin from "firebase-admin";
import { onCall } from "firebase-functions/v2/https";
import { log } from "firebase-functions/logger";
import { shuffle } from "lodash";
import { shuffle } from "lodash-es";

let lastUpdate = Date.now();
let projects: any[] = [];
Expand Down
17 changes: 17 additions & 0 deletions functions/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,18 @@
dependencies:
"@types/node" "*"

"@types/lodash-es@^4.17.12":
version "4.17.12"
resolved "https://registry.yarnpkg.com/@types/lodash-es/-/lodash-es-4.17.12.tgz#65f6d1e5f80539aa7cfbfc962de5def0cf4f341b"
integrity sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==
dependencies:
"@types/lodash" "*"

"@types/lodash@*":
version "4.17.13"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.13.tgz#786e2d67cfd95e32862143abe7463a7f90c300eb"
integrity sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==

"@types/lodash@^4.14.104":
version "4.14.181"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.181.tgz#d1d3740c379fda17ab175165ba04e2d03389385d"
Expand Down Expand Up @@ -3560,6 +3572,11 @@ locate-path@^6.0.0:
dependencies:
p-locate "^5.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._objecttypes@~2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/lodash._objecttypes/-/lodash._objecttypes-2.4.1.tgz#7c0b7f69d98a1f76529f890b0cdb1b4dfec11c11"
Expand Down

0 comments on commit f47f798

Please sign in to comment.