Skip to content

Add Os/Path/Url/Tls LTS constants and helpers - #204

Merged
kevinresol merged 2 commits into
HaxeFoundation:masterfrom
kevinresol:feat/os-path-url-tls
Jul 13, 2026
Merged

kevinresol merged 2 commits into
HaxeFoundation:masterfrom
kevinresol:feat/os-path-url-tls

Conversation

@kevinresol

Copy link
Copy Markdown
Contributor

Summary

  • Add missing Os APIs: availableParallelism(), machine(), version(), and devNull
  • Add Path.matchesGlob() (including posix/win32 PathModule) and Url.urlToHttpOptions() with UrlHttpOptions
  • Add Tls LTS surfaces: rootCertificates, DEFAULT_* cipher/version/curve constants, and getCACertificates()

Test plan

  • haxe build.hxml (Haxe 4.3.7)
  • haxe completion.hxml (Haxe 4.3.7)
  • Spot-check against Node.js docs for the added symbols

Made with Cursor

kevinresol and others added 2 commits July 13, 2026 22:22
Expose newer Node.js APIs: os.availableParallelism/machine/version/devNull,
path.matchesGlob, url.urlToHttpOptions, and tls root/default/CA helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
Also sync os.machine doc examples with the Node 24 LTS API docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kevinresol

Copy link
Copy Markdown
Contributor Author

ready to merge

@kevinresol
kevinresol merged commit 11a134e into HaxeFoundation:master Jul 13, 2026
@kevinresol
kevinresol deleted the feat/os-path-url-tls branch July 15, 2026 01:02
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