Skip to content

Commit

Permalink
chore(deps): update dependency esbuild to ^0.18.10 (#1777)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [esbuild](https://togithub.com/evanw/esbuild) | [`^0.18.9` ->
`^0.18.10`](https://renovatebot.com/diffs/npm/esbuild/0.18.9/0.18.10) |
[![age](https://badges.renovateapi.com/packages/npm/esbuild/0.18.10/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/esbuild/0.18.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/esbuild/0.18.10/compatibility-slim/0.18.9)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/esbuild/0.18.10/confidence-slim/0.18.9)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>evanw/esbuild (esbuild)</summary>

###
[`v0.18.10`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#&#8203;01810)

[Compare
Source](https://togithub.com/evanw/esbuild/compare/v0.18.9...v0.18.10)

- Fix a tree-shaking bug that removed side effects
([#&#8203;3195](https://togithub.com/evanw/esbuild/issues/3195))

This fixes a regression in version 0.18.4 where combining
`--minify-syntax` with `--keep-names` could cause expressions with side
effects after a function declaration to be considered side-effect free
for tree shaking purposes. The reason was because `--keep-names`
generates an expression statement containing a call to a helper function
after the function declaration with a special flag that makes the
function call able to be tree shaken, and then `--minify-syntax` could
potentially merge that expression statement with following expressions
without clearing the flag. This release fixes the bug by clearing the
flag when merging expression statements together.

- Fix an incorrect warning about CSS nesting
([#&#8203;3197](https://togithub.com/evanw/esbuild/issues/3197))

A warning is currently generated when transforming nested CSS to a
browser that doesn't support `:is()` because transformed nested CSS may
need to use that feature to represent nesting. This was previously
always triggered when an at-rule was encountered in a declaration
context. Typically the only case you would encounter this is when using
CSS nesting within a selector rule. However, there is a case where
that's not true: when using a margin at-rule such as `@top-left` within
`@page`. This release avoids incorrectly generating a warning in this
case by checking that the at-rule is within a selector rule before
generating a warning.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jun 27, 2023
1 parent b5e5c86 commit c6f56cc
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 77 deletions.
2 changes: 1 addition & 1 deletion integrations/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"chalk": "^5.2.0",
"commander": "^11.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.18.9",
"esbuild": "^0.18.10",
"nodemon": "^2.0.22",
"open": "^9.1.0",
"rimraf": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion integrations/intellij/daemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"@previewjs/daemon": "workspace:*",
"@previewjs/loader": "workspace:*",
"esbuild": "^0.18.9",
"esbuild": "^0.18.10",
"rimraf": "^5.0.1",
"typescript": "^5.1.3"
}
Expand Down
2 changes: 1 addition & 1 deletion integrations/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"@previewjs/loader": "workspace:*",
"@types/vscode": "^1.71.2",
"cross-env": "^7.0.3",
"esbuild": "^0.18.9",
"esbuild": "^0.18.10",
"exclusive-promises": "^1.0.3",
"execa": "^7.1.1",
"ovsx": "^0.8.1",
Expand Down
148 changes: 74 additions & 74 deletions pnpm-lock.yaml

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

0 comments on commit c6f56cc

Please sign in to comment.