Skip to content

v4.1.1

Choose a tag to compare

@smysnk smysnk released this 20 Feb 04:35
· 14 commits to master since this release

Changed

  • Replaced ESLint with Biome as the linting stack.
  • Updated CI to run npm test on Node 16/18 with modern GitHub Actions versions.
  • Kept gulp pinned at 4.0.2 and applied targeted dependency overrides to reduce transitive risk.
  • Made reference hash calculation deterministic by sorting hash inputs before digesting.
  • Fixed recursive hash traversal stack handling to avoid order-dependent cycle behavior.
  • Updated reference replacement logic to preserve original filenames when targets are configured not to be renamed.

Fixed

  • Fixed extensionless TypeScript references not being rewritten (./module where target is .ts).
  • Fixed non-deterministic revision hashes caused by unordered reference iteration.
  • Fixed incorrect hashed .html target rewrites when dontRenameFile is enabled for HTML.

Added

  • Added Biome configuration (biome.json).
  • Added regression tests for:
    • deterministic hash regardless of child-reference key order,
    • preserving unhashed references for files excluded by dontRenameFile,
    • rewriting extensionless TypeScript imports.
  • Added TypeScript fixture files for extensionless import coverage:
    • test/fixtures/config1/script/app-typescript.ts
    • test/fixtures/config1/script/short-ts-only.ts
    • test/fixtures/config1/script/short-ts-duplicate-only.ts

Removed

  • Removed ESLint config stack (eslint.config.js and related ESLint dependencies).