Skip to content

[ISSUE-1177] Upgrade to latest handlebars.js (4.7.9) as 4.7.7 has security issues.#1178

Open
campeis wants to merge 1 commit intojknack:masterfrom
campeis:update_handlebars_js_to_4_7_9
Open

[ISSUE-1177] Upgrade to latest handlebars.js (4.7.9) as 4.7.7 has security issues.#1178
campeis wants to merge 1 commit intojknack:masterfrom
campeis:update_handlebars_js_to_4_7_9

Conversation

@campeis
Copy link
Copy Markdown

@campeis campeis commented Apr 11, 2026

update handlebars.js to version 4.7.9 as 4.7.7 has security issues.

solves #1177

Throwing.run(() -> engine.eval(Files.read(this.handlebarsJsFile, charset)));
Throwing.run(() -> {
//polyfill globalThis as it is used in handlebars 4.7.9 and is not supported by nashorn
engine.eval("var globalThis = this;");
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add polyfill here instead of adding it to the handlebars.js file so that file could stay untouched.

@campeis campeis force-pushed the update_handlebars_js_to_4_7_9 branch from ae7fb73 to 48a66cd Compare April 11, 2026 17:58
@campeis campeis changed the title Upgrade to latest handlebars.js (4.7.9) as 4.7.7 has security issues. [ISSUE-1177] Upgrade to latest handlebars.js (4.7.9) as 4.7.7 has security issues. Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant