summaryrefslogtreecommitdiff
path: root/std
AgeCommit message (Collapse)Author
2020-05-25fix(std/testing/asserts): Support browsers (#5847)Nayeem Rahman
2020-05-25Fix typo (#5834)Rares Folea
2020-05-24feat(std/encoding): add base64 (#5811)skdltmxn
2020-05-23refactor: remove duplicated code in std/node/module (#5778)Ali Hasani
2020-05-22std/node: fs.writeFile/sync path can now be an URL (#5652)Marcos Casagrande
2020-05-22v1.0.2Bartek Iwańczuk
2020-05-22re-enable symlink tests on windows (#5746)Ali Hasani
2020-05-21fix(std/http): file_server's target directory (#5695)moyinzi
2020-05-21feat(std/hash): add md5 (#5719)skdltmxn
2020-05-21Move std/fmt/sprintf.ts to std/fmt/printf.ts (#4567)Ryan Dahl
2020-05-20Remove duplicate test (#5687)Marcos Casagrande
2020-05-20v1.0.1Ryan Dahl
2020-05-20Provide required arguments to walk in example. (#5668)Hendrik
2020-05-20fix: compilation error introduced by #4543 (#5673)uki00a
2020-05-20feat(std/node): first pass at url module (#4700)Ali Hasani
2020-05-20feat(std/node) Export TextDecoder and TextEncoder from util (#5663)Garrone Joseph
2020-05-20fix(std/io): BufReader should not share the internal buffer across reads (#4543)uki00a
2020-05-20feat(std/bytes): add hasSuffix and contains functions, update docs (#4801)Ali Hasani
2020-05-20feat(std/fmt): rgb24 and bgRgb24 can use numbers for color (#5198)Oliver Lenehan
2020-05-20std/node: add util.callbackify (#5415)Evan Hahn
This adds [Node's `util.callbackify`][0] to `std/node/util.ts`. I lifted most of this from the [original Node source code][1] (and [its tests][2]). I tried to make minimal modifications to the source. I made a few arbitrary decisions: - I was unable to do the function's types elegantly. I made overloads for functions that have 0 to 5 (inclusive) arguments, excluding the callback. I would love to know a better way to do this. (It seems that the folks at DefinitelyTyped [were also stumped][3], though maybe their solution is deliberate.) - There are a few edge cases that cause custom Node errors to be produced. Instead of re-implementing those errors completely, I created simplified classes. These are mostly correct but are not identical to the real Node errors. - The tests implement a possibly-arcane `TestQueue` class. I originally used a lot of inline promises but found it too repetitive. Closes [#5366][4]. [0]: https://nodejs.org/api/util.html#util_util_callbackify_original [1]: https://github.com/nodejs/node/blob/47804933012841f2dc90626bdcc161adf34569a5/lib/util.js#L183-L226 [2]: https://github.com/nodejs/node/blob/47804933012841f2dc90626bdcc161adf34569a5/test/parallel/test-util-callbackify.js [3]: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/7d24857ddb07ab637dfa8c477d13352f8a8206fc/types/node/util.d.ts#L61-L84 [4]: https://github.com/denoland/deno/issues/5366
2020-05-20fix(std/log): await default logger setup (#5341)Marcos Casagrande
2020-05-20docs(std): fixed spelling mistake (#5662)Anil Seervi
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-19fix(multipart): fix error when parsing file name in utf8 format (#5428)zfx
2020-05-19Provide better ANSI colorized output when inspecting objects (#5404)Speykious
2020-05-19Implement Deno.symlink() for windows (#5533)Ali Hasani
2020-05-18Revert "Fix definition of URL constructor (#5521)" (#5564)Ryan Dahl
This reverts commit 63bc468365bceda929a39b5eb93b605e2dc2bd9c.
2020-05-18docs(std): Fix typo (#5582)pontakornth
2020-05-18fix(std/hash): SHA1 hash of Uint8Array (#5086)Andrey Trebler
2020-05-17Miscellaneous documentation and spelling improvements (#5527)Bert Belder
* Extended/updated documentation on code editor setup and plugins. * Moved documentation to the right file. * Fixed spelling errors in documentation and code. * Updated broken links. Co-authored-by: 迷渡 <justjavac@gmail.com> Co-authored-by: AlfieriChou <alfierichou@gmail.com> Co-authored-by: Anil Seervi <anil13112000@gmail.com Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com> Co-authored-by: József Sallai <jozsef@sallai.me> Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de> Co-authored-by: Tommy May <tommymay37@gmail.com> Co-authored-by: Turbinya <wownucleos@gmail.com> Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17Implement Deno.kill for windows (#5347)Ali Hasani
2020-05-17Fix definition of URL constructor (#5521)Masahiro Miyashiro (3846masa)
2020-05-17Improve moveSync jsdocA.E Clarence
2020-05-17docs(std): Fix default value in comment (#5539)Marcos Casagrande
2020-05-16Fix spelling: "--alow-write" => "--allow-write" (#5486)Akash Vishwakarma
2020-05-16Fixed Typo (#5495)Anil Seervi
2020-05-16docs(std): Fix spelling mistake on permission (#5476)domharrington
2020-05-16Fix a bunch of spelling errors (#5314)Bert Belder
2020-05-15improve chat example (#5474)ddaza
2020-05-15improve deferred test (#5459)Henry Zhuang
2020-05-15docs(std/fmt): Fix typo (#5315)Peter Indiola
2020-05-15refactor(fs): use every instead of reduce (#5323)Linus Unnebäck
The previous usage of `reduce` was basically implementing the `every` A small difference is that the new implementation will stop checking as soon as one element have returned false, which will reduce the number of unnecessary checks.
2020-05-15fix link (#5333)Claudio Cicali
Replaced with the current master version
2020-05-15fix: setTimeout and friends have too strict types (#5412)Tomasz Gałkowski
2020-05-15feat(std/node): fs.writeFileSync polyfill (#5414)Marcos Casagrande
2020-05-15fix(std/testing): Provide message and diff for assertStrictEq (#5417)Stéphane Klein
closes #5416
2020-05-15feat: add std/hash/fnv (#5403)skdltmxn
2020-05-15Fix typos (#5441)Anil Seervi
2020-05-15shorten example (#5448)Juan Julián Merelo Guervós