diff --git a/functions/functions/package-lock.json b/functions/functions/package-lock.json index 7259e8191..cc52d382b 100644 --- a/functions/functions/package-lock.json +++ b/functions/functions/package-lock.json @@ -6,13 +6,13 @@ "": { "name": "functions", "dependencies": { - "bad-words": "^1.3.1", + "bad-words": "^1.6.5", "capitalize-sentence": "^0.1.2", "firebase-admin": "^12.0.0", "firebase-functions": "^6.1.0" }, "engines": { - "node": "^22" + "node": "20" } }, "node_modules/@fastify/busboy": { @@ -569,9 +569,10 @@ "optional": true }, "node_modules/bad-words": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/bad-words/-/bad-words-1.6.1.tgz", - "integrity": "sha1-BkgwIZUanYD7X8qi8Nmh51p0W1A=", + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/bad-words/-/bad-words-1.6.5.tgz", + "integrity": "sha512-KzDrzFtzS8Z+v4I+KuanePuaj7g6aRms2WYQOt7n+UugfqMPheYS7zcyTypokxMno2Ss6xfo062ya1aVrviB2g==", + "license": "MIT", "dependencies": { "badwords-list": "^1.0.0" } diff --git a/functions/functions/package.json b/functions/functions/package.json index 6b4500458..3b9dca409 100644 --- a/functions/functions/package.json +++ b/functions/functions/package.json @@ -5,7 +5,7 @@ "node": "20" }, "dependencies": { - "bad-words": "^1.3.1", + "bad-words": "^1.6.5", "capitalize-sentence": "^0.1.2", "firebase-admin": "^12.0.0", "firebase-functions": "^6.1.0"