oxc/tasks
overlookmotel e76fbb0721 fix(transformer/class-properties): fix symbol clashes in instance prop initializers (#7872)
Instance property initializers are moved into constructor. If symbols they reference are shadowed within constructor, rename those symbols.

Input:

```js
class C {
  prop = foo();
  constructor(foo) {
    console.log(foo);
  }
}
```

Output:

```js
class C {
  constructor(_foo) { // <-- renamed
    this.prop = foo(); // <-- moved into constructor
    console.log(_foo); // <-- renamed
  }
}
```
2024-12-15 01:53:12 +00:00
..
ast_tools refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
benchmark feat(sourcemap): move oxc_sourcemap to github.com/oxc-project/oxc-sourcemap (#7604) 2024-12-03 11:59:43 +00:00
common chore(doc): replace main/master to tag/commit to make the url always accessible (#7298) 2024-11-16 21:00:30 +08:00
compat_data refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
coverage refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
javascript_globals feat(linter)!: sync sindresorhus/globals; removed Object.prototype properties from builtin and es* globals (#6991) 2024-10-29 04:13:20 +00:00
lint_rules refactor(tasks/lint_rules): detect typescript alias from mod.rs file (#7891) 2024-12-15 00:14:15 +08:00
minsize test(minifier): reformat minsize table (#7678) 2024-12-05 12:16:29 +00:00
prettier_conformance style(rust): cargo +nightly fmt (#7877) 2024-12-14 06:03:31 +00:00
rulegen feat(linter)!: remove unmaintained security plugin (#7773) 2024-12-10 14:29:22 +00:00
transform_checker refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
transform_conformance fix(transformer/class-properties): fix symbol clashes in instance prop initializers (#7872) 2024-12-15 01:53:12 +00:00
website feat(linter)!: remove unmaintained security plugin (#7773) 2024-12-10 14:29:22 +00:00