unstale

npm / @sveltejs/acorn-typescript

@sveltejs/acorn-typescript

What changed in @sveltejs/acorn-typescript 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-01.

20 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

@sveltejs/acorn-typescript 120 changes

Fixes and other changes 20

  • Assignment target AST nodes preserve TypeScript assertion wrappers.

    1.0.13release notes

  • Classes with const type parameters parse correctly.

    1.0.13release notes

  • Enum declarations are registered as local runtime bindings.

    1.0.13release notes

  • Parser state is restored and callback events from abandoned parse branches are discarded.

    1.0.13release notes

  • Keywords parse correctly when used as tuple labels.

    1.0.13release notes

  • Type arguments on decorators parse correctly.

    1.0.13release notes

  • Type arguments are disambiguated from greater-than operators during parsing.

    1.0.13release notes

  • Type predicates parse correctly when parameters are named asserts.

    1.0.13release notes

  • Keywords parse correctly when used as type references.

    1.0.13release notes

  • Adds parsing support for decorators on declared and declared abstract classes.

    1.0.12release notes

  • Preserves parameters in generic async arrow function AST nodes.

    1.0.12release notes

  • Decodes astral JSX numeric entities and ignores inherited entity table names.

    1.0.12release notes

  • Parses JSX spread children as JSXSpreadChild nodes.

    1.0.12release notes

  • Isolates namespace variable scopes.

    1.0.12release notes

  • Allows static auto-accessor class fields.

    1.0.12release notes

  • Parses TypeScript expressions beginning with < as yield arguments.

    1.0.12release notes

  • Fixes export validation for ambient declarations in dts.

    1.0.11release notes

  • Avoids emitting duplicate comments.

    1.0.11release notes

  • Fixes handling of const initializers in ambient contexts.

    1.0.11release notes

  • Allows the in operator inside parenthesized expressions in a for loop initializer.

    1.0.11release notes