unjs / unenv

🕊️ Convert javaScript code to be runtime agnostic
MIT License
348 stars 18 forks source link

chore(deps): update all non-major dependencies #161

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/node (source) ^20.10.6 -> ^20.11.5 age adoption passing confidence
defu ^6.1.3 -> ^6.1.4 age adoption passing confidence
pathe ^1.1.1 -> ^1.1.2 age adoption passing confidence
pnpm (source) 8.14.0 -> 8.14.1 age adoption passing confidence
prettier (source) ^3.1.1 -> ^3.2.4 age adoption passing confidence
wrangler (source) ^3.22.3 -> ^3.23.0 age adoption passing confidence

Release Notes

unjs/defu (defu) ### [`v6.1.4`](https://togithub.com/unjs/defu/blob/HEAD/CHANGELOG.md#v614) [Compare Source](https://togithub.com/unjs/defu/compare/v6.1.3...v6.1.4) [compare changes](https://togithub.com/unjs/defu/compare/v6.1.3...v6.1.4) ##### 🩹 Fixes - Merge objects with `Module` type ([#​121](https://togithub.com/unjs/defu/pull/121)) ##### 💅 Refactors - Move `isPlainObject` to `_utils` to allow testing ([e922a16](https://togithub.com/unjs/defu/commit/e922a16)) - Make `isPlainObject` logic more readable ([e458b63](https://togithub.com/unjs/defu/commit/e458b63)) ##### 📖 Documentation - Fix typo ([#​116](https://togithub.com/unjs/defu/pull/116)) ##### 🏡 Chore - **release:** V6.1.3 ([3834ca1](https://togithub.com/unjs/defu/commit/3834ca1)) - Update deps and lint ([e5a48d3](https://togithub.com/unjs/defu/commit/e5a48d3)) - Enable `skipLipCheck` for type tests ([7c7a9a4](https://togithub.com/unjs/defu/commit/7c7a9a4)) ##### ✅ Tests - Improve tests for isPlainObject ([b24a213](https://togithub.com/unjs/defu/commit/b24a213)) ##### ❤️ Contributors - Alexander Lichter ([@​manniL](http://github.com/manniL)) - Pooya Parsa ([@​pi0](http://github.com/pi0)) - Yu Le
unjs/pathe (pathe) ### [`v1.1.2`](https://togithub.com/unjs/pathe/blob/HEAD/CHANGELOG.md#v112) [Compare Source](https://togithub.com/unjs/pathe/compare/v1.1.1...v1.1.2) [compare changes](https://togithub.com/unjs/pathe/compare/v1.1.1...v1.1.2) ##### 🩹 Fixes - Trim root folder `/` when calculating relative paths ([#​142](https://togithub.com/unjs/pathe/pull/142)) - Check `process.cwd` before calling it ([#​147](https://togithub.com/unjs/pathe/pull/147)) - Uppercase windows drive letters ([#​151](https://togithub.com/unjs/pathe/pull/151)) - **resolveAlias:** Handle aliases ending with trailing slash ([#​155](https://togithub.com/unjs/pathe/pull/155)) - **relative:** Handle different windows drive letters ([#​158](https://togithub.com/unjs/pathe/pull/158)) ##### 🏡 Chore - Update lockfile ([b310408](https://togithub.com/unjs/pathe/commit/b310408)) - Use changelogen for release ([dffa918](https://togithub.com/unjs/pathe/commit/dffa918)) ##### ❤️ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) - Julien Huang ([@​huang-julien](http://github.com/huang-julien)) - Daniel Roe - Kræn Hansen ([@​kraenhansen](http://github.com/kraenhansen)) - Lsh ##### [1.1.1](https://togithub.com/unjs/pathe/compare/v1.1.0...v1.1.1) (2023-06-01) ##### Bug Fixes - move `types` condition to the front ([#​134](https://togithub.com/unjs/pathe/issues/134)) ([78715ee](https://togithub.com/unjs/pathe/commit/78715ee7886270cb6a86c6b6c5bbc6f8c83908a4))
pnpm/pnpm (pnpm) ### [`v8.14.1`](https://togithub.com/pnpm/pnpm/releases/tag/v8.14.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.14.0...v8.14.1) #### Patch Changes - Resolve the current working directory to its real location before doing any operations [#​6524](https://togithub.com/pnpm/pnpm/issues/6524). - Allow using token helpers in `pnpm publish` [#​7316](https://togithub.com/pnpm/pnpm/issues/7316). - Handle Git repository names containing capital letters [#​7488](https://togithub.com/pnpm/pnpm/pull/7488). - When `hoisted-workspace-packages` is `true` don't hoist the root package even if it has a name. Otherwise we would create a circular symlink. #### Our Gold Sponsors
#### Our Silver Sponsors
prettier/prettier (prettier) ### [`v3.2.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#324) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) [diff](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) ##### Fix incorrect parser inference ([#​15947](https://togithub.com/prettier/prettier/pull/15947) by [@​fisker](https://togithub.com/fisker)) Files like `.eslintrc.json` were incorrectly formatted as JSONC files. ```jsx // Input prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "jsonc" } // Prettier 3.2.4 prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "json" } ``` ### [`v3.2.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) [diff](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) ##### Throw errors for invalid code ([#​15881](https://togithub.com/prettier/prettier/pull/15881) by [@​fisker](https://togithub.com/fisker), [@​Josh-Cena](https://togithub.com/Josh-Cena), [@​auvred](https://togithub.com/auvred)) ```ts // Input 1++; // Prettier 3.2.2 1++; // Prettier 3.2.3 SyntaxError: Invalid left-hand side expression in unary operation (1:1) > 1 | 1++; | ^ ``` ```ts // Input try {} catch (error = 1){} // Prettier 3.2.2 try { } catch (error) {} // Prettier 3.2.3 SyntaxError: Catch clause variable cannot have an initializer. (1:23) > 1 | try {} catch (error = 1){} | ^ ``` ##### Fix parser inference ([#​15927](https://togithub.com/prettier/prettier/pull/15927) by [@​fisker](https://togithub.com/fisker)) ```console // Prettier 3.2.2 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "json" } // Prettier 3.2.3 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "jsonc" } ``` ### [`v3.2.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) [diff](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) ##### Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute ([#​15896](https://togithub.com/prettier/prettier/pull/15896) by [@​eelco](https://togithub.com/eelco)) For example this code would crash before: ```jsx ``` ##### Fix formatting error on optional call expression and member chain ([#​15920](https://togithub.com/prettier/prettier/pull/15920) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input a(() => {}, c?.d()); // Prettier 3.2.1 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.2 a(() => {}, c?.d()); ``` ### [`v3.2.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) [diff](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) ##### Fix formatting error on member chain ([#​15915](https://togithub.com/prettier/prettier/pull/15915) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input test().test2().test2(thing?.something); // Prettier 3.2.0 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.1 test().test2().test2(thing?.something); ``` ### [`v3.2.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) [diff](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) 🔗 [Release Notes](https://prettier.io/blog/2024/01/13/3.2.0.html)
cloudflare/workers-sdk (wrangler) ### [`v3.23.0`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3230) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.22.5...wrangler@3.23.0) ##### Minor Changes - [#​4310](https://togithub.com/cloudflare/workers-sdk/pull/4310) [`dae30015`](https://togithub.com/cloudflare/workers-sdk/commit/dae30015c646502819d79bf8b8ae032c4aa0669d) Thanks [@​gabivlj](https://togithub.com/gabivlj)! - Added `wrangler cloudchamber` commands See [#​4310](https://togithub.com/cloudflare/workers-sdk/pull/4310) for more details. ##### Patch Changes - [#​4674](https://togithub.com/cloudflare/workers-sdk/pull/4674) [`54ea6a53`](https://togithub.com/cloudflare/workers-sdk/commit/54ea6a53bd1f222308135ed96bbb16a019302382) Thanks [@​matthewdavidrodgers](https://togithub.com/matthewdavidrodgers)! - Fix usage of patch API in bulk secrets update Only specifying the name and type of a binding instructs the patch API to copy the existing binding over - but we were including the contents of the binding as well. Normally that's OK, but there are some subtle differences between what you specify to *create* a binding vs what it looks like once it's *created*, specifically for Durable Objects. So instead, we just use the simpler inheritance. - [#​4772](https://togithub.com/cloudflare/workers-sdk/pull/4772) [`4a9f03cf`](https://togithub.com/cloudflare/workers-sdk/commit/4a9f03cf56c3041b5ad77a7d66f6458777d1e655) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: ensure dev server doesn't change request URLs Previously, Wrangler's dev server could change incoming request URLs unexpectedly (e.g. rewriting `http://localhost:8787//test` to `http://localhost:8787/test`). This change ensures URLs are passed through without modification. Fixes [#​4743](https://togithub.com/cloudflare/workers-sdk/issues/4743). ### [`v3.22.5`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3225) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.22.4...wrangler@3.22.5) ##### Patch Changes - [#​4707](https://togithub.com/cloudflare/workers-sdk/pull/4707) [`96a27f3d`](https://togithub.com/cloudflare/workers-sdk/commit/96a27f3d8a250c995907773d1aa695f80d43d9d0) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: only offer to report unknown errors Previously, Wrangler would offer to report any error to Cloudflare. This included errors caused by misconfigurations or invalid commands. This change ensures those types of errors aren't reported. - [#​4676](https://togithub.com/cloudflare/workers-sdk/pull/4676) [`078cf84d`](https://togithub.com/cloudflare/workers-sdk/commit/078cf84dcdd8bfce3f80f0ccaf6d2afa714245c4) Thanks [@​dario-piotrowicz](https://togithub.com/dario-piotrowicz)! - make sure the script path is correctly resolved in `pages dev` when no directory is specified - [#​4722](https://togithub.com/cloudflare/workers-sdk/pull/4722) [`5af6df13`](https://togithub.com/cloudflare/workers-sdk/commit/5af6df1371166886ce16d8f0cdea04a1bc401cae) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: don't require auth for `wrangler r2 object --local` operations Previously, Wrangler would ask you to login when reading or writing from local R2 buckets. This change ensures no login prompt is displayed, as authentication isn't required for these operations. - [#​4719](https://togithub.com/cloudflare/workers-sdk/pull/4719) [`c37d94b5`](https://togithub.com/cloudflare/workers-sdk/commit/c37d94b51f4d5517c244f8a4178be6a266d2362e) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: ensure `miniflare` and `wrangler` can source map in the same process Previously, if in a `wrangler dev` session you called `console.log()` and threw an unhandled error you'd see an error like `[ERR_ASSERTION]: The expression evaluated to a falsy value`. This change ensures you can do both of these things in the same session. - [#​4683](https://togithub.com/cloudflare/workers-sdk/pull/4683) [`24147166`](https://togithub.com/cloudflare/workers-sdk/commit/24147166a3cb8f5ca2612646a494dc80cb399f79) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: ensure logs containing `at` not truncated to `at [object Object]` Previously, logs containing `at` were always treated as stack trace call sites requiring source mapping. This change updates the call site detection to avoid false positives. - [#​4748](https://togithub.com/cloudflare/workers-sdk/pull/4748) [`3603a60d`](https://togithub.com/cloudflare/workers-sdk/commit/3603a60d4b06801cf5ce9ee693d467426afa997f) Thanks [@​Cherry](https://togithub.com/Cherry)! - fix: resolve imports in a more node-like fashion for packages that do not declare exports Previously, trying to import a file that wasn't explicitly exported from a module would result in an error, but now, better attempts are made to resolve the import using node's module resolution algorithm. It's now possible to do things like this: ```js import JPEG_DEC_WASM from "@​jsquash/jpeg/codec/dec/mozjpeg_dec.wasm"; ``` This works even if the `mozjpeg_dec.wasm` file isn't explicitly exported from the `@jsquash/jpeg` module. Fixes [#​4726](https://togithub.com/cloudflare/workers-sdk/issues/4726) - [#​4687](https://togithub.com/cloudflare/workers-sdk/pull/4687) [`0a488f66`](https://togithub.com/cloudflare/workers-sdk/commit/0a488f6616618ce67ee22a4402d4b7477669b075) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: remove confusing `--local` messaging from `wrangler pages dev` Running `wrangler pages dev` would previously log a warning saying `--local is no longer required` even though `--local` was never set. This change removes this warning. - Updated dependencies \[[`4f6999ea`](https://togithub.com/cloudflare/workers-sdk/commit/4f6999eacd591d0d65180f805f2abc3c8a2c06c4), [`c37d94b5`](https://togithub.com/cloudflare/workers-sdk/commit/c37d94b51f4d5517c244f8a4178be6a266d2362e)]: - miniflare@3.20231218.2 ### [`v3.22.4`](https://togithub.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3224) [Compare Source](https://togithub.com/cloudflare/workers-sdk/compare/wrangler@3.22.3...wrangler@3.22.4) ##### Patch Changes - [#​4699](https://togithub.com/cloudflare/workers-sdk/pull/4699) [`4b4c1416`](https://togithub.com/cloudflare/workers-sdk/commit/4b4c1416fec5f0de74a8abadbf5103b40b9929ea) Thanks [@​mrbbot](https://togithub.com/mrbbot)! - fix: prevent repeated reloads with circular service bindings `wrangler@3.19.0` introduced a bug where starting multiple `wrangler dev` sessions with service bindings to each other resulted in a reload loop. This change ensures Wrangler only reloads when dependent `wrangler dev` sessions start/stop.

Configuration

📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).

🚦 Automerge: Enabled.

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.