Skip to content

Commit

Permalink
[browserlist] Excludes browsers not supporting es6-class (#81431) (#8…
Browse files Browse the repository at this point in the history
…1968)

* Updates browserlist to exclude those not supporting es6-class

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
  • Loading branch information
Tyler Smalley authored Oct 29, 2020
1 parent 79934f5 commit 9d5f6d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ last 2 Chrome versions
last 2 Safari versions
> 0.25%
not ie 11
not op_mini all
not samsung 4

[dev]
last 1 chrome versions
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export class JoinTooltipProperty implements ITooltipProperty {
async getESFilters(): Promise<Filter[]> {
const esFilters = [];
if (this._tooltipProperty.isFilterable()) {
esFilters.push(...(await this._tooltipProperty.getESFilters()));
const filters = await this._tooltipProperty.getESFilters();
esFilters.push(...filters);
}

for (let i = 0; i < this._leftInnerJoins.length; i++) {
Expand All @@ -51,7 +52,8 @@ export class JoinTooltipProperty implements ITooltipProperty {
this._tooltipProperty.getRawValue()
);
if (esTooltipProperty) {
esFilters.push(...(await esTooltipProperty.getESFilters()));
const filters = await esTooltipProperty.getESFilters();
esFilters.push(...filters);
}
} catch (e) {
// eslint-disable-next-line no-console
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8165,9 +8165,9 @@ camelize@^1.0.0:
integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs=

caniuse-lite@^1.0.30001035, caniuse-lite@^1.0.30001043, caniuse-lite@^1.0.30001097:
version "1.0.30001114"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001114.tgz#2e88119afb332ead5eaa330e332e951b1c4bfea9"
integrity sha512-ml/zTsfNBM+T1+mjglWRPgVsu2L76GAaADKX5f4t0pbhttEp0WMawJsHDYlFkVZkoA+89uvBRrVrEE4oqenzXQ==
version "1.0.30001150"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001150.tgz"
integrity sha512-kiNKvihW0m36UhAFnl7bOAv0i1K1f6wpfVtTF5O5O82XzgtBnb05V0XeV3oZ968vfg2sRNChsHw8ASH2hDfoYQ==

capture-exit@^2.0.0:
version "2.0.0"
Expand Down

0 comments on commit 9d5f6d3

Please sign in to comment.