Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): Bump esbuild from 0.19.7 to 0.19.8 #473

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 27, 2023

Bumps esbuild from 0.19.7 to 0.19.8.

Release notes

Sourced from esbuild's releases.

v0.19.8

  • Add a treemap chart to esbuild's bundle analyzer (#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 (#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:

    // This old syntax has always been permitted:
    @decorator export class Foo {}
    @decorator export default class Foo {}
    // This new syntax is now permitted too:
    export @​decorator class Foo {}
    export default @​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:

    // Original code
    class Foo {
      @a @b @c abc
      @x @y @z xyz
    }
    // Old output
    class Foo {
    @​a
    @​b
    @​c
    abc;
    @​x
    @​y
    @​z
    xyz;
    }
    // New output
    class Foo {
    @​a @​b @​c abc;
    @​x @​y @​z xyz;
    }

Changelog

Sourced from esbuild's changelog.

0.19.8

  • Add a treemap chart to esbuild's bundle analyzer (#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 (#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:

    // This old syntax has always been permitted:
    @decorator export class Foo {}
    @decorator export default class Foo {}
    // This new syntax is now permitted too:
    export @​decorator class Foo {}
    export default @​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:

    // Original code
    class Foo {
      @a @b @c abc
      @x @y @z xyz
    }
    // Old output
    class Foo {
    @​a
    @​b
    @​c
    abc;
    @​x
    @​y
    @​z
    xyz;
    }
    // New output
    class Foo {
    @​a @​b @​c abc;
    @​x @​y @​z xyz;
    }

... (truncated)

Commits
  • e97bd67 publish 0.19.8 to npm
  • 65b3058 mention the treemap in the release notes (#2848)
  • 16883d4 add whitespace change to release notes
  • 7383d0d decorators: printing preserves newline-tail status
  • 7edc83d reword an experimental decorators error message
  • f3d5352 remove a now-unused field
  • e755189 ts: forbid regular decorators on declare fields
  • 69c9e7f allow decorators to come after export (#104)
  • 7baefdb fix a panic with "export default interface\n"
  • a8313d2 use "check" for decorator validation, not "guess"
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added scope:dependencies dependency updates type:build changes to the build system or external dependencies labels Nov 27, 2023
@flex-development flex-development bot enabled auto-merge (squash) November 27, 2023 22:32
unicornware
unicornware previously approved these changes Nov 27, 2023
Copy link
Member

@unicornware unicornware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

Copy link

codecov bot commented Nov 27, 2023

Codecov Report

Merging #473 (e84210c) into main (b6dfec6) will not change coverage.
Report is 6 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #473   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           63        63           
  Lines         5134      5134           
  Branches       448       448           
=========================================
  Hits          5134      5134           
Flag Coverage Δ
node18 100.00% <ø> (ø)
node19 100.00% <ø> (ø)
node20 100.00% <ø> (ø)
Components Coverage Δ
internal 100.00% <ø> (ø)
utils 100.00% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 437b57a...e84210c. Read the comment docs.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/esbuild-0.19.8 branch 2 times, most recently from 5693d1e to 7edc445 Compare November 27, 2023 22:45
unicornware
unicornware previously approved these changes Nov 27, 2023
Copy link
Member

@unicornware unicornware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

unicornware
unicornware previously approved these changes Nov 27, 2023
Copy link
Member

@unicornware unicornware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

Bumps [esbuild](https://github.com/evanw/esbuild) from 0.19.7 to 0.19.8.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.19.7...v0.19.8)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/esbuild-0.19.8 branch from 2b7eea2 to d25b00c Compare November 27, 2023 22:54
Signed-off-by: flex-development[bot] <148604919+flex-development[bot]@users.noreply.github.com>
Copy link
Member

@unicornware unicornware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

@flex-development flex-development bot merged commit bff3410 into main Nov 27, 2023
24 checks passed
@flex-development flex-development bot deleted the dependabot/npm_and_yarn/esbuild-0.19.8 branch November 27, 2023 22:59
Copy link

This pull request has been automatically locked since there has not been any recent
activity after it was closed. Please open a new issue for related bugs or features. Be
sure to reference this issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope:dependencies dependency updates type:build changes to the build system or external dependencies
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant