vitest-dev/vitest
### [`v0.29.8`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.8)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8)
##### 🚀 Features
- Allow accessing "vi" methods without context, don't fail when mocker is not available - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3047](https://togithub.com/vitest-dev/vitest/issues/3047) [(1531c)](https://togithub.com/vitest-dev/vitest/commit/1531c420)
- Show browser console in the terminal - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3048](https://togithub.com/vitest-dev/vitest/issues/3048) [(ee6f5)](https://togithub.com/vitest-dev/vitest/commit/ee6f590d)
- Playwright as browser provider - by [@Aslemammad](https://togithub.com/Aslemammad) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3079](https://togithub.com/vitest-dev/vitest/issues/3079) [(9dc69)](https://togithub.com/vitest-dev/vitest/commit/9dc69293)
- Implement `istanbul` coverage support for browser testing - by [@sheremet-va](https://togithub.com/sheremet-va) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3040](https://togithub.com/vitest-dev/vitest/issues/3040) [(0f44d)](https://togithub.com/vitest-dev/vitest/commit/0f44d2c8)
##### 🐞 Bug Fixes
- Add generic to expect.objectContaining type - by [@ArtyMaury](https://togithub.com/ArtyMaury) in [https://github.com/vitest-dev/vitest/issues/3053](https://togithub.com/vitest-dev/vitest/issues/3053) [(69d2c)](https://togithub.com/vitest-dev/vitest/commit/69d2cc93)
- Do not fail, when primitive error is thrown - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3074](https://togithub.com/vitest-dev/vitest/issues/3074) [(6efe6)](https://togithub.com/vitest-dev/vitest/commit/6efe61ab)
- Handle cloning proxied classes w/ enumerable getters - by [@tgriesser](https://togithub.com/tgriesser) in [https://github.com/vitest-dev/vitest/issues/3026](https://togithub.com/vitest-dev/vitest/issues/3026) [(196a0)](https://togithub.com/vitest-dev/vitest/commit/196a067a)
- Spy on popup apis like alert - by [@Aslemammad](https://togithub.com/Aslemammad) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3076](https://togithub.com/vitest-dev/vitest/issues/3076) [(280ad)](https://togithub.com/vitest-dev/vitest/commit/280ad1ed)
- Report coverage even when no tests found - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3091](https://togithub.com/vitest-dev/vitest/issues/3091) [(2cb91)](https://togithub.com/vitest-dev/vitest/commit/2cb91211)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8)
### [`v0.29.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.7)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7)
##### 🐞 Bug Fixes
- Import [@vite/client](https://togithub.com/vite/client) in browser code for handling optimizer - by [@sheremet-va](https://togithub.com/sheremet-va) [(20c51)](https://togithub.com/vitest-dev/vitest/commit/20c510c4)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7)
### [`v0.29.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.6)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6)
##### 🐞 Bug Fixes
- Bundle UI with [@vitest/browser](https://togithub.com/vitest/browser) - by [@sheremet-va](https://togithub.com/sheremet-va) [(14091)](https://togithub.com/vitest-dev/vitest/commit/14091c59)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6)
### [`v0.29.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.5)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5)
##### 🐞 Bug Fixes
- **browser**: Relax vitest peer dependency - by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/3039](https://togithub.com/vitest-dev/vitest/issues/3039) [(865d1)](https://togithub.com/vitest-dev/vitest/commit/865d1afd)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5)
### [`v0.29.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4)
##### 🚀 Features
- `--test-timeout` CLI argument - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3019](https://togithub.com/vitest-dev/vitest/issues/3019) [(63c62)](https://togithub.com/vitest-dev/vitest/commit/63c62f9e)
- Add an option to control Vitest pool with filepath - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3029](https://togithub.com/vitest-dev/vitest/issues/3029) [(c7f0c)](https://togithub.com/vitest-dev/vitest/commit/c7f0c86b)
- Process timeout to log names of stuck test files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3031](https://togithub.com/vitest-dev/vitest/issues/3031) [(0ddf7)](https://togithub.com/vitest-dev/vitest/commit/0ddf7220)
- Support relative path in html report - by [@poyoho](https://togithub.com/poyoho) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2695](https://togithub.com/vitest-dev/vitest/issues/2695) [(a7680)](https://togithub.com/vitest-dev/vitest/commit/a768015e)
- Webdriverio (+ custom providers) integration for browser mode - by [@Aslemammad](https://togithub.com/Aslemammad), **Christian Bromann**, [@sheremet-va](https://togithub.com/sheremet-va), [@userquin](https://togithub.com/userquin) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2999](https://togithub.com/vitest-dev/vitest/issues/2999) [(9cdc8)](https://togithub.com/vitest-dev/vitest/commit/9cdc8030)
##### 🐞 Bug Fixes
- Show correct line numbers in stack trace when using vi.resetModules() - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3020](https://togithub.com/vitest-dev/vitest/issues/3020) [(35730)](https://togithub.com/vitest-dev/vitest/commit/35730328)
- Mocking value proxy filter Symbol static properties - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/3036](https://togithub.com/vitest-dev/vitest/issues/3036) [(0cf44)](https://togithub.com/vitest-dev/vitest/commit/0cf44098)
- Escape XML in error stack trace when using junit reporter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3038](https://togithub.com/vitest-dev/vitest/issues/3038) [(cc577)](https://togithub.com/vitest-dev/vitest/commit/cc5779d6)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4)
eslint/eslint
### [`v8.37.0`](https://togithub.com/eslint/eslint/releases/tag/v8.37.0)
[Compare Source](https://togithub.com/eslint/eslint/compare/v8.36.0...v8.37.0)
#### Features
- [`b6ab8b2`](https://togithub.com/eslint/eslint/commit/b6ab8b2a2ca8807baca121407f5bfb0a0a839427) feat: `require-unicode-regexp` add suggestions ([#17007](https://togithub.com/eslint/eslint/issues/17007)) (Josh Goldberg)
- [`10022b1`](https://togithub.com/eslint/eslint/commit/10022b1f4bda1ad89193512ecf18c2ee61db8202) feat: Copy getScope() to SourceCode ([#17004](https://togithub.com/eslint/eslint/issues/17004)) (Nicholas C. Zakas)
- [`1665c02`](https://togithub.com/eslint/eslint/commit/1665c029acb92bf8812267f1647ad1a7054cbcb4) feat: Use plugin metadata for flat config serialization ([#16992](https://togithub.com/eslint/eslint/issues/16992)) (Nicholas C. Zakas)
- [`b3634f6`](https://togithub.com/eslint/eslint/commit/b3634f695ddab6a82c0a9b1d8695e62b60d23366) feat: docs license ([#17010](https://togithub.com/eslint/eslint/issues/17010)) (Samuel Roldan)
- [`892e6e5`](https://togithub.com/eslint/eslint/commit/892e6e58c5a07a549d3104de3b6b5879797dc97f) feat: languageOptions.parser must be an object. ([#16985](https://togithub.com/eslint/eslint/issues/16985)) (Nicholas C. Zakas)
#### Bug Fixes
- [`619f3fd`](https://togithub.com/eslint/eslint/commit/619f3fd17324c7b71bf17e02047d0c6dc7e5109e) fix: correctly handle `null` default config in `RuleTester` ([#17023](https://togithub.com/eslint/eslint/issues/17023)) (Brad Zacher)
- [`1fbf118`](https://togithub.com/eslint/eslint/commit/1fbf1184fed57df02640aad4659afb54dc26a2e9) fix: `getFirstToken`/`getLastToken` on comment-only node ([#16889](https://togithub.com/eslint/eslint/issues/16889)) (Francesco Trotta)
- [`129e252`](https://togithub.com/eslint/eslint/commit/129e252132c7c476d7de17f40b54a333ddb2e6bb) fix: Fix typo in `logical-assignment-operators` rule description ([#17000](https://togithub.com/eslint/eslint/issues/17000)) (Francesco Trotta)
#### Documentation
- [`75339df`](https://togithub.com/eslint/eslint/commit/75339df99418df4d7e05a77e42ed7e22eabcc9e0) docs: fix typos and missing info in id-match docs ([#17029](https://togithub.com/eslint/eslint/issues/17029)) (Ed Lucas)
- [`ec2d830`](https://togithub.com/eslint/eslint/commit/ec2d8307850dd039e118c001416606e1e0342bc8) docs: Fix typos in the `semi` rule docs ([#17012](https://togithub.com/eslint/eslint/issues/17012)) (Andrii Lundiak)
- [`e39f28d`](https://togithub.com/eslint/eslint/commit/e39f28d8578a00f4da8d4ddad559547950128a0d) docs: add back to top button ([#16979](https://togithub.com/eslint/eslint/issues/16979)) (Tanuj Kanti)
- [`721c717`](https://togithub.com/eslint/eslint/commit/721c71782a7c11025689a1500e7690fb3794fcce) docs: Custom Processors cleanup and expansion ([#16838](https://togithub.com/eslint/eslint/issues/16838)) (Ben Perlmutter)
- [`d049f97`](https://togithub.com/eslint/eslint/commit/d049f974103e530ef76ede25af701635caf1f405) docs: 'How ESLint is Maintained' page ([#16961](https://togithub.com/eslint/eslint/issues/16961)) (Ben Perlmutter)
- [`5251a92`](https://togithub.com/eslint/eslint/commit/5251a921866e8d3b380dfe8db8a6e6ab97773d5e) docs: Describe guard options for guard-for-in ([#16986](https://togithub.com/eslint/eslint/issues/16986)) (alope107)
- [`6157d81`](https://togithub.com/eslint/eslint/commit/6157d813e19b80481a46f8cbdf9eae18a55e5619) docs: Add example to guard-for-in docs. ([#16983](https://togithub.com/eslint/eslint/issues/16983)) (alope107)
- [`fd47998`](https://togithub.com/eslint/eslint/commit/fd47998af6efadcdf5ba93e0bd1f4c02d97d22b3) docs: update `Array.prototype.toSorted` specification link ([#16982](https://togithub.com/eslint/eslint/issues/16982)) (Milos Djermanovic)
- [`3e1cf6b`](https://togithub.com/eslint/eslint/commit/3e1cf6bfc5ebc29314ddbe462d6cb580e9ab085c) docs: Copy edits on Maintain ESLint docs ([#16939](https://togithub.com/eslint/eslint/issues/16939)) (Ben Perlmutter)
#### Chores
- [`c67f299`](https://togithub.com/eslint/eslint/commit/c67f2992a743de4765bb6f11c12622e3651324b9) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).37.0 ([#17033](https://togithub.com/eslint/eslint/issues/17033)) (Milos Djermanovic)
- [`ee9ddbd`](https://togithub.com/eslint/eslint/commit/ee9ddbd63e262aed0052853760866c7a054af561) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins)
- [`dddb475`](https://togithub.com/eslint/eslint/commit/dddb47528816cd7e2e737bfde108ed4d62e6a219) chore: upgrade [@eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@2](https://togithub.com/2).0.2 ([#17032](https://togithub.com/eslint/eslint/issues/17032)) (Milos Djermanovic)
- [`522431e`](https://togithub.com/eslint/eslint/commit/522431e5206bac2fcb41c0d6dc98a84929203bee) chore: upgrade espree@9.5.1 ([#17031](https://togithub.com/eslint/eslint/issues/17031)) (Milos Djermanovic)
- [`f5f9a88`](https://togithub.com/eslint/eslint/commit/f5f9a88c79b32222c0331a9bac1c02571d953b69) chore: upgrade eslint-visitor-keys@3.4.0 ([#17030](https://togithub.com/eslint/eslint/issues/17030)) (Milos Djermanovic)
- [`4dd8d52`](https://togithub.com/eslint/eslint/commit/4dd8d524e0fc9e8e2019df13f8b968021600e85c) ci: bump actions/stale from 7 to 8 ([#17026](https://togithub.com/eslint/eslint/issues/17026)) (dependabot\[bot])
- [`ad9dd6a`](https://togithub.com/eslint/eslint/commit/ad9dd6a933fd098a0d99c6a9aa059850535c23ee) chore: remove duplicate scss, ([#17005](https://togithub.com/eslint/eslint/issues/17005)) (Strek)
- [`ada6a3e`](https://togithub.com/eslint/eslint/commit/ada6a3e6e3607523958f35e1260537630ec0e976) ci: unpin Node 19 ([#16993](https://togithub.com/eslint/eslint/issues/16993)) (Milos Djermanovic)
- [`c3da975`](https://togithub.com/eslint/eslint/commit/c3da975e69fde46f35338ce48528841a8dc1ffd2) chore: Remove triage label from template ([#16990](https://togithub.com/eslint/eslint/issues/16990)) (Nicholas C. Zakas)
- [`69bc0e2`](https://togithub.com/eslint/eslint/commit/69bc0e2f4412998f9384600a100d7882ea4dd3f3) ci: pin Node 19 to 19.7.0 ([#16987](https://togithub.com/eslint/eslint/issues/16987)) (Milos Djermanovic)
pnpm/pnpm
### [`v7.30.5`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.5)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.4...v7.30.5)
#### Patch Changes
- `pnpm audit` should work even if there are no `package.json` file, just a `pnpm-lock.yaml` file.
- Dedupe direct dependencies after hoisting.
- Don't remove automatically installed peer dependencies from the root workspace project, when `dedupe-peer-dependents` is `true` [#6154](https://togithub.com/pnpm/pnpm/issues/6154).
#### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.30.4`](https://togithub.com/pnpm/pnpm/compare/v7.30.3...v7.30.4)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.3...v7.30.4)
### [`v7.30.3`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.3)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.2...v7.30.3)
#### Patch Changes
- Should use most specific override rule when multiple rules match the same target [#6210](https://togithub.com/pnpm/pnpm/issues/6210).
- Fix regression introduced in v7.30.1 [#6271](https://togithub.com/pnpm/pnpm/issues/6271).
#### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.30.2`](https://togithub.com/pnpm/pnpm/compare/v7.30.1...v7.30.2)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.1...v7.30.2)
### [`v7.30.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.1)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.0...v7.30.1)
#### Patch Changes
- Don't write the `pnpm-lock.yaml` file if it has no changes and `pnpm install --frozen-lockfile` was executed [#6158](https://togithub.com/pnpm/pnpm/issues/6158).
- Fix git-hosted dependencies referenced via `git+ssh` that use semver selectors [#6239](https://togithub.com/pnpm/pnpm/pull/6239).
- When publish some package throws an error, the exit code should be non-zero [#5528](https://togithub.com/pnpm/pnpm/issues/5528).
- Only three paths are displayed in `pnpm audit` output [#6203](https://togithub.com/pnpm/pnpm/issues/6203)
- Aliased packages should be used to resolve peer dependencies too [#4301](https://togithub.com/pnpm/pnpm/issues/4301).
#### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.30.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.29.3...v7.30.0)
#### Minor Changes
- Allow to set a custom directory for storing patch files via the `patches-dir` setting [#6215](https://togithub.com/pnpm/pnpm/pull/6215)
#### Patch Changes
- New directories should be prepended to NODE_PATH in command shims, not appended.
- Retry copying file on EBUSY error [#6201](https://togithub.com/pnpm/pnpm/issues/6201).
#### Our Gold Sponsors
#### Our Silver Sponsors
prettier/prettier
### [`v2.8.7`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#287)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7)
[diff](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7)
##### Allow multiple decorators on same getter/setter ([#14584](https://togithub.com/prettier/prettier/pull/14584) by [@fisker](https://togithub.com/fisker))
```ts
// Input
class A {
@decorator()
get foo () {}
@decorator()
set foo (value) {}
}
// Prettier 2.8.6
SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3)
3 | get foo () {}
4 |
> 5 | @decorator()
| ^^^^^^^^^^^^
6 | set foo (value) {}
7 | }
// Prettier 2.8.7
class A {
@decorator()
get foo() {}
@decorator()
set foo(value) {}
}
```
### [`v2.8.6`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#286)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6)
[diff](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6)
##### Allow decorators on private members and class expressions ([#14548](https://togithub.com/prettier/prettier/pull/14548) by [@fisker](https://togithub.com/fisker))
```ts
// Input
class A {
@decorator()
#privateMethod () {}
}
// Prettier 2.8.5
SyntaxError: Decorators are not valid here. (2:3)
1 | class A {
> 2 | @decorator()
| ^^^^^^^^^^^^
3 | #privateMethod () {}
4 | }
// Prettier 2.8.6
class A {
@decorator()
#privateMethod() {}
}
```
### [`v2.8.5`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#285)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5)
[diff](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5)
##### Support TypeScript 5.0 ([#14391](https://togithub.com/prettier/prettier/pull/14391) by [@fisker](https://togithub.com/fisker), [#13819](https://togithub.com/prettier/prettier/pull/13819) by [@fisker](https://togithub.com/fisker), [@sosukesuzuki](https://togithub.com/sosukesuzuki))
TypeScript 5.0 introduces two new syntactic features:
- `const` modifiers for type parameters
- `export type *` declarations
##### Add missing parentheses for decorator ([#14393](https://togithub.com/prettier/prettier/pull/14393) by [@fisker](https://togithub.com/fisker))
```jsx
// Input
class Person {
@(myDecoratorArray[0])
greet() {}
}
// Prettier 2.8.4
class Person {
@myDecoratorArray[0]
greet() {}
}
// Prettier 2.8.5
class Person {
@(myDecoratorArray[0])
greet() {}
}
```
##### Add parentheses for `TypeofTypeAnnotation` to improve readability ([#14458](https://togithub.com/prettier/prettier/pull/14458) by [@fisker](https://togithub.com/fisker))
```tsx
// Input
type A = (typeof node.children)[];
// Prettier 2.8.4
type A = typeof node.children[];
// Prettier 2.8.5
type A = (typeof node.children)[];
```
##### Support `max_line_length=off` when parsing `.editorconfig` ([#14516](https://togithub.com/prettier/prettier/pull/14516) by [@josephfrazier](https://togithub.com/josephfrazier))
If an .editorconfig file is in your project and it sets `max_line_length=off` for the file you're formatting,
it will be interpreted as a `printWidth` of `Infinity` rather than being ignored
(which previously resulted in the default `printWidth` of 80 being applied, if not overridden by Prettier-specific configuration).
```html
;
;
```
unjs/unbuild
### [`v1.2.0`](https://togithub.com/unjs/unbuild/blob/HEAD/CHANGELOG.md#v120)
[Compare Source](https://togithub.com/unjs/unbuild/compare/v1.1.2...v1.2.0)
[compare changes](https://togithub.com/unjs/unbuild/compare/v1.1.2...v1.2.0)
##### 🚀 Enhancements
- **rollup:** Add `jsx` and `tsx` to esbuild loader defaults ([#198](https://togithub.com/unjs/unbuild/pull/198))
- **rollup:** Allow regular expressions in `externals` array ([#145](https://togithub.com/unjs/unbuild/pull/145))
- **mkdist:** Add new `pattern` option ([#139](https://togithub.com/unjs/unbuild/pull/139))
- Support esbuild `charset` option ([#190](https://togithub.com/unjs/unbuild/pull/190))
- **rollup:** Allow passing any all common esbuild options ([8e81e2a](https://togithub.com/unjs/unbuild/commit/8e81e2a))
- **rollup:** Show size of bundled npm packages in cli output ([#243](https://togithub.com/unjs/unbuild/pull/243))
##### 🩹 Fixes
- Pass missing esbuild jsx factory options ([#224](https://togithub.com/unjs/unbuild/pull/224))
- **rollup:** Handle array format for `rollup.alias.entries` option ([#220](https://togithub.com/unjs/unbuild/pull/220))
- **rollup:** Enable `interop: compat` for cjs compatibility ([#215](https://togithub.com/unjs/unbuild/pull/215))
##### 📖 Documentation
- Add `types` to default `exports` ([#226](https://togithub.com/unjs/unbuild/pull/226))
- Remove `types` field suggestion for now ([e8988ae](https://togithub.com/unjs/unbuild/commit/e8988ae))
##### 🏡 Chore
- Update lockfile ([cc99946](https://togithub.com/unjs/unbuild/commit/cc99946))
- Fix lint issues ([ee1ced8](https://togithub.com/unjs/unbuild/commit/ee1ced8))
- Recreate lockfile with pnpm 8 ([06d0044](https://togithub.com/unjs/unbuild/commit/06d0044))
##### ❤️ Contributors
- Pooya Parsa ([@pi0](http://github.com/pi0))
- Kid
- Ntnyq ([@ntnyq](http://github.com/ntnyq))
- Marco Solazzi
- Zoeyzhao19
- Dunqing ([@Dunqing](http://github.com/Dunqing))
- XLor
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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^18.15.3
->^18.15.11
^0.29.3
->^0.29.8
^8.36.0
->^8.37.0
7.29.3
->7.30.5
^2.8.4
->^2.8.7
^1.1.2
->^1.2.0
^0.29.3
->^0.29.8
Release Notes
vitest-dev/vitest
### [`v0.29.8`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.8) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) ##### 🚀 Features - Allow accessing "vi" methods without context, don't fail when mocker is not available - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3047](https://togithub.com/vitest-dev/vitest/issues/3047) [(1531c)](https://togithub.com/vitest-dev/vitest/commit/1531c420) - Show browser console in the terminal - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3048](https://togithub.com/vitest-dev/vitest/issues/3048) [(ee6f5)](https://togithub.com/vitest-dev/vitest/commit/ee6f590d) - Playwright as browser provider - by [@Aslemammad](https://togithub.com/Aslemammad) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3079](https://togithub.com/vitest-dev/vitest/issues/3079) [(9dc69)](https://togithub.com/vitest-dev/vitest/commit/9dc69293) - Implement `istanbul` coverage support for browser testing - by [@sheremet-va](https://togithub.com/sheremet-va) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3040](https://togithub.com/vitest-dev/vitest/issues/3040) [(0f44d)](https://togithub.com/vitest-dev/vitest/commit/0f44d2c8) ##### 🐞 Bug Fixes - Add generic to expect.objectContaining type - by [@ArtyMaury](https://togithub.com/ArtyMaury) in [https://github.com/vitest-dev/vitest/issues/3053](https://togithub.com/vitest-dev/vitest/issues/3053) [(69d2c)](https://togithub.com/vitest-dev/vitest/commit/69d2cc93) - Do not fail, when primitive error is thrown - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3074](https://togithub.com/vitest-dev/vitest/issues/3074) [(6efe6)](https://togithub.com/vitest-dev/vitest/commit/6efe61ab) - Handle cloning proxied classes w/ enumerable getters - by [@tgriesser](https://togithub.com/tgriesser) in [https://github.com/vitest-dev/vitest/issues/3026](https://togithub.com/vitest-dev/vitest/issues/3026) [(196a0)](https://togithub.com/vitest-dev/vitest/commit/196a067a) - Spy on popup apis like alert - by [@Aslemammad](https://togithub.com/Aslemammad) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3076](https://togithub.com/vitest-dev/vitest/issues/3076) [(280ad)](https://togithub.com/vitest-dev/vitest/commit/280ad1ed) - Report coverage even when no tests found - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3091](https://togithub.com/vitest-dev/vitest/issues/3091) [(2cb91)](https://togithub.com/vitest-dev/vitest/commit/2cb91211) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8) ### [`v0.29.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.7) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ##### 🐞 Bug Fixes - Import [@vite/client](https://togithub.com/vite/client) in browser code for handling optimizer - by [@sheremet-va](https://togithub.com/sheremet-va) [(20c51)](https://togithub.com/vitest-dev/vitest/commit/20c510c4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ### [`v0.29.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ##### 🐞 Bug Fixes - Bundle UI with [@vitest/browser](https://togithub.com/vitest/browser) - by [@sheremet-va](https://togithub.com/sheremet-va) [(14091)](https://togithub.com/vitest-dev/vitest/commit/14091c59) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ### [`v0.29.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ##### 🐞 Bug Fixes - **browser**: Relax vitest peer dependency - by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/3039](https://togithub.com/vitest-dev/vitest/issues/3039) [(865d1)](https://togithub.com/vitest-dev/vitest/commit/865d1afd) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ### [`v0.29.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4) ##### 🚀 Features - `--test-timeout` CLI argument - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3019](https://togithub.com/vitest-dev/vitest/issues/3019) [(63c62)](https://togithub.com/vitest-dev/vitest/commit/63c62f9e) - Add an option to control Vitest pool with filepath - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3029](https://togithub.com/vitest-dev/vitest/issues/3029) [(c7f0c)](https://togithub.com/vitest-dev/vitest/commit/c7f0c86b) - Process timeout to log names of stuck test files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3031](https://togithub.com/vitest-dev/vitest/issues/3031) [(0ddf7)](https://togithub.com/vitest-dev/vitest/commit/0ddf7220) - Support relative path in html report - by [@poyoho](https://togithub.com/poyoho) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2695](https://togithub.com/vitest-dev/vitest/issues/2695) [(a7680)](https://togithub.com/vitest-dev/vitest/commit/a768015e) - Webdriverio (+ custom providers) integration for browser mode - by [@Aslemammad](https://togithub.com/Aslemammad), **Christian Bromann**, [@sheremet-va](https://togithub.com/sheremet-va), [@userquin](https://togithub.com/userquin) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2999](https://togithub.com/vitest-dev/vitest/issues/2999) [(9cdc8)](https://togithub.com/vitest-dev/vitest/commit/9cdc8030) ##### 🐞 Bug Fixes - Show correct line numbers in stack trace when using vi.resetModules() - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3020](https://togithub.com/vitest-dev/vitest/issues/3020) [(35730)](https://togithub.com/vitest-dev/vitest/commit/35730328) - Mocking value proxy filter Symbol static properties - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/3036](https://togithub.com/vitest-dev/vitest/issues/3036) [(0cf44)](https://togithub.com/vitest-dev/vitest/commit/0cf44098) - Escape XML in error stack trace when using junit reporter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3038](https://togithub.com/vitest-dev/vitest/issues/3038) [(cc577)](https://togithub.com/vitest-dev/vitest/commit/cc5779d6) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4)eslint/eslint
### [`v8.37.0`](https://togithub.com/eslint/eslint/releases/tag/v8.37.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.36.0...v8.37.0) #### Features - [`b6ab8b2`](https://togithub.com/eslint/eslint/commit/b6ab8b2a2ca8807baca121407f5bfb0a0a839427) feat: `require-unicode-regexp` add suggestions ([#17007](https://togithub.com/eslint/eslint/issues/17007)) (Josh Goldberg) - [`10022b1`](https://togithub.com/eslint/eslint/commit/10022b1f4bda1ad89193512ecf18c2ee61db8202) feat: Copy getScope() to SourceCode ([#17004](https://togithub.com/eslint/eslint/issues/17004)) (Nicholas C. Zakas) - [`1665c02`](https://togithub.com/eslint/eslint/commit/1665c029acb92bf8812267f1647ad1a7054cbcb4) feat: Use plugin metadata for flat config serialization ([#16992](https://togithub.com/eslint/eslint/issues/16992)) (Nicholas C. Zakas) - [`b3634f6`](https://togithub.com/eslint/eslint/commit/b3634f695ddab6a82c0a9b1d8695e62b60d23366) feat: docs license ([#17010](https://togithub.com/eslint/eslint/issues/17010)) (Samuel Roldan) - [`892e6e5`](https://togithub.com/eslint/eslint/commit/892e6e58c5a07a549d3104de3b6b5879797dc97f) feat: languageOptions.parser must be an object. ([#16985](https://togithub.com/eslint/eslint/issues/16985)) (Nicholas C. Zakas) #### Bug Fixes - [`619f3fd`](https://togithub.com/eslint/eslint/commit/619f3fd17324c7b71bf17e02047d0c6dc7e5109e) fix: correctly handle `null` default config in `RuleTester` ([#17023](https://togithub.com/eslint/eslint/issues/17023)) (Brad Zacher) - [`1fbf118`](https://togithub.com/eslint/eslint/commit/1fbf1184fed57df02640aad4659afb54dc26a2e9) fix: `getFirstToken`/`getLastToken` on comment-only node ([#16889](https://togithub.com/eslint/eslint/issues/16889)) (Francesco Trotta) - [`129e252`](https://togithub.com/eslint/eslint/commit/129e252132c7c476d7de17f40b54a333ddb2e6bb) fix: Fix typo in `logical-assignment-operators` rule description ([#17000](https://togithub.com/eslint/eslint/issues/17000)) (Francesco Trotta) #### Documentation - [`75339df`](https://togithub.com/eslint/eslint/commit/75339df99418df4d7e05a77e42ed7e22eabcc9e0) docs: fix typos and missing info in id-match docs ([#17029](https://togithub.com/eslint/eslint/issues/17029)) (Ed Lucas) - [`ec2d830`](https://togithub.com/eslint/eslint/commit/ec2d8307850dd039e118c001416606e1e0342bc8) docs: Fix typos in the `semi` rule docs ([#17012](https://togithub.com/eslint/eslint/issues/17012)) (Andrii Lundiak) - [`e39f28d`](https://togithub.com/eslint/eslint/commit/e39f28d8578a00f4da8d4ddad559547950128a0d) docs: add back to top button ([#16979](https://togithub.com/eslint/eslint/issues/16979)) (Tanuj Kanti) - [`721c717`](https://togithub.com/eslint/eslint/commit/721c71782a7c11025689a1500e7690fb3794fcce) docs: Custom Processors cleanup and expansion ([#16838](https://togithub.com/eslint/eslint/issues/16838)) (Ben Perlmutter) - [`d049f97`](https://togithub.com/eslint/eslint/commit/d049f974103e530ef76ede25af701635caf1f405) docs: 'How ESLint is Maintained' page ([#16961](https://togithub.com/eslint/eslint/issues/16961)) (Ben Perlmutter) - [`5251a92`](https://togithub.com/eslint/eslint/commit/5251a921866e8d3b380dfe8db8a6e6ab97773d5e) docs: Describe guard options for guard-for-in ([#16986](https://togithub.com/eslint/eslint/issues/16986)) (alope107) - [`6157d81`](https://togithub.com/eslint/eslint/commit/6157d813e19b80481a46f8cbdf9eae18a55e5619) docs: Add example to guard-for-in docs. ([#16983](https://togithub.com/eslint/eslint/issues/16983)) (alope107) - [`fd47998`](https://togithub.com/eslint/eslint/commit/fd47998af6efadcdf5ba93e0bd1f4c02d97d22b3) docs: update `Array.prototype.toSorted` specification link ([#16982](https://togithub.com/eslint/eslint/issues/16982)) (Milos Djermanovic) - [`3e1cf6b`](https://togithub.com/eslint/eslint/commit/3e1cf6bfc5ebc29314ddbe462d6cb580e9ab085c) docs: Copy edits on Maintain ESLint docs ([#16939](https://togithub.com/eslint/eslint/issues/16939)) (Ben Perlmutter) #### Chores - [`c67f299`](https://togithub.com/eslint/eslint/commit/c67f2992a743de4765bb6f11c12622e3651324b9) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).37.0 ([#17033](https://togithub.com/eslint/eslint/issues/17033)) (Milos Djermanovic) - [`ee9ddbd`](https://togithub.com/eslint/eslint/commit/ee9ddbd63e262aed0052853760866c7a054af561) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`dddb475`](https://togithub.com/eslint/eslint/commit/dddb47528816cd7e2e737bfde108ed4d62e6a219) chore: upgrade [@eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@2](https://togithub.com/2).0.2 ([#17032](https://togithub.com/eslint/eslint/issues/17032)) (Milos Djermanovic) - [`522431e`](https://togithub.com/eslint/eslint/commit/522431e5206bac2fcb41c0d6dc98a84929203bee) chore: upgrade espree@9.5.1 ([#17031](https://togithub.com/eslint/eslint/issues/17031)) (Milos Djermanovic) - [`f5f9a88`](https://togithub.com/eslint/eslint/commit/f5f9a88c79b32222c0331a9bac1c02571d953b69) chore: upgrade eslint-visitor-keys@3.4.0 ([#17030](https://togithub.com/eslint/eslint/issues/17030)) (Milos Djermanovic) - [`4dd8d52`](https://togithub.com/eslint/eslint/commit/4dd8d524e0fc9e8e2019df13f8b968021600e85c) ci: bump actions/stale from 7 to 8 ([#17026](https://togithub.com/eslint/eslint/issues/17026)) (dependabot\[bot]) - [`ad9dd6a`](https://togithub.com/eslint/eslint/commit/ad9dd6a933fd098a0d99c6a9aa059850535c23ee) chore: remove duplicate scss, ([#17005](https://togithub.com/eslint/eslint/issues/17005)) (Strek) - [`ada6a3e`](https://togithub.com/eslint/eslint/commit/ada6a3e6e3607523958f35e1260537630ec0e976) ci: unpin Node 19 ([#16993](https://togithub.com/eslint/eslint/issues/16993)) (Milos Djermanovic) - [`c3da975`](https://togithub.com/eslint/eslint/commit/c3da975e69fde46f35338ce48528841a8dc1ffd2) chore: Remove triage label from template ([#16990](https://togithub.com/eslint/eslint/issues/16990)) (Nicholas C. Zakas) - [`69bc0e2`](https://togithub.com/eslint/eslint/commit/69bc0e2f4412998f9384600a100d7882ea4dd3f3) ci: pin Node 19 to 19.7.0 ([#16987](https://togithub.com/eslint/eslint/issues/16987)) (Milos Djermanovic)pnpm/pnpm
### [`v7.30.5`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.5) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.4...v7.30.5) #### Patch Changes - `pnpm audit` should work even if there are no `package.json` file, just a `pnpm-lock.yaml` file. - Dedupe direct dependencies after hoisting. - Don't remove automatically installed peer dependencies from the root workspace project, when `dedupe-peer-dependents` is `true` [#6154](https://togithub.com/pnpm/pnpm/issues/6154). #### Our Gold Sponsorsprettier/prettier
### [`v2.8.7`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#287) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) [diff](https://togithub.com/prettier/prettier/compare/2.8.6...2.8.7) ##### Allow multiple decorators on same getter/setter ([#14584](https://togithub.com/prettier/prettier/pull/14584) by [@fisker](https://togithub.com/fisker)) ```ts // Input class A { @decorator() get foo () {} @decorator() set foo (value) {} } // Prettier 2.8.6 SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3) 3 | get foo () {} 4 | > 5 | @decorator() | ^^^^^^^^^^^^ 6 | set foo (value) {} 7 | } // Prettier 2.8.7 class A { @decorator() get foo() {} @decorator() set foo(value) {} } ``` ### [`v2.8.6`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#286) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6) [diff](https://togithub.com/prettier/prettier/compare/2.8.5...2.8.6) ##### Allow decorators on private members and class expressions ([#14548](https://togithub.com/prettier/prettier/pull/14548) by [@fisker](https://togithub.com/fisker)) ```ts // Input class A { @decorator() #privateMethod () {} } // Prettier 2.8.5 SyntaxError: Decorators are not valid here. (2:3) 1 | class A { > 2 | @decorator() | ^^^^^^^^^^^^ 3 | #privateMethod () {} 4 | } // Prettier 2.8.6 class A { @decorator() #privateMethod() {} } ``` ### [`v2.8.5`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#285) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5) [diff](https://togithub.com/prettier/prettier/compare/2.8.4...2.8.5) ##### Support TypeScript 5.0 ([#14391](https://togithub.com/prettier/prettier/pull/14391) by [@fisker](https://togithub.com/fisker), [#13819](https://togithub.com/prettier/prettier/pull/13819) by [@fisker](https://togithub.com/fisker), [@sosukesuzuki](https://togithub.com/sosukesuzuki)) TypeScript 5.0 introduces two new syntactic features: - `const` modifiers for type parameters - `export type *` declarations ##### Add missing parentheses for decorator ([#14393](https://togithub.com/prettier/prettier/pull/14393) by [@fisker](https://togithub.com/fisker)) ```jsx // Input class Person { @(myDecoratorArray[0]) greet() {} } // Prettier 2.8.4 class Person { @myDecoratorArray[0] greet() {} } // Prettier 2.8.5 class Person { @(myDecoratorArray[0]) greet() {} } ``` ##### Add parentheses for `TypeofTypeAnnotation` to improve readability ([#14458](https://togithub.com/prettier/prettier/pull/14458) by [@fisker](https://togithub.com/fisker)) ```tsx // Input type A = (typeof node.children)[]; // Prettier 2.8.4 type A = typeof node.children[]; // Prettier 2.8.5 type A = (typeof node.children)[]; ``` ##### Support `max_line_length=off` when parsing `.editorconfig` ([#14516](https://togithub.com/prettier/prettier/pull/14516) by [@josephfrazier](https://togithub.com/josephfrazier)) If an .editorconfig file is in your project and it sets `max_line_length=off` for the file you're formatting, it will be interpreted as a `printWidth` of `Infinity` rather than being ignored (which previously resulted in the default `printWidth` of 80 being applied, if not overridden by Prettier-specific configuration). ```htmlunjs/unbuild
### [`v1.2.0`](https://togithub.com/unjs/unbuild/blob/HEAD/CHANGELOG.md#v120) [Compare Source](https://togithub.com/unjs/unbuild/compare/v1.1.2...v1.2.0) [compare changes](https://togithub.com/unjs/unbuild/compare/v1.1.2...v1.2.0) ##### 🚀 Enhancements - **rollup:** Add `jsx` and `tsx` to esbuild loader defaults ([#198](https://togithub.com/unjs/unbuild/pull/198)) - **rollup:** Allow regular expressions in `externals` array ([#145](https://togithub.com/unjs/unbuild/pull/145)) - **mkdist:** Add new `pattern` option ([#139](https://togithub.com/unjs/unbuild/pull/139)) - Support esbuild `charset` option ([#190](https://togithub.com/unjs/unbuild/pull/190)) - **rollup:** Allow passing any all common esbuild options ([8e81e2a](https://togithub.com/unjs/unbuild/commit/8e81e2a)) - **rollup:** Show size of bundled npm packages in cli output ([#243](https://togithub.com/unjs/unbuild/pull/243)) ##### 🩹 Fixes - Pass missing esbuild jsx factory options ([#224](https://togithub.com/unjs/unbuild/pull/224)) - **rollup:** Handle array format for `rollup.alias.entries` option ([#220](https://togithub.com/unjs/unbuild/pull/220)) - **rollup:** Enable `interop: compat` for cjs compatibility ([#215](https://togithub.com/unjs/unbuild/pull/215)) ##### 📖 Documentation - Add `types` to default `exports` ([#226](https://togithub.com/unjs/unbuild/pull/226)) - Remove `types` field suggestion for now ([e8988ae](https://togithub.com/unjs/unbuild/commit/e8988ae)) ##### 🏡 Chore - Update lockfile ([cc99946](https://togithub.com/unjs/unbuild/commit/cc99946)) - Fix lint issues ([ee1ced8](https://togithub.com/unjs/unbuild/commit/ee1ced8)) - Recreate lockfile with pnpm 8 ([06d0044](https://togithub.com/unjs/unbuild/commit/06d0044)) ##### ❤️ Contributors - Pooya Parsa ([@pi0](http://github.com/pi0)) - Kid - Ntnyq ([@ntnyq](http://github.com/ntnyq)) - Marco SolazziConfiguration
📅 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 Report
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.