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

Bump the format group with 2 updates #73

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2023

Bumps the format group with 2 updates: prettier and esbuild.

Updates prettier from 3.0.3 to 3.1.0

Release notes

Sourced from prettier's releases.

3.1.0

diff

🔗 Release note

Changelog

Sourced from prettier's changelog.

3.1.0

diff

🔗 Release Notes

Commits
  • e8ac9f8 Release 3.1.0
  • 6a1d409 chore(deps): update dependency eslint-plugin-regexp to v2 (#15521)
  • f4d93d3 chore(deps): update dependency esbuild to v0.19.5 (#15630)
  • 4fc71a5 chore(deps): update dependency flow-parser to v0.221.0 (#15637)
  • d452f45 chore(deps): update dependency eslint-plugin-jest to v27.6.0 (#15635)
  • eb84a60 chore(deps): update dependency @​types/estree to v1.0.5 (#15625)
  • 2af23ee chore(deps): update dependency webpack to v5.89.0 (#15640)
  • 8f27c73 chore(deps): update dependency eslint-plugin-unicorn to v49 (#15642)
  • cdc5f5a chore(deps): update dependency webpack to v5.89.0 (#15639)
  • 14607ef chore(deps): update dependency eslint-plugin-n to v16.3.1 (#15636)
  • Additional commits viewable in compare view

Updates esbuild from 0.19.5 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;
    }

... (truncated)

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 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 dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 1, 2023
Bumps the format group with 2 updates: [prettier](https://github.com/prettier/prettier) and [esbuild](https://github.com/evanw/esbuild).


Updates `prettier` from 3.0.3 to 3.1.0
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.0.3...3.1.0)

Updates `esbuild` from 0.19.5 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.5...v0.19.8)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: format
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: format
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/format-21e5f6fd0d branch from 26bf8ad to f298f43 Compare December 1, 2023 18:41
@smaye81 smaye81 merged commit 4134018 into main Dec 1, 2023
5 checks passed
@smaye81 smaye81 deleted the dependabot/npm_and_yarn/format-21e5f6fd0d branch December 1, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant