forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.6] [@kbn/handlebars] Ensure only decorators have an
options.args
…
… property (elastic#147791) (elastic#147799) # Backport This will backport the following commits from `main` to `8.6`: - [[@kbn/handlebars] Ensure only decorators have an `options.args` property (elastic#147791)](elastic#147791) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Thomas Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-19T19:40:18Z","message":"[@kbn/handlebars] Ensure only decorators have an `options.args` property (elastic#147791)\n\nAfter adding support for decorators an `args` property has added to\r\n`HelperOptions` (which is shared with decorators). To not leak this into\r\nregular helpers and to align with the upstream handlebars, this PR\r\nremoves the `args` property from regular helpers so that it's only\r\nvisible to decorators.","sha":"800f45180cb1706a67f264ba5cee95c1a2031b8a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":147791,"url":"elastic#147791 Ensure only decorators have an `options.args` property (elastic#147791)\n\nAfter adding support for decorators an `args` property has added to\r\n`HelperOptions` (which is shared with decorators). To not leak this into\r\nregular helpers and to align with the upstream handlebars, this PR\r\nremoves the `args` property from regular helpers so that it's only\r\nvisible to decorators.","sha":"800f45180cb1706a67f264ba5cee95c1a2031b8a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"elastic#147791 Ensure only decorators have an `options.args` property (elastic#147791)\n\nAfter adding support for decorators an `args` property has added to\r\n`HelperOptions` (which is shared with decorators). To not leak this into\r\nregular helpers and to align with the upstream handlebars, this PR\r\nremoves the `args` property from regular helpers so that it's only\r\nvisible to decorators.","sha":"800f45180cb1706a67f264ba5cee95c1a2031b8a"}}]}] BACKPORT--> Co-authored-by: Thomas Watson <watson@elastic.co>
- Loading branch information
1 parent
47066b3
commit 1a94e76
Showing
2 changed files
with
135 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters