Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 10, 2023

Bumps esbuild from 0.17.15 to 0.17.16.

Release notes

Sourced from esbuild's releases.

v0.17.16

  • Fix CSS nesting transform for triple-nested rules that start with a combinator (#3046)

    This release fixes a bug with esbuild where triple-nested CSS rules that start with a combinator were not transformed correctly for older browsers. Here's an example of such a case before and after this bug fix:

    /* Original input */
    .a {
      color: red;
      > .b {
        color: green;
        > .c {
          color: blue;
        }
      }
    }
    /* Old output (with --target=chrome90) */
    .a {
    color: red;
    }
    .a > .b {
    color: green;
    }
    .a .b > .c {
    color: blue;
    }
    /* New output (with --target=chrome90) */
    .a {
    color: red;
    }
    .a > .b {
    color: green;
    }
    .a > .b > .c {
    color: blue;
    }

  • Support --inject with a file loaded using the copy loader (#3041)

    This release now allows you to use --inject with a file that is loaded using the copy loader. The copy loader copies the imported file to the output directory verbatim and rewrites the path in the import statement to point to the copied output file. When used with --inject, this means the injected file will be copied to the output directory as-is and a bare import statement for that file will be inserted in any non-copy output files that esbuild generates.

    Note that since esbuild doesn't parse the contents of copied files, esbuild will not expose any of the export names as usable imports when you do this (in the way that esbuild's --inject feature is typically used). However, any side-effects that the injected file has will still occur.

Changelog

Sourced from esbuild's changelog.

0.17.16

  • Fix CSS nesting transform for triple-nested rules that start with a combinator (#3046)

    This release fixes a bug with esbuild where triple-nested CSS rules that start with a combinator were not transformed correctly for older browsers. Here's an example of such a case before and after this bug fix:

    /* Original input */
    .a {
      color: red;
      > .b {
        color: green;
        > .c {
          color: blue;
        }
      }
    }
    /* Old output (with --target=chrome90) */
    .a {
    color: red;
    }
    .a > .b {
    color: green;
    }
    .a .b > .c {
    color: blue;
    }
    /* New output (with --target=chrome90) */
    .a {
    color: red;
    }
    .a > .b {
    color: green;
    }
    .a > .b > .c {
    color: blue;
    }

  • Support --inject with a file loaded using the copy loader (#3041)

    This release now allows you to use --inject with a file that is loaded using the copy loader. The copy loader copies the imported file to the output directory verbatim and rewrites the path in the import statement to point to the copied output file. When used with --inject, this means the injected file will be copied to the output directory as-is and a bare import statement for that file will be inserted in any non-copy output files that esbuild generates.

    Note that since esbuild doesn't parse the contents of copied files, esbuild will not expose any of the export names as usable imports when you do this (in the way that esbuild's --inject feature is typically used). However, any side-effects that the injected file has will still occur.

Commits
  • f0704ba publish 0.17.16 to npm
  • 7985bca add "; charset=utf-8" to json and xhtml
  • 64edd89 feat: add xhtml to guessed mime types (#3042)
  • c7c5a86 fix #3041: allow injecting copied files
  • ab15c70 update go 1.20.2 => 1.20.3
  • 8b885fd fix #3046: missing combinator bug with nested css
  • e9413cc parse decorators in js (but still generate errors)
  • 033c5da add decorators to compat table
  • 7cd307d print decorators in js printer
  • ebc9718 move decorator parser from ts to js
  • 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)

Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.15 to 0.17.16.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.17.15...v0.17.16)

---
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 added the dependencies Pull requests that update a dependency file label Apr 10, 2023
@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (8fdf563) 68.75% compared to head (8f7d0f6) 68.75%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #32   +/-   ##
=======================================
  Coverage   68.75%   68.75%           
=======================================
  Files          68       68           
  Lines        4234     4234           
  Branches      801      801           
=======================================
  Hits         2911     2911           
  Misses       1322     1322           
  Partials        1        1           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@nusr nusr merged commit 32effef into main Apr 10, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/esbuild-0.17.16 branch April 10, 2023 11:01
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant