From e88b461b559a40fc8d0218fff3f51027757c7835 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 3 Oct 2025 11:46:00 +0000
Subject: [PATCH] chore(deps): update dependency @types/handlebars to v4.1.0
(#283)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
> [!NOTE]
> Mend has cancelled [the proposed
renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842)
of the Renovate GitHub app being renamed to `mend[bot]`.
>
> This notice will be removed on 2025-10-07.
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [@types/handlebars](https://redirect.github.com/wycats/handlebars.js)
| [`4.0.40` ->
`4.1.0`](https://renovatebot.com/diffs/npm/@types%2fhandlebars/4.0.40/4.1.0)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
wycats/handlebars.js (@types/handlebars)
###
[`v4.1.0`](https://redirect.github.com/wycats/handlebars.js/blob/HEAD/release-notes.md#v410---February-7th-2019)
New Features
- import TypeScript typings -
[`27ac1ee`](https://redirect.github.com/wycats/handlebars.js/commit/27ac1ee)
Security fixes:
- disallow access to the constructor in templates to prevent RCE -
[`42841c4`](https://redirect.github.com/wycats/handlebars.js/commit/42841c4),
[#1495](https://redirect.github.com/wycats/handlebars.js/issues/1495)
Housekeeping
- chore: fix components/handlebars package.json and auto-update on
release -
[`bacd473`](https://redirect.github.com/wycats/handlebars.js/commit/bacd473)
- chore: Use node 10 to build handlebars -
[`78dd89c`](https://redirect.github.com/wycats/handlebars.js/commit/78dd89c)
- chore/doc: Add more release docs -
[`6b87c21`](https://redirect.github.com/wycats/handlebars.js/commit/6b87c21)
Compatibility notes:
Access to class constructors (i.e. `({}).constructor`) is now prohibited
to prevent
Remote Code Execution. This means that following construct will no work
anymore:
```
class SomeClass {
}
SomeClass.staticProperty = 'static'
var template = Handlebars.compile('{{constructor.staticProperty}}');
document.getElementById('output').innerHTML = template(new SomeClass());
// expected: 'static', but now this is empty.
```
This kind of access is not the intended use of Handlebars and leads to
the vulnerability described in
[#1495](https://redirect.github.com/wycats/handlebars.js/issues/1495).
We will **not** increase the major version, because such use is not
intended or documented, and because of the potential impact of the issue
(we fear that most people won't use a new major version and the issue
may not be resolved on many systems).
[Commits](https://redirect.github.com/handlebars-lang/handlebars.js/compare/v4.0.12...v4.1.0)
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on friday" in timezone
America/Chicago, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/jdx/mise-action).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index f6b0c3e..9f8a4f7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1912,10 +1912,14 @@
"license": "MIT"
},
"node_modules/@types/handlebars": {
- "version": "4.0.40",
- "resolved": "https://registry.npmjs.org/@types/handlebars/-/handlebars-4.0.40.tgz",
- "integrity": "sha512-sGWNtsjNrLOdKha2RV1UeF8+UbQnPSG7qbe5wwbni0mw4h2gHXyPFUMOC+xwGirIiiydM/HSqjDO4rk6NFB18w==",
- "license": "MIT"
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/@types/handlebars/-/handlebars-4.1.0.tgz",
+ "integrity": "sha512-gq9YweFKNNB1uFK71eRqsd4niVkXrxHugqWFQkeLRJvGjnxsLr16bYtcsG4tOFwmYi0Bax+wCkbf1reUfdl4kA==",
+ "deprecated": "This is a stub types definition. handlebars provides its own type definitions, so you do not need this installed.",
+ "license": "MIT",
+ "dependencies": {
+ "handlebars": "*"
+ }
},
"node_modules/@types/istanbul-lib-coverage": {
"version": "2.0.6",