Commit graph

118 commits

Author SHA1 Message Date
Boshen
557132ffdf
chore(deps): update vscode npm packages (#4363)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 21:31:23 +08:00
github-actions[bot]
697c0efdef
Release oxlint v0.6.1 (#4326)
## [0.6.1] - 2024-07-17

### Features

- 83c2c62 codegen: Add option for choosing quotes; remove slow
`choose_quot` method (#4219) (Boshen)
- 1f8968a linter: Add eslint-plugin-promise rules: avoid-new,
no-new-statics, params-names (#4293) (Jelle van der Waa)
- a4dc56c linter: Add fixer for
unicorn/no_useless_promise_resolve_reject (#4244) (Burlin)
- 6fb808f linter: Add typescript-eslint/no-confusing-non-null-assertion
(#4224) (Jaden Rodriguez)
- 126b66c linter: Support eslint-plugin-vitest/valid-describe-callback
(#4185) (cinchen)
- 05b9a73 linter: Support eslint-plugin-vitest/valid-expect (#4183)
(cinchen)
- 3e56b2b linter: Support eslint-plugin-vitest/no-test-prefixes (#4182)
(cinchen)
- 3016f03 linter: Let fixer functions return a `None` fix (#4210)
(DonIsaac)
- bbe6137 linter: Implement unicorn/no-useless-undefined (#4079)
(Burlin)
- 20cdb1f semantic: Align class scope with typescript (#4195) (Dunqing)

### Bug Fixes

- 9df60da linter: Correct find first non whitespace logic in
@typescript-eslint/consistent-type-imports (#4198) (mysteryven)
- 67240dc linter: Not ignore adjacent spans when fixing (#4217)
(mysteryven)
- dd07a54 linter: Global variables should always check the builtin
variables (#4209) (Jelle van der Waa)
- 351ecf2 semantic: Incorrect resolve references for `TSTypeQuery`
(#4310) (Dunqing)
- 1108f2a semantic: Resolve references to the incorrect symbol (#4280)
(Dunqing)

### Performance

- 0fdc88b linter: Optimize no-dupe-keys (#4292) (lucab)

### Refactor

- 2c7bb9f ast: Pass final `ScopeFlags` into `visit_function` (#4283)
(overlookmotel)
- aa22073 codegen: Improve print API (#4196) (Boshen)
- b5a8f3c linter: Use get_first_parameter_name from unicorn utils
(#4255) (Jelle van der Waa)
- 7089a3d linter: Split up fixer code into separate files (#4222)
(DonIsaac)
- ace4f1f semantic: Update the order of `visit_function` and `Visit`
fields in the builder to be consistent (#4248) (Dunqing)
- 7f1addd semantic: Correct scope in CatchClause (#4192) (Dunqing)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-07-17 21:18:28 +08:00
Boshen
9fbe094948
chore: update logo and asset links 2024-07-14 13:38:35 +08:00
github-actions[bot]
4f26e51b74
Release oxlint v0.6.0 (#4194)
## [0.6.0] - 2024-07-11

- 5731e39 ast: [**BREAKING**] Store span details inside comment struct
(#4132) (Luca Bruno)

### Features

- fb549e1 linter: Add vitest/no-focused-tests rule (#4178) (mysteryven)
- 6c49007 linter: Add fixer for
@typescript-eslint/consistent-type-imports (#3984) (mysteryven)
- 278c3e9 linter: Add fixer for jsx-a11y/aria-props (#4176) (DonIsaac)
- 2188144 linter: Eslint-plugin-jest/prefer-hooks-in-order (#4052)
(cinchen)
- cc58614 linter: Better schemas for allow/warn/deny (#4150) (DonIsaac)
- c5b4be0 linter: Add fixer for prefer-node-protocol (#4129) (DonIsaac)
- 7ec0c0b linter/eslint: Implement no-label-var (#4087) (Jelle van der
Waa)

### Bug Fixes

- ed4c54c eslint/radix: Detect yield Number.parseInt variant (#4110)
(Jelle van der Waa)
- e9ad03b linter: Fixer for no-debugger creates incorrect code (#4184)
(DonIsaac)
- bd69571 linter: Fix top level return panic in
eslint/array_callback_return (#4167) (Boshen)
- c8f5664 linter: Fix panic with unicode in
unicorn/prefer_dom_node_dataset (#4166) (Boshen)
- f2b3273 linter: Fix fixer panic in
typescript/consistent_indexed_object_style (#4165) (Boshen)
- 2334515 linter: Panic in `get_enclosing_function` (#4121) (DonIsaac)
- 1b91d40 linter: Incorrect fixer for `no-unused-labels` (#4123) (Don
Isaac)
- 1729249 linter: Incorrect fix in
`no-single-promise-in-promise-methods` rule; (#4094) (DonIsaac)
- cc7e893 linter/tree-shaking: Avoid recursive function stackoverflow
(#4191) (mysteryven)
- 28eeee0 parser: Fix asi error diagnostic pointing at invalid text
causing crash (#4163) (Boshen)
- 0f02608 semantic: Bind `TSImportEqualsDeclaration`s (#4100) (Don
Isaac)

### Performance

- ddfa343 diagnostic: Use `Cow<'static, str>` over `String` (#4175)
(DonIsaac)

### Refactor

- 2687ebc react: Use find_binding helper for finding React binding
(#4108) (Jelle van der Waa)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-07-11 14:38:41 +08:00
github-actions[bot]
0c7f3eecc6
Release oxlint v0.5.3 (#4082)
## [0.5.3] - 2024-07-07

### Features

- 1681b11 linter: Eslint-plugin-jest/consistent-test-it (#4053)
(cinchen)
- 6876490 linter: Add rule no-undefined (#4041) (jordan boyer)
- bf04dee linter: Implement unicorn/no-negation-in-equality-check
(#4034) (Nissim Chekroun)
- aa45604 linter/eslint: Implement no-multi-str (#4038) (Jelle van der
Waa)

### Bug Fixes

- 7b2dc3b linter: Fix panic in import/namespace (#4080) (Boshen)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-07-07 19:31:03 +08:00
github-actions[bot]
b66ad0b675
Release oxlint v0.6.0 (#4029)
## [0.6.0] - 2024-07-02

- c98d8aa ast: [**BREAKING**] Rename `visit_arrow_expression` to
`visit_arrow_function_expression`. (#3995) (rzvxa)

### Features

- dc6d45e ast,codegen: Add `TSParenthesizedType` and print type
parentheses correctly (#3979) (Boshen)
- b257d53 linter: Support report
`@typescript-eslint/consistent-type-imports` (#3895) (mysteryven)
- 2114475 linter: Implement @typescript-eslint/no-dynamic-delete (#3971)
(kaykdm)
- 10a3c9a linter/eslint-plugin-react: Implement no-set-state (#3975)
(Jelle van der Waa)

### Bug Fixes

- 432d6d9 linter: Find disabled directives using the message's `Span`.
(#4010) (rzvxa)
- dbbb6fc linter: Global variable check should always check builtin
variables (#3973) (Boshen)

### Performance

- 1eac3d2 semantic: Use `Atom<'a>` for `Reference`s (#3972) (Don Isaac)

### Refactor

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-07-02 22:07:52 +08:00
github-actions[bot]
21b964b214
Release oxlint v0.5.1 (#3967)
## [0.5.1] - 2024-06-29

### Features

- f64ad4b semantic: Make jsdoc building optional (turned off by default)
(#3955) (Boshen)

### Bug Fixes

- c26975a linter: Only show the filename for max-lines (#3966) (Boshen)
- 94329e4 linter: Handle useful but empty constructors in
no-useless-constructor (#3951) (DonIsaac)
- 6498a08 linter: No-useless-spread fixer with multiple spread elements
(#3950) (DonIsaac)
- 750cb43 oxlint: Gate custom allocators by feature flag (#3945) (Luca
Bruno)

### Refactor

- 1cca2a8 eslint: Convert with_labels to with_label where applicable
(#3946) (Jelle van der Waa)
- 2705df9 linter: Improve diagnostic labeling (#3960) (DonIsaac)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-29 17:01:56 +08:00
github-actions[bot]
06e4ce4f5d
Release oxlint v0.5.0 (#3940)
## [0.5.0] - 2024-06-27

- 6796891 ast: [**BREAKING**] Rename all instances of `BigintLiteral` to
`BigIntLiteral`. (#3898) (rzvxa)

- ae09a97 ast: [**BREAKING**] Remove `Modifiers` from ts nodes (#3846)
(Boshen)

- 1af5ed3 ast: [**BREAKING**] Replace `Modifiers` with `declare` and
`const` on `EnumDeclaration` (#3845) (Boshen)

- ee6ec4e ast: [**BREAKING**] Replace `Modifiers` with `declare` and
`abstract` on `Class` (#3841) (Boshen)

- 4456034 ast: [**BREAKING**] Add `IdentifierReference` to
`ExportSpecifier` (#3820) (Boshen)

- 0537d29 cfg: [**BREAKING**] Move control flow to its own crate.
(#3728) (rzvxa)

- 5c38a0f codegen: [**BREAKING**] New code gen API (#3740) (Boshen)

- 4bce59d semantic/cfg: [**BREAKING**] Re-export `petgraph` as
`control_flow::graph`. (#3722) (rzvxa)

### Features

- 3ae2628 linter: Change `no-import-assign` to correctness (#3928)
(Boshen)
- a89d501 linter: Implement
@typescript-eslint/no-non-null-asserted-nulli… (#3850) (kaykdm)
- fc48cb4 linter: eslint-plugin-jest/prefer-jest-mocked (#3865)
(cinchen)
- 63b98bd linter: Accept multiple fixes when fix code (#3842)
(mysteryven)
- 328445b linter: Support `vitest/no-disabled-tests` (#3717)
(mysteryven)
- 8c61f9c linter: Implement @typescript-eslint/no-non-null-assertion
(#3825) (kaykdm)
- 080ecbd linter: Add `no-fallthrough`. (#3673) (rzvxa)
- 9493fbe linter: Add `oxc/no-optional-chaining` rule (#3700)
(mysteryven)
- 139adfe linter: Add `@typescript-eslint/no-import-type-side_effects`
(#3699) (mysteryven)
- 5f84500 linter/eslint-plugin-react: Implement prefer-es6-class (#3812)
(Jelle van der Waa)
- fafe67c linter/import: Implement max-dependencies (#3814) (Jelle van
der Waa)
- d5f6aeb semantic: Check for illegal symbol modifiers (#3838) (Don
Isaac)

### Bug Fixes

- 4bd2c88 linter: Fix and promote `getter-return` to correctness.
(#3777) (rzvxa)
- 1190dee linter: False positives with setters in the `getter-return`
rule. (#3714) (rzvxa)
- de0690f linter: Do not run getter-return in typescript (#3693)
(Boshen)
- cf71c23 linter: Edge case with infinite loops. (#3672) (rzvxa)
- 5902331 oxlint: Properly report error (#3889) (Luca Bruno)
- 99a40ce semantic: `export default foo` should have
`ExportLocalName::Default(NameSpan)` entry (#3823) (Boshen)
- abd6ac8 semantic/cfg: Discrete finalization path after `NewFunction`s.
(#3671) (rzvxa)

### Performance
- 4f7ff7e Do not pass `&Atom` to functions (#3818) (overlookmotel)

### Refactor

- 4d2b7f1 linter: `LintContext` can now only be constructed with a cfg
enabled semantic. (#3761) (rzvxa)
- 7302429 linter/prefer_number_properties: Remove the unused
`IdentifierName` check (#3822) (Boshen)
- d8ad321 semantic: Make control flow generation optional. (#3737)
(rzvxa)

### Testing

- 887da40 linter: Enable `no-fallthrough` test with `disable-next-line`.
(#3766) (rzvxa)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-27 15:09:13 +08:00
github-actions[bot]
6168969f94
Release oxlint v0.4.4 (#3669)
## [0.4.4] - 2024-06-14

### Features

- 8f5655d linter: Add eslint/no-useless-constructor (#3594) (Don Isaac)
- 29c78db linter: Implement
@typescript-eslint/explicit-function-return-type (#3455) (kaykdm)
- 21d3425 linter: Typescript-eslint no-useless-empty-export (#3605)
(keita hino)
- 85c3b83 linter: Eslint-plugin-jest/max-nested-describes (#3585)
(cinchen)
- f6d9ca6 linter: Add `eslint/sort-imports` rule (#3568) (Wang Wenzhe)
- 046ff3f linter/eslint: Add `no_unreachable` rule. (#3238) (rzvxa)
- e32ce00 linter/jsdoc: Implement require-param-name rule (#3636) (Yuji
Sugiura)
- 110661c linter/jsdoc: Implement require-param-description (#3621)
(Yuji Sugiura)
- d6370f1 linter/jsdoc: Implement require-param-type rule (#3601) (Yuji
Sugiura)
- d9c5b33 semantic/cfg: Add `Condition` instruction. (#3567) (Ali
Rezvani)
- f2dfd66 semantic/cfg: Add iteration instructions. (#3566) (rzvxa)

### Bug Fixes

- f0b689d linter: Panic in jsdoc/require-param (#3590) (Don Isaac)
- e148a32 semantic/cfg: Correct unreachability propagation in
try-finally. (#3667) (Ali Rezvani)

### Refactor

- 84304b4 linter: Add a `ctx.module_record()` method (#3637) (Boshen)
- f98f777 linter: Add rule fixer (#3589) (Don Isaac)
- fa11644 linter: Pass `Rc` by value (#3587) (overlookmotel)
- f702fb9 semantic/cfg: Cleanup control flow and it's builder. (#3650)
(rzvxa)
- 5793ff1 transformer: Replace `&’a Trivias` with `Rc<Trivias>` (#3580)
(Dunqing)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-14 15:05:26 +08:00
renovate[bot]
6b2d6ccaae
chore(deps): update vscode npm packages (#3598)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type |
Update |
|---|---|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`^20.11.5` ->
`^20.14.2`](https://renovatebot.com/diffs/npm/@types%2fnode/20.13.0/20.14.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.13.0/20.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.13.0/20.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor |
| [@vscode/vsce](https://code.visualstudio.com)
([source](https://togithub.com/Microsoft/vsce)) | [`^2.22.0` ->
`^2.27.0`](https://renovatebot.com/diffs/npm/@vscode%2fvsce/2.26.1/2.27.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vscode%2fvsce/2.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vscode%2fvsce/2.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vscode%2fvsce/2.26.1/2.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vscode%2fvsce/2.26.1/2.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor |
| [esbuild](https://togithub.com/evanw/esbuild) | [`^0.21.0` ->
`^0.21.5`](https://renovatebot.com/diffs/npm/esbuild/0.21.4/0.21.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/esbuild/0.21.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/esbuild/0.21.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/esbuild/0.21.4/0.21.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/esbuild/0.21.4/0.21.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [ovsx](https://open-vsx.org)
([source](https://togithub.com/eclipse/openvsx/tree/HEAD/cli)) |
[`^0.9.0` ->
`^0.9.1`](https://renovatebot.com/diffs/npm/ovsx/0.9.1/0.9.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ovsx/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ovsx/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ovsx/0.9.1/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ovsx/0.9.1/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [prettier](https://prettier.io)
([source](https://togithub.com/prettier/prettier)) | [`^3.2.4` ->
`^3.3.1`](https://renovatebot.com/diffs/npm/prettier/3.3.0/3.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.3.0/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.3.0/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [typescript](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/TypeScript)) | [`^5.3.3` ->
`^5.4.5`](https://renovatebot.com/diffs/npm/typescript/5.4.5/5.4.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.4.5/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.4.5/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch |
| [vscode](https://togithub.com/microsoft/vscode) | [`^1.80.0` ->
`^1.90.0`](https://renovatebot.com/diffs/npm/vscode/1.80.0/1.90.0) |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/vscode/1.90.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/vscode/1.90.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/vscode/1.80.0/1.90.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/vscode/1.80.0/1.90.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| engines | minor |

---

### Release Notes

<details>
<summary>Microsoft/vsce (@&#8203;vscode/vsce)</summary>

###
[`v2.27.0`](https://togithub.com/microsoft/vscode-vsce/releases/tag/v2.27.0)

[Compare
Source](https://togithub.com/Microsoft/vsce/compare/v2.26.1...v2.27.0)

#### Changes:

##### Bugs:

- [#&#8203;981](https://togithub.com/Microsoft/vsce/issues/981): ERROR
No translation found for %abc%

##### Others:

- [#&#8203;991](https://togithub.com/Microsoft/vsce/issues/991): set
pipeline name
- [#&#8203;990](https://togithub.com/Microsoft/vsce/issues/990): fix:
paths with spaces
- [#&#8203;988](https://togithub.com/Microsoft/vsce/issues/988): fix
executing sign tool
- [#&#8203;987](https://togithub.com/Microsoft/vsce/issues/987): fix
sign tool arg
- [#&#8203;986](https://togithub.com/Microsoft/vsce/issues/986): enable
signing in vsce using script
- [#&#8203;983](https://togithub.com/Microsoft/vsce/issues/983): Fix "No
translation found" error when executing `vsce package`

This list of changes was [auto
generated](https://dev.azure.com/monacotools/Monaco/\_build/results?buildId=276769\&view=logs).

</details>

<details>
<summary>evanw/esbuild (esbuild)</summary>

###
[`v0.21.5`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0215)

[Compare
Source](https://togithub.com/evanw/esbuild/compare/v0.21.4...v0.21.5)

- Fix `Symbol.metadata` on classes without a class decorator
([#&#8203;3781](https://togithub.com/evanw/esbuild/issues/3781))

This release fixes a bug with esbuild's support for the [decorator
metadata
proposal](https://togithub.com/tc39/proposal-decorator-metadata).
Previously esbuild only added the `Symbol.metadata` property to
decorated classes if there was a decorator on the class element itself.
However, the proposal says that the `Symbol.metadata` property should be
present on all classes that have any decorators at all, not just those
with a decorator on the class element itself.

- Allow unknown import attributes to be used with the `copy` loader
([#&#8203;3792](https://togithub.com/evanw/esbuild/issues/3792))

Import attributes (the `with` keyword on `import` statements) are
allowed to alter how that path is loaded. For example, esbuild cannot
assume that it knows how to load `./bagel.js` as type `bagel`:

    ```js
// This is an error with "--bundle" without also using
"--external:./bagel.js"
    import tasty from "./bagel.js" with { type: "bagel" }
    ```

Because of that, bundling this code with esbuild is an error unless the
file `./bagel.js` is external to the bundle (such as with `--bundle
--external:./bagel.js`).

However, there is an additional case where it's ok for esbuild to allow
this: if the file is loaded using the `copy` loader. That's because the
`copy` loader behaves similarly to `--external` in that the file is left
external to the bundle. The difference is that the `copy` loader copies
the file into the output folder and rewrites the import path while
`--external` doesn't. That means the following will now work with the
`copy` loader (such as with `--bundle --loader:.bagel=copy`):

    ```js
// This is no longer an error with "--bundle" and "--loader:.bagel=copy"
    import tasty from "./tasty.bagel" with { type: "bagel" }
    ```

- Support import attributes with glob-style imports
([#&#8203;3797](https://togithub.com/evanw/esbuild/issues/3797))

This release adds support for import attributes (the `with` option) to
glob-style imports (dynamic imports with certain string literal patterns
as paths). These imports previously didn't support import attributes due
to an oversight. So code like this will now work correctly:

    ```ts
    async function loadLocale(locale: string): Locale {
const data = await import(`./locales/${locale}.data`, { with: { type:
'json' } })
      return unpackLocale(locale, data)
    }
    ```

Previously this didn't work even though esbuild normally supports
forcing the JSON loader using an import attribute. Attempting to do this
used to result in the following error:

✘ [ERROR] No loader is configured for ".data" files: locales/en-US.data

            example.ts:2:28:
2 │ const data = await import(`./locales/${locale}.data`, { with: {
type: 'json' } })
                ╵                             ~~~~~~~~~~~~~~~~~~~~~~~~~~

In addition, this change means plugins can now access the contents of
`with` for glob-style imports.

- Support `${configDir}` in `tsconfig.json` files
([#&#8203;3782](https://togithub.com/evanw/esbuild/issues/3782))

This adds support for a new feature from the upcoming TypeScript 5.5
release. The character sequence `${configDir}` is now respected at the
start of `baseUrl` and `paths` values, which are used by esbuild during
bundling to correctly map import paths to file system paths. This
feature lets base `tsconfig.json` files specified via `extends` refer to
the directory of the top-level `tsconfig.json` file. Here is an example:

    ```json
    {
      "compilerOptions": {
        "paths": {
          "js/*": ["${configDir}/dist/js/*"]
        }
      }
    }
    ```

You can read more in [TypeScript's blog post about their upcoming 5.5
release](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5-rc/#the-configdir-template-variable-for-configuration-files).
Note that this feature does not make use of template literals (you need
to use `"${configDir}/dist/js/*"` not `` `${configDir}/dist/js/*` ``).
The syntax for `tsconfig.json` is still just JSON with comments, and
JSON syntax does not allow template literals. This feature only
recognizes `${configDir}` in strings for certain path-like properties,
and only at the beginning of the string.

- Fix internal error with `--supported:object-accessors=false`
([#&#8203;3794](https://togithub.com/evanw/esbuild/issues/3794))

This release fixes a regression in 0.21.0 where some code that was added
to esbuild's internal runtime library of helper functions for JavaScript
decorators fails to parse when you configure esbuild with
`--supported:object-accessors=false`. The reason is that esbuild
introduced code that does `{ get [name]() {} }` which uses both the
`object-extensions` feature for the `[name]` and the `object-accessors`
feature for the `get`, but esbuild was incorrectly only checking for
`object-extensions` and not for `object-accessors`. Additional tests
have been added to avoid this type of issue in the future. A workaround
for this issue in earlier releases is to also add
`--supported:object-extensions=false`.

</details>

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.3.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#331)

[Compare
Source](https://togithub.com/prettier/prettier/compare/3.3.0...3.3.1)

[diff](https://togithub.com/prettier/prettier/compare/3.3.0...3.3.1)

##### Preserve empty lines in front matter
([#&#8203;16347](https://togithub.com/prettier/prettier/pull/16347) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```markdown
<!-- Input -->
---
foo:
  - bar1

  - bar2

  - bar3
---
Markdown

<!-- Prettier 3.3.0 -->

---
foo:
  - bar1
  - bar2
  - bar3
---

Markdown

<!-- Prettier 3.3.1 -->
---
foo:
  - bar1

  - bar2

  - bar3
---

Markdown
```

##### Preserve explicit language in front matter
([#&#8203;16348](https://togithub.com/prettier/prettier/pull/16348) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```markdown
<!-- Input -->
---yaml
title: Hello
slug: home
---

<!-- Prettier 3.3.0 -->
---
title: Hello
slug: home
---

<!-- Prettier 3.3.1 -->
---yaml
title: Hello
slug: home
---
```

##### Avoid line breaks in import attributes
([#&#8203;16349](https://togithub.com/prettier/prettier/pull/16349) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```jsx
// Input
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };

// Prettier 3.3.0
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type:
  "json" };

// Prettier 3.3.1
import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" };
```

</details>

<details>
<summary>microsoft/vscode (vscode)</summary>

###
[`v1.90.0`](https://togithub.com/microsoft/vscode/releases/tag/1.90.0):
May 2024

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.89.1...1.90.0)

Welcome to the May 2024 release of Visual Studio Code. There are many
updates in this version that we hope you'll like, some of the key
highlights include:

- [Editor tabs
multi-select](https://code.visualstudio.com/updates/v1\_90#editor-tabs-multi-select)
- Select and perform actions on multiple tabs simultaneously.
-
[Profiles](https://code.visualstudio.com/updates/v1\_90#configure-custom-profile-for-new-window)
- Open new windows with your preferred profile.
- [Editor
actions](https://code.visualstudio.com/updates/v1\_90#always-show-editor-actions)
- Immediately access editor actions across editor groups.
- [Copilot
extensibility](https://code.visualstudio.com/updates/v1\_90#chat-and-language-model-api)
- Build AI into your extensions with the Chat and Language Model API.
- [VS Code
Speech](https://code.visualstudio.com/updates/v1\_90#vs-code-speech) -
Automatically read out Copilot Chat responses with text-to-speech.
- [Find in
notebooks](https://code.visualstudio.com/updates/v1\_90#find-in-cell-selection)
- Restrict search to selected cells in notebooks.
- [Chat
context](https://code.visualstudio.com/updates/v1\_90#attach-context-to-chat)
- Quickly attach different types of context in chat.
- [IntelliSense in chat
responses](https://code.visualstudio.com/updates/v1\_90#intellisense-in-chat-code-blocks)
- Better understand generated code with IntelliSense.

> If you'd like to read these release notes online, go to
[Updates](https://code.visualstudio.com/updates) on
[code.visualstudio.com](https://code.visualstudio.com).
> **Insiders:** Want to try new features as soon as possible? You can
download the nightly [Insiders](https://code.visualstudio.com/insiders)
build and try the latest updates as soon as they are available.

###
[`v1.89.1`](https://togithub.com/microsoft/vscode/releases/tag/1.89.1):
April 2024 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.89.0...1.89.1)

The update addresses these
[issues](https://togithub.com/Microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22April+2024+Recovery+1%22+is%3Aclosed+).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_89) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.89.0`](https://togithub.com/microsoft/vscode/releases/tag/1.89.0):
April 2024

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.88.1...1.89.0)

Welcome to the April 2024 release of Visual Studio Code. There are many
updates in this version that we hope you'll like, some of the key
highlights include:

- [Preview Markdown images &
videos](https://code.visualstudio.com/updates/v1\_89#\_hover-to-preview-images-and-videos-in-markdown)
- Hover over a link to preview images & videos in Markdown.
- [Enhanced branch
switching](https://code.visualstudio.com/updates/v1\_89#\_saverestore-open-editors-when-switching-branches)
- Restore open editors seamlessly when switching between branches.
- [Middle-click paste
support](https://code.visualstudio.com/updates/v1\_89#\_configure-middle-click-to-paste)
- Paste text quickly in the terminal using a mouse middle-click.
- [WSL over Remote -
SSH](https://code.visualstudio.com/updates/v1\_89#\_remote-development)
- Use WSL when connected to a remote machine via Remote - SSH.
- [Accessible
View](https://code.visualstudio.com/updates/v1\_89#\_accessible-view) -
Navigate through comments, chat code blocks & terminal commands from the
Accessible View.
- [Keyboard shortcuts for UI
actions](https://code.visualstudio.com/updates/v1\_89#\_customize-keybindings)
- Customize keybindings for UI actions directly with a right-click.
- [Quick
Search](https://code.visualstudio.com/updates/v1\_89#\_quick-search) -
Search for text across your workspace with Quick Search.
- [AI-powered rename
suggestions](https://code.visualstudio.com/updates/v1\_89#\_copilot-powered-rename-suggestions-button)
- Get intelligent rename suggestions in the editor with Copilot.
- [Copilot content
exclusion](https://code.visualstudio.com/updates/v1\_89#\_content-exclusions)
- Exclude files from being used in the Copilot context.
- [Local workspace
extension](https://code.visualstudio.com/updates/v1\_89#\_local-workspace-extensions)
- Include and install extensions directly in your workspace.

> If you'd like to read these release notes online, go to
[Updates](https://code.visualstudio.com/updates) on
[code.visualstudio.com](https://code.visualstudio.com).
> **Insiders:** Want to try new features as soon as possible? You can
download the nightly [Insiders](https://code.visualstudio.com/insiders)
build and try the latest updates as soon as they are available.

###
[`v1.88.1`](https://togithub.com/microsoft/vscode/releases/tag/1.88.1):
March 2024 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.88.0...1.88.1)

The update addresses these
[issues](https://togithub.com/Microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22March+2024+Recovery+1%22+is%3Aclosed).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_88) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.88.0`](https://togithub.com/microsoft/vscode/releases/tag/1.88.0):
March 2024

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.87.2...1.88.0)

Welcome to the March 2024 release of Visual Studio Code. There are many
updates in this version that we hope you'll like, some of the key
highlights include:

- [Apply custom editor
labels](https://code.visualstudio.com/updates/v1\_88#custom-labels-for-open-editors)
- Distinguish between editors with same file names.
- [Locked
scrolling](https://code.visualstudio.com/updates/v1\_88#locked-scrolling)
- Compare editors side-by-side with synchronized scrolling.
- [Extension update
improvements](https://code.visualstudio.com/updates/v1\_88#extensions-update-improvements)
- Restart extensions without reload & update extensions with VS Code
releases.
- [Test Coverage
API](https://code.visualstudio.com/updates/v1\_88#test-coverage) -
Native code coverage support in VS Code.
- [Folding markers in
minimap](https://code.visualstudio.com/updates/v1\_88#minimap-section-headers)
- Easily identify and navigate to code sections from minimap.
- [Quick Search
improvements](https://code.visualstudio.com/updates/v1\_88#quick-search-improvements)
- Sticky file path separators and separator buttons.
- [Notebook Run cells in
section](https://code.visualstudio.com/updates/v1\_88#run-cells-in-section)
- Quickly run all cells in a notebook section.
- [Copilot
improvements](https://code.visualstudio.com/updates/v1\_88#github-copilot)
- Improved inline chat UI, commit messages, and used references.
- [Python auto-detect
improvements](https://code.visualstudio.com/updates/v1\_88#python) -
Detect startup files for Flask & Django, discover Hatch environments.
- [Preview: Terminal inline
chat](https://code.visualstudio.com/updates/v1\_88#preview-terminal-inline-chat)
- Start a Copilot inline chat conversation directly from the terminal.

> If you'd like to read these release notes online, go to
[Updates](https://code.visualstudio.com/updates) on
[code.visualstudio.com](https://code.visualstudio.com).
> **Insiders:** Want to try new features as soon as possible? You can
download the nightly [Insiders](https://code.visualstudio.com/insiders)
build and try the latest updates as soon as they are available.

###
[`v1.87.2`](https://togithub.com/microsoft/vscode/releases/tag/1.87.2):
February 2024 Recovery 2

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.87.1...1.87.2)

The update addresses these
[issues](https://togithub.com/microsoft/vscode/issues?q=is%3Aissue+is%3Aclosed+milestone%3A%22February+2024+Recovery+2%22+).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_87) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.87.1`](https://togithub.com/microsoft/vscode/releases/tag/1.87.1):
February 2024 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.87.0...1.87.1)

The update addresses these
[issues](https://togithub.com/microsoft/vscode/issues?q=is%3Aissue+is%3Aclosed+milestone%3A%22February+2024+Recovery+1%22+).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_87) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.87.0`](https://togithub.com/microsoft/vscode/releases/tag/1.87.0):
February 2024

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.86.2...1.87.0)

Welcome to the February 2024 release of Visual Studio Code. There are
many updates in this version that we hope you'll like, some of the key
highlights include:

- **[Voice dictation in
editor](https://code.visualstudio.com/updates/v1\_87#\_use-dictation-in-the-editor)**
- Use your voice to dictate directly in the editor.
- **[Multi-cursor inline
suggestions](https://code.visualstudio.com/updates/v1\_87#\_inline-completions-for-multiple-cursors)**
- Review and accept inline suggestions for multiple cursors.
- **[Copilot-powered rename
suggestions](https://code.visualstudio.com/updates/v1\_87#\_rename-suggestions)**
- Get rename suggestions for symbols from Copilot.
- **[Side-by-side preview
refactoring](https://code.visualstudio.com/updates/v1\_87#\_refactor-preview-in-multi-diff-editor)**
- Preview refactorings across files with multi diff editor.
- **[Smarter Python
imports](https://code.visualstudio.com/updates/v1\_87#\_improvements-for-adding-missing-imports)**
- Improvements for adding missing Python imports.
- **[Sticky scroll in
editor](https://code.visualstudio.com/updates/v1\_87#\_editor-sticky-scroll)**
- Sticky scroll is enabled by default in the editor.
- **[Multi-language support for
speech](https://code.visualstudio.com/updates/v1\_87#\_multiple-languages-supported-for-speech-recognition)**
- Multiple languages supported for speech recognition.
- **[Copilot suggestions for dev
containers](https://code.visualstudio.com/updates/v1\_87#\_remote-development)**
- Get template and feature suggestions for dev container configurations.

> If you'd like to read these release notes online, go to
[Updates](https://code.visualstudio.com/updates) on
[code.visualstudio.com](https://code.visualstudio.com).
> **Insiders:** Want to try new features as soon as possible? You can
download the nightly [Insiders](https://code.visualstudio.com/insiders)
build and try the latest updates as soon as they are available.

###
[`v1.86.2`](https://togithub.com/microsoft/vscode/releases/tag/1.86.2):
January 2024 Recovery 2

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.86.1...1.86.2)

The update addresses these
[issues](https://togithub.com/microsoft/vscode/issues?q=is%3Aissue+is%3Aclosed+milestone%3A%22December+%2F+January+2024+Recovery+2%22+).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_86) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.86.1`](https://togithub.com/microsoft/vscode/releases/tag/1.86.1):
January 2024 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.86.0...1.86.1)

The update addresses these
[issues](https://togithub.com/microsoft/vscode/issues?q=is%3Aissue+is%3Aclosed+milestone%3A%22December+%2F+January+2024+Recovery+1%22).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_86) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.86.0`](https://togithub.com/microsoft/vscode/releases/tag/1.86.0):
January 2024

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.85.2...1.86.0)

Welcome to the January 2024 release of Visual Studio Code. There are
many updates in this version that we hope you'll like, some of the key
highlights include:

- **[Per-window zoom
levels](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#configure-zoom-levels-per-window)**
- Adjust the zoom level for each window independently.
- **[Hey Code voice
command](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#accessibility)**
- Start a chat session with a voice command.
- **[Multi-file diff
editor](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#review-multiple-files-in-diff-editor)**
- Quickly review diffs across multiple files in the diff editor.
- **[Triggered
breakpoints](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#triggered-breakpoints)**
- Efficient debugging with breakpoint dependencies.
- **[Expanded Sticky Scroll
support](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#sticky-scroll-in-tree-views)**
- Sticky Scroll in tree views and notebooks.
- **[Markdown paste
options](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#languages)**
- Rich paste support for links, video, and audio elements.
- **[Flexible Auto Save
options](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#more-powerful-and-flexible-auto-save-options)**
- Skip Auto Save on errors or save only for specific file types.
- **[Source Control
input](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#source-control)**
- Customize commit input and per-language editor settings.
- **[Extension
notifications](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#allow-disabling-notifications-per-extension)**
- Fine-grained control for disabling notifications per extension.
- **[GitHub Copilot
updates](https://togithub.com/microsoft/vscode-docs/blob/main/release-notes/v1\_86.md#github-copilot)**
- Improved default context, add file as context, AI fixes.

> If you'd like to read these release notes online, go to
[Updates](https://code.visualstudio.com/updates) on
[code.visualstudio.com](https://code.visualstudio.com/).

**Insiders:** Want to try new features as soon as possible? You can
download the nightly [Insiders](https://code.visualstudio.com/insiders)
build and try the latest updates as soon as they are available.

###
[`v1.85.2`](https://togithub.com/microsoft/vscode/releases/tag/1.85.2):
November 2023 Recovery 2

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.85.1...1.85.2)

The update addresses these
[issues](https://togithub.com/microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22November+2023+Recovery+2%22+is%3Aclosed+).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_85) on
[code.visualstudio.com](https://code.visualstudio.com/).

###
[`v1.85.1`](https://togithub.com/microsoft/vscode/releases/tag/1.85.1):
November 2023 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.85.0...1.85.1)

The update addresses these
[issues](https://togithub.com/microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22November+2023+Recovery+1%22+is%3Aclosed).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_85) on
[code.visualstudio.com](https://code.visualstudio.com/).

###
[`v1.85.0`](https://togithub.com/microsoft/vscode/releases/tag/1.85.0):
November 2023

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.84.2...1.85.0)

Welcome to the November 2023 release of Visual Studio Code. There are
many updates in this version that we hope you'll like, some of the key
highlights include:

- **[Floating editor
windows](https://code.visualstudio.com/updates/v1\_85#\_floating-editor-windows)**
- Drag and drop editors onto your desktop.
- **[Accessible View
workflow](https://code.visualstudio.com/updates/v1\_85#\_accessibility)**
- Smoother transitions to and from the Accessible View.
- **[Finer extension update
control](https://code.visualstudio.com/updates/v1\_85#\_extension-auto-update-control)**
- Choose which extensions to auto update.
- **[Source Control incoming and outgoing
view](https://code.visualstudio.com/updates/v1\_85#\_source-control)** -
Easily review pending repository changes.
- **[JavaScript heap
snapshots](https://code.visualstudio.com/updates/v1\_85#\_javascript-debugger)**
- Visualize heap snapshots including memory object graphs.
- **[TypeScript Go to Definition from inlay
hints](https://code.visualstudio.com/updates/v1\_85#\_jump-to-definition-for-inlay-hints)**
- Jump to definition from inlay hint hovers.
- **[Python type hierarchy
display](https://code.visualstudio.com/updates/v1\_85#\_python)** -
Quickly review and navigate complex type relationships.
- **[GitHub Copilot
updates](https://code.visualstudio.com/updates/v1\_85#\_github-copilot)**
- Inline chat improvements, Rust code explanation.
- **[Preview: expanded Sticky Scroll
support](https://code.visualstudio.com/updates/v1\_85#\_preview-features)**
- Sticky Scroll in tree views and the terminal.

> If you'd like to read these release notes online, go to
[Updates](https://code.visualstudio.com/updates) on
[code.visualstudio.com](https://code.visualstudio.com).

**Insiders:** Want to try new features as soon as possible? You can
download the nightly [Insiders](https://code.visualstudio.com/insiders)
build and try the latest updates as soon as they are available.

###
[`v1.84.2`](https://togithub.com/microsoft/vscode/releases/tag/1.84.2):
October 2023 Recovery 2

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.84.1...1.84.2)

The update addresses these
[issues](https://togithub.com/microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22October+2023+Recovery+2%22+is%3Aclosed).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_84) on
[code.visualstudio.com](https://code.visualstudio.com/).

###
[`v1.84.1`](https://togithub.com/microsoft/vscode/releases/tag/1.84.1):
October 2023 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.84.0...1.84.1)

The update addresses these
[issues](https://togithub.com/microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22October+2023+Recovery+1%22+is%3Aclosed).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_84) on
[code.visualstudio.com](https://code.visualstudio.com/).

###
[`v1.84.0`](https://togithub.com/microsoft/vscode/releases/tag/1.84.0):
October 2023

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.83.1...1.84.0)

Welcome to the October 2023 release of Visual Studio Code. There are
many updates in this version that we hope you'll like, some of the key
highlights include:

[More audio
cues](https://code.visualstudio.com/updates/v1\_84#\_accessibility) -
New audio cues to indicate clear, save, and format activity.
[Activity bar
position](https://code.visualstudio.com/updates/v1\_84#\_workbench) -
Move Activity bar to the top for compact display.
[Hide editor
tabs](https://code.visualstudio.com/updates/v1\_84#\_hide-editor-tabs) -
Show multiple, single, or no editor tabs.
[Maximize Editor
Groups](https://code.visualstudio.com/updates/v1\_84#\_maximize-editor-group)
- Quickly expand the active Editor Group.
[Python
improvements](https://code.visualstudio.com/updates/v1\_84#\_python) -
Better run code in terminal, easier virtual environment creation.
[FastAPI
tutorial](https://code.visualstudio.com/updates/v1\_84#\_fastapi-tutorial)
- Learn about developing Python FastAPI apps with VS Code.
[Gradle for
Java](https://code.visualstudio.com/updates/v1\_84#\_gradle-for-java) -
Improved support for Java Gradle projects.
[Preview: GitHub
Copilot](https://code.visualstudio.com/updates/v1\_84#\_github-copilot)
- Chat "agents", generate commit messages, terminal support.

If you'd like to read these release notes online, go to
[Updates](https://code.visualstudio.com/updates) on
[code.visualstudio.com](https://code.visualstudio.com/).

Insiders: Want to try new features as soon as possible? You can download
the nightly [Insiders](https://code.visualstudio.com/insiders) build and
try the latest updates as soon as they are available.

###
[`v1.83.1`](https://togithub.com/microsoft/vscode/releases/tag/1.83.1):
September 2023 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.83.0...1.83.1)

The update addresses these
[issues](https://togithub.com/microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22September+2023+Recovery+1%22+is%3Aclosed).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_83) on
[code.visualstudio.com](https://code.visualstudio.com/).

###
[`v1.83.0`](https://togithub.com/microsoft/vscode/releases/tag/1.83.0):
September 2023

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.82.3...1.83.0)

Welcome to the September 2023 release of Visual Studio Code. There are
many updates in this version that we hope you'll like, some of the key
highlights include:

[Accessibility
improvements](https://code.visualstudio.com/updates/v1\_83#\_accessibility)
- Screen reader support for the pull request comments.
[Better Command Palette
search](https://code.visualstudio.com/updates/v1\_83#\_similar-command-results-in-the-command-palette)
- New "similar commands" list to help command discovery.
[Add custom icons to
profiles](https://code.visualstudio.com/updates/v1\_83#\_icons-for-profiles)
- Display an icon to easily identify the active profile.
[Compact editor tab
height](https://code.visualstudio.com/updates/v1\_83#\_editor-tab-height-density)
- Shrinks editor tab height for larger editor region.
[Dedicated pinned editor
row](https://code.visualstudio.com/updates/v1\_83#\_pinned-editor-tabs-on-separate-row)
- New editor tab row supports pin/unpin via drag and drop.
[Go to Symbol in
notebooks](https://code.visualstudio.com/updates/v1\_83#\_go-to-symbol-in-notebooks)
- Quickly navigate to code symbols in your notebook.
[Python debugger
updates](https://code.visualstudio.com/updates/v1\_83#\_python) -
Configure whether to step into system/library or just your code.
[Preview: GitHub
Copilot](https://code.visualstudio.com/updates/v1\_83#\_github-copilot)
- Test generation based on current framework and project conventions.

If you'd like to read these release notes online, go to
[Updates](https://code.visualstudio.com/updates) on
[code.visualstudio.com](https://code.visualstudio.com/).

Insiders: Want to try new features as soon as possible? You can download
the nightly [Insiders](https://code.visualstudio.com/insiders) build and
try the latest updates as soon as they are available.
For the latest Visual Studio Code news, updates, and content, follow us
on Twitter [@&#8203;code](https://twitter.com/code)!

###
[`v1.82.3`](https://togithub.com/microsoft/vscode/releases/tag/1.82.3):
August 2023 Recovery 3

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.82.2...1.82.3)

The update addresses these
[issues](https://togithub.com/Microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22August+2023+Recovery+3%22+is%3Aclosed),
including a fix for a security vulnerability.

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_82) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.82.2`](https://togithub.com/microsoft/vscode/releases/tag/1.82.2):
August 2023 Recovery 2

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.82.1...1.82.2)

The update addresses these
[issues](https://togithub.com/Microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22August+2023+Recovery+2%22+is%3Aclosed).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_82) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.82.1`](https://togithub.com/microsoft/vscode/releases/tag/1.82.1):
August 2023 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.82.0...1.82.1)

The update addresses these
[issues](https://togithub.com/Microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22August+2023+Recovery+1%22+is%3Aclosed),
including a fix for a security vulnerability.

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_82) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.82.0`](https://togithub.com/microsoft/vscode/releases/tag/1.82.0):
August 2023

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.81.1...1.82.0)

Welcome to the August 2023 release of Visual Studio Code. There are many
updates in this version that we hope you'll like, some of the key
highlights include:

- **[Accessibility
improvements](https://code.visualstudio.com/updates/v1\_82#\_accessibility)**
- Accessible View support for inline completions, updated keybindings.
- **[Built-in port
forwarding](https://code.visualstudio.com/updates/v1\_82#\_workbench)**
- Forward local server ports from within VS Code.
- **[Sticky Scroll
updates](https://code.visualstudio.com/updates/v1\_82#\_sticky-scroll)**
- Scrolls horizontally with editor, display last line in scope, folding
UI.
- **[New diff editor
features](https://code.visualstudio.com/updates/v1\_82#\_diff-editor)**
- Detect moved code, dynamically switch inline and side-by-side view.
- **[Command Center displayed by
default](https://code.visualstudio.com/updates/v1\_82#\_command-center-now-on-by-default)**
- Quickly open files or run commands from the title bar.
- **[Copy Notebook
output](https://code.visualstudio.com/updates/v1\_82#\_notebooks)** -
Easily copy cell output as well as generated images.
- **[WebAssembly
debugging](https://code.visualstudio.com/updates/v1\_82#\_javascript-debugger)**
- Decompile WASM code to step through and set breakpoints.
- **[New TypeScript
refactorings](https://code.visualstudio.com/updates/v1\_82#\_typescript-52)**
- Move to File and Inline Variables refactorings.
- **[New Python Formatting
topic](https://code.visualstudio.com/updates/v1\_82#\_python)** - Learn
how to integrate formatters such as autopep8 and Black.
- **[Preview: GitHub
Copilot](https://code.visualstudio.com/updates/v1\_82#\_github-copilot)**
- CreateWorkspace command previews file structure of proposed code.

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_82) on
[code.visualstudio.com](https://code.visualstudio.com).

**Insiders:** Want to try new features as soon as possible? You can
download the nightly [Insiders](https://code.visualstudio.com/insiders)
build and try the latest updates as soon as they are available.

###
[`v1.81.1`](https://togithub.com/microsoft/vscode/releases/tag/1.81.1):
July 2023 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.81.0...1.81.1)

The update addresses these
[issues](https://togithub.com/Microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22July+2023+Recovery+1%22+is%3Aclosed+).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_81) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.81.0`](https://togithub.com/microsoft/vscode/releases/tag/1.81.0):
July 2023

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.80.2...1.81.0)

Welcome to the July 2023 release of Visual Studio Code. There are many
updates in this version that we hope you'll like, some of the key
highlights include:

- **[Accessibility
improvements](https://code.visualstudio.com/updates/v1\_81#accessibility)**
- Accessible View support for notifications, chat responses, and hovers.
- **[VS Code
Profiles](https://code.visualstudio.com/updates/v1\_81#profiles)** -
Finer control with partial profiles and "Apply to all profiles" options.
- **[New diff editor
features](https://code.visualstudio.com/updates/v1\_81#diff-editor)** -
Collapse unchanged regions, better diff region text alignment.
- **[Git repositories with
symlinks](https://code.visualstudio.com/updates/v1\_81#support-git-repositories-with-symbolic-links)**
- Support for repository paths with symbolic links.
- **[Notebook
updates](https://code.visualstudio.com/updates/v1\_81#notebooks)** -
Search text in closed notebooks, "sticky scroll" displays Markdown
headers.
- **[Python test
discovery](https://code.visualstudio.com/updates/v1\_81#python)** -
Error tolerant pytest discovery continues across all files.
- **[Access Jupyter servers in GitHub
Codespaces](https://code.visualstudio.com/updates/v1\_81#jupyter)** -
Connect to a remote Jupyter server in a codespace.
- **[GitHub pull request
creation](https://code.visualstudio.com/updates/v1\_81#github-pull-requests-and-issues)**
- Better base branch detection, remember previous create PR options.
- **[Preview: GitHub Copilot
UX](https://code.visualstudio.com/updates/v1\_81#github-copilot)** -
Quick Chat improvements, iterative /fix command.

> If you'd like to read these release notes online, go to
[Updates](https://code.visualstudio.com/updates) on
[code.visualstudio.com](https://code.visualstudio.com).

**Insiders:** Want to try new features as soon as possible? You can
download the nightly [Insiders](https://code.visualstudio.com/insiders)
build and try the latest updates as soon as they are available.

###
[`v1.80.2`](https://togithub.com/microsoft/vscode/releases/tag/1.80.2):
June 2023 Recovery 2

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.80.1...1.80.2)

The update includes this [pull
request](https://togithub.com/microsoft/vscode/pull/189089).

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_80) on
[code.visualstudio.com](https://code.visualstudio.com).

###
[`v1.80.1`](https://togithub.com/microsoft/vscode/releases/tag/1.80.1):
June 2023 Recovery 1

[Compare
Source](https://togithub.com/microsoft/vscode/compare/1.80.0...1.80.1)

The update addresses these
[issues](https://togithub.com/Microsoft/vscode/issues?q=is%3Aissue+milestone%3A%22June+2023+Recovery+1%22+is%3Aclosed+),
including a fix for a security vulnerability.

For the complete release notes go to
[Updates](https://code.visualstudio.com/updates/v1\_80) on
[code.visualstudio.com](https://code.visualstudio.com).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **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](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-09 23:24:08 +00:00
github-actions[bot]
8cbf937e84
Release oxlint v0.4.3 (#3581)
## [0.4.3] - 2024-06-07

### Features

- 1fb9d23 linter: Add fixer for no-useless-fallback-in-spread rule
(#3544) (Don Isaac)
- 6506d08 linter: Add fixer for no-single-promise-in-promise-methods
(#3531) (Don Isaac)
- daf559f linter: Eslint-plugin-jest/no-large-snapshot (#3436) (cinchen)
- 4c17bc6 linter: Eslint/no-constructor-return (#3321) (谭光志)
- 4a075cc linter/jsdoc: Implement require-param rule (#3554) (Yuji
Sugiura)
- 747500a linter/jsdoc: Implement require-returns-type rule (#3458)
(Yuji Sugiura)
- 6b39654 linter/tree-shaking: Support options (#3504) (Wang Wenzhe)
- 0cdb45a oxc_codegen: Preserve annotate comment (#3465)
(IWANABETHATGUY)

### Bug Fixes

- b188778 linter/eslint: Fix `require-await` false positives in
`ForOfStatement`. (#3457) (rzvxa)
- 350cd91 parser: Should parser error when function declaration has no
name (#3461) (Dunqing)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-07 16:39:51 +08:00
Boshen
031bbe6dc4
Release oxlint and vscode extension v0.4.2 2024-05-28 23:06:30 +08:00
Boshen
d971c9cd0b
Release oxlint and vscode extension v0.4.1 2024-05-24 18:03:13 +08:00
Boshen
e5337f00b1
Release oxlint and vscode extension v0.4.0 2024-05-24 15:07:10 +08:00
Boshen
754d9f4c98
Release oxlint and vscode extension v0.3.5 2024-05-15 22:20:29 +08:00
Boshen
7193d75e94
Release oxlint and vscode extension v0.3.4 2024-05-13 18:33:04 +08:00
Boshen
6149e49ef7
Release oxlint and vscode extension v0.3.3 2024-05-13 17:10:13 +08:00
renovate[bot]
7ed673d2a5
chore(deps): lock file maintenance vscode npm packages (#3249)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change | Age | Adoption | Passing |
Confidence |
|---|---|---|---|---|---|---|---|
|  |  | lockFileMaintenance | All locks refreshed |  |  |  |  |
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| devDependencies | patch | [`20.12.8` ->
`20.12.11`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.8/20.12.11)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.12.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.12.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.12.8/20.12.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.12.8/20.12.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [esbuild](https://togithub.com/evanw/esbuild) | devDependencies |
minor | [`^0.20.0` ->
`^0.21.0`](https://renovatebot.com/diffs/npm/esbuild/0.20.2/0.21.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/esbuild/0.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/esbuild/0.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/esbuild/0.20.2/0.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/esbuild/0.20.2/0.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Release Notes

<details>
<summary>evanw/esbuild (esbuild)</summary>

###
[`v0.21.1`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0211)

[Compare
Source](https://togithub.com/evanw/esbuild/compare/v0.21.0...v0.21.1)

- Fix a regression with `--keep-names`
([#&#8203;3756](https://togithub.com/evanw/esbuild/issues/3756))

The previous release introduced a regression with the `--keep-names`
setting and object literals with `get`/`set` accessor methods, in which
case the generated code contained syntax errors. This release fixes the
regression:

    ```js
    // Original code
    x = { get y() {} }

    // Output from version 0.21.0 (with --keep-names)
    x = { get y: /* @&#8203;__PURE__ */ __name(function() {
    }, "y") };

    // Output from this version (with --keep-names)
    x = { get y() {
    } };
    ```

###
[`v0.21.0`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0210)

[Compare
Source](https://togithub.com/evanw/esbuild/compare/v0.20.2...v0.21.0)

This release doesn't contain any deliberately-breaking changes. However,
it contains a very complex new feature and while all of esbuild's tests
pass, I would not be surprised if an important edge case turns out to be
broken. So I'm releasing this as a breaking change release to avoid
causing any trouble. As usual, make sure to test your code when you
upgrade.

- Implement the JavaScript decorators proposal
([#&#8203;104](https://togithub.com/evanw/esbuild/issues/104))

With this release, esbuild now contains an implementation of the
upcoming [JavaScript decorators
proposal](https://togithub.com/tc39/proposal-decorators). This is the
same feature that shipped in [TypeScript
5.0](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators)
and has been highly-requested on esbuild's issue tracker. You can read
more about them in that blog post and in this other (now slightly
outdated) extensive blog post here:
https://2ality.com/2022/10/javascript-decorators.html. Here's a quick
example:

    ```js
    const log = (fn, context) => function() {
      console.log(`before ${context.name}`)
      const it = fn.apply(this, arguments)
      console.log(`after ${context.name}`)
      return it
    }

    class Foo {
      @&#8203;log static foo() {
        console.log('in foo')
      }
    }

    // Logs "before foo", "in foo", "after foo"
    Foo.foo()
    ```

Note that this feature is different than the existing "TypeScript
experimental decorators" feature that esbuild already implements. It
uses similar syntax but behaves very differently, and the two are not
compatible (although it's sometimes possible to write decorators that
work with both). TypeScript experimental decorators will still be
supported by esbuild going forward as they have been around for a long
time, are very widely used, and let you do certain things that are not
possible with JavaScript decorators (such as decorating function
parameters). By default esbuild will parse and transform JavaScript
decorators, but you can tell esbuild to parse and transform TypeScript
experimental decorators instead by setting `"experimentalDecorators":
true` in your `tsconfig.json` file.

Probably at least half of the work for this feature went into creating a
test suite that exercises many of the proposal's edge cases:
https://github.com/evanw/decorator-tests. It has given me a reasonable
level of confidence that esbuild's initial implementation is acceptable.
However, I don't have access to a significant sample of real code that
uses JavaScript decorators. If you're currently using JavaScript
decorators in a real code base, please try out esbuild's implementation
and let me know if anything seems off.

    **⚠️ WARNING ⚠️**

This proposal has been in the works for a very long time (work began
around 10 years ago in 2014) and it is finally getting close to becoming
part of the JavaScript language. However, it's still a work in progress
and isn't a part of JavaScript yet, so keep in mind that any code that
uses JavaScript decorators may need to be updated as the feature
continues to evolve. The decorators proposal is pretty close to its
final form but it can and likely will undergo some small behavioral
adjustments before it ends up becoming a part of the standard. If/when
that happens, I will update esbuild's implementation to match the
specification. I will not be supporting old versions of the
specification.

-   Optimize the generated code for private methods

Previously when lowering private methods for old browsers, esbuild would
generate one `WeakSet` for each private method. This mirrors similar
logic for generating one `WeakSet` for each private field. Using a
separate `WeakMap` for private fields is necessary as their assignment
can be observable:

    ```js
    let it
    class Bar {
      constructor() {
        it = this
      }
    }
    class Foo extends Bar {
      #x = 1
      #y = null.foo
      static check() {
        console.log(#x in it, #y in it)
      }
    }
    try { new Foo } catch {}
    Foo.check()
    ```

This prints `true false` because this partially-initialized instance has
`#x` but not `#y`. In other words, it's not true that all class
instances will always have all of their private fields. However, the
assignment of private methods to a class instance is not observable. In
other words, it's true that all class instances will always have all of
their private methods. This means esbuild can lower private methods into
code where all methods share a single `WeakSet`, which is smaller,
faster, and uses less memory. Other JavaScript processing tools such as
the TypeScript compiler already make this optimization. Here's what this
change looks like:

    ```js
    // Original code
    class Foo {
      #x() { return this.#x() }
      #y() { return this.#y() }
      #z() { return this.#z() }
    }

    // Old output (--supported:class-private-method=false)
    var _x, x_fn, _y, y_fn, _z, z_fn;
    class Foo {
      constructor() {
        __privateAdd(this, _x);
        __privateAdd(this, _y);
        __privateAdd(this, _z);
      }
    }
    _x = new WeakSet();
    x_fn = function() {
      return __privateMethod(this, _x, x_fn).call(this);
    };
    _y = new WeakSet();
    y_fn = function() {
      return __privateMethod(this, _y, y_fn).call(this);
    };
    _z = new WeakSet();
    z_fn = function() {
      return __privateMethod(this, _z, z_fn).call(this);
    };

    // New output (--supported:class-private-method=false)
    var _Foo_instances, x_fn, y_fn, z_fn;
    class Foo {
      constructor() {
        __privateAdd(this, _Foo_instances);
      }
    }
    _Foo_instances = new WeakSet();
    x_fn = function() {
      return __privateMethod(this, _Foo_instances, x_fn).call(this);
    };
    y_fn = function() {
      return __privateMethod(this, _Foo_instances, y_fn).call(this);
    };
    z_fn = function() {
      return __privateMethod(this, _Foo_instances, z_fn).call(this);
    };
    ```

- Fix an obscure bug with lowering class members with computed property
keys

When class members that use newer syntax features are transformed for
older target environments, they sometimes need to be relocated. However,
care must be taken to not reorder any side effects caused by computed
property keys. For example, the following code must evaluate `a()` then
`b()` then `c()`:

    ```js
    class Foo {
      [a()]() {}
      [b()];
      static { c() }
    }
    ```

Previously esbuild did this by shifting the computed property key
*forward* to the next spot in the evaluation order. Classes evaluate all
computed keys first and then all static class elements, so if the last
computed key needs to be shifted, esbuild previously inserted a static
block at start of the class body, ensuring it came before all other
static class elements:

    ```js
    var _a;
    class Foo {
      constructor() {
        __publicField(this, _a);
      }
      static {
        _a = b();
      }
      [a()]() {
      }
      static {
        c();
      }
    }
    ```

However, this could cause esbuild to accidentally generate a syntax
error if the computed property key contains code that isn't allowed in a
static block, such as an `await` expression. With this release, esbuild
fixes this problem by shifting the computed property key *backward* to
the previous spot in the evaluation order instead, which may push it
into the `extends` clause or even before the class itself:

    ```js
    // Original code
    class Foo {
      [a()]() {}
      [await b()];
      static { c() }
    }

    // Old output (with --supported:class-field=false)
    var _a;
    class Foo {
      constructor() {
        __publicField(this, _a);
      }
      static {
        _a = await b();
      }
      [a()]() {
      }
      static {
        c();
      }
    }

    // New output (with --supported:class-field=false)
    var _a, _b;
    class Foo {
      constructor() {
        __publicField(this, _a);
      }
      [(_b = a(), _a = await b(), _b)]() {
      }
      static {
        c();
      }
    }
    ```

-   Fix some `--keep-names` edge cases

The [`NamedEvaluation` syntax-directed
operation](https://tc39.es/ecma262/#sec-runtime-semantics-namedevaluation)
in the JavaScript specification gives certain anonymous expressions a
`name` property depending on where they are in the syntax tree. For
example, the following initializers convey a `name` value:

    ```js
    var foo = function() {}
    var bar = class {}
    console.log(foo.name, bar.name)
    ```

When you enable esbuild's `--keep-names` setting, esbuild generates
additional code to represent this `NamedEvaluation` operation so that
the value of the `name` property persists even when the identifiers are
renamed (e.g. due to minification).

However, I recently learned that esbuild's implementation of
`NamedEvaluation` is missing a few cases. Specifically esbuild was
missing property definitions, class initializers, logical-assignment
operators. These cases should now all be handled:

    ```js
    var obj = { foo: function() {} }
    class Foo0 { foo = function() {} }
    class Foo1 { static foo = function() {} }
    class Foo2 { accessor foo = function() {} }
    class Foo3 { static accessor foo = function() {} }
    foo ||= function() {}
    foo &&= function() {}
    foo ??= function() {}
    ```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **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](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-12 19:32:13 +00:00
Boshen
a7940868c6
Release oxlint and vscode extension v0.3.2 2024-05-04 21:08:49 +08:00
Boshen
99d46f9e48
Release oxlint and vscode extension v0.3.1 2024-04-22 16:00:17 +08:00
Boshen
b29aabd6f1
Release oxlint and vscode extension v0.3.0 2024-04-22 12:57:38 +08:00
Boshen
04f5fc0186
Release oxlint and vscode extension v0.2.18 2024-04-19 16:51:40 +08:00
Boshen
df11d10a22
Release oxlint and vscode extension v0.2.17 2024-04-11 16:27:56 +08:00
Boshen
7066d55153
Release oxlint and vscode extension v0.2.16 2024-04-08 11:03:41 +08:00
renovate[bot]
1847329b43
chore(deps): lock file maintenance vscode npm packages (#2914) 2024-04-08 10:27:00 +08:00
Boshen
e7307ed23c
Release oxlint and vscode extension v0.2.15 2024-03-30 13:34:38 +08:00
Boshen
b1343d7bcb
Release oxlint and vscode extension v0.2.14 2024-03-18 12:47:53 +08:00
Boshen
f94c9596e9
Release oxlint and vscode extension v0.2.13 2024-03-05 15:54:25 +08:00
Boshen
ab13504612
Release oxlint and vscode extension v0.2.12 2024-02-28 18:39:55 +08:00
Boshen
a0f23baea7
Release oxlint and vscode extension v0.2.11 2024-02-26 18:41:04 +08:00
Boshen
30392c96e8
Release oxlint and vscode extension v0.2.10 2024-02-21 18:10:37 +08:00
Boshen
0fd945fdad
chore: fix publish to open vsx 2024-02-18 17:33:59 +08:00
Boshen
4cd5f1a05e
Release oxlint and vscode extension v0.2.9 2024-02-18 16:55:59 +08:00
Boshen
3b7dfb9bd1
Release oxlint and vscode extension v0.2.8 2024-02-06 15:57:00 +08:00
Boshen
52e32449b3
Release oxlint and vscode extension v0.2.7 2024-02-03 21:21:23 +08:00
renovate[bot]
55e33befc6
chore(deps): update vscode (#2192) 2024-01-29 11:40:14 +08:00
Boshen
1b5bbb954c
Release oxlint and vscode extension v0.2.6 2024-01-26 22:35:35 +08:00
Julien Tanay
d5b378a891
feat(vscode): allow config path configuration (#2172)
Fixes #1944
2024-01-26 10:49:25 +08:00
Boshen
8ca1812ad1
Release oxlint and vscode extension v0.2.5 2024-01-25 17:17:59 +08:00
Boshen
3d184d56a8
deps: bump 2024-01-24 15:08:47 +08:00
Boshen
fb6eeef0a1
deps(vscode): bump deps 2024-01-24 11:25:18 +08:00
Boshen
2406e94c0d
Release oxlint and vscode extension v0.2.4 2024-01-23 19:30:09 +08:00
renovate[bot]
0f9b9a814e
chore(deps): update vscode (#2142) 2024-01-23 16:10:59 +08:00
Boshen
518bc0d7c1
Release oxlint and vscode extension v0.2.3 2024-01-23 12:38:11 +08:00
Boshen
2fdfc4cf1a
Release oxlint and vscode extension v0.2.2 2024-01-20 23:04:47 +08:00
Boshen
b0d662f266
Release oxlint and vscode extension v0.2.1 2024-01-16 19:41:45 +08:00
Boshen
e621e9b843
Release oxlint and vscode extension v0.2.0 2024-01-12 22:29:25 +08:00
IWANABETHATGUY
fe48bfae0c
feat(lsp): support vue, astro and svelte (#1923)
![image](https://github.com/oxc-project/oxc/assets/17974631/7d49b2a7-b587-45a9-8736-875a2e60f06e)
Closed https://github.com/oxc-project/oxc/issues/1915
2024-01-08 11:38:25 +08:00
Boshen
4a9e0c4bf4
Release oxlint and vscode extension v0.1.2 2024-01-07 00:55:21 +08:00
Boshen
821cc8e9c7
Release oxlint and vscode extension v0.1.1 2024-01-06 19:23:50 +08:00
Boshen
ff0d0e053a
fix(vscode): change all names to oxc_language_server 2024-01-06 19:23:08 +08:00
Boshen
3a6d986b05
Release oxlint and vscode extension v0.1.0 2024-01-06 16:44:31 +08:00
IWANABETHATGUY
56e620b1bb
chore(lsp): normalize the lsp naming (#1873)
1. Fallback logic about `document/didChangeConfiguration`
2. normalize vscode naming
3. change `configuration` section name from `oxc-client` to
`oxc_langauge_server`.
2024-01-03 11:48:18 +08:00
IWANABETHATGUY
de2f834774
chore: rename crate oxc_vscode to oxc_language_server (#1825)
1. Closed https://github.com/oxc-project/oxc/issues/1821
2023-12-26 23:01:12 +08:00
Boshen
a1accdca7f
Release oxlint and vscode extension v0.0.22 2023-12-25 13:12:07 +08:00
Boshen
57b7fb67c5
Release oxlint and vscode extension v0.0.21 2023-12-18 17:18:36 +08:00
IWANABETHATGUY
e529b38e32
feat: add option to control enable/disable oxc linter (#1665)
1. Closed https://github.com/oxc-project/oxc/issues/1655
2023-12-14 12:45:34 +08:00
IWANABETHATGUY
7594a9d10f
chore: format typescript and json file in editors/vscode (#1667)
1. just format, nothing else
2023-12-14 02:01:24 +08:00
Boshen
31600ac8de
Release oxlint and vscode extension v0.0.20 2023-12-13 13:37:06 +08:00
IWANABETHATGUY
e63576d03c
feat(vscode): add a option to control oxc lint timing (#1659)
1. Closed https://github.com/oxc-project/oxc/issues/1653
2. Now you use `oxc-client.run` to control the lint timing.


[录屏 2023年12月12日
23时39分16秒.webm](https://github.com/oxc-project/oxc/assets/17974631/123326dc-6110-4f2e-9d48-ef1a3b0a4536)
2023-12-13 11:40:39 +08:00
Boshen
e2d5763d22
fix(vscode): fix the broken package path 2023-12-08 21:19:00 +08:00
Boshen
19e9f6a3a3
chore(vscode): use a smaller file for icon 2023-12-08 21:05:56 +08:00
Boshen
130a8f2b11
deps(vscode): bump dependencies 2023-12-08 21:04:47 +08:00
Boshen
71926a3853
Release oxlint and vscode extension v0.0.19 2023-12-08 18:28:57 +08:00
IWANABETHATGUY
9897cab220
chore(vscode): improve dx (#1528) 2023-11-24 15:05:27 +08:00
Boshen
f6a5d0e276
Release oxlint and vscode extension v0.0.18 2023-11-22 14:40:00 +08:00
Boshen
eca98cf2ed
s/web-infra-dev/oxc-project 2023-11-10 14:30:18 +08:00
Boshen
e4c097bb91
chore: mv dir editor/vscode to editors/vscode (#1203) 2023-11-09 21:13:11 +08:00
Renamed from editor/vscode/package.json (Browse further)