summaryrefslogtreecommitdiff
path: root/std/node
AgeCommit message (Collapse)Author
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-29test(std/node): fix `assertStats` if atime, mtime or birthtime are null (#9311)Liam Murphy
2021-01-26fix(std/node): Stop callbacks being called twice when callback throws error ↵Liam Murphy
(#8867)
2021-01-25feat(std/node): Add support for process.on("exit") (#8940)Steven Guerrero
This commit adds support for process.on("exit") by appending a listener to the unload event. Luckily, unload works pretty much the same as on("exit") since it won't schedule any additional work in the even loop either. This commit also solves an error in the Node implementation, since "process.argv" didn't contained the main module route as it was supposed to.
2021-01-24fix(std/node): replace uses of `window` with `globalThis` (#9237)Liam Murphy
2021-01-18test(std/node): ensure process.env case doesn't rely on unset variables (#9144)Casper Beyer
2021-01-18test(std/node): avoid project directories for cwd case (#9148)Casper Beyer
2021-01-17chore: Enforce ban-untagged-todo lint rule (#9135)Bartek Iwańczuk
2021-01-10update copyright to 2021 (#9081)Ryan Dahl
2021-01-06fix(std/node): resolve files in symlinked directories (#8840)Liam Murphy
2020-12-29chore(std/node/fs): Remove unnecessary try-catch (#8908)Yuki Tanaka
2020-12-28feat(std/node): adds fs.mkdtemp & fs.mkdtempSync (#8604)Louis-Philippe Perron
2020-12-15feat(std/node): Added os.type (#8591)MVEMCJSUNPE
2020-12-11chore: fixed various misspellings and other typos (#8691)Anh Hong
2020-12-05feat(std/node): Add "setImmediate" and "clearImmediate" to global scope (#8566)Liam Murphy
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2020-11-27fix(std/node): Inline default objects to ensure correct prototype (#8513)Guy Bedford
2020-11-26feat(std/node/stream): Add Duplex, Transform, Passthrough, pipeline, ↵Steven Guerrero
finished and promises (#7940)
2020-11-24feat(std/node): Port most of node errors (#7934)Steven Guerrero
2020-11-24feat(cli): update to TypeScript 4.1 (#7573)Kitson Kelly
2020-11-21feat(std/node): Add Readable Stream / Writable Stream / errors support (#7569)Steven Guerrero
2020-11-19feat(std/node): add os.totalmem, os.freemem (#8317)Gyubong
2020-11-19fix(std/node): correct typings for global, globalThis, window (#8363)Steven Guerrero
2020-11-17fix(std/node) Fix event extendability (#8409)Steven Guerrero
2020-11-16feat(std/node): Add util.deprecate (#8407)Steven Guerrero
2020-11-16feat(std/node): implement process.nextTick (#8386)Steven Guerrero
2020-11-14build: update dlint to v0.2.10 (#8284)Yusuke Tanaka
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics for "require-await" rule. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-14refactor(std): add std/_util/os.ts module (#8370)Behnam Mohammadi
This commit adds "std/_util/os.ts" module which contains common os detection logic and is browser compatible. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-11-09feat(std/node): consistent Node.js builtin shapes (#8274)Guy Bedford
2020-11-07fix(std/node): only define Node.js globals when loading std/node/global (#8281)Guy Bedford
2020-11-06docs(std/node/util): add missing JSdoc (#7806)Hanseo Jo
Refs #7487
2020-11-06docs(std/node/url): Added JSDocs for std/node/url (#7805)Bhumij Gupta
2020-11-04docs(std/node/querystring): add missing JSDoc (#8242)ayntee
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-11-02feat(std/node/fs): add realpath and realpathSync (#8169)X
2020-10-29feat(std/node/crypto): randomBytes and pbkdf2 (#8191)Steven Guerrero
* crypto * Other thing * Test for pdkdf2 * Add randomBytes * Refactor pbkdf2 * Lint and format
2020-10-26rename(std/testing): rename assert*Contains to assert*Includes (#7951)Tim Reichen
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes
2020-10-26fix(std/node): Buffer.copy doesn't work as expected (#8125)Steven Guerrero
2020-10-22upgrade: deno_doc, deno_lint, dprint, swc (#8077)Bartek Iwańczuk
- deno_doc 0.1.13 - deno_lint 0.2.5 - dprint-plugin-typescript 0.32.6 - swc_bundler 0.12.0 - swc_ecmascript 0.11.1
2020-10-14feat(std/fs/node): adding some functions (#7921)ali ahmed
2020-10-13fix(std/encoding): base64 properly encodes mbc and handles Uint8Arrays (#7807)timonson
Fixes #6094 Fixes #4794
2020-10-10Revert "feat(std/node/fs): adding readdir, rename, and some others (#7666)" ↵Bartek Iwańczuk
(#7917) This reverts commit 40324ff74816a99ea061929ece1c6a4ff3078bc3.
2020-10-06feat(std/node/fs): adding readdir, rename, and some others (#7666)ali ahmed
2020-10-06fix(std/node/fs): allow appendFileSync to accept Uint8Array as type for data ↵ali ahmed
(#7835)
2020-10-04docs(std): version all imports in README (#7442)tokiedokie
Use $STD_VERSION in std/ README files to automatically display proper version.
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-22feat(std/node): implement getSystemErrorName() (#7624)Schwarzkopf Balázs
2020-09-21chore: add copyright (#7593)tokiedokie
2020-09-18fix(cli/console): always quote and escape inspected strings (#7546)Casper Beyer
2020-09-17feat(std/node) stub out process.stdin, stdout, stderr (#7184)Jarrett Helton
2020-09-15refactor(cli/tests): change std_path to root_path in std_tests() (#7438)tokiedokie