unjs / giget

✨ Download templates and git repositories with pleasure!
MIT License
425 stars 37 forks source link

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

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/node (source) ^20.11.4 -> ^20.11.16 age adoption passing confidence
@types/tar (source) ^6.1.10 -> ^6.1.11 age adoption passing confidence
@vitest/coverage-v8 (source) ^1.2.0 -> ^1.2.2 age adoption passing confidence
nypm ^0.3.4 -> ^0.3.6 age adoption passing confidence
pnpm (source) 8.14.1 -> 8.15.1 age adoption passing confidence
prettier (source) ^3.2.2 -> ^3.2.5 age adoption passing confidence
vitest (source) ^1.2.0 -> ^1.2.2 age adoption passing confidence

Release Notes

vitest-dev/vitest (@​vitest/coverage-v8) ### [`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) #####    🐞 Bug Fixes - **coverage**: - Remove `coverage/.tmp` files after run  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008) [(d53b8)](https://togithub.com/vitest-dev/vitest/commit/d53b8580) - Don't crash when re-run removes earlier run's reports  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022) [(66898)](https://togithub.com/vitest-dev/vitest/commit/6689856f) - **expect**: - Improve `toThrow(asymmetricMatcher)` failure message  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000) [(a199a)](https://togithub.com/vitest-dev/vitest/commit/a199ac2d) - **forks**: - Set correct `VITEST_POOL_ID`  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002) [(7d0a4)](https://togithub.com/vitest-dev/vitest/commit/7d0a4692) - **threads**: - Mention common work-around for the logged error  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024) [(915d6)](https://togithub.com/vitest-dev/vitest/commit/915d6c43) - **typecheck**: - Fix `ignoreSourceErrors` in run mode  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044) [(6dae3)](https://togithub.com/vitest-dev/vitest/commit/6dae3feb) - **vite-node**: - Provide import.meta.filename and dirname  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011) [(73148)](https://togithub.com/vitest-dev/vitest/commit/73148575) - **vitest**: - Expose getHooks & setHooks  -  by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032) [(73448)](https://togithub.com/vitest-dev/vitest/commit/73448706) - Test deep dependencies change detection  -  by [@​blake-newman](https://togithub.com/blake-newman) in [https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934) [(9c7c0)](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9) - Throw an error if vi.mock is exported  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034) [(253df)](https://togithub.com/vitest-dev/vitest/commit/253df1cc) - Allow `useFakeTimers` to fake `requestIdleCallback` on non browser  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028) [(a9a48)](https://togithub.com/vitest-dev/vitest/commit/a9a486f2) - Support older NodeJS with async `import.meta.resolve`  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045) [(cf564)](https://togithub.com/vitest-dev/vitest/commit/cf5641a9) - Don't throw an error if mocked file was already imported  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050) [(fff1a)](https://togithub.com/vitest-dev/vitest/commit/fff1a270) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2) ### [`v1.2.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) #####    🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4947](https://togithub.com/vitest-dev/vitest/issues/4947) [(db01f)](https://togithub.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4855](https://togithub.com/vitest-dev/vitest/issues/4855) [(6c1cc)](https://togithub.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4992](https://togithub.com/vitest-dev/vitest/issues/4992) [(6c5fe)](https://togithub.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4959](https://togithub.com/vitest-dev/vitest/issues/4959) [(4b411)](https://togithub.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher`  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4942](https://togithub.com/vitest-dev/vitest/issues/4942) [(06bae)](https://togithub.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4987](https://togithub.com/vitest-dev/vitest/issues/4987) [(21f57)](https://togithub.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted`  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4962](https://togithub.com/vitest-dev/vitest/issues/4962) [(dcf2e)](https://togithub.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4974](https://togithub.com/vitest-dev/vitest/issues/4974) [(df0db)](https://togithub.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4976](https://togithub.com/vitest-dev/vitest/issues/4976) [(952c3)](https://togithub.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4966](https://togithub.com/vitest-dev/vitest/issues/4966) [(39a71)](https://togithub.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4980](https://togithub.com/vitest-dev/vitest/issues/4980) [(8877e)](https://togithub.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4969](https://togithub.com/vitest-dev/vitest/issues/4969) [(f8bff)](https://togithub.com/vitest-dev/vitest/commit/f8bff9ef) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1)
unjs/nypm (nypm) ### [`v0.3.6`](https://togithub.com/unjs/nypm/blob/HEAD/CHANGELOG.md#v036) [Compare Source](https://togithub.com/unjs/nypm/compare/v0.3.5...v0.3.6) [compare changes](https://togithub.com/unjs/nypm/compare/v0.3.4...v0.3.6) ##### 🚀 Enhancements - Allow installing multiple dependencies ([#​107](https://togithub.com/unjs/nypm/pull/107)) ##### 📦 Build - **cli:** Only import required fields from `package.json` to the bundle ([591dd4d](https://togithub.com/unjs/nypm/commit/591dd4d)) ##### 🏡 Chore - Update lockfile ([84d90d7](https://togithub.com/unjs/nypm/commit/84d90d7)) ##### 🤖 CI - Increase timeout for windows ([da4a986](https://togithub.com/unjs/nypm/commit/da4a986)) ##### ❤️ Contributors - Pooya Parsa ([@​pi0](http://github.com/pi0)) ### [`v0.3.5`](https://togithub.com/unjs/nypm/compare/v0.3.4...v0.3.5) [Compare Source](https://togithub.com/unjs/nypm/compare/v0.3.4...v0.3.5)
pnpm/pnpm (pnpm) ### [`v8.15.1`](https://togithub.com/pnpm/pnpm/releases/tag/v8.15.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.15.0...v8.15.1) #### Patch Changes - Use the `object-hash` library instead of `node-object-hash` for hashing keys of side-effects cache [#​7591](https://togithub.com/pnpm/pnpm/pull/7591). - `bundledDependencies` should never be added to the lockfile with `false` as the value [#​7576](https://togithub.com/pnpm/pnpm/issues/7576). #### Platinum Sponsors
#### Gold Sponsors
#### Our Silver Sponsors
### [`v8.15.0`](https://togithub.com/pnpm/pnpm/releases/tag/v8.15.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.14.3...v8.15.0) #### Minor Changes - When the license field does not exist in `package.json` but a license file exists, try to match and extract the license name [#​7530](https://togithub.com/pnpm/pnpm/pull/7530). #### Patch Changes - Running `pnpm update -r --latest` will no longer downgrade prerelease dependencies [#​7436](https://togithub.com/pnpm/pnpm/issues/7436). - `--aggregate-output` should work on scripts executed from the same project [#​7556](https://togithub.com/pnpm/pnpm/issues/7556). - Prefer hard links over reflinks on Windows as they perform better [#​7564](https://togithub.com/pnpm/pnpm/pull/7564). - Reduce the length of the side-effects cache key. Instead of saving a stringified object composed from the dependency versions of the package, use the hash calculated from the said object [#​7563](https://togithub.com/pnpm/pnpm/pull/7563). - Throw an error if `pnpm update --latest` runs with arguments containing versions specs. For instance, `pnpm update --latest foo@next` is not allowed [#​7567](https://togithub.com/pnpm/pnpm/pull/7567). - Don't fail in Windows CoW if the file already exists [#​7554](https://togithub.com/pnpm/pnpm/issues/7554). #### Platinum Sponsors
#### Gold Sponsors
#### Our Silver Sponsors
### [`v8.14.3`](https://togithub.com/pnpm/pnpm/releases/tag/v8.14.3) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.14.2...v8.14.3) #### Patch Changes - `pnpm pack` should work as expected when "prepack" modifies the manifest [#​7558](https://togithub.com/pnpm/pnpm/pull/7558). #### Platinum Sponsors
#### Gold Sponsors
#### Our Silver Sponsors
### [`v8.14.2`](https://togithub.com/pnpm/pnpm/releases/tag/v8.14.2) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.14.1...v8.14.2) #### Patch Changes - Registry configuration from previous installation should not override current settings [#​7507](https://togithub.com/pnpm/pnpm/issues/7507). - `pnpm dlx` should not fail, when executed from `package.json` "scripts" [7424](https://togithub.com/pnpm/pnpm/issues/7424). - A git-hosted dependency should not be added to the store if it failed to be built [#​7407](https://togithub.com/pnpm/pnpm/pull/7407). - `pnpm publish` should pack "main" file or "bin" files defined in "publishConfig" [#​4195](https://togithub.com/pnpm/pnpm/issues/4195). #### Platinum Sponsors
#### Gold Sponsors
#### Our Silver Sponsors
prettier/prettier (prettier) ### [`v3.2.5`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#325) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5) [diff](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5) ##### Support Angular inline styles as single template literal ([#​15968](https://togithub.com/prettier/prettier/pull/15968) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) [Angular v17](https://blog.angular.io/introducing-angular-v17-4d7033312e4b) supports single string inline styles. ```ts // Input @​Component({ template: `
...
`, styles: `h1 { color: blue; }`, }) export class AppComponent {} // Prettier 3.2.4 @​Component({ template: `
...
`, styles: `h1 { color: blue; }`, }) export class AppComponent {} // Prettier 3.2.5 @​Component({ template: `
...
`, styles: ` h1 { color: blue; } `, }) export class AppComponent {} ``` ##### Unexpected embedded formatting for Angular template ([#​15969](https://togithub.com/prettier/prettier/pull/15969) by [@​JounQin](https://togithub.com/JounQin)) Computed template should not be considered as Angular component template ```ts // Input const template = "foobar"; @​Component({ [template]: `

