google / sxg-rs

A set of tools for generating signed exchanges at serve time.
Apache License 2.0
84 stars 20 forks source link

Update TypeScript dependencies #352

Closed renovate-bot closed 2 years ago

renovate-bot commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cloudflare/workers-types 3.14.1 -> 3.15.0 age adoption passing confidence
@types/dompurify (source) 2.3.3 -> 2.3.4 age adoption passing confidence
@types/node (source) 16.11.54 -> 16.11.56 age adoption passing confidence
dompurify 2.3.11 -> 2.4.0 age adoption passing confidence
esbuild 0.15.5 -> 0.15.6 age adoption passing confidence
fastify (source) 3.29.1 -> 3.29.2 age adoption passing confidence
typescript (source) 4.7.4 -> 4.8.2 age adoption passing confidence

Release Notes

cloudflare/workers-types ### [`v3.15.0`](https://togithub.com/cloudflare/workers-types/blob/HEAD/CHANGELOG.md#​3150) [Compare Source](https://togithub.com/cloudflare/workers-types/compare/v3.14.1...v3.15.0) ##### Minor Changes - [#​265](https://togithub.com/cloudflare/workers-types/pull/265) [`6cac151`](https://togithub.com/cloudflare/workers-types/commit/6cac15126701c53b7d988fd4d3dab76d5755b6ce) Thanks [@​geelen](https://togithub.com/geelen)! - Added D1 binding types ##### Patch Changes - [#​259](https://togithub.com/cloudflare/workers-types/pull/259) [`38b7e0f`](https://togithub.com/cloudflare/workers-types/commit/38b7e0fba83f01654a00b0d805cd01211a419f3d) Thanks [@​vlovich](https://togithub.com/vlovich)! - Fix DurableObject transaction `get` to properly return `Promise` instead of `Promise`
cure53/DOMPurify ### [`v2.4.0`](https://togithub.com/cure53/DOMPurify/releases/tag/2.4.0) [Compare Source](https://togithub.com/cure53/DOMPurify/compare/2.3.12...2.4.0) - Removed bundled types again as they caused too much trouble ### [`v2.3.12`](https://togithub.com/cure53/DOMPurify/releases/tag/2.3.12) [Compare Source](https://togithub.com/cure53/DOMPurify/compare/2.3.11...2.3.12) - Fixed an issue in 2.3.11 causing errors w. TypeScript, see [#​712](https://togithub.com/cure53/DOMPurify/issues/712), thanks [@​Mirco469](https://togithub.com/Mirco469), [@​brentkeller](https://togithub.com/brentkeller), [@​aryanisml](https://togithub.com/aryanisml)
evanw/esbuild ### [`v0.15.6`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#​0156) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.15.5...v0.15.6) - Lower `for await` loops ([#​1930](https://togithub.com/evanw/esbuild/issues/1930)) This release lowers `for await` loops to the equivalent `for` loop containing `await` when esbuild is configured such that `for await` loops are unsupported. This transform still requires at least generator functions to be supported since esbuild's lowering of `await` currently relies on generators. This new transformation is mostly modeled after what the TypeScript compiler does. Here's an example: ```js async function f() { for await (let x of y) x() } ``` The code above will now become the following code with `--target=es2017` (omitting the code for the `__forAwait` helper function): ```js async function f() { try { for (var iter = __forAwait(y), more, temp, error; more = !(temp = await iter.next()).done; more = false) { let x = temp.value; x(); } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && await temp.call(iter); } finally { if (error) throw error[0]; } } } ``` - Automatically fix invalid `supported` configurations ([#​2497](https://togithub.com/evanw/esbuild/issues/2497)) The `--target=` setting lets you tell esbuild to target a specific version of one or more JavaScript runtimes such as `chrome80,node14` and esbuild will restrict its output to only those features supported by all targeted JavaScript runtimes. More recently, esbuild introduced the `--supported:` setting that lets you override which features are supported on a per-feature basis. However, this now lets you configure nonsensical things such as `--supported:async-await=false --supported:async-generator=true`. Previously doing this could result in esbuild building successfully but producing invalid output. Starting with this release, esbuild will now attempt to automatically fix nonsensical feature override configurations by introducing more overrides until the configuration makes sense. So now the configuration from previous example will be changed such that `async-await=false` implies `async-generator=false`. The full list of implications that were introduced is below: - `async-await=false` implies: - `async-generator=false` - `for-await=false` - `top-level-await=false` - `generator=false` implies: - `async-generator=false` - `object-accessors=false` implies: - `class-private-accessor=false` - `class-private-static-accessor=false` - `class-field=false` implies: - `class-private-field=false` - `class-static-field=false` implies: - `class-private-static-field=false` - `class=false` implies: - `class-field=false` - `class-private-accessor=false` - `class-private-brand-check=false` - `class-private-field=false` - `class-private-method=false` - `class-private-static-accessor=false` - `class-private-static-field=false` - `class-private-static-method=false` - `class-static-blocks=false` - `class-static-field=false` - Implement a small minification improvement ([#​2496](https://togithub.com/evanw/esbuild/issues/2496)) Some people write code that contains a label with an immediate break such as `x: break x`. Previously this code was not removed during minification but it will now be removed during minification starting with this release. - Fix installing esbuild via Yarn with `enableScripts: false` configured ([#​2457](https://togithub.com/evanw/esbuild/pull/2457)) If esbuild is installed with Yarn with the `enableScripts: false` setting configured, then Yarn will not "unplug" the `esbuild` package (i.e. it will keep the entire package inside a `.zip` file). This messes with esbuild's library code that extracts the platform-specific binary executable because that code copies the binary executable into the esbuild package directory, and Yarn's `.zip` file system shim doesn't let you write to a directory inside of a `.zip` file. This release fixes this problem by writing to the `node_modules/.cache/esbuild` directory instead in this case. So you should now be able to use esbuild with Yarn when `enableScripts: false` is configured. This fix was contributed by [@​jonaskuske](https://togithub.com/jonaskuske).
fastify/fastify ### [`v3.29.2`](https://togithub.com/fastify/fastify/releases/tag/v3.29.2) [Compare Source](https://togithub.com/fastify/fastify/compare/v3.29.1...v3.29.2) #### What's Changed - fix: backport reused connection fix by [@​salzhrani](https://togithub.com/salzhrani) in [https://github.com/fastify/fastify/pull/4217](https://togithub.com/fastify/fastify/pull/4217) #### New Contributors - [@​salzhrani](https://togithub.com/salzhrani) made their first contribution in [https://github.com/fastify/fastify/pull/4217](https://togithub.com/fastify/fastify/pull/4217) **Full Changelog**: https://github.com/fastify/fastify/compare/v3.29.1...v3.29.2
Microsoft/TypeScript ### [`v4.8.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v4.8.2) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v4.7.4...v4.8.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 4.8.0 (Beta)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.8.0%22+). - [fixed issues query for Typescript 4.8.1 (RC)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.8.1%22+). - [fixed issues query for Typescript 4.8.1 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.8.2%22+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [Visual Studio 2022/2019](https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript-48) ([Select new version in project options](https://togithub.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017)) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.