dependabot[bot] opened a new pull request, #43522:
URL: https://github.com/apache/arrow/pull/43522

   Bumps [esbuild](https://github.com/evanw/esbuild) from 0.22.0 to 0.23.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/evanw/esbuild/releases";>esbuild's 
releases</a>.</em></p>
   <blockquote>
   <h2>v0.23.0</h2>
   <p><strong><em>This release deliberately contains backwards-incompatible 
changes.</em></strong> To avoid automatically picking up releases like this, 
you should either be pinning the exact version of <code>esbuild</code> in your 
<code>package.json</code> file (recommended) or be using a version range syntax 
that only accepts patch upgrades such as <code>^0.22.0</code> or 
<code>~0.22.0</code>. See npm's documentation about <a 
href="https://docs.npmjs.com/cli/v6/using-npm/semver/";>semver</a> for more 
information.</p>
   <ul>
   <li>
   <p>Revert the recent change to avoid bundling dependencies for node (<a 
href="https://redirect.github.com/evanw/esbuild/issues/3819";>#3819</a>)</p>
   <p>This release reverts the recent change in version 0.22.0 that made 
<code>--packages=external</code> the default behavior with 
<code>--platform=node</code>.  The default is now back to 
<code>--packages=bundle</code>.</p>
   <p>I've just been made aware that Amazon doesn't pin their dependencies in 
their &quot;AWS CDK&quot; product, which means that whenever esbuild publishes 
a new release, many people (potentially everyone?) using their SDK around the 
world instantly starts using it without Amazon checking that it works first. 
This change in version 0.22.0 happened to break their SDK. I'm amazed that 
things haven't broken before this point. This revert attempts to avoid these 
problems for Amazon's customers. Hopefully Amazon will pin their dependencies 
in the future.</p>
   <p>In addition, this is probably a sign that esbuild is used widely enough 
that it now needs to switch to a more complicated release model. I may have 
esbuild use a beta channel model for further development.</p>
   </li>
   <li>
   <p>Fix preserving collapsed JSX whitespace (<a 
href="https://redirect.github.com/evanw/esbuild/issues/3818";>#3818</a>)</p>
   <p>When transformed, certain whitespace inside JSX elements is ignored 
completely if it collapses to an empty string. However, the whitespace should 
only be ignored if the JSX is being transformed, not if it's being preserved. 
This release fixes a bug where esbuild was previously incorrectly ignoring 
collapsed whitespace with <code>--jsx=preserve</code>. Here is an example:</p>
   <pre lang="jsx"><code>// Original code
   &lt;Foo&gt;
     &lt;Bar /&gt;
   &lt;/Foo&gt;
   <p>// Old output (with --jsx=preserve)<br />
   &lt;Foo&gt;&lt;Bar /&gt;&lt;/Foo&gt;;</p>
   <p>// New output (with --jsx=preserve)<br />
   &lt;Foo&gt;<br />
   &lt;Bar /&gt;<br />
   &lt;/Foo&gt;;<br />
   </code></pre></p>
   </li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/evanw/esbuild/blob/main/CHANGELOG.md";>esbuild's 
changelog</a>.</em></p>
   <blockquote>
   <h2>0.23.0</h2>
   <p><strong><em>This release deliberately contains backwards-incompatible 
changes.</em></strong> To avoid automatically picking up releases like this, 
you should either be pinning the exact version of <code>esbuild</code> in your 
<code>package.json</code> file (recommended) or be using a version range syntax 
that only accepts patch upgrades such as <code>^0.22.0</code> or 
<code>~0.22.0</code>. See npm's documentation about <a 
href="https://docs.npmjs.com/cli/v6/using-npm/semver/";>semver</a> for more 
information.</p>
   <ul>
   <li>
   <p>Revert the recent change to avoid bundling dependencies for node (<a 
href="https://redirect.github.com/evanw/esbuild/issues/3819";>#3819</a>)</p>
   <p>This release reverts the recent change in version 0.22.0 that made 
<code>--packages=external</code> the default behavior with 
<code>--platform=node</code>.  The default is now back to 
<code>--packages=bundle</code>.</p>
   <p>I've just been made aware that Amazon doesn't pin their dependencies in 
their &quot;AWS CDK&quot; product, which means that whenever esbuild publishes 
a new release, many people (potentially everyone?) using their SDK around the 
world instantly starts using it without Amazon checking that it works first. 
This change in version 0.22.0 happened to break their SDK. I'm amazed that 
things haven't broken before this point. This revert attempts to avoid these 
problems for Amazon's customers. Hopefully Amazon will pin their dependencies 
in the future.</p>
   <p>In addition, this is probably a sign that esbuild is used widely enough 
that it now needs to switch to a more complicated release model. I may have 
esbuild use a beta channel model for further development.</p>
   </li>
   <li>
   <p>Fix preserving collapsed JSX whitespace (<a 
href="https://redirect.github.com/evanw/esbuild/issues/3818";>#3818</a>)</p>
   <p>When transformed, certain whitespace inside JSX elements is ignored 
completely if it collapses to an empty string. However, the whitespace should 
only be ignored if the JSX is being transformed, not if it's being preserved. 
This release fixes a bug where esbuild was previously incorrectly ignoring 
collapsed whitespace with <code>--jsx=preserve</code>. Here is an example:</p>
   <pre lang="jsx"><code>// Original code
   &lt;Foo&gt;
     &lt;Bar /&gt;
   &lt;/Foo&gt;
   <p>// Old output (with --jsx=preserve)<br />
   &lt;Foo&gt;&lt;Bar /&gt;&lt;/Foo&gt;;</p>
   <p>// New output (with --jsx=preserve)<br />
   &lt;Foo&gt;<br />
   &lt;Bar /&gt;<br />
   &lt;/Foo&gt;;<br />
   </code></pre></p>
   </li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/evanw/esbuild/commit/9d506806bdd963b02b3d6edf45e717e03dcba785";><code>9d50680</code></a>
 publish 0.23.0 to npm</li>
   <li><a 
href="https://github.com/evanw/esbuild/commit/ac7fd04a41c6ab16e8a15fc5dd991a7feeddc4d9";><code>ac7fd04</code></a>
 Revert &quot;fix <a 
href="https://redirect.github.com/evanw/esbuild/issues/1874";>#1874</a>: node 
defaults to <code>--packages=external</code>&quot; (<a 
href="https://redirect.github.com/evanw/esbuild/issues/3820";>#3820</a>)</li>
   <li><a 
href="https://github.com/evanw/esbuild/commit/626ac2ccf132779da7407cd3a9825d8b49ae10eb";><code>626ac2c</code></a>
 fix <a href="https://redirect.github.com/evanw/esbuild/issues/3818";>#3818</a>: 
preserve collapsed jsx whitespace</li>
   <li><a 
href="https://github.com/evanw/esbuild/commit/7c2eb2e310709fbf90ddeac0e0c58a6edb9cb948";><code>7c2eb2e</code></a>
 hashbang syntax is part of es2023</li>
   <li>See full diff in <a 
href="https://github.com/evanw/esbuild/compare/v0.22.0...v0.23.0";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=esbuild&package-manager=npm_and_yarn&previous-version=0.22.0&new-version=0.23.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   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-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   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)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to