Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps-dev): bump the development-dependencies group with 2 updat…
…es (actions#124) Bumps the development-dependencies group with 2 updates: [esbuild](https://github.com/evanw/esbuild) and [yaml](https://github.com/eemeli/yaml). Updates `esbuild` from 0.20.1 to 0.20.2 <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.20.2</h2> <ul> <li> <p>Support TypeScript experimental decorators on <code>abstract</code> class fields (<a href="https://github.com/evanw/esbuild/issues/3684">#3684</a>)</p> <p>With this release, you can now use TypeScript experimental decorators on <code>abstract</code> class fields. This was silently compiled incorrectly in esbuild 0.19.7 and below, and was an error from esbuild 0.19.8 to esbuild 0.20.1. Code such as the following should now work correctly:</p> <pre lang="ts"><code>// Original code const log = (x: any, y: string) => console.log(y) abstract class Foo { @log abstract foo: string } new class extends Foo { foo = '' } <p>// Old output (with --loader=ts --tsconfig-raw={&quot;compilerOptions&quot;:{&quot;experimentalDecorators&quot;:true}}) const log = (x, y) => console.log(y); class Foo { } new class extends Foo { foo = ""; }();</p> <p>// New output (with --loader=ts --tsconfig-raw={&quot;compilerOptions&quot;:{&quot;experimentalDecorators&quot;:true}}) const log = (x, y) => console.log(y); class Foo { } __decorateClass([ log ], Foo.prototype, "foo", 2); new class extends Foo { foo = ""; }(); </code></pre></p> </li> <li> <p>JSON loader now preserves <code>__proto__</code> properties (<a href="https://github.com/evanw/esbuild/issues/3700">#3700</a>)</p> <p>Copying JSON source code into a JavaScript file will change its meaning if a JSON object contains the <code>__proto__</code> key. A literal <code>__proto__</code> property in a JavaScript object literal sets the prototype of the object instead of adding a property named <code>__proto__</code>, while a literal <code>__proto__</code> property in a JSON object literal just adds a property named <code>__proto__</code>. With this release, esbuild will now work around this problem by converting JSON to JavaScript with a computed property key in this case:</p> <pre lang="js"><code>// Original code import data from 'data:application/json,{"__proto__":{"fail":true}}' if (Object.getPrototypeOf(data)?.fail) throw 'fail' <p>// Old output (with --bundle) (() => { // <data:application/json,{"<strong>proto</strong>":{"fail":true}}> var json_proto_fail_true_default = { <strong>proto</strong>: { fail: true } };</p> <p>// entry.js if (Object.getPrototypeOf(json_proto_fail_true_default)?.fail) throw "fail"; })();</p> <p></code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.20.2</h2> <ul> <li> <p>Support TypeScript experimental decorators on <code>abstract</code> class fields (<a href="https://github.com/evanw/esbuild/issues/3684">#3684</a>)</p> <p>With this release, you can now use TypeScript experimental decorators on <code>abstract</code> class fields. This was silently compiled incorrectly in esbuild 0.19.7 and below, and was an error from esbuild 0.19.8 to esbuild 0.20.1. Code such as the following should now work correctly:</p> <pre lang="ts"><code>// Original code const log = (x: any, y: string) => console.log(y) abstract class Foo { @log abstract foo: string } new class extends Foo { foo = '' } <p>// Old output (with --loader=ts --tsconfig-raw={&quot;compilerOptions&quot;:{&quot;experimentalDecorators&quot;:true}}) const log = (x, y) => console.log(y); class Foo { } new class extends Foo { foo = ""; }();</p> <p>// New output (with --loader=ts --tsconfig-raw={&quot;compilerOptions&quot;:{&quot;experimentalDecorators&quot;:true}}) const log = (x, y) => console.log(y); class Foo { } __decorateClass([ log ], Foo.prototype, "foo", 2); new class extends Foo { foo = ""; }(); </code></pre></p> </li> <li> <p>JSON loader now preserves <code>__proto__</code> properties (<a href="https://github.com/evanw/esbuild/issues/3700">#3700</a>)</p> <p>Copying JSON source code into a JavaScript file will change its meaning if a JSON object contains the <code>__proto__</code> key. A literal <code>__proto__</code> property in a JavaScript object literal sets the prototype of the object instead of adding a property named <code>__proto__</code>, while a literal <code>__proto__</code> property in a JSON object literal just adds a property named <code>__proto__</code>. With this release, esbuild will now work around this problem by converting JSON to JavaScript with a computed property key in this case:</p> <pre lang="js"><code>// Original code import data from 'data:application/json,{"__proto__":{"fail":true}}' if (Object.getPrototypeOf(data)?.fail) throw 'fail' <p>// Old output (with --bundle) (() => { // <data:application/json,{"<strong>proto</strong>":{"fail":true}}> var json_proto_fail_true_default = { <strong>proto</strong>: { fail: true } };</p> <p>// entry.js if (Object.getPrototypeOf(json_proto_fail_true_default)?.fail) throw "fail"; })(); </code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/evanw/esbuild/commit/617eddaa32b7649ad23ddd15257816df3f0f544c"><code>617edda</code></a> publish 0.20.2 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/4780075ace9f5f59b61018326ec57da624a7d7a2"><code>4780075</code></a> fix <a href="https://github.com/evanw/esbuild/issues/3700">#3700</a>: json loader preserves <code>__proto__</code> keys</li> <li><a href="https://github.com/evanw/esbuild/commit/30bed2d2d7572b58399a6c07643878f3377800fe"><code>30bed2d</code></a> better errors for invalid js decorator syntax</li> <li><a href="https://github.com/evanw/esbuild/commit/300eeb711261144a70ab33221fe6a1313b309348"><code>300eeb7</code></a> ts: allow non-null assertions in js decorators</li> <li><a href="https://github.com/evanw/esbuild/commit/4d997d948579b2e4e9bd3bf820a0108b58b3732b"><code>4d997d9</code></a> fix <a href="https://github.com/evanw/esbuild/issues/3698">#3698</a>: yarn pnp edge case with <code>tsconfig.json</code></li> <li><a href="https://github.com/evanw/esbuild/commit/cf42954760e666c048a866589f43ef937f9ec1e6"><code>cf42954</code></a> resolver: improve some debug logging</li> <li><a href="https://github.com/evanw/esbuild/commit/b0765ae1323363fd61727df54e9e57c2b81bdd4b"><code>b0765ae</code></a> fix some lints</li> <li><a href="https://github.com/evanw/esbuild/commit/dfa62069192b1c49918b2dfe4b8c10278361ae34"><code>dfa6206</code></a> fix some comments (closes <a href="https://github.com/evanw/esbuild/issues/3683">#3683</a>)</li> <li><a href="https://github.com/evanw/esbuild/commit/ae5cc175165551016f8e19475c4ac9872e60f247"><code>ae5cc17</code></a> fix <a href="https://github.com/evanw/esbuild/issues/3684">#3684</a>: <code>abstract</code> experimental decorators</li> <li><a href="https://github.com/evanw/esbuild/commit/c809af050a74f022d9cf61c66e13365434542420"><code>c809af0</code></a> fix <a href="https://github.com/evanw/esbuild/issues/2388">#2388</a>: allow consuming types without dom types (<a href="https://github.com/evanw/esbuild/issues/3679">#3679</a>)</li> <li>Additional commits viewable in <a href="https://github.com/evanw/esbuild/compare/v0.20.1...v0.20.2">compare view</a></li> </ul> </details> <br /> Updates `yaml` from 2.4.0 to 2.4.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/eemeli/yaml/releases">yaml's releases</a>.</em></p> <blockquote> <h2>v2.4.1</h2> <ul> <li>cst: Do not drop trailing newline after line comment in block-map if followed by unindented block-seq value (<a href="https://github.com/eemeli/yaml/issues/525">#525</a>)</li> <li>Stringify flow collection comments in parent (<a href="https://github.com/eemeli/yaml/issues/528">#528</a>)</li> <li>Do not skip folding lines after the first in indented block scalars (<a href="https://github.com/eemeli/yaml/issues/529">#529</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/eemeli/yaml/commit/4aa56d337dc5e286eb0c9111a3b370f21e321117"><code>4aa56d3</code></a> 2.4.1</li> <li><a href="https://github.com/eemeli/yaml/commit/e651ce1457e10145b87bd69a11c67e241540c022"><code>e651ce1</code></a> chore: Refresh lockfile</li> <li><a href="https://github.com/eemeli/yaml/commit/1775f1341f9d0676142f95c708fc88531d2dbe12"><code>1775f13</code></a> test: Drop unused import to satisfy TS</li> <li><a href="https://github.com/eemeli/yaml/commit/40903db981917ba5be113e170af00c8bfd85be92"><code>40903db</code></a> fix(cst): Do not drop trailing newline after line comment in block-map if fol...</li> <li><a href="https://github.com/eemeli/yaml/commit/46a816ecc1ab1767a8a2df26d930bee23c81b3f5"><code>46a816e</code></a> fix: Do not skip folding lines after the first in indented block scalars (fix...</li> <li><a href="https://github.com/eemeli/yaml/commit/750adbe05dba64ae26425cbc044be7da804d2c4f"><code>750adbe</code></a> fix: Stringify flow collection comments in parent (fixes <a href="https://github.com/eemeli/yaml/issues/528">#528</a>)</li> <li><a href="https://github.com/eemeli/yaml/commit/e07998c6074852a4b30c32c99d0197991318aef8"><code>e07998c</code></a> ci: Move update action to yaml-playground, where it has write access</li> <li><a href="https://github.com/eemeli/yaml/commit/5ba73d1706fbc431b7387c0162286b22ad892d67"><code>5ba73d1</code></a> ci: Update yaml-playground build & BrowserStack tests (<a href="https://github.com/eemeli/yaml/issues/524">#524</a>)</li> <li>See full diff in <a href="https://github.com/eemeli/yaml/compare/v2.4.0...v2.4.1">compare view</a></li> </ul> </details> <br /> 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 <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 </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information