Thomas Chetwin

Results 7 issues of Thomas Chetwin

This PR: - updates ast-types to tolerate the final ESTree [ES2022 class-features specification](https://github.com/estree/estree/blob/master/es2022.md#classes) - extends the existing `validateECMAScript` test function to also verify parsing with `@babel/parser` and `acorn` - adds...

The lack of `.id` in an `export` ClassDeclaration causes a throw in scope analysis: https://runkit.com/embed/rz8r6io0kclh (compares with and without providing a name) The throw originates from: https://github.com/benjamn/ast-types/blob/a7eaba5ecc79a58acb469cbbf9fe7603cec9f57e/lib/scope.js#L240 I suspect the...

The [class static blocks proposal](https://github.com/tc39/proposal-class-static-block) introduces a new lexical scope nested within a `class` body: ```ts class C { static { throw new Error("foo"); } } ``` `[email protected]` has implemented...

Fixes #32 https://node.green indicates that we can use #private instance fields with the required node >= 12.20 engine. typedoc@beta is required in conjunction with [email protected]

### WIP https://github.com/bloomberg/pasta-sourcemaps/compare/master...tchetwin:pasta-esm ### Breaking - [X] Drop node 8 & 10 support - [x] eslint@7 - [x] @typescript-eslint/*@3 [source](https://github.com/typescript-eslint/typescript-eslint/releases/tag/v3.0.0) (although it's fine so far) - [X] [Package entry points](https://nodejs.org/docs/latest-v12.x/api/esm.html#esm_package_entry_points)...

Things are looking very healthy for when this is ready for Stage advancement: ### Implementations * [x] Chrome (121): https://chromestatus.com/feature/5069575759069184 * [x] Firefox (115): https://bugzilla.mozilla.org/show_bug.cgi?id=1795816 * [x] Safari (16.4): https://webkit.org/blog/13966/webkit-features-in-safari-16-4/#javascript-and-webassembly...