Skip to content

tersify@4.0.0

Choose a tag to compare

@unional unional released this 17 Feb 09:01
· 130 commits to main since this release

Major Changes

  • 2ec5a33: Update build targets ES2020.

    BREAKING CHANGE: The build targets now ES2020. Consumers in ES5-only environments, it's time to upgrade your runtime.

Minor Changes

  • 61b4d40: Add options.indent: 'tab' for tab indentation, or a number for that many spaces per level. Objects and arrays are formatted with newlines and the chosen indentation.
  • 3dc31e6: Switch build from tsc to tsdown; publish ESM as .mjs and CJS as .cjs with matching .d.mts/.d.cts types

Patch Changes

  • 454bb3d: Handle EmptyStatement.
  • f8c1b3c: Update dependencies (acorn, unpartial).