Skip to content

Releases: cyberuni/tersify

tersify@4.0.7

Choose a tag to compare

@github-actions github-actions released this 07 Sep 05:19
4813ffc

Patch Changes

  • ee7e6ac: Pin type-plus (a devDependency) to 8.0.0-beta.10, exactly.

    This is beta-to-beta (8.0.0-beta.8 -> 8.0.0-beta.10), not a range change. type-plus
    is used only in this package's own type tests during development — it is not a runtime
    or peer dependency, does not appear in dependencies, and does not leak into the
    published .d.ts files. Nothing changes for consumers: patch.

    The version is pinned rather than caret-ranged. ^8.0.0-beta.10 resolves to
    >=8.0.0-beta.10 <9.0.0-0, which admits every later 8.0.0 prerelease as well as 8.0.0
    and 8.1.0 — and 8 is a prerelease line where breaking changes land between betas. An
    exact version makes each bump a reviewable PR instead of something a lockfile refresh
    can do silently. Move back to a caret when 8.0.0 is stable.

    type-plus@8.0.0-beta.10 ships a cjs/package.json marker so require('type-plus')
    works again under its "type": "module" root — beta.8 lacked it. type-plus's own
    runtime dependency on tersify@^4.0.6 (this package's current published version) means
    no source change was needed here.

    pnpm-workspace.yaml also gains a first-party soak exemption: the 24h
    minimumReleaseAge soak exists to catch a compromised third-party release, not to delay
    our own reviewed publishes from reaching the next repo in this dependency chain.

tersify@4.0.6

Choose a tag to compare

@github-actions github-actions released this 01 Sep 16:10
b8f8995

Patch Changes

  • e33ca2a: Update unpartial to ^1.0.7.

tersify@4.0.5

Choose a tag to compare

@github-actions github-actions released this 01 Sep 03:02
29405ef

Patch Changes

  • b46f029: Replace the CJS-only is-buffer dependency with an inlined duck-typed check.

    is-buffer@2 ships only CommonJS, which broke consumers importing the ESM build in strict ESM environments. The check is three lines and has no Node dependency, so it now lives in src/isBuffer.ts and works in both Node and the browser. tersify no longer has is-buffer as a runtime dependency.

tersify@4.0.4

Choose a tag to compare

@github-actions github-actions released this 01 Sep 01:04
e26f401

Patch Changes

  • 453ba40: Fix circular dependency between tersify and tersifyFunction modules.

tersify@4.0.3

Choose a tag to compare

@github-actions github-actions released this 31 Aug 04:02
5a260e6

Patch Changes

  • 2bb4e84: Raise the minimum acorn version to 8.18.0.

tersify@4.0.2

Choose a tag to compare

@github-actions github-actions released this 24 Aug 03:04
cedaa15

Patch Changes

  • 0c11033: Point package metadata at cyberuni/tersifyrepository, homepage, bugs, and the
    issue URL printed when an unsupported node type is encountered. repository is read when
    generating provenance, so this has to ship before the first trusted-publishing release.

tersify@4.0.1

Choose a tag to compare

@unional unional released this 24 May 20:06

Patch Changes

  • ab6e5a8: Fix TS2742 "inferred type cannot be named" errors in generated declaration files.

tersify@4.0.0

Choose a tag to compare

@unional unional released this 17 Feb 09:01

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).

v3.12.1

Choose a tag to compare

@unional unional released this 12 Feb 03:28

Patch Changes

v3.12.0

Choose a tag to compare

@unional unional released this 12 Feb 02:23

Minor Changes

  • 15eddde: Supports SuperNode (Parent Class).

Patch Changes

  • b60caee: Print out source when detected unknown node