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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump esbuild and esbuild-sass-plugin #17

Open
wants to merge 1 commit into
base: v4
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 19, 2024

Bumps esbuild and esbuild-sass-plugin. These dependencies needed to be updated together.
Updates esbuild from 0.19.12 to 0.20.1

Release notes

Sourced from esbuild's releases.

v0.20.1

  • Fix a bug with the CSS nesting transform (#3648)

    This release fixes a bug with the CSS nesting transform for older browsers where the generated CSS could be incorrect if a selector list contained a pseudo element followed by another selector. The bug was caused by incorrectly mutating the parent rule's selector list when filtering out pseudo elements for the child rules:

    /* Original code */
    .foo {
      &:after,
      & .bar {
        color: red;
      }
    }
    /* Old output (with --supported:nesting=false) */
    .foo .bar,
    .foo .bar {
    color: red;
    }
    /* New output (with --supported:nesting=false) */
    .foo:after,
    .foo .bar {
    color: red;
    }

  • Constant folding for JavaScript inequality operators (#3645)

    This release introduces constant folding for the < > <= >= operators. The minifier will now replace these operators with true or false when both sides are compile-time numeric or string constants:

    // Original code
    console.log(1 < 2, '馃崟' > '馃')
    // Old output (with --minify)
    console.log(1<2,"馃崟">"馃");
    // New output (with --minify)
    console.log(!0,!1);

  • Better handling of __proto__ edge cases (#3651)

    JavaScript object literal syntax contains a special case where a non-computed property with a key of __proto__ sets the prototype of the object. This does not apply to computed properties or to properties that use the shorthand property syntax introduced in ES6. Previously esbuild didn't correctly preserve the "sets the prototype" status of properties inside an object literal, meaning a property that sets the prototype could accidentally be transformed into one that doesn't and vice versa. This has now been fixed:

    // Original code
    function foo(__proto__) {
      return { __proto__: __proto__ } // Note: sets the prototype

... (truncated)

Changelog

Sourced from esbuild's changelog.

0.20.1

  • Fix a bug with the CSS nesting transform (#3648)

    This release fixes a bug with the CSS nesting transform for older browsers where the generated CSS could be incorrect if a selector list contained a pseudo element followed by another selector. The bug was caused by incorrectly mutating the parent rule's selector list when filtering out pseudo elements for the child rules:

    /* Original code */
    .foo {
      &:after,
      & .bar {
        color: red;
      }
    }
    /* Old output (with --supported:nesting=false) */
    .foo .bar,
    .foo .bar {
    color: red;
    }
    /* New output (with --supported:nesting=false) */
    .foo:after,
    .foo .bar {
    color: red;
    }

  • Constant folding for JavaScript inequality operators (#3645)

    This release introduces constant folding for the < > <= >= operators. The minifier will now replace these operators with true or false when both sides are compile-time numeric or string constants:

    // Original code
    console.log(1 < 2, '馃崟' > '馃')
    // Old output (with --minify)
    console.log(1<2,"馃崟">"馃");
    // New output (with --minify)
    console.log(!0,!1);

  • Better handling of __proto__ edge cases (#3651)

    JavaScript object literal syntax contains a special case where a non-computed property with a key of __proto__ sets the prototype of the object. This does not apply to computed properties or to properties that use the shorthand property syntax introduced in ES6. Previously esbuild didn't correctly preserve the "sets the prototype" status of properties inside an object literal, meaning a property that sets the prototype could accidentally be transformed into one that doesn't and vice versa. This has now been fixed:

    // Original code
    function foo(__proto__) {

... (truncated)

Commits

Updates esbuild-sass-plugin from 2.16.1 to 3.0.0

Release notes

Sourced from esbuild-sass-plugin's releases.

Pedal to the metal!!!

Bye bye dart-sass...welcome sass-embedded, the speed increase is palpable!

A big thank you to the sass maintainers for this work ...and to Nathan for pushing for this change

Commits

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 the dependencies Pull requests that update a dependency file label Feb 19, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/esbuild-and-esbuild-sass-plugin-0.20.1 branch from ec78ab8 to c20b6f3 Compare February 20, 2024 09:10
Bumps [esbuild](https://github.com/evanw/esbuild) and [esbuild-sass-plugin](https://github.com/glromeo/esbuild-sass-plugin). These dependencies needed to be updated together.

Updates `esbuild` from 0.19.12 to 0.20.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](evanw/esbuild@v0.19.12...v0.20.1)

Updates `esbuild-sass-plugin` from 2.16.1 to 3.0.0
- [Release notes](https://github.com/glromeo/esbuild-sass-plugin/releases)
- [Commits](glromeo/esbuild-sass-plugin@v2.16.1...v3.0.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: esbuild-sass-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/esbuild-and-esbuild-sass-plugin-0.20.1 branch from c20b6f3 to 74da374 Compare February 28, 2024 21:39
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.

None yet

0 participants