unjs / jiti

Runtime Typescript and ESM support for Node.js
MIT License
1.49k stars 52 forks source link

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

Closed renovate[bot] closed 3 weeks ago

renovate[bot] commented 3 weeks ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
acorn ^8.11.3 -> ^8.12.0 age adoption passing confidence
eslint (source) ^9.4.0 -> ^9.5.0 age adoption passing confidence
execa ^9.1.0 -> ^9.2.0 age adoption passing confidence
pnpm (source) 9.2.0 -> 9.3.0 age adoption passing confidence
prettier (source) ^3.3.1 -> ^3.3.2 age adoption passing confidence
vite (source) ^5.2.12 -> ^5.3.1 age adoption passing confidence
webpack ^5.91.0 -> ^5.92.0 age adoption passing confidence

Release Notes

acornjs/acorn (acorn) ### [`v8.12.0`](https://togithub.com/acornjs/acorn/compare/8.11.3...8.12.0) [Compare Source](https://togithub.com/acornjs/acorn/compare/8.11.3...8.12.0)
eslint/eslint (eslint) ### [`v9.5.0`](https://togithub.com/eslint/eslint/compare/v9.4.0...535235701fb029db6f656bd4e58acdfdeb8c02de) [Compare Source](https://togithub.com/eslint/eslint/compare/v9.4.0...v9.5.0)
sindresorhus/execa (execa) ### [`v9.2.0`](https://togithub.com/sindresorhus/execa/releases/tag/v9.2.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v9.1.0...v9.2.0) This release includes a [new set of methods](docs/ipc.md) to exchange messages between the current process and a Node.js subprocess, also known as "IPC". This allows [passing](docs/input.md#any-input-type) and [returning](docs/output.md#any-output-type) almost any message type to/from a Node.js subprocess. Also, [debugging](docs/ipc.md#debugging) IPC is now much easier. Moreover, a new [`gracefulCancel`](docs/api.md#optionsgracefulcancel) option has also been added to [terminate a subprocess gracefully](docs/termination.md#graceful-termination). For a deeper dive-in, please check and share the [release post](https://medium.com/@​ehmicky/ipc-made-easy-with-execa-9-2-939c6a358731)! Thanks [@​iiroj](https://togithub.com/iiroj) for your contribution, [@​SimonSiefke](https://togithub.com/SimonSiefke) and [@​adymorz](https://togithub.com/adymorz) for reporting the bugs fixed in this release, and [@​karlhorky](https://togithub.com/karlhorky) for improving the documentation! #### Deprecations - Passing `'ipc'` to the [`stdio`](docs/api.md#optionsstdio) option has been deprecated. It will be removed in the next major release. Instead, the [`ipc: true`](docs/api.md#optionsipc) option should be used. ([#​1056](https://togithub.com/sindresorhus/execa/issues/1056)) ```diff - await execa('npm', ['run', 'build'], {stdio: ['pipe', 'pipe', 'pipe', 'ipc']}); + await execa('npm', ['run', 'build'], {ipc: true}); ``` - The [`execaCommand()`](https://togithub.com/sindresorhus/execa/blob/v9.1.0/docs/api.md#execacommandcommand-options) method has been deprecated. It will be removed in the next major release. If most cases, the [template string syntax](docs/execution.md#template-string-syntax) should be used instead. ```diff - import {execaCommand} from 'execa'; + import {execa} from 'execa'; - await execaCommand('npm run build'); + await execa`npm run build`; const taskName = 'build'; - await execaCommand(`npm run ${taskName}`); + await execa`npm run ${taskName}`; const commandArguments = ['run', 'task with space']; await execa`npm ${commandArguments}`; ``` If the file and/or multiple arguments are supplied as a single string, [parseCommandString(command)](https://togithub.com/sindresorhus/execa/blob/main/docs/api.md#parsecommandstringcommand) can split that string into an array. [More info.](docs/escaping.md) ([#​1054](https://togithub.com/sindresorhus/execa/issues/1054)) ```diff - import {execaCommand} from 'execa'; + import {execa, parseCommandString} from 'execa'; const commandString = 'npm run task'; - await execaCommand(commandString); + const commandArray = parseCommandString(commandString); // ['npm', 'run', 'task'] + await execa`${commandArray}`; // Or alternatively: const [file, ...commandArguments] = commandArray; await execa(file, commandArguments); ``` #### Features - Add [`gracefulCancel`](docs/api.md#optionsgracefulcancel) option and [`getCancelSignal()`](docs/api.md#getcancelsignal) method to [terminate a subprocess gracefully](docs/termination.md#graceful-termination). [`error.isGracefullyCanceled`](docs/api.md#errorisgracefullycanceled) was also added. ([#​1109](https://togithub.com/sindresorhus/execa/issues/1109)) - Add [`error.isForcefullyTerminated`](docs/api.md#errorisforcefullyterminated). It is `true` when the subprocess was terminated by the [`forceKillAfterDelay`](docs/api.md#optionsforcekillafterdelay) option. ([#​1111](https://togithub.com/sindresorhus/execa/issues/1111)) - New methods to simplify exchanging messages between the current process and the subprocess. [More info.](docs/ipc.md) ([#​1059](https://togithub.com/sindresorhus/execa/issues/1059), [#​1061](https://togithub.com/sindresorhus/execa/issues/1061), [#​1076](https://togithub.com/sindresorhus/execa/issues/1076), [#​1077](https://togithub.com/sindresorhus/execa/issues/1077), [#​1079](https://togithub.com/sindresorhus/execa/issues/1079), [#​1082](https://togithub.com/sindresorhus/execa/issues/1082), [#​1083](https://togithub.com/sindresorhus/execa/issues/1083), [#​1086](https://togithub.com/sindresorhus/execa/issues/1086), [#​1087](https://togithub.com/sindresorhus/execa/issues/1087), [#​1088](https://togithub.com/sindresorhus/execa/issues/1088), [#​1089](https://togithub.com/sindresorhus/execa/issues/1089), [#​1090](https://togithub.com/sindresorhus/execa/issues/1090), [#​1091](https://togithub.com/sindresorhus/execa/issues/1091), [#​1092](https://togithub.com/sindresorhus/execa/issues/1092), [#​1094](https://togithub.com/sindresorhus/execa/issues/1094), [#​1095](https://togithub.com/sindresorhus/execa/issues/1095), [#​1098](https://togithub.com/sindresorhus/execa/issues/1098), [#​1104](https://togithub.com/sindresorhus/execa/issues/1104), [#​1107](https://togithub.com/sindresorhus/execa/issues/1107)) - The current process sends messages with [`subprocess.sendMessage(message)`](docs/api.md#subprocesssendmessagemessage-sendmessageoptions) and receives them with [`subprocess.getOneMessage()`](docs/api.md#subprocessgetonemessagegetonemessageoptions). [`subprocess.getEachMessage()`](docs/api.md#subprocessgeteachmessagegeteachmessageoptions) listens to multiple messages. - The subprocess uses [`sendMessage(message)`](docs/api.md#sendmessagemessage-sendmessageoptions), [`getOneMessage()`](docs/api.md#getonemessagegetonemessageoptions) and [`getEachMessage()`](docs/api.md#geteachmessagegeteachmessageoptions) instead. Those are the same methods, but imported directly from the `'execa'` module. - The [`ipcInput`](docs/ipc.md#send-an-initial-message) option sends an IPC message from the current process to the subprocess as it starts. This enables [passing almost any input type](docs/input.md#any-input-type) to a Node.js subprocess. ([#​1068](https://togithub.com/sindresorhus/execa/issues/1068)) - The [`result.ipcOutput`](docs/ipc.md#retrieve-all-messages) array contains all the IPC messages sent by the subprocess to the current process. This enables [returning almost any output type](docs/output.md#any-output-type) from a Node.js subprocess. ([#​1067](https://togithub.com/sindresorhus/execa/issues/1067), [#​1071](https://togithub.com/sindresorhus/execa/issues/1071), [#​1075](https://togithub.com/sindresorhus/execa/issues/1075)) - The [error message](docs/errors.md#error-message) now [contains every IPC message](docs/ipc.md#debugging) sent by the subprocess. ([#​1067](https://togithub.com/sindresorhus/execa/issues/1067)) - The [`verbose: 'full'`](docs/api.md#optionsverbose) option now logs every IPC message sent by the subprocess, for debugging. More info [here](docs/ipc.md#debugging) and [there](docs/output.md#stdoutstderr-specific-options). ([#​1063](https://togithub.com/sindresorhus/execa/issues/1063)) #### Types - Add [`ExecaMethod`](docs/typescript.md#available-types), [`ExecaNodeMethod`](docs/typescript.md#available-types) and [`ExecaScriptMethod`](docs/typescript.md#available-types), [`ExecaSyncMethod`](docs/typescript.md#synchronous-execution) and [`ExecaScriptSyncMethod`](docs/typescript.md#synchronous-execution) types. ([#​1066](https://togithub.com/sindresorhus/execa/issues/1066)) - Export the `Message` type, for [IPC](docs/ipc.md). ([#​1059](https://togithub.com/sindresorhus/execa/issues/1059)) - Fix type of `forceKillAfterDelay: true` option. ([#​1116](https://togithub.com/sindresorhus/execa/issues/1116)) #### Bug fixes - Fix passing a [`{file}`](docs/output.md#file-output) to both the [`stdin`](docs/api.md#optionsstdin) and the [`stdout`](docs/api.md#optionsstdout) or [`stderr`](docs/api.md#optionsstderr) options. ([#​1058](https://togithub.com/sindresorhus/execa/issues/1058)) - Fix multiple minor problems with the [`cancelSignal`](docs/termination.md#canceling) option. ([#​1108](https://togithub.com/sindresorhus/execa/issues/1108)) - Fix accidental publishing of Vim backup files. ([#​1074](https://togithub.com/sindresorhus/execa/issues/1074)) - Fix `engines.node` field in [`package.json`](package.json). Supported Node.js version is `^18.19.0` or `>=20.5.0`. (by [@​iiroj](https://togithub.com/iiroj)) ([#​1101](https://togithub.com/sindresorhus/execa/issues/1101))
pnpm/pnpm (pnpm) ### [`v9.3.0`](https://togithub.com/pnpm/pnpm/releases/tag/v9.3.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.2.0...v9.3.0) #### Minor Changes - **Semi-breaking.** Dependency key names in the lockfile are shortened if they are longer than 1000 characters. We don't expect this change to affect many users. Affected users most probably can't run install successfully at the moment. This change is required to fix some edge cases in which installation fails with an out-of-memory error or "Invalid string length (RangeError: Invalid string length)" error. The max allowed length of the dependency key can be controlled with the `peers-suffix-max-length` setting [#​8177](https://togithub.com/pnpm/pnpm/pull/8177). #### Patch Changes - Set `reporter-hide-prefix` to `true` by default for `pnpm exec`. In order to show prefix, the user now has to explicitly set `reporter-hide-prefix=false` [#​8174](https://togithub.com/pnpm/pnpm/issues/8174). #### Platinum Sponsors
#### Gold Sponsors
#### Our Silver Sponsors
prettier/prettier (prettier) ### [`v3.3.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#332) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.1...3.3.2) [diff](https://togithub.com/prettier/prettier/compare/3.3.1...3.3.2) ##### Fix handlebars path expressions starts with `@` ([#​16358](https://togithub.com/prettier/prettier/pull/16358) by [@​Princeyadav05](https://togithub.com/Princeyadav05)) ```hbs {{! Input }}
{{@​x.y.z}}
{{! Prettier 3.3.1 }}
{{@​x}}
{{! Prettier 3.3.2 }}
{{@​x.y.z}}
```
vitejs/vite (vite) ### [`v5.3.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small531-2024-06-14-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.3.0...v5.3.1) - fix(build): handle preload treeshaking for braces ([#​17479](https://togithub.com/vitejs/vite/issues/17479)) ([d355568](https://togithub.com/vitejs/vite/commit/d355568)), closes [#​17479](https://togithub.com/vitejs/vite/issues/17479) - fix(build): handle preload treeshaking for commas ([#​17472](https://togithub.com/vitejs/vite/issues/17472)) ([3e27071](https://togithub.com/vitejs/vite/commit/3e27071)), closes [#​17472](https://togithub.com/vitejs/vite/issues/17472) - fix(build): preload treeshaking ignore equal ([#​17480](https://togithub.com/vitejs/vite/issues/17480)) ([6ced135](https://togithub.com/vitejs/vite/commit/6ced135)), closes [#​17480](https://togithub.com/vitejs/vite/issues/17480) - chore: consolidate changelog for 5.3 ([#​17476](https://togithub.com/vitejs/vite/issues/17476)) ([1f09344](https://togithub.com/vitejs/vite/commit/1f09344)), closes [#​17476](https://togithub.com/vitejs/vite/issues/17476) ### [`v5.3.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#530-2024-06-13) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.13...v5.3.0) - fix: typo in client log ([#​17363](https://togithub.com/vitejs/vite/issues/17363)) ([68aa9f8](https://togithub.com/vitejs/vite/commit/68aa9f8)), closes [#​17363](https://togithub.com/vitejs/vite/issues/17363) - fix(ssrTransform): handle arbitrary module namespace identifiers ([#​17446](https://togithub.com/vitejs/vite/issues/17446)) ([0a76652](https://togithub.com/vitejs/vite/commit/0a76652)), closes [#​17446](https://togithub.com/vitejs/vite/issues/17446) - test: disable isolate for unit test ([#​17448](https://togithub.com/vitejs/vite/issues/17448)) ([f16fae5](https://togithub.com/vitejs/vite/commit/f16fae5)), closes [#​17448](https://togithub.com/vitejs/vite/issues/17448) - feat: asset type add bmp ([#​17439](https://togithub.com/vitejs/vite/issues/17439)) ([ec287f8](https://togithub.com/vitejs/vite/commit/ec287f8)), closes [#​17439](https://togithub.com/vitejs/vite/issues/17439) ### [`v5.2.13`](https://togithub.com/vitejs/vite/releases/tag/v5.2.13) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.12...v5.2.13) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v5.2.13/packages/vite/CHANGELOG.md) for details.
webpack/webpack (webpack) ### [`v5.92.0`](https://togithub.com/webpack/webpack/releases/tag/v5.92.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.91.0...v5.92.0) #### Bug Fixes - Correct tidle range's comutation for module federation - Consider runtime for pure expression dependency update hash - Return value in the `subtractRuntime` function for runtime logic - Fixed failed to resolve promise when eager import a dynamic cjs - Avoid generation extra code for external modules when remapping is not required - The `css/global` type now handles the exports name - Avoid hashing for `@keyframe` and `@property` at-rules in `css/global` type - Fixed mangle with destructuring for JSON modules - The `stats.hasWarnings()` method now respects the `ignoreWarnings` option - Fixed `ArrayQueue` iterator - Correct behavior of `__webpack_exports_info__.a.b.canMangle` - Changed to the correct plugin name for the `CommonJsChunkFormatPlugin` plugin - Set the `chunkLoading` option to the `import` when environment is unknown and output is module - Fixed when runtimeChunk has no exports when `module` chunkFormat used - \[CSS] Fixed parsing minimized CSS import - \[CSS] URLs in CSS files now have correct public path - \[CSS] The `css` module type should not allow parser to switch mode - \[Types] Improved context module types #### New Features - Added platform target properties to compiler - Improved multi compiler cache location and validating it - Support `import attributes` spec (`with` keyword) - Support `node:` prefix for Node.js core modules in runtime code - Support prefetch/preload for module chunk format - Support "..." in the `importsFields` option for resolver - Root module is less prone to be wrapped in IIFE - Export `InitFragment` class for plugins - Export `compileBooleanMatcher` util for plugins - Export `InputFileSystem` and `OutputFileSystem` types - \[CSS] Support the `esModule` generator option for CSS modules - \[CSS] Support CSS when chunk format is module

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.