{{ hello }}

`, }) export class AppComponent {} // Prettier 3.2.4 const template = "foobar"; @​Component({ [template]: `

{{ hello }}

`, }) export class AppComponent {} // Prettier 3.2.5 const template = "foobar"; @​Component({ [template]: `

{{ hello }}

`, }) export class AppComponent {} ``` ##### Use `"json"` parser for `tsconfig.json` by default ([#​16012](https://togithub.com/prettier/prettier/pull/16012) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) In [v2.3.0](https://prettier.io/blog/2024/01/12/3.2.0#new-jsonc-parser-added-15831httpsgithubcomprettierprettierpull15831-by-fiskerhttpsgithubcomfisker), we introduced `"jsonc"` parser which adds trialing comma **by default**. When adding a new parser we also define how it will be used based on the [`linguist-languages`](https://www.npmjs.com/package/linguist-languages) data. `tsconfig.json` is a special file used by [TypeScript](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#using-tsconfigjson-or-jsconfigjson), it uses `.json` file extension, but it actually uses the [JSON with Comments](https://code.visualstudio.com/docs/languages/json#\_json-with-comments) syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing `.json` file extension. We decide to treat it as a JSON file for now to avoid the extra configuration step. To keep using the `"jsonc"` parser for your `tsconfig.json` files, add the following to your `.pretterrc` file ```json { "overrides": [ { "files": ["tsconfig.json", "jsconfig.json"], "options": { "parser": "jsonc" } } ] } ``` ``` ``` ### [`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" } ```

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.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (83eb734) 54.63% compared to head (65c280c) 54.63%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #147 +/- ## ======================================= Coverage 54.63% 54.63% ======================================= Files 7 7 Lines 615 615 Branches 47 47 ======================================= Hits 336 336 Misses 278 278 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.