summaryrefslogtreecommitdiff
path: root/std/encoding
AgeCommit message (Collapse)Author
2020-05-09BREAKING(std): reorganization (#5087)Nayeem Rahman
* Prepend underscores to private modules * Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result. * Move std/_util/async.ts to std/async * Move std/util/sha*.ts to std/hash
2020-04-28Move the docs like `@param [obj.prop]` to the interface. (#4974)David Sherret
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
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-01Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ ↵Ryan Dahl
(#4565) also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.
2020-03-31used native padStart/End where possible (#4537)Ondřej Žára
2020-03-30fix(std/encoding/csv): enable skipped tests (#4520)uki00a
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(std): Uncomment disabled tests, use skip option (#4378)Nayeem Rahman
2020-03-13fix(std): Use Deno.errors where possible. (#4356)Oliver Lenehan
2020-03-10feat (std/encoding): add binary module (#4274)Oliver Lenehan
2020-02-25upgrade: TypeScript 3.8 (#4100)Kitson Kelly
2020-02-24Remove ansi_term dependency (#4116)João Souto
2020-02-24Revert "Remove ansi_term dependency"Ryan Dahl
Broke colors https://github.com/denoland/deno/issues/4112#issuecomment-590545385 This reverts commit c250778704a4e0065e54e6bf6ca6c39d556a6d8d.
2020-02-24Remove ansi_term dependency (#4106)João Souto
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-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2020-02-08remove non-null assertion operator from std (part2) (#3927)Yusuke Sakurai
2020-02-07remove non-null assertion operator from std (part1) (#3900)Yusuke Sakurai
2020-02-03fix: Deno.remove() to properly remove dangling symlinks (#3860)Rafael Vargas
For some reason, the unit tests for Deno.remove() were not being imported to unit_tests.ts and, consequently, not being executed. Thus, I imported them, refactored some existent ones and wrote new ones for the symlink removal case. Since the creation of a symlink is not implemented for Windows yet, assertions that consider this state were added when the tests are executed in this OS.
2020-02-02std/encoding: add base32 support (#3855)Kevin (Kun) "Kassimo" Qian
2020-01-21change copyrights from 2019 to 2020 (#3733)Takashi Idobe
2020-01-18std(yaml): correct sortKeys type (#3708)Brandon Kalinowski
2020-01-04fix(std/encoding/yaml): export parseAll (#3592)uki00a
2020-01-02Happy new year! (#3578)Ry Dahl
2019-12-21fix(std/encoding/yaml): support document separator in parseAll (#3535)Yoshiya Hinosawa
2019-12-20feat: Add missing mod.ts files in std (#3509)Nayeem Rahman
std/archive/tar.ts: - Remove FileReader. - Remove FileWriter. std/encoding/csv.ts: - ExtendedParseOptions -> ParseOptions - HeaderOption -> HeaderOptions - ParseOptions -> ReadOptions - readAll() -> readMatrix() std/encoding/yaml.ts: - DumpOptions -> StringifyOptions std/fmt/colors.ts: - getEnabled() -> getColorEnabled() - setEnabled() -> setColorEnabled() std/testing/mod.ts: - Re-export sibling modules.
2019-12-20docs(std/encoding/yaml): add usage document (#3529)Yoshiya Hinosawa
2019-11-18feat: Add std/encoding/yaml module (#3361)Lilian Saget-Lethias
2019-11-13Update to TypeScript 3.7 (#3275)Kitson Kelly
and update to prettier 1.19 Also, update `assert()` and remove not null assertions where possibly in `cli`. Closes #3273
2019-10-16std: Move fs/path to the top-level (#3100)Nayeem Rahman
2019-10-09Run deno_std tests in github actionsRyan Dahl
2019-10-09Move everything into std subdirRyan Dahl