-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
fs: fix write methods param validation and docs #41677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1c15fcd
fs: make promises/write and writeSync params optional
LiviaMedeiros fe6a9ea
squash: add tests for filehandle.write and fs.writeSync
LiviaMedeiros e93fd9c
squash: add test cases for stringable objects
LiviaMedeiros 1358d5f
squash: add test cases for fs.write
LiviaMedeiros b3d04aa
squash: adjust default length value
LiviaMedeiros 720ef24
squash: harden string validation in `fh.writeFile` and `fh.appendFile`
LiviaMedeiros ac6f1df
squash: remove unused optional chaining
LiviaMedeiros da8086f
squash: add changelog entry for `filehandle.appendFile`
LiviaMedeiros a283264
squash: remove redundant changelog entries
LiviaMedeiros f3b05dd
squash: remove redundant changelog entry
LiviaMedeiros bbf49e7
squash: annihilate changelog entries
LiviaMedeiros 037561c
squash: remove redundant changelog entry
LiviaMedeiros 847749f
squash: remove "named params" support
LiviaMedeiros a702039
squash: fix docs for `fsPromises.writeFile`
LiviaMedeiros File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.