Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-14 | Node polyfill for fs.chown and fs.close (#4377) | Chris Knight | |
2020-03-14 | BREAKING CHANGE FileInfo.len renamed to FileName.size (#4338) | dubiousjim | |
2020-03-14 | feat: add chmod Node polyfill and related file system constants (#4358) | Chris Knight | |
2020-03-14 | Add node querystring polyfill (#4370) | crowlKats | |
2020-03-14 | doc(http/server): Add coherence to the docs (#4372) | Lucas De Angelis | |
Functions that returns a server are now documented with "Create", and functions that launches one are documented with "Start". Also added documentation for listenAndServe that respects these changes. Fixes #4367 | |||
2020-03-13 | fix(std): Use Deno.errors where possible. (#4356) | Oliver Lenehan | |
2020-03-12 | fix: 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-10 | doc(cli/flags): Reduce empty lines in help messages (#4312) | Nayeem Rahman | |
2020-03-10 | feat (std/encoding): add binary module (#4274) | Oliver Lenehan | |
2020-03-10 | refactor(cli/js/net): Cleanup iterable APIs (#4236) | Nayeem Rahman | |
Listener and UDPConn are AsyncIterables instead of AsyncIterators. The [Symbol.asyncIterator]()s are defined as generators and the next() methods are gone. "Listener/Socket has been closed" errors are now BadResource. | |||
2020-03-10 | refactor: Cleanup options object parameters (#4296) | Nayeem Rahman | |
2020-03-09 | test: add actual error class to fail message (#4305) | Chris Knight | |
2020-03-08 | feat(std/node) add appendFile and appendFileSync (#4294) | Chris Knight | |
2020-03-08 | reorg: move JS ops implementations to cli/js/ops/, part 1 (#4264) | Bartek Iwańczuk | |
Following JS ops were moved to separate files in cli/js/ops directory: - compiler - dispatch_json - dispatch_minimal - errors - fetch - fs_events - os - random - repl - resources - runtime_compiler - runtime - tty | |||
2020-03-08 | Improvements to std/flags. (#4279) | Kitson Kelly | |
Adds JSDoc to module, improves the typing of the return type, uses iteration instead of Array forEach, uses the dotall support in Regular Expression which is now supported in JavaScript, uses destructuring and nullish coalescing where appropriate. | |||
2020-03-07 | Update manual to reflect newer test running (#4278) | Harry Wolff | |
This updates this example code to follow the new test running conventions. The code as is, when ran produces the following output: ``` ➜ dencro git:(master) ✗ deno test Compile file:///Users/hswolff/Sites/dencro/test.ts running 2 tests OK oneTest (2.00ms) OK t2 (0.00ms) test result: OK 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out (2.00ms) running 2 tests OK oneTest (0.00ms) OK t2 (0.00ms) test result: OK 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out (0.00ms) ➜ dencro git:(master) ✗ ``` Removing `await Deno.runTests();` just causes the tests to run once. | |||
2020-03-06 | doc: Update manual with suggestions for when cargo isn't building properly ↵ | Chris Knight | |
(#4252) | |||
2020-03-06 | Rename readDir -> readdir (#4225) | dubiousjim | |
2020-03-05 | Document TypeScript compiler options (#4241) | Ryan Dahl | |
2020-03-04 | Use discord instead of gitter (#4253) | Ryan Dahl | |
2020-03-03 | feat(std/node): add directory classes (#4087) | Chris Knight | |
2020-03-01 | feat(std/node): add os.tmpdir() implementation (#4213) | ecyrbe | |
2020-02-28 | [std/ws] provide default close code for ws.close() (#4172) | Yusuke Sakurai | |
2020-02-27 | reduce unnecessary output on tests (#4148) | Yusuke Sakurai | |
2020-02-26 | refactor(std/http): move io functions to http/io.ts (#4126) | Yusuke Sakurai | |
2020-02-25 | upgrade: TypeScript 3.8 (#4100) | Kitson Kelly | |
2020-02-24 | fix: [http] Consume unread body and trailers before reading next request (#3990) | Yusuke Sakurai | |
- Added `ServerRequest.finalize()`: consuming all unread body stream and trailers. - This is cleanup method for reading next request from same keep-alive connection. - Needed when handler didn't consume all body and trailers even after responding. - refactor: `ServerRequest._bodyStream()`, `ServerRequestBody` are removed. - Now using `bodyReader()` and `chunkedBodyReader()` instead. - fix: Trailers should only be read `transfer-encoding` is `chunked` and `trailer` header is set and its value is valid. - fix: use `Headers.append()` on reading trailers. - fix: delete `trailer` field from headers after reading trailers. - reorg: Several functions related to IO are moved into `http/io.ts` | |||
2020-02-24 | Remove ansi_term dependency (#4116) | João Souto | |
2020-02-24 | Revert "Remove ansi_term dependency" | Ryan Dahl | |
Broke colors https://github.com/denoland/deno/issues/4112#issuecomment-590545385 This reverts commit c250778704a4e0065e54e6bf6ca6c39d556a6d8d. | |||
2020-02-24 | fix: createSecKey logic (#4063) | Suguru Motegi | |
2020-02-24 | rename Deno.Err -> Deno.errors (#4093) | Bartek Iwańczuk | |
2020-02-24 | doc: Remove old link to deno types output (#4111) | Nayeem Rahman | |
2020-02-24 | disable std/examples/chat tests for windows (#4109) | Bartek Iwańczuk | |
2020-02-24 | update build instructions for windows (#4027) | Matthew Lennon | |
2020-02-24 | Remove ansi_term dependency (#4106) | João Souto | |
2020-02-24 | Add missing node os.release() implementation (#4065) | ecyrbe | |
2020-02-24 | fix(std/examples): add tests for examples (#4094) | uki00a | |
2020-02-24 | fix: chat example's content-security-policy (#4091) | Yusuke Sakurai | |
2020-02-23 | feat(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-23 | fix: [ws] sock shouldn't throw eof error when failed to read frame (#4083) | Yusuke Sakurai | |
2020-02-22 | Added browser chat example (#4022) | Yusuke Sakurai | |
2020-02-22 | feat(std/node): add os.loadavg() (#4075) | ecyrbe | |
2020-02-22 | Fix example (#4076) | jigsaw | |
2020-02-21 | feat: Deno.fsEvents() (#3452) | Bartek Iwańczuk | |
2020-02-21 | feat(std/node) : add os.platform (#4064) | ecyrbe | |
2020-02-21 | refactor: remove unneeded ErrorKinds (#3936) | Bartek Iwańczuk | |
2020-02-20 | /std/ws: Fix args index for WS examples (#4046) | Clemens Tolboom | |
2020-02-19 | Enable TS strict mode by default (#3899) | Maximilien Mellen | |
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2020-02-19 | Support loading additional TS lib files (#3863) | Kitson Kelly | |
Fixes #3726 This PR provides support for referencing other lib files (like lib.dom.d.ts that are not used by default in Deno. | |||
2020-02-17 | feat(std/io): Export readDelim(), readStringDelim() and readLines() from ↵ | Nayeem Rahman | |
bufio.ts (#4019) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |