quantified-uncertainty / squiggle

An estimation language
https://squiggle-language.com
MIT License
148 stars 22 forks source link

⬆️ Bump esbuild from 0.20.0 to 0.20.1 #3103

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps esbuild from 0.20.0 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


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 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)
changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: 9984af5608dce6e6cd33dff236b9e451b187039a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Ignored Deployments | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **quri-hub** | ⬜️ Ignored ([Inspect](https://vercel.com/quantified-uncertainty/quri-hub/BoXqYuCyzkLyGDrAYgQo9csPu4zQ)) | [Visit Preview](https://quri-hub-git-dependabot-npmandyar-1bef73-quantified-uncertainty.vercel.app) | Mar 1, 2024 4:53pm | | **quri-ui** | ⬜️ Ignored ([Inspect](https://vercel.com/quantified-uncertainty/quri-ui/8xb9jgNYwwyKdHuL1it9ktkYH2bN)) | [Visit Preview](https://quri-ui-git-dependabot-npmandyarn-bd1280-quantified-uncertainty.vercel.app) | Mar 1, 2024 4:53pm | | **squiggle-components** | ⬜️ Ignored ([Inspect](https://vercel.com/quantified-uncertainty/squiggle-components/7P4xX9jiZ9dUchh5A1ncBPF7XG2R)) | [Visit Preview](https://squiggle-components-git-dependabo-d0586a-quantified-uncertainty.vercel.app) | Mar 1, 2024 4:53pm | | **squiggle-website** | ⬜️ Ignored ([Inspect](https://vercel.com/quantified-uncertainty/squiggle-website/GRX4VQyBU1p7GARkdWcmuGdu2dHU)) | [Visit Preview](https://squiggle-website-git-dependabot-n-7f6060-quantified-uncertainty.vercel.app) | Mar 1, 2024 4:53pm |
vercel[bot] commented 4 months ago

Deployment failed with the following error:

Too many requests - try again in 1 minute (more than 60, code: "api-deployments-flood").