This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch fix/handlebars-currency-dependency in repository https://gitbox.apache.org/repos/asf/superset.git
commit cc42967ed924da6322cc028ccb928e63fb32a69a Author: Evan Rusackas <[email protected]> AuthorDate: Sun Feb 22 20:27:11 2026 -0800 fix(handlebars): add missing currencyformatter.js dependency The just-handlebars-helpers package has currencyformatter.js as a peer dependency for its formatCurrency helper. Without this dependency, webpack fails with "Module not found: Error: Can't resolve 'currencyformatter.js'". Co-Authored-By: Claude Opus 4.5 <[email protected]> --- superset-frontend/package-lock.json | 4 ++-- superset-frontend/plugins/plugin-chart-handlebars/package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index efd69ef0f02..cbaad52cc60 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -22324,8 +22324,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/currencyformatter.js/-/currencyformatter.js-1.0.5.tgz", "integrity": "sha512-gNhjgPges50sAHOb56BeEOi33w88sED2nSiY0s9niq1S/64IKB8DB1EmJh8wv5PofFXpHWG91yptoDQAj5GI2w==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/cwd": { "version": "0.10.0", @@ -53502,6 +53501,7 @@ "version": "0.20.3", "license": "Apache-2.0", "dependencies": { + "currencyformatter.js": "^1.0.5", "handlebars-group-by": "^1.0.1", "just-handlebars-helpers": "^1.0.19" }, diff --git a/superset-frontend/plugins/plugin-chart-handlebars/package.json b/superset-frontend/plugins/plugin-chart-handlebars/package.json index fd990ed955b..00c45255f70 100644 --- a/superset-frontend/plugins/plugin-chart-handlebars/package.json +++ b/superset-frontend/plugins/plugin-chart-handlebars/package.json @@ -27,6 +27,7 @@ "access": "public" }, "dependencies": { + "currencyformatter.js": "^1.0.5", "handlebars-group-by": "^1.0.1", "just-handlebars-helpers": "^1.0.19" },
