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.17.11 to 0.17.14 #91

Merged
merged 2 commits into from
Mar 30, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2023

Bumps esbuild from 0.17.11 to 0.17.14.

Release notes

Sourced from esbuild's releases.

v0.17.14

  • Allow the TypeScript 5.0 const modifier in object type declarations (#3021)

    The new TypeScript 5.0 const modifier was added to esbuild in version 0.17.5, and works with classes, functions, and arrow expressions. However, support for it wasn't added to object type declarations (e.g. interfaces) due to an oversight. This release adds support for these cases, so the following TypeScript 5.0 code can now be built with esbuild:

    interface Foo { <const T>(): T }
    type Bar = { new <const T>(): T }
  • Implement preliminary lowering for CSS nesting (#1945)

    Chrome has implemented the new CSS nesting specification in version 112, which is currently in beta but will become stable very soon. So CSS nesting is now a part of the web platform!

    This release of esbuild can now transform nested CSS syntax into non-nested CSS syntax for older browsers. The transformation relies on the :is() pseudo-class in many cases, so the transformation is only guaranteed to work when targeting browsers that support :is() (e.g. Chrome 88+). You'll need to set esbuild's target to the browsers you intend to support to tell esbuild to do this transformation. You will get a warning if you use CSS nesting syntax with a target which includes older browsers that don't support :is().

    The lowering transformation looks like this:

    /* Original input */
    a.btn {
      color: [#333](https://github.com/evanw/esbuild/issues/333);
      &:hover { color: [#444](https://github.com/evanw/esbuild/issues/444) }
      &:active { color: [#555](https://github.com/evanw/esbuild/issues/555) }
    }
    /* New output (with --target=chrome88) */
    a.btn {
    color: #333;
    }
    a.btn:hover {
    color: #444;
    }
    a.btn:active {
    color: #555;
    }

    More complex cases may generate the :is() pseudo-class:

    /* Original input */
    div, p {
      .warning, .error {
        padding: 20px;
      }
    }
    /* New output (with --target=chrome88) */
    :is(div, p) :is(.warning, .error) {

... (truncated)

Changelog

Sourced from esbuild's changelog.

0.17.14

  • Allow the TypeScript 5.0 const modifier in object type declarations (#3021)

    The new TypeScript 5.0 const modifier was added to esbuild in version 0.17.5, and works with classes, functions, and arrow expressions. However, support for it wasn't added to object type declarations (e.g. interfaces) due to an oversight. This release adds support for these cases, so the following TypeScript 5.0 code can now be built with esbuild:

    interface Foo { <const T>(): T }
    type Bar = { new <const T>(): T }
  • Implement preliminary lowering for CSS nesting (#1945)

    Chrome has implemented the new CSS nesting specification in version 112, which is currently in beta but will become stable very soon. So CSS nesting is now a part of the web platform!

    This release of esbuild can now transform nested CSS syntax into non-nested CSS syntax for older browsers. The transformation relies on the :is() pseudo-class in many cases, so the transformation is only guaranteed to work when targeting browsers that support :is() (e.g. Chrome 88+). You'll need to set esbuild's target to the browsers you intend to support to tell esbuild to do this transformation. You will get a warning if you use CSS nesting syntax with a target which includes older browsers that don't support :is().

    The lowering transformation looks like this:

    /* Original input */
    a.btn {
      color: [#333](https://github.com/evanw/esbuild/issues/333);
      &:hover { color: [#444](https://github.com/evanw/esbuild/issues/444) }
      &:active { color: [#555](https://github.com/evanw/esbuild/issues/555) }
    }
    /* New output (with --target=chrome88) */
    a.btn {
    color: #333;
    }
    a.btn:hover {
    color: #444;
    }
    a.btn:active {
    color: #555;
    }

    More complex cases may generate the :is() pseudo-class:

    /* Original input */
    div, p {
      .warning, .error {
        padding: 20px;
      }
    }
    /* New output (with --target=chrome88) */

... (truncated)

Commits
  • b2b8978 publish 0.17.14 to npm
  • 079eca4 fix #3021: add support for const in object types
  • 72c8379 fix #1945: initial lowering code for css nesting
  • 96e09b4 cannot inline no-op nesting with pseudo-elements
  • cd62fa1 minify: remove unnecessary & selectors
  • 0546cf7 css combinator can be a single byte
  • 39c3962 minify: removes duplicates from CSS selector lists
  • 8362c37 Chrome 112+ can now use CSS nesting
  • 366b632 #2940: switch to node-compat-table for node data
  • daf372d run make compat-table again
  • 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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added scope:dependencies dependency updates type:build changes to the build system or external dependencies labels Mar 30, 2023
@dependabot dependabot bot requested review from flexdevelopment, a team and unicornware March 30, 2023 04:08
@flexdevelopment flexdevelopment enabled auto-merge (squash) March 30, 2023 04:09
Copy link
Contributor

@flexdevelopment flexdevelopment 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.17.11 to 0.17.14.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.17.11...v0.17.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/esbuild-0.17.14 branch from d38d5e3 to 72702e8 Compare March 30, 2023 04:13
Signed-off-by: flexdevelopment[bot] <admin@flexdevelopment.llc>
@codecov
Copy link

codecov bot commented Mar 30, 2023

Codecov Report

Merging #91 (f8d00ca) into main (f4c84be) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #91   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           25        25           
  Lines         1435      1435           
  Branches       152       152           
=========================================
  Hits          1435      1435           
Flag Coverage Δ
node14 100.00% <ø> (ø)
node16 100.00% <ø> (ø)
node18 100.00% <ø> (ø)
node19 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 9eeb54a...f8d00ca. Read the comment docs.

@flexdevelopment flexdevelopment merged commit d5b335b into main Mar 30, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/esbuild-0.17.14 branch March 30, 2023 04:18
@github-actions
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 May 30, 2023
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.

None yet

1 participant