Skip to content

Commit c7bc829

Browse files
authored
deps: migrate node-gettext v3 to @postalsys/gettext v4 (#348)
Resolves CVE-2024-21528 (GHSA-g974-hxvm-x689) Signed-off-by: James Addison <james@reciperadar.com>
1 parent 13a1cda commit c7bc829

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

lib/gettext2json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Gettext from 'node-gettext';
1+
import Gettext from '@postalsys/gettext';
22
import { po } from 'gettext-parser';
33
import { js2i18next } from 'gettext-converter';
44
import fromCallback from 'p-from-callback';

package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"commander": "^12.1.0",
4040
"gettext-converter": "^1.3.0",
4141
"gettext-parser": "^8.0.0",
42-
"node-gettext": "^3.0.0",
42+
"@postalsys/gettext": "^4.0.0",
4343
"p-from-callback": "^2.0.0"
4444
},
4545
"devDependencies": {

0 commit comments

Comments
 (0)