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 esbuild from 0.14.22 to 0.14.23 #230

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 21, 2022

Bumps esbuild from 0.14.22 to 0.14.23.

Release notes

Sourced from esbuild's releases.

v0.14.23

  • Update feature database to indicate that node 16.14+ supports import assertions (#2030)

    Node versions 16.14 and above now support import assertions according to these release notes. This release updates esbuild's internal feature compatibility database with this information, so esbuild no longer strips import assertions with --target=node16.14:

    // Original code
    import data from './package.json' assert { type: 'json' }
    console.log(data)
    // Old output (with --target=node16.14)
    import data from "./package.json";
    console.log(data);
    // New output (with --target=node16.14)
    import data from "./package.json" assert { type: "json" };
    console.log(data);

  • Basic support for CSS @layer rules (#2027)

    This adds basic parsing support for a new CSS feature called @layer that changes how the CSS cascade works. Adding parsing support for this rule to esbuild means esbuild can now minify the contents of @layer rules:

    /* Original code */
    @layer a {
      @layer b {
        div {
          color: yellow;
          margin: 0.0px;
        }
      }
    }
    /* Old output (with --minify) */
    @​layer a{@​layer b {div {color: yellow; margin: 0px;}}}
    /* New output (with --minify) */
    @​layer a.b{div{color:#ff0;margin:0}}

    You can read more about @layer here:

    Note that the support added in this release is only for parsing and printing @layer rules. The bundler does not yet know about these rules and bundling with @layer may result in behavior changes since these new rules have unusual ordering constraints that behave differently than all other CSS rules. Specifically the order is derived from the first instance while with every other CSS rule, the order is derived from the last instance.

Changelog

Sourced from esbuild's changelog.

0.14.23

  • Update feature database to indicate that node 16.14+ supports import assertions (#2030)

    Node versions 16.14 and above now support import assertions according to these release notes. This release updates esbuild's internal feature compatibility database with this information, so esbuild no longer strips import assertions with --target=node16.14:

    // Original code
    import data from './package.json' assert { type: 'json' }
    console.log(data)
    // Old output (with --target=node16.14)
    import data from "./package.json";
    console.log(data);
    // New output (with --target=node16.14)
    import data from "./package.json" assert { type: "json" };
    console.log(data);

  • Basic support for CSS @layer rules (#2027)

    This adds basic parsing support for a new CSS feature called @layer that changes how the CSS cascade works. Adding parsing support for this rule to esbuild means esbuild can now minify the contents of @layer rules:

    /* Original code */
    @layer a {
      @layer b {
        div {
          color: yellow;
          margin: 0.0px;
        }
      }
    }
    /* Old output (with --minify) */
    @​layer a{@​layer b {div {color: yellow; margin: 0px;}}}
    /* New output (with --minify) */
    @​layer a.b{div{color:#ff0;margin:0}}

    You can read more about @layer here:

    Note that the support added in this release is only for parsing and printing @layer rules. The bundler does not yet know about these rules and bundling with @layer may result in behavior changes since these new rules have unusual ordering constraints that behave differently than all other CSS rules. Specifically the order is derived from the first instance while with every other CSS rule, the order is derived from the last instance.

Commits

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)

Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.22 to 0.14.23.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.14.22...v0.14.23)

---
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 added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 21, 2022
@smonn smonn merged commit 558213b into main Feb 28, 2022
@smonn smonn deleted the dependabot/npm_and_yarn/esbuild-0.14.23 branch February 28, 2022 19:13
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