summaryrefslogtreecommitdiff
path: root/std/node/_fs
AgeCommit message (Collapse)Author
2020-06-27feat(std/node): support hex/base64 encoding in fs.readFile/fs.writeFile (#6512)Marcos Casagrande
2020-06-23fix(std/node): fix readFile types, add encoding types (#6451)Benjamin Lupton
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-07refactor(std): remove testing dependencies from non-test code (#5838)Chris Knight
2020-06-06feat(std/node): Buffer (#5925)Nikolai Vavilov
2020-05-28feat(std/node): add link/linkSync polyfill (#5930)Chris Knight
2020-05-25Fix typo (#5834)Rares Folea
2020-05-22std/node: fs.writeFile/sync path can now be an URL (#5652)Marcos Casagrande
2020-05-22re-enable symlink tests on windows (#5746)Ali Hasani
2020-05-20Remove duplicate test (#5687)Marcos Casagrande
2020-05-20feat(std/node): Add fs.promises.readFile (#5656)Marcos Casagrande
2020-05-19fix(std/node) improve fs.close compatibility (#5649)Marcos Casagrande
2020-05-15feat(std/node): fs.writeFileSync polyfill (#5414)Marcos Casagrande
2020-05-14std/node fs.readFile should take string as option (#5316)Marcos Casagrande
2020-05-06Remove flaky and useless tests (#5116)Ryan Dahl
2020-05-04feat(std/node): fs.writefile / fs.promises.writeFile (#5054)Marcos Casagrande
2020-05-03[std/node] add the ability to path argument to be URL type (#5055)Ali Hasani
2020-04-29Cleanup std/node/fs functions (#5000)Marcos Casagrande
2020-04-29make camel case readDir, readLink, realPath (#4995)Ryan Dahl
2020-04-29BREAKING: Include limited metadata in 'DirEntry' objects (#4941)Bert Belder
This change is to prevent needed a separate stat syscall for each file when using readdir. For consistency, this PR also modifies std's `WalkEntry` interface to extend `DirEntry` with an additional `path` field.
2020-04-28BREAKING: Use LLVM target triple for Deno.build (#4948)Ryan Dahl
Deno.build.os values have changed to correspond to standard LLVM target triples "win" -> "windows" "mac" -> "darwin"
2020-04-28BREAKING: remove overload of Deno.test() (#4951)Bartek Iwańczuk
This commit removes overload of Deno.test() that accepted named function.
2020-04-27Rename FileInfo time fields and represent them as Date objects (#4932)Bert Belder
This patch also increases the resolution of reported file times to sub-millisecond precision.
2020-04-27bug fix and tests for std/node/fs/mkdir (#4917)Ali Hasani
2020-04-20Add no-async-promise-executor lint rule (#4809)Ali Hasani
2020-04-18fix(std): existsFile testBartek Iwańczuk
2020-04-16refactor: proper Node polyfill directory iteration now that Deno supports ↵Chris Knight
this (#4783)
2020-04-16refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (#4763)Nayeem Rahman
2020-04-12add copyFile & copyFileSync to std/node/fs (#4726)Ali Hasani
2020-04-09Fix build - 2becae broke CI (#4686)Ryan Dahl
2020-04-08feat(std/node): add fs.mkdir functions and fs.exists tests (#4660)Ali Hasani
2020-04-06Add exists and existsSync to std/node (#4655)Ali Hasani
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-20Add require-await lint rule (#4401)Samrith Shankar
2020-03-19refactor: rename Deno.TestDefinition.skip to ignore (#4400)Bartek Iwańczuk
2020-03-18feat: Deno.test() sanitizes ops and resources (#4399)Bartek Iwańczuk
This PR brings assertOps and assertResources sanitizers to Deno.test() API. assertOps checks that test doesn't leak async ops, ie. there are no unresolved promises originating from Deno APIs. Enabled by default, can be disabled using Deno.TestDefinition.disableOpSanitizer. assertResources checks that test doesn't leak resources, ie. all resources used in test are closed. For example; if a file is opened during a test case it must be explicitly closed before test case finishes. It's most useful for asynchronous generators. Enabled by default, can be disabled using Deno.TestDefinition.disableResourceSanitizer. We've used those sanitizers in internal runtime tests and it proved very useful in surfacing incorrect tests which resulted in interference between the tests. All tests have been sanitized. Closes #4208
2020-03-15refactor: move existing fs implementation to internal _fs directory (#4381)Chris Knight
2020-03-15refactor(std): Uncomment disabled tests, use skip option (#4378)Nayeem Rahman
2020-03-14Node polyfill for fs.chown and fs.close (#4377)Chris Knight
2020-03-14BREAKING CHANGE FileInfo.len renamed to FileName.size (#4338)dubiousjim
2020-03-14feat: add chmod Node polyfill and related file system constants (#4358)Chris Knight
2020-03-12fix: Node polyfill fsAppend rework (#4322)Chris Knight
* My original implementation of `fs.appendFile` used an async API, which, though it would work fine as a polyfill, wasn't an exact match with the Node API. This PR reworks that API to mimic the Node API fully as a synchronous void function with an async internal implementation. * Refactor move of other internal fs `dirent` and `dir` classes to the _fs internal directory.
2020-03-08feat(std/node) add appendFile and appendFileSync (#4294)Chris Knight
2019-10-09remove std submoduleRyan Dahl
2019-10-04Move deno_std to a more convenient location. (#3057)Ryan Dahl
js/deps/https/deno.land/std -> js/std