Skip to content

Modernize tn1150 for Node.js 24 - #1

Merged
jozefizso merged 3 commits into
mainfrom
nodejs24-tn1150-modernization
Apr 30, 2026
Merged

jozefizso merged 3 commits into
mainfrom
nodejs24-tn1150-modernization

Conversation

@jozefizso

Copy link
Copy Markdown
Member

Summary

  • keep the TN1150 comparison package because compare() carries the HFS Plus ordering table used by appdmg metadata
  • rename the package to @appdmg/tn1150 and prepare 1.0.0 metadata for Node.js >=24
  • remove the unorm runtime dependency and implement normalize() with Node's built-in String.prototype.normalize('NFD')
  • replace Mocha/Standard with AVA tests that cover comparison behavior and representative normalization cases
  • add TypeScript declarations and a package lockfile

Verification

  • npm ci
  • npm test
  • npm audit --audit-level=moderate
  • npm ls --omit=dev --all
  • npm pack --dry-run
  • node --check index.js
  • node --check test.js

Refs appdmg/appdmg-cli#5

@jozefizso
jozefizso merged commit be61d36 into main Apr 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant