Skip to content

Commit

Permalink
chore(deps): update dependency esbuild to v0.19.5 (#9359)
Browse files Browse the repository at this point in the history
[![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 |
|---|---|---|---|---|---|
| [esbuild](https://togithub.com/evanw/esbuild) | [`0.19.3` ->
`0.19.5`](https://renovatebot.com/diffs/npm/esbuild/0.19.3/0.19.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/esbuild/0.19.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/esbuild/0.19.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/esbuild/0.19.3/0.19.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/esbuild/0.19.3/0.19.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>evanw/esbuild (esbuild)</summary>

###
[`v0.19.5`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0195)

[Compare
Source](https://togithub.com/evanw/esbuild/compare/v0.19.4...v0.19.5)

- Fix a regression in 0.19.0 regarding `paths` in `tsconfig.json`
([#&#8203;3354](https://togithub.com/evanw/esbuild/issues/3354))

The fix in esbuild version 0.19.0 to process `tsconfig.json` aliases
before the `--packages=external` setting unintentionally broke an edge
case in esbuild's handling of certain `tsconfig.json` aliases where
there are multiple files with the same name in different directories.
This release adjusts esbuild's behavior for this edge case so that it
passes while still processing aliases before `--packages=external`.
Please read the linked issue for more details.

- Fix a CSS `font` property minification bug
([#&#8203;3452](https://togithub.com/evanw/esbuild/issues/3452))

This release fixes a bug where esbuild's CSS minifier didn't insert a
space between the font size and the font family in the `font` CSS
shorthand property in the edge case where the original source code
didn't already have a space and the leading string token was shortened
to an identifier:

    ```css
    /* Original code */
    .foo { font: 16px"Menlo"; }

    /* Old output (with --minify) */
    .foo{font:16pxMenlo}

    /* New output (with --minify) */
    .foo{font:16px Menlo}
    ```

- Fix bundling CSS with asset names containing spaces
([#&#8203;3410](https://togithub.com/evanw/esbuild/issues/3410))

Assets referenced via CSS `url()` tokens may cause esbuild to generate
invalid output when bundling if the file name contains spaces (e.g.
`url(image 2.png)`). With this release, esbuild will now quote all
bundled asset references in `url()` tokens to avoid this problem. This
only affects assets loaded using the `file` and `copy` loaders.

- Fix invalid CSS `url()` tokens in `@import` rules
([#&#8203;3426](https://togithub.com/evanw/esbuild/issues/3426))

In the future, CSS `url()` tokens may contain additional stuff after the
URL. This is irrelevant today as no CSS specification does this. But
esbuild previously had a bug where using these tokens in an `@import`
rule resulted in malformed output. This bug has been fixed.

- Fix `browser` + `false` + `type: module` in `package.json`
([#&#8203;3367](https://togithub.com/evanw/esbuild/issues/3367))

The `browser` field in `package.json` allows you to map a file to
`false` to have it be treated as an empty file when bundling for the
browser. However, if `package.json` contains `"type": "module"` then all
`.js` files will be considered ESM, not CommonJS. Importing a named
import from an empty CommonJS file gives you undefined, but importing a
named export from an empty ESM file is a build error. This release
changes esbuild's interpretation of these files mapped to `false` in
this situation from ESM to CommonJS to avoid generating build errors for
named imports.

- Fix a bug in top-level await error reporting
([#&#8203;3400](https://togithub.com/evanw/esbuild/issues/3400))

Using `require()` on a file that contains [top-level
await](https://v8.dev/features/top-level-await) is not allowed because
`require()` must return synchronously and top-level await makes that
impossible. You will get a build error if you try to bundle code that
does this with esbuild. This release fixes a bug in esbuild's error
reporting code for complex cases of this situation involving multiple
levels of imports to get to the module containing the top-level await.

-   Update to Unicode 15.1.0

The character tables that determine which characters form valid
JavaScript identifiers have been updated from Unicode version 15.0.0 to
the newly-released Unicode version 15.1.0. I'm not putting an example in
the release notes because all of the new characters will likely just
show up as little squares since fonts haven't been updated yet. But you
can read https://www.unicode.org/versions/Unicode15.1.0/#Summary for
more information about the changes.

This upgrade was contributed by
[@&#8203;JLHwung](https://togithub.com/JLHwung).

###
[`v0.19.4`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0194)

[Compare
Source](https://togithub.com/evanw/esbuild/compare/v0.19.3...v0.19.4)

- Fix printing of JavaScript decorators in tricky cases
([#&#8203;3396](https://togithub.com/evanw/esbuild/issues/3396))

This release fixes some bugs where esbuild's pretty-printing of
JavaScript decorators could incorrectly produced code with a syntax
error. The problem happened because esbuild sometimes substitutes
identifiers for other expressions in the pretty-printer itself, but the
decision about whether to wrap the expression or not didn't account for
this. Here are some examples:

    ```js
    // Original code
    import { constant } from './constants.js'
    import { imported } from 'external'
    import { undef } from './empty.js'
    class Foo {
      @&#8203;constant()
      @&#8203;imported()
      @&#8203;undef()
      foo
    }

// Old output (with --bundle --format=cjs --packages=external
--minify-syntax)
    var import_external = require("external");
    var Foo = class {
      @&#8203;123()
      @&#8203;(0, import_external.imported)()
      @&#8203;(void 0)()
      foo;
    };

// New output (with --bundle --format=cjs --packages=external
--minify-syntax)
    var import_external = require("external");
    var Foo = class {
      @&#8203;(123())
      @&#8203;((0, import_external.imported)())
      @&#8203;((void 0)())
      foo;
    };
    ```

- Allow pre-release versions to be passed to `target`
([#&#8203;3388](https://togithub.com/evanw/esbuild/issues/3388))

People want to be able to pass version numbers for unreleased versions
of node (which have extra stuff after the version numbers) to esbuild's
`target` setting and have esbuild do something reasonable with them.
These version strings are of course not present in esbuild's internal
feature compatibility table because an unreleased version has not been
released yet (by definition). With this release, esbuild will now
attempt to accept these version strings passed to `target` and do
something reasonable with them.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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 these
updates 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/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 15, 2023
1 parent 2e2a41a commit 4c15e9a
Show file tree
Hide file tree
Showing 20 changed files with 131 additions and 131 deletions.
2 changes: 1 addition & 1 deletion packages/babel-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/babel-plugin-tester": "9.0.7",
"@types/babel__core": "7.20.2",
"babel-plugin-tester": "11.0.4",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"jest": "29.7.0"
},
"gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-packages/dataMigrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@prisma/client": "5.5.2",
"@types/fs-extra": "11.0.1",
"@types/yargs": "17.0.24",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"jest": "29.7.0",
"memfs": "4.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-packages/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"devDependencies": {
"@types/yargs": "17.0.24",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"jest": "29.7.0",
"typescript": "5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-redwood-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@babel/core": "^7.22.20",
"@babel/plugin-transform-typescript": "^7.22.15",
"@types/babel__core": "7.20.2",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"jest": "29.7.0",
"klaw-sync": "6.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@types/eslint": "8",
"@types/estree": "1.0.1",
"@typescript-eslint/parser": "5.61.0",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"glob": "10.3.1",
"typescript": "5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/aws-lambda": "8.10.119",
"@types/lodash": "4.14.195",
"@types/qs": "6.9.7",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"typescript": "5.2.2"
},
"gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1"
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"chalk": "4.1.2",
"core-js": "3.33.2",
"deepmerge": "4.3.1",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"fs-extra": "11.1.1",
"graphql": "16.8.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/mailer/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"@redwoodjs/api": "6.0.7",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"jest": "29.7.0",
"typescript": "5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/mailer/handlers/in-memory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@redwoodjs/mailer-core": "6.0.7"
},
"devDependencies": {
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"typescript": "5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mailer/handlers/nodemailer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"devDependencies": {
"@types/nodemailer": "6",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"typescript": "5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mailer/handlers/resend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"resend": "1.0.0"
},
"devDependencies": {
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"typescript": "5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mailer/handlers/studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"devDependencies": {
"@types/nodemailer": "^6",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"typescript": "5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mailer/renderers/mjml-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"devDependencies": {
"@types/mjml": "4",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"typescript": "5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mailer/renderers/react-email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@redwoodjs/mailer-core": "6.0.7"
},
"devDependencies": {
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"fast-glob": "3.3.2",
"typescript": "5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/project-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"string-env-interpolation": "1.0.1"
},
"devDependencies": {
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"jest": "29.7.0",
"rimraf": "5.0.5",
"typescript": "5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/realtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@envelop/core": "4.0.3",
"@envelop/testing": "6.0.3",
"@envelop/types": "4.0.1",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"jest": "29.7.0",
"nodemon": "2.0.22",
"typescript": "5.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@babel/cli": "7.23.0",
"@babel/core": "^7.22.20",
"@prisma/internals": "5.5.2",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"jest": "29.7.0"
},
"gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1"
Expand Down
2 changes: 1 addition & 1 deletion packages/tui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"stdout-update": "1.6.8"
},
"devDependencies": {
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"jest": "29.7.0",
"typescript": "5.2.2"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/web-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/yargs-parser": "21.0.0",
"esbuild": "0.19.3",
"esbuild": "0.19.5",
"typescript": "5.2.2"
},
"gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1"
Expand Down
Loading

0 comments on commit 4c15e9a

Please sign in to comment.