unjs / defu

🌊 Assign default properties recursively
MIT License
1.06k stars 22 forks source link

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

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
c8 ^7.11.0 -> ^7.12.0 age adoption passing confidence
pnpm (source) 7.3.0 -> 7.9.0 age adoption passing confidence
vitest ^0.9.2 -> ^0.21.0 age adoption passing confidence

Release Notes

bcoe/c8 ### [`v7.12.0`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#​7120-httpsgithubcombcoec8comparev7113v7120-2022-07-19) [Compare Source](https://togithub.com/bcoe/c8/compare/v7.11.3...v7.12.0) ##### Features - use process.stdout.columns for reporter maxCols ([#​409](https://togithub.com/bcoe/c8/issues/409)) ([7731574](https://togithub.com/bcoe/c8/commit/77315744b219b90eb6a02efc9d26e5400f99af62)) ##### [7.11.3](https://togithub.com/bcoe/c8/compare/v7.11.2...v7.11.3) (2022-05-16) ##### Bug Fixes - `--all` now respects `--extension` flag. ([#​357](https://togithub.com/bcoe/c8/issues/357)) ([a5deb27](https://togithub.com/bcoe/c8/commit/a5deb278dcdd7293e8e758ca892d0a44c6d9bba4)) ##### [7.11.2](https://togithub.com/bcoe/c8/compare/v7.11.1...v7.11.2) (2022-04-20) ##### Bug Fixes - **perf:** cache `this.exclude.shouldInstrument` for improved performance ([#​388](https://togithub.com/bcoe/c8/issues/388)) ([8b36f23](https://togithub.com/bcoe/c8/commit/8b36f23c253742d3ef1c9d52c8e843fff63cdacd)) ##### [7.11.1](https://togithub.com/bcoe/c8/compare/v7.11.0...v7.11.1) (2022-04-20) ##### Bug Fixes - **deps:** update deps to latest ([#​384](https://togithub.com/bcoe/c8/issues/384)) ([78eac8c](https://togithub.com/bcoe/c8/commit/78eac8c8ddaf034e25e2525db12d40356d9e6162)), closes [#​375](https://togithub.com/bcoe/c8/issues/375) - **deps:** v8-to-istanbul with fixes for Node 10/18 ([d5f642a](https://togithub.com/bcoe/c8/commit/d5f642a31b5de2053fd798b5b1327004be565dfa)) - fix package.json `test:snap` script to use cross-env ([#​366](https://togithub.com/bcoe/c8/issues/366)) ([5d2981c](https://togithub.com/bcoe/c8/commit/5d2981c056a8c666c9fdd6847d07c7be38abf181)) ### [`v7.11.3`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#​7113-httpsgithubcombcoec8comparev7112v7113-2022-05-16) [Compare Source](https://togithub.com/bcoe/c8/compare/v7.11.2...v7.11.3) ### [`v7.11.2`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#​7112-httpsgithubcombcoec8comparev7111v7112-2022-04-20) [Compare Source](https://togithub.com/bcoe/c8/compare/v7.11.1...v7.11.2) ### [`v7.11.1`](https://togithub.com/bcoe/c8/blob/HEAD/CHANGELOG.md#​7111-httpsgithubcombcoec8comparev7110v7111-2022-04-20) [Compare Source](https://togithub.com/bcoe/c8/compare/v7.11.0...v7.11.1)
pnpm/pnpm ### [`v7.9.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.9.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.8.0...v7.9.0) #### Minor Changes - When `ignore-dep-scripts` is `true`, ignore scripts of dependencies but run the scripts of the project. - When `ignore-compatibility-db` is set to `true`, the [compatibility database](https://togithub.com/yarnpkg/berry/blob/master/packages/yarnpkg-extensions/sources/index.ts) will not be used to patch dependencies [#​5132](https://togithub.com/pnpm/pnpm/issues/5132). - Print the versions of packages in peer dependency warnings and errors. - Support a new hook for passing a custom package importer to the store controller. #### Patch Changes - Don't print the same deprecation warning multiple times. - On POSIX `pnpm setup` should suggest users to source the config instead of restarting the terminal. - Installing a package with `bin` that points to an `.exe` file on Windows [#​5159](https://togithub.com/pnpm/pnpm/issues/5159). - Fix bug where the package manifest was not resolved if `verify-store-integrity` is set to `false`. - Fix sorting of keys in lockfile to make it more deterministic and prevent unnecessary churn in the lockfile [#​5151](https://togithub.com/pnpm/pnpm/pull/5151). - Don't create a separate bundle for pnpx. #### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.8.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.8.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.7.1...v7.8.0) #### Minor Changes - When `publishConfig.directory` is set, only symlink it to other workspace projects if `publishConfig.linkDirectory` is set to `true`. Otherwise, only use it for publishing [#​5115](https://togithub.com/pnpm/pnpm/issues/5115). #### Patch Changes - Don't incorrectly identify a lockfile out-of-date when the package has a publishConfig.directory field [#​5124](https://togithub.com/pnpm/pnpm/issues/5124). - Don't crash when a config file contains a setting with an env variable that doesn't exist [#​5093](https://togithub.com/pnpm/pnpm/issues/5093). #### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed * fix: don't incorrectly identify a lockfile out-of-date by @​zkochan in https://github.com/pnpm/pnpm/pull/5126 * feat: publishConfig.linkDirectory by @​zkochan in https://github.com/pnpm/pnpm/pull/5125 * fix: don't crash on a .npmrc with missing env var by @​zkochan in https://github.com/pnpm/pnpm/pull/5127 * chore: fix typo by @​LuciNyan in https://github.com/pnpm/pnpm/pull/5128 #### New Contributors * @​LuciNyan made their first contribution in https://github.com/pnpm/pnpm/pull/5128 **Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.7.1...v7.8.0 ### [`v7.7.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.7.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.7.0...v7.7.1) #### Patch Changes - pnpm should not consider a lockfile out-of-date if `auto-install-peers` is set to `true` and the peer dependency is in `devDependencies` or `optionalDependencies` [#​5080](https://togithub.com/pnpm/pnpm/issues/5080). - Don't incorrectly consider a lockfile out-of-date when `workspace:^` or `workspace:~` version specs are used in a workspace. #### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed * fix: frozen install in a project with peer deps and `auto-install-peers=true` by @​zkochan in https://github.com/pnpm/pnpm/pull/5120 * fix: don't incorrectly consider a lockfile to be out-of-date by @​zkochan in https://github.com/pnpm/pnpm/pull/5121 **Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.7.0...v7.7.1 ### [`v7.7.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.7.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.6.0...v7.7.0) #### Minor Changes - Add experimental lockfile format that should merge conflict less in the `importers` section. Enabled by setting the `use-inline-specifiers-lockfile-format = true` feature flag in `.npmrc`. If this feature flag is committed to a repo, we recommend setting the minimum allowed version of pnpm to this release in the `package.json` `engines` field. Once this is set, older pnpm versions will throw on invalid lockfile versions. - Add `publishDirectory` field to the lockfile and relink the project when it changes. - `verify-store-integrity=false` makes pnpm skip checking the integrities of files in the global content-addressable store. - Allow to set `only-built-dependencies[]` through `.npmrc`. #### Patch Changes - It should be possible to publish a package with local dependencies from a custom publish directory (set via `publishConfig.directory`) [#​3901](https://togithub.com/pnpm/pnpm/issues/3901#issuecomment-1194156886). - `pnpm deploy` should inject local dependencies of all types (dependencies, optionalDependencies, devDependencies) [#​5078](https://togithub.com/pnpm/pnpm/issues/5078). - When a project in a workspace has a `publishConfig.directory` set, dependent projects should install the project from that directory [#​3901](https://togithub.com/pnpm/pnpm/issues/3901) - **pnpm deploy**: accept absolute paths and use cwd instead of workspaceDir for deploy target directory [#​4980](https://togithub.com/pnpm/pnpm/issues/4980). - **pnpm setup** should update `.zshrc` in the right directory when a `$ZDOTDIR` is set. #### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed * fix(deploy): inject all types of deps by @​zkochan in https://github.com/pnpm/pnpm/pull/5084 * fix(make-dedicated-lockfile): prepublishOnly script is automatically … by @​zkochan in https://github.com/pnpm/pnpm/pull/5083 * fix: symlink a workspace pkg correctly, when it has a custom publish dir by @​zkochan in https://github.com/pnpm/pnpm/pull/5089 * feat: add experimental use-inline-specifiers-lockfile-format by @​gluxon in https://github.com/pnpm/pnpm/pull/5091 * fix: plugin-commands-deploy use path resolve on deploy target dir by @​AWare in https://github.com/pnpm/pnpm/pull/5026 * fix: relink the project when its publish directory changes by @​zkochan in https://github.com/pnpm/pnpm/pull/5109 * fix: don't include specifiers field in new experimental lockfile format by @​zkochan in https://github.com/pnpm/pnpm/pull/5110 * feat: verify-store-integrity by @​zkochan in https://github.com/pnpm/pnpm/pull/5112 #### New Contributors * @​AWare made their first contribution in https://github.com/pnpm/pnpm/pull/5026 **Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.6.0...v7.7.0 ### [`v7.6.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.6.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.5.2...v7.6.0) #### Minor Changes - A new setting supported: `prefer-symlinked-executables`. When `true`, pnpm will create symlinks to executables in `node_modules/.bin` instead of command shims (but on POSIX systems only). This setting is `true` by default when `node-linker` is set to `hoisted`. Related issue: [#​4782](https://togithub.com/pnpm/pnpm/issues/4782). - When `lockfile-include-tarball-url` is set to `true`, every entry in `pnpm-lock.yaml` will contain the full URL to the package's tarball [#​5054](https://togithub.com/pnpm/pnpm/pull/5054). #### Patch Changes - `pnpm deploy` should include all dependencies by default [#​5035](https://togithub.com/pnpm/pnpm/issues/5035). - Don't print warnings about file verifications. Just print info messages instead. - `pnpm publish --help` should print the `--recursive` and `--filter` options [#​5019](https://togithub.com/pnpm/pnpm/issues/5019). - It should be possible to run exec/run/dlx with the `--use-node-version` option. - `pnpm deploy` should not modify the lockfile [#​5071](https://togithub.com/pnpm/pnpm/issues/5071) - `pnpm deploy` should not fail in CI [#​5071](https://togithub.com/pnpm/pnpm/issues/5071) - When `auto-install-peers` is set to `true`, automatically install direct peer dependencies [#​5028](https://togithub.com/pnpm/pnpm/pull/5067). So if your project the next manifest: ```json { "dependencies": { "lodash": "^4.17.21" }, "peerDependencies": { "react": "^18.2.0" } } ``` pnpm will install both lodash and react as a regular dependencies. #### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed * pnpm rebuild accepts --store-dir by @​chengcyber in https://github.com/pnpm/pnpm/pull/5036 * fix(deploy): include all deps by default by @​zkochan in https://github.com/pnpm/pnpm/pull/5040 * chore(deps): upgrade nock to v13 by @​mcmxcdev in https://github.com/pnpm/pnpm/pull/5043 * fix: log more info on HTTP error by @​zkochan in https://github.com/pnpm/pnpm/pull/4917 * fix: document the -r option by @​zkochan in https://github.com/pnpm/pnpm/pull/5044 * chore(deps): upgrade sinon to v14 by @​mcmxcdev in https://github.com/pnpm/pnpm/pull/5045 * fix(audit): add authentication to pnpm-audit by @​sled in https://github.com/pnpm/pnpm/pull/5053 * feat: prefer-symlinked-executables by @​zkochan in https://github.com/pnpm/pnpm/pull/5048 * chore: update pnpm-workspace.yaml by @​ayu14214 in https://github.com/pnpm/pnpm/pull/5060 * feat: add `lockfile-include-tarball-url` option by @​MBelniak in https://github.com/pnpm/pnpm/pull/5054 * fix: auto install root peer deps when auto-install-peers=true by @​zkochan in https://github.com/pnpm/pnpm/pull/5067 * fix(deploy): don't modify the lockfile and fail in CI by @​zkochan in https://github.com/pnpm/pnpm/pull/5074 #### New Contributors * @​mcmxcdev made their first contribution in https://github.com/pnpm/pnpm/pull/5043 * @​sled made their first contribution in https://github.com/pnpm/pnpm/pull/5053 * @​ayu14214 made their first contribution in https://github.com/pnpm/pnpm/pull/5060 * @​MBelniak made their first contribution in https://github.com/pnpm/pnpm/pull/5054 **Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.5.2...v7.6.0 ### [`v7.5.2`](https://togithub.com/pnpm/pnpm/releases/tag/v7.5.2) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.5.1...v7.5.2) #### Patch Changes - Don't print any info messages about .pnpmfile.cjs [#​5027](https://togithub.com/pnpm/pnpm/issues/5027). - Do not print a package with unchanged version in the installation summary [#​5031](https://togithub.com/pnpm/pnpm/pull/5031). #### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed * fix: summary reporting by @​zkochan in https://github.com/pnpm/pnpm/pull/5031 * fix: don't print info messages about .pnpmfile.cjs by @​zkochan in https://github.com/pnpm/pnpm/pull/5032 **Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.5.1...v7.5.2 ### [`v7.5.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.5.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.5.0...v7.5.1) #### Patch Changes - Don't symlink the autoinstalled peer dependencies to the root of `node_modules` [#​4988](https://togithub.com/pnpm/pnpm/issues/4988). - Avoid retaining a copy of the contents of files deleted during patching [#​5003](https://togithub.com/pnpm/pnpm/issues/5003). - Remove file reporter logging. Logged file is not useful [#​4949](https://togithub.com/pnpm/pnpm/issues/4949). #### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed * fix: don't symlink the autoinstalled peers to the root of node_modules by @​zkochan in https://github.com/pnpm/pnpm/pull/4998 * feat: use irreversible-delete in pnpm patch-commit by @​webstrand in https://github.com/pnpm/pnpm/pull/5008 * feat(file-reporter): remove file reporter by @​william2958 in https://github.com/pnpm/pnpm/pull/5012 #### New Contributors * @​webstrand made their first contribution in https://github.com/pnpm/pnpm/pull/5008 * @​william2958 made their first contribution in https://github.com/pnpm/pnpm/pull/5012 **Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.5.0...v7.5.1 ### [`v7.5.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.5.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.4.1...v7.5.0) ##### Minor Changes - A new value `rolling` for option `save-workspace-protocol`. When selected, pnpm will save workspace versions using a rolling alias (e.g. `"foo": "workspace:^"`) instead of pinning the current version number (e.g. `"foo": "workspace:^1.0.0"`). Usage example, in the root of your workspace, create a `.npmrc` with the following content: save-workspace-protocol=rolling ##### Patch Changes - `pnpm remove ` should not fail in a workspace that has patches [#​4954](https://togithub.com/pnpm/pnpm/issues/4954#issuecomment-1172858634) - The hash of the patch file should be the same on both Windows and POSIX [#​4961](https://togithub.com/pnpm/pnpm/issues/4961). - `pnpm env use` should throw an error on a system that use the MUSL libc. ##### Our Gold Sponsors
##### Our Silver Sponsors
##### What's Changed * fix(env): throw an error on a system that uses MUSL libc by @​zkochan in https://github.com/pnpm/pnpm/pull/4958 * feat: use workspace spec alias by default in pnpm add by @​javier-garcia-meteologica in https://github.com/pnpm/pnpm/pull/4947 * fix(patch): the hash of the patch file should be the same on both Windows and POSIX by @​zkochan in https://github.com/pnpm/pnpm/pull/4969 **Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.4.1...v7.5.0 ### [`v7.4.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.4.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.4.0...v7.4.1) #### Patch Changes - `pnpm install` in a workspace with patches should not fail when doing partial installation [#​4954](https://togithub.com/pnpm/pnpm/issues/4954). - Never skip lockfile resolution when the lockfile is not up-to-date and `--lockfile-only` is used. Even if `frozen-lockfile` is `true` [#​4951](https://togithub.com/pnpm/pnpm/issues/4951). - Never add an empty `patchedDependencies` field to `pnpm-lock.yaml`. #### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed * fix(lockfile): never add an empty `patchedDependencies` field to `pnpm-lock.yaml` by @​zkochan in https://github.com/pnpm/pnpm/pull/4948 * Add "refs/"+refname to resolution options by @​rotu in https://github.com/pnpm/pnpm/pull/4953 * fix: --lockfile-only in CI and with frozen-lockfile=true by @​zkochan in https://github.com/pnpm/pnpm/pull/4955 * fix: partial install in workspace with patches should not fail by @​zkochan in https://github.com/pnpm/pnpm/pull/4956 #### New Contributors * @​rotu made their first contribution in https://github.com/pnpm/pnpm/pull/4953 **Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.4.0...v7.4.1 ### [`v7.4.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.4.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.3.0...v7.4.0) #### Minor Changes - Dependencies patching is possible via the `pnpm.patchedDependencies` field of the `package.json`. To patch a package, the package name, exact version, and the relative path to the patch file should be specified. For instance: ```json { "pnpm": { "patchedDependencies": { "eslint@1.0.0": "./patches/eslint@1.0.0.patch" } } } ``` - Two new commands added: `pnpm patch` and `pnpm patch-commit`. `pnpm patch ` prepares a package for patching. For instance, if you want to patch express v1, run: pnpm patch express@1.0.0 pnpm will create a temporary directory with `express@1.0.0` that you can modify with your changes. Once you are read with your changes, run: pnpm patch-commit This will create a patch file and write it to `/patches/express@1.0.0.patch`. Also, it will reference this new patch file from the `patchedDependencies` field in `package.json`: ```json { "pnpm": { "patchedDependencies": { "express@1.0.0": "patches/express@1.0.0.patch" } } } ``` - A new experimental command added: `pnpm deploy`. The deploy command takes copies a project from a workspace and installs all of its production dependencies (even if some of those dependencies are other projects from the workspace). For example, the new command will deploy the project named `foo` to the `dist` directory in the root of the workspace: pnpm --filter=foo deploy dist - `package-import-method` supports a new option: `clone-or-copy`. - New setting added: `include-workspace-root`. When it is set to `true`, the `run`, `exec`, `add`, and `test` commands will include the root package, when executed recursively [#​4906](https://togithub.com/pnpm/pnpm/issues/4906) #### Patch Changes - Don't crash when `pnpm update --interactive` is cancelled with Ctrl+c. - The `use-node-version` setting should work with prerelease Node.js versions. For instance: use-node-version=18.0.0-rc.3 - Return early when the lockfile is up-to-date. - Resolve native workspace path for case-insensitive file systems [#​4904](https://togithub.com/pnpm/pnpm/issues/4904). - Don't link local dev dependencies, when prod dependencies should only be installed. - `pnpm audit --fix` should not add an override for a vulnerable package that has no fixes released. - Update the compatibility database. #### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed * feat: patch package by @​zkochan in https://github.com/pnpm/pnpm/pull/4885 * feat: add `patch` and `patch-commit` commands by @​zkochan in https://github.com/pnpm/pnpm/pull/4900 * fix(env): `use-node-version` should work with prerelease versions by @​zkochan in https://github.com/pnpm/pnpm/pull/4903 * refactor: create @​pnpm/node.fetcher by @​zkochan in https://github.com/pnpm/pnpm/pull/4908 * feat(patch): update patched dependencies on install by @​zkochan in https://github.com/pnpm/pnpm/pull/4905 * fix: throw an error if not all patches were applied by @​zkochan in https://github.com/pnpm/pnpm/pull/4911 * fix: a modified patch should update the deps on install by @​zkochan in https://github.com/pnpm/pnpm/pull/4918 * fix: packages should be patched even when scripts are ignored by @​zkochan in https://github.com/pnpm/pnpm/pull/4922 * fix: patch package even if it is not in the onlyBuiltDependencies list by @​zkochan in https://github.com/pnpm/pnpm/pull/4925 * fix: respect include-workspace-root npmrc option by @​shirotech in https://github.com/pnpm/pnpm/pull/4928 * fix: install --lockfile-only should exit early by @​zkochan in https://github.com/pnpm/pnpm/pull/4932 * fix: resolve real path for case insensitive systems by @​mdogadailo in https://github.com/pnpm/pnpm/pull/4935 * feat: deploy command by @​zkochan in https://github.com/pnpm/pnpm/pull/4933 * fix: use recursive for deploy command directory creation by @​ragrag in https://github.com/pnpm/pnpm/pull/4943 * fix: don't fail when the patched pkg appears multiple times by @​zkochan in https://github.com/pnpm/pnpm/pull/4945 #### New Contributors * @​shirotech made their first contribution in https://github.com/pnpm/pnpm/pull/4928 * @​mdogadailo made their first contribution in https://github.com/pnpm/pnpm/pull/4935 * @​ragrag made their first contribution in https://github.com/pnpm/pnpm/pull/4943 **Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.3.0...v7.4.0
vitest-dev/vitest ### [`v0.21.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.21.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.3...v0.21.0) #####    🚀 Features - Show stack trace for aggregated errors, show full stack trace  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1777](https://togithub.com/vitest-dev/vitest/issues/1777) - Allow timeout in test.each  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1787](https://togithub.com/vitest-dev/vitest/issues/1787) - Treat pseudo ESM as ESM with custom loader, disable custom Node Loader by default  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1778](https://togithub.com/vitest-dev/vitest/issues/1778) - Allow using todo/skip/concurrent with each  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1802](https://togithub.com/vitest-dev/vitest/issues/1802) #####    🐞 Bug Fixes - Better bundling of types  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1785](https://togithub.com/vitest-dev/vitest/issues/1785) - ToHaveProperty should judge object own property  -  by [@​ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1795](https://togithub.com/vitest-dev/vitest/issues/1795) - Plugins don't think it's watch mode  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1784](https://togithub.com/vitest-dev/vitest/issues/1784) - Gracefully handle unsettable keys during automocking  -  by [@​simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1786](https://togithub.com/vitest-dev/vitest/issues/1786) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.3...v0.21.0) ### [`v0.20.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.2...v0.20.3) #####    🚀 Features - Show start time in test summary  -  by [@​mikekidder](https://togithub.com/mikekidder), [@​sheremet-va](https://togithub.com/sheremet-va) and [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1734](https://togithub.com/vitest-dev/vitest/issues/1734) - **types**: Add partial flag to mocked TypeScript helper  -  by [@​jfrs](https://togithub.com/jfrs) in [https://github.com/vitest-dev/vitest/issues/1739](https://togithub.com/vitest-dev/vitest/issues/1739) and [https://github.com/vitest-dev/vitest/issues/1742](https://togithub.com/vitest-dev/vitest/issues/1742) #####    🐞 Bug Fixes - Add missing per-file option on coverage  -  by [@​patrickelectric](https://togithub.com/patrickelectric) in [https://github.com/vitest-dev/vitest/issues/1775](https://togithub.com/vitest-dev/vitest/issues/1775) - Correctly restore globals in env teardown  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1774](https://togithub.com/vitest-dev/vitest/issues/1774) - Disable node loader for Yarn PnP  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1773](https://togithub.com/vitest-dev/vitest/issues/1773) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.2...v0.20.3) ### [`v0.20.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.1...v0.20.2) #####    🚀 Features - Add deps.registerNodeLoader option  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1751](https://togithub.com/vitest-dev/vitest/issues/1751) #####    🐞 Bug Fixes - Don't throw in Node 18.6  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1750](https://togithub.com/vitest-dev/vitest/issues/1750) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.1...v0.20.2) ### [`v0.20.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.20.0...v0.20.1) #####    🐞 Bug Fixes - Bundle suppress-warnings  -  by [@​sheremet-va](https://togithub.com/sheremet-va) [(bd567)](https://togithub.com/vitest-dev/vitest/commit/bd567f74) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.20.0...v0.20.1) ### [`v0.20.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.20.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.19.1...v0.20.0) #####    🚨 Breaking Changes - Apply Vite resolving algorithm to node_modules libraries  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1673](https://togithub.com/vitest-dev/vitest/issues/1673) #####    🚀 Features - Add option for ignoring unhandled errors  -  by [@​DerYeger](https://togithub.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/1678](https://togithub.com/vitest-dev/vitest/issues/1678) - **vite-node**: Allow dumpping the transformed code to debug  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1723](https://togithub.com/vitest-dev/vitest/issues/1723) #####    🐞 Bug Fixes - Don't clear mocks with vi.resetModules, cache normalised mock paths  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1726](https://togithub.com/vitest-dev/vitest/issues/1726) - Improve execution time counter  -  by [@​antfu](https://togithub.com/antfu) [(0d1f1)](https://togithub.com/vitest-dev/vitest/commit/0d1f1e87) - **browser**: Wait for files scanning in browser  -  by [@​Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1704](https://togithub.com/vitest-dev/vitest/issues/1704) - **coverage**: Include `clover` reporter by default  -  by [@​antfu](https://togithub.com/antfu) [(5862e)](https://togithub.com/vitest-dev/vitest/commit/5862e32e) - **jsdom**: Use jsdom ArrayBuffer instead of Node, if jsdom is enabled  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1727](https://togithub.com/vitest-dev/vitest/issues/1727) - **types**: Fix MockedClass typeParams  -  by [@​Tanimodori](https://togithub.com/Tanimodori) in [https://github.com/vitest-dev/vitest/issues/1735](https://togithub.com/vitest-dev/vitest/issues/1735) - **ui**: Do not load graph if never displayed (fix [#​1602](https://togithub.com/vitest-dev/vitest/issues/1602))  -  by [@​MPeloquin](https://togithub.com/MPeloquin) in [https://github.com/vitest-dev/vitest/issues/1719](https://togithub.com/vitest-dev/vitest/issues/1719) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.19.1...v0.20.0) ### [`v0.19.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.19.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.19.0...v0.19.1) #####    🚀 Features - Add mock snapshot serializer  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1717](https://togithub.com/vitest-dev/vitest/issues/1717) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.19.0...v0.19.1) ### [`v0.19.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.19.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.18.1...v0.19.0) #####    🚨 Breaking Changes - Add CSS styles to DOM  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1690](https://togithub.com/vitest-dev/vitest/issues/1690) #####    🚀 Features - Add Playwright example  -  by [@​jfgreffier](https://togithub.com/jfgreffier) in [https://github.com/vitest-dev/vitest/issues/1670](https://togithub.com/vitest-dev/vitest/issues/1670) - Add location to json reporter  -  by [@​shiradofu](https://togithub.com/shiradofu) in [https://github.com/vitest-dev/vitest/issues/1656](https://togithub.com/vitest-dev/vitest/issues/1656) - Add alias option  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1634](https://togithub.com/vitest-dev/vitest/issues/1634) - Init [@​vitest/browser](https://togithub.com/vitest/browser) package  -  by [@​antfu](https://togithub.com/antfu), [@​userquin](https://togithub.com/userquin) and [@​Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1302](https://togithub.com/vitest-dev/vitest/issues/1302) - Make close timeout configurable  -  by [@​krishnan-chandra](https://togithub.com/krishnan-chandra) in [https://github.com/vitest-dev/vitest/issues/1697](https://togithub.com/vitest-dev/vitest/issues/1697) #####    🐞 Bug Fixes - Exclude dist directory from default coverage  -  by [@​cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/1664](https://togithub.com/vitest-dev/vitest/issues/1664) - Exclude cypress config from default coverage  -  by [@​cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/1663](https://togithub.com/vitest-dev/vitest/issues/1663) - Works with yarn pnp  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1667](https://togithub.com/vitest-dev/vitest/issues/1667) - Code frame tabs indent (fix: [#​1679](https://togithub.com/vitest-dev/vitest/issues/1679))  -  by [@​skarab42](https://togithub.com/skarab42) in [https://github.com/vitest-dev/vitest/issues/1680](https://togithub.com/vitest-dev/vitest/issues/1680) - ToHaveProperty with expect.any (fix: [#​1675](https://togithub.com/vitest-dev/vitest/issues/1675))  -  by [@​skarab42](https://togithub.com/skarab42) in [https://github.com/vitest-dev/vitest/issues/1682](https://togithub.com/vitest-dev/vitest/issues/1682) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.18.1...v0.19.0) ### [`v0.18.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.18.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.18.0...v0.18.1) #####    🚀 Features - Make fallbackCJS mode try resolve from `/es/...` and `/lib/...`  -  by [@​zthxxx](https://togithub.com/zthxxx) in [https://github.com/vitest-dev/vitest/issues/1633](https://togithub.com/vitest-dev/vitest/issues/1633) #####    🐞 Bug Fixes - Add spec to defaults to exclude from coverage (fix [#​1612](https://togithub.com/vitest-dev/vitest/issues/1612))  -  by [@​pandyarudra](https://togithub.com/pandyarudra) in [https://github.com/vitest-dev/vitest/issues/1627](https://togithub.com/vitest-dev/vitest/issues/1627) - Mock properties of classes/functions (fix [#​1523](https://togithub.com/vitest-dev/vitest/issues/1523))  -  by [@​simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1648](https://togithub.com/vitest-dev/vitest/issues/1648) - **types**: Fix `test.each` and `describe.each` types  -  by [@​Demivan](https://togithub.com/Demivan) in [https://github.com/vitest-dev/vitest/issues/1653](https://togithub.com/vitest-dev/vitest/issues/1653) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.18.0...v0.18.1) ### [`v0.18.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.18.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.17.1...v0.18.0) #####    🚨 Breaking Changes - TestSequencerConstructor typo  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1618](https://togithub.com/vitest-dev/vitest/issues/1618) - **reporter**: Move `ctx.log` to `ctx.logger.log`, improve log flicking  -  by [@​userquin](https://togithub.com/userquin) and [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1166](https://togithub.com/vitest-dev/vitest/issues/1166) #####    🐞 Bug Fixes - Show error message when cache failed to parse  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1614](https://togithub.com/vitest-dev/vitest/issues/1614) - Move cache state to `ctx.cache`  -  by [@​antfu](https://togithub.com/antfu) [(695a7)](https://togithub.com/vitest-dev/vitest/commit/695a7a26) - **reporter**: Clear previous state on rerun  -  by [@​antfu](https://togithub.com/antfu) [(f7148)](https://togithub.com/vitest-dev/vitest/commit/f7148335) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.17.1...v0.18.0) ### [`v0.17.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.17.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.17.0...v0.17.1) #####    🚀 Features - Check related against `forceRerunTriggers`  -  by [@​elliotwestlake](https://togithub.com/elliotwestlake) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1595](https://togithub.com/vitest-dev/vitest/issues/1595) - Make sequencer public, add option to run tests in random order  -  by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1582](https://togithub.com/vitest-dev/vitest/issues/1582) #####    🐞 Bug Fixes - Use jsdom MessageEvent  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1594](https://togithub.com/vitest-dev/vitest/issues/1594) - Crash with odd cpu counts  -  by [@​yamazaki-sensei](https://togithub.com/yamazaki-sensei) in [https://github.com/vitest-dev/vitest/issues/1597](https://togithub.com/vitest-dev/vitest/issues/1597) - **vite-node**: Self circular reference  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1609](https://togithub.com/vitest-dev/vitest/issues/1609) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.17.0...v0.17.1) ### [`v0.17.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.17.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.16.0...v0.17.0) #####    🚀 Features - Add vite 3 support  -

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

codecov[bot] commented 2 years ago

Codecov Report

Merging #38 (629cb09) into main (5e6c144) will increase coverage by 61.53%. The diff coverage is n/a.

@@            Coverage Diff            @@
##           main      #38       +/-   ##
=========================================
+ Coverage      0   61.53%   +61.53%     
=========================================
  Files         0        1        +1     
  Lines         0       65       +65     
  Branches      0       25       +25     
=========================================
+ Hits          0       40       +40     
- Partials      0       25       +25     
Impacted Files Coverage Δ
src/defu.ts 61.53% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.