Skip to content

Commit

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

---

### Release Notes

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

###
[`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**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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/levaintech/contented).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM2LjEwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Sep 28, 2023
1 parent 2ad8482 commit 7fa1acf
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 93 deletions.
184 changes: 92 additions & 92 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/jest-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@stickyjs/jest": "1.3.4",
"esbuild": "^0.19.3",
"esbuild": "^0.19.4",
"esbuild-jest": "^0.5.0"
}
}

0 comments on commit 7fa1acf

Please sign in to comment.