Audit fs/path/os/zlib for Node 24 and Haxe 4 - #224
Merged
Conversation
Add missing Node 24 fs/zlib APIs (openAsBlob, mkdtempDisposable*, Zstd), drop Haxe 3 conditionals in this section, and tighten Dynamic where possible. Co-authored-by: Cursor <cursoragent@cursor.com>
Add StatWatcher/Utf8Stream, Fs.promises, F_OK deprecations, glob URL cwd, FSWatcher ref/unref, Zlib options polish, and PathModule.toNamespacedPath. Co-authored-by: Cursor <cursoragent@cursor.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fs(+promises),path,os,zlib, and relatedsys/Sys/haxe.zipsurfaces.Fs.openAsBlob,Fs.promises,Fs.mkdtempDisposableSync,FsPromises.mkdtempDisposable,StatWatcher, experimentalUtf8Stream, Zstd compress/decompress (classes + convenience methods),Zlib.constants,Statsmillisecond fields, Promise overloads onDir.close/Dir.read,FSWatcher.ref/unref, and globcwdasString|URL.Fs.F_OK/R_OK/W_OK/X_OKas@:deprecatedin favor ofFs.constants.*.#if haxe4/haxe_vergates in this section (Haxe 4+ only) and tightensDynamicwhere safe (Fs.write/writeSyncstring overloads); remainingDynamicsites are markedTODO(section-2)/TODO(section-6).Remaining TODOs (inline)
Fs.promisesmodule value type (currentlyDynamic)realpath.native/realpathSync.nativefunction propertiesZlibConstants(currentlyDynamicAccess<Int>)Statsbigint nanosecond fields (atimeNsetc.)ErrnoExceptiontyping forsys/Syscatch sitesFileHandle.readableWebStream→ typedReadableStream(coord with section 6)Utf8StreamOptions.fsmock object typingTest plan
-D nodejs+allowPackage('sys'))haxe completion.hxmlsucceedsopenAsBlob,mkdtempDisposable*, Zstd,Utf8Stream)