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

chore(deps-dev): bump esbuild from 0.18.20 to 0.19.2 #322

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 14, 2023

Bumps esbuild from 0.18.20 to 0.19.2.

Release notes

Sourced from esbuild's releases.

v0.19.2

  • Update how CSS nesting is parsed again

    CSS nesting syntax has been changed again, and esbuild has been updated to match. Type selectors may now be used with CSS nesting:

    .foo {
      div {
        color: red;
      }
    }

    Previously this was disallowed in the CSS specification because it's ambiguous whether an identifier is a declaration or a nested rule starting with a type selector without requiring unbounded lookahead in the parser. It has now been allowed because the CSS working group has decided that requiring unbounded lookahead is acceptable after all.

    Note that this change means esbuild no longer considers any existing browser to support CSS nesting since none of the existing browsers support this new syntax. CSS nesting will now always be transformed when targeting a browser. This situation will change in the future as browsers add support for this new syntax.

  • Fix a scope-related bug with --drop-labels= (#3311)

    The recently-released --drop-labels= feature previously had a bug where esbuild's internal scope stack wasn't being restored properly when a statement with a label was dropped. This could manifest as a tree-shaking issue, although it's possible that this could have also been causing other subtle problems too. The bug has been fixed in this release.

  • Make renamed CSS names unique across entry points (#3295)

    Previously esbuild's generated names for local names in CSS were only unique within a given entry point (or across all entry points when code splitting was enabled). That meant that building multiple entry points with esbuild could result in local names being renamed to the same identifier even when those entry points were built simultaneously within a single esbuild API call. This problem was especially likely to happen with minification enabled. With this release, esbuild will now avoid renaming local names from two separate entry points to the same name if those entry points were built with a single esbuild API call, even when code splitting is disabled.

  • Fix CSS ordering bug with @layer before @import

    CSS lets you put @layer rules before @import rules to define the order of layers in a stylesheet. Previously esbuild's CSS bundler incorrectly ordered these after the imported files because before the introduction of cascade layers to CSS, imported files could be bundled by removing the @import rules and then joining files together in the right order. But with @layer, CSS files may now need to be split apart into multiple pieces in the bundle. For example:

    /* Original code */
    @layer start;
    @import "data:text/css,@layer inner.start;";
    @import "data:text/css,@layer inner.end;";
    @layer end;
    

    /* Old output (with --bundle) */ @​layer inner.start; @​layer inner.end; @​layer start; @​layer end;

    /* New output (with --bundle) */ @​layer start; @​layer inner.start; @​layer inner.end; @​layer end;

  • Unwrap nested duplicate @media rules (#3226)

... (truncated)

Changelog

Sourced from esbuild's changelog.

0.19.2

  • Update how CSS nesting is parsed again

    CSS nesting syntax has been changed again, and esbuild has been updated to match. Type selectors may now be used with CSS nesting:

    .foo {
      div {
        color: red;
      }
    }

    Previously this was disallowed in the CSS specification because it's ambiguous whether an identifier is a declaration or a nested rule starting with a type selector without requiring unbounded lookahead in the parser. It has now been allowed because the CSS working group has decided that requiring unbounded lookahead is acceptable after all.

    Note that this change means esbuild no longer considers any existing browser to support CSS nesting since none of the existing browsers support this new syntax. CSS nesting will now always be transformed when targeting a browser. This situation will change in the future as browsers add support for this new syntax.

  • Fix a scope-related bug with --drop-labels= (#3311)

    The recently-released --drop-labels= feature previously had a bug where esbuild's internal scope stack wasn't being restored properly when a statement with a label was dropped. This could manifest as a tree-shaking issue, although it's possible that this could have also been causing other subtle problems too. The bug has been fixed in this release.

  • Make renamed CSS names unique across entry points (#3295)

    Previously esbuild's generated names for local names in CSS were only unique within a given entry point (or across all entry points when code splitting was enabled). That meant that building multiple entry points with esbuild could result in local names being renamed to the same identifier even when those entry points were built simultaneously within a single esbuild API call. This problem was especially likely to happen with minification enabled. With this release, esbuild will now avoid renaming local names from two separate entry points to the same name if those entry points were built with a single esbuild API call, even when code splitting is disabled.

  • Fix CSS ordering bug with @layer before @import

    CSS lets you put @layer rules before @import rules to define the order of layers in a stylesheet. Previously esbuild's CSS bundler incorrectly ordered these after the imported files because before the introduction of cascade layers to CSS, imported files could be bundled by removing the @import rules and then joining files together in the right order. But with @layer, CSS files may now need to be split apart into multiple pieces in the bundle. For example:

    /* Original code */
    @layer start;
    @import "data:text/css,@layer inner.start;";
    @import "data:text/css,@layer inner.end;";
    @layer end;
    

    /* Old output (with --bundle) */ @​layer inner.start; @​layer inner.end; @​layer start; @​layer end;

    /* New output (with --bundle) */ @​layer start; @​layer inner.start; @​layer inner.end; @​layer end;

... (truncated)

Commits
  • 09a1001 publish 0.19.2 to npm
  • 4d9b764 fix #3311: pop scope after --drop-labels= runs
  • f2d23b2 fix some typos
  • e76780c css: further changes to css nesting syntax
  • 71f4a5a update compat-table (note: css nesting changed)
  • eb667c3 css: try to merge adjacent @layer rules together
  • f759693 css: fix ordering with @layer before @import
  • c73f0f8 css: extract wrapping logic to a helper function
  • a05a2f9 css: make source index on compile results optional
  • bb16fb7 css: parser separates layers pre/post @import
  • 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 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.18.20 to 0.19.2.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.18.20...v0.19.2)

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

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 Aug 14, 2023
@github-actions github-actions bot merged commit 0ad98ac into master Aug 14, 2023
16 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/esbuild-0.19.2 branch August 14, 2023 02:29
bodinsamuel referenced this pull request in specfy/specfy Nov 22, 2023
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@fastify/autoload](https://togithub.com/fastify/fastify-autoload) |
[`5.7.1` ->
`5.8.0`](https://renovatebot.com/diffs/npm/@fastify%2fautoload/5.7.1/5.8.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@fastify%2fautoload/5.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@fastify%2fautoload/5.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@fastify%2fautoload/5.7.1/5.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@fastify%2fautoload/5.7.1/5.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>fastify/fastify-autoload (@&#8203;fastify/autoload)</summary>

###
[`v5.8.0`](https://togithub.com/fastify/fastify-autoload/releases/tag/v5.8.0)

[Compare
Source](https://togithub.com/fastify/fastify-autoload/compare/v5.7.2...v5.8.0)

**Full Changelog**:
fastify/fastify-autoload@v5.7.2...v5.8.0

###
[`v5.7.2`](https://togithub.com/fastify/fastify-autoload/releases/tag/v5.7.2)

[Compare
Source](https://togithub.com/fastify/fastify-autoload/compare/v5.7.1...v5.7.2)

#### What's Changed

- chore(deps-dev): bump esbuild from 0.16.17 to 0.17.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/294](https://togithub.com/fastify/fastify-autoload/pull/294)
- chore(deps-dev): bump vitest from 0.26.3 to 0.27.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/295](https://togithub.com/fastify/fastify-autoload/pull/295)
- chore(deps-dev): bump vitest from 0.27.3 to 0.28.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/299](https://togithub.com/fastify/fastify-autoload/pull/299)
- chore(deps-dev): bump vitest from 0.28.5 to 0.29.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/301](https://togithub.com/fastify/fastify-autoload/pull/301)
- chore(.gitignore): add bun lockfile by
[@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-autoload/pull/302](https://togithub.com/fastify/fastify-autoload/pull/302)
- chore(deps-dev): bump tsd from 0.25.0 to 0.28.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/304](https://togithub.com/fastify/fastify-autoload/pull/304)
- chore(deps-dev): bump typescript from 4.9.5 to 5.0.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/305](https://togithub.com/fastify/fastify-autoload/pull/305)
- chore(deps-dev): bump vitest from 0.29.8 to 0.30.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/307](https://togithub.com/fastify/fastify-autoload/pull/307)
- ci: only trigger on pushes to main branches by
[@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-autoload/pull/308](https://togithub.com/fastify/fastify-autoload/pull/308)
- chore(deps-dev): bump
[@&#8203;types/node](https://togithub.com/types/node) from 18.16.5 to
20.1.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/310](https://togithub.com/fastify/fastify-autoload/pull/310)
- chore(deps-dev): bump vitest from 0.30.1 to 0.31.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/312](https://togithub.com/fastify/fastify-autoload/pull/312)
- chore(deps-dev): bump esbuild from 0.17.19 to 0.18.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/313](https://togithub.com/fastify/fastify-autoload/pull/313)
- chore(deps-dev): bump vitest from 0.31.4 to 0.32.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/314](https://togithub.com/fastify/fastify-autoload/pull/314)
- refactor(index): convert unused capture groups to non-capture groups
by [@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-autoload/pull/318](https://togithub.com/fastify/fastify-autoload/pull/318)
- chore(deps-dev): bump vitest from 0.32.4 to 0.33.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/319](https://togithub.com/fastify/fastify-autoload/pull/319)
- chore(deps-dev): bump vitest from 0.33.0 to 0.34.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/321](https://togithub.com/fastify/fastify-autoload/pull/321)
- chore(deps-dev): bump esbuild from 0.18.20 to 0.19.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/322](https://togithub.com/fastify/fastify-autoload/pull/322)
- chore(deps-dev): bump tsd from 0.28.1 to 0.29.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/fastify/fastify-autoload/pull/324](https://togithub.com/fastify/fastify-autoload/pull/324)
- perf: use `node:` prefix to bypass require.cache call for builtins by
[@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-autoload/pull/325](https://togithub.com/fastify/fastify-autoload/pull/325)
- feat: add FASTIFY_AUTOLOAD_TYPESCRIPT environment variable by
[@&#8203;Uzlopak](https://togithub.com/Uzlopak) in
[https://github.com/fastify/fastify-autoload/pull/327](https://togithub.com/fastify/fastify-autoload/pull/327)
- docs(readme): update typescript env variable section by
[@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-autoload/pull/328](https://togithub.com/fastify/fastify-autoload/pull/328)
- perf(index): convert unused capture group to non-capture group by
[@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-autoload/pull/330](https://togithub.com/fastify/fastify-autoload/pull/330)
- docs(readme): fix capitalization of typescript by
[@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-autoload/pull/333](https://togithub.com/fastify/fastify-autoload/pull/333)
- chore: add `.gitattributes` file by
[@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-autoload/pull/334](https://togithub.com/fastify/fastify-autoload/pull/334)
- test(commonjs): add missing `use strict` directives by
[@&#8203;Fdawgs](https://togithub.com/Fdawgs) in
[https://github.com/fastify/fastify-autoload/pull/336](https://togithub.com/fastify/fastify-autoload/pull/336)
- chore: remove `getPackageType` deps, fix for Bun by
[@&#8203;ObscuritySRL](https://togithub.com/ObscuritySRL) in
[https://github.com/fastify/fastify-autoload/pull/335](https://togithub.com/fastify/fastify-autoload/pull/335)

#### New Contributors

- [@&#8203;ObscuritySRL](https://togithub.com/ObscuritySRL) made their
first contribution in
[https://github.com/fastify/fastify-autoload/pull/335](https://togithub.com/fastify/fastify-autoload/pull/335)

**Full Changelog**:
fastify/fastify-autoload@v5.7.1...v5.7.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 4pm every weekday" in timezone
Europe/Paris, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/specfy/specfy).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6ImNob3JlL3Jlbm92YXRlQmFzZUJyYW5jaCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

0 participants