Skip to content

Commit

Permalink
bump(deps): update dependency esbuild to ^0.19.8 (#713)
Browse files Browse the repository at this point in the history
[![Mend Renovate logo
banner](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.19.7` ->
`^0.19.8`](https://renovatebot.com/diffs/npm/esbuild/0.19.7/0.19.8) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/esbuild/0.19.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/esbuild/0.19.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/esbuild/0.19.7/0.19.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/esbuild/0.19.7/0.19.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.19.8`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0198)

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

- Add a treemap chart to esbuild's bundle analyzer
([#&#8203;2848](https://togithub.com/evanw/esbuild/issues/2848))

The bundler analyzer on esbuild's website
(https://esbuild.github.io/analyze/) now has a treemap chart type in
addition to the two existing chart types (sunburst and flame). This
should be more familiar for people coming from other similar tools, as
well as make better use of large screens.

- Allow decorators after the `export` keyword
([#&#8203;104](https://togithub.com/evanw/esbuild/issues/104))

Previously esbuild's decorator parser followed the original behavior of
TypeScript's experimental decorators feature, which only allowed
decorators to come before the `export` keyword. However, the upcoming
JavaScript decorators feature also allows decorators to come after the
`export` keyword. And with TypeScript 5.0, TypeScript now also allows
experimental decorators to come after the `export` keyword too. So
esbuild now allows this as well:

    ```js
    // This old syntax has always been permitted:
    @&#8203;decorator export class Foo {}
    @&#8203;decorator export default class Foo {}

    // This new syntax is now permitted too:
    export @&#8203;decorator class Foo {}
    export default @&#8203;decorator class Foo {}
    ```

In addition, esbuild's decorator parser has been rewritten to fix
several subtle and likely unimportant edge cases with esbuild's parsing
of exports and decorators in TypeScript (e.g. TypeScript apparently does
automatic semicolon insertion after `interface` and `export interface`
but not after `export default interface`).

-   Pretty-print decorators using the same whitespace as the original

When printing code containing decorators, esbuild will now try to
respect whether the original code contained newlines after the decorator
or not. This can make generated code containing many decorators much
more compact to read:

    ```js
    // Original code
    class Foo {
      @&#8203;a @&#8203;b @&#8203;c abc
      @&#8203;x @&#8203;y @&#8203;z xyz
    }

    // Old output
    class Foo {
      @&#8203;a
      @&#8203;b
      @&#8203;c
      abc;
      @&#8203;x
      @&#8203;y
      @&#8203;z
      xyz;
    }

    // New output
    class Foo {
      @&#8203;a @&#8203;b @&#8203;c abc;
      @&#8203;x @&#8203;y @&#8203;z xyz;
    }
    ```

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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/levaintech/contented).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 27, 2023
1 parent 28696b5 commit 60f6b52
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 77 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/node": "^18.18.6",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"esbuild": "^0.19.7",
"esbuild": "^0.19.8",
"esbuild-jest": "^0.5.0",
"eslint": "^8.54.0",
"eslint-config-airbnb-base": "^15.0.0",
Expand Down
152 changes: 76 additions & 76 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 60f6b52

Please sign in to comment.