summaryrefslogtreecommitdiff
path: root/std/node
AgeCommit message (Collapse)Author
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-19fix: stack traces for modules imported via std/node's require (#4035)Nikolai Vavilov
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-16test: Fix broken test and remove redundant test file (#4390)Chris Knight
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-14Add node querystring polyfill (#4370)crowlKats
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
2020-03-06Rename readDir -> readdir (#4225)dubiousjim
2020-03-03feat(std/node): add directory classes (#4087)Chris Knight
2020-03-01feat(std/node): add os.tmpdir() implementation (#4213)ecyrbe
2020-02-24rename Deno.Err -> Deno.errors (#4093)Bartek Iwańczuk
2020-02-24Add missing node os.release() implementation (#4065)ecyrbe
2020-02-23feat(std/node): add os Symbol.toPrimitive methods (#4073)Ben Noordhuis
Node's os module exports a number of methods that evaluate to themselves when coerced to a primitive. I.e., `"" + os.arch` and `os.arch()` evaluate to the same string, and now Deno's shims do too.
2020-02-22feat(std/node): add os.loadavg() (#4075)ecyrbe
2020-02-21feat(std/node) : add os.platform (#4064)ecyrbe
2020-02-21refactor: remove unneeded ErrorKinds (#3936)Bartek Iwańczuk
2020-02-19Enable TS strict mode by default (#3899)Maximilien Mellen
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-02-17feat: Asynchronous event iteration node polyfill (#4016)Chris Knight
2020-02-11feat(node): add EventEmitter.errorMonitor (#3960)Chris Knight
2020-02-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2020-02-11fix(std/node): support named import for EventEmitter (#3959)uki00a
2020-02-10feat: Event emitter node polyfill (#3944)Chris Knight
2020-02-10Add readlink, readlinkSync for std/node/fs.ts (#3926)Benny Shi
2020-01-30feat(std/node) Endianness (#3833)Chris Knight
2020-01-29Partial implementation of node os polyfill based on currently available Deno ↵cknight
functionality (#3821)
2020-01-25add some tests for isSymbol in std/node/util_test (#3788)Takashi Idobe
2020-01-15feat(std/node): Added node timers builtin (#3634)Luca Casonato
2019-12-15std/node: better error message for read perm in require() (#3502)Kevin (Kun) "Kassimo" Qian
2019-11-19std/node: add some Node.js polyfill to require() (#3382)Kevin (Kun) "Kassimo" Qian
2019-11-19feat(std/node) add CommonJS require (#3380)Kevin (Kun) "Kassimo" Qian
2019-11-18feat: std/node/process (#3368)Rafał Pocztarski
2019-11-14Turn on TS strict mode for deno_typescript (#3330)Ry Dahl
2019-11-12feat: std/node (#3319)Vincent LE GOFF
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