summaryrefslogtreecommitdiff
path: root/std/encoding
AgeCommit message (Collapse)Author
2020-09-21chore: add copyright (#7593)tokiedokie
2020-09-14fix typo miliseconds -> milliseconds (#7469)tasshi / Masaharu TASHIRO
2020-09-06test(std/encoding): make tests runnable from any directory (#7368)Casper Beyer
2020-08-28fix(std/encoding/toml): Comment after arrays causing incorrect output (#7224)Jakob Strobl
2020-08-27chore(std/encoding): disable `no-control-regex` (#7219)Yusuke Tanaka
2020-08-24feat: update to TypeScript 4.0 (#6514)Kitson Kelly
2020-08-17fix(std/encoding/toml): Stop TOML parser from detecting numbers in strings. ↵danielwippermann
(#7064) Before this patch the TOML parser would incorrect treat the string "base64data0xdamaged" in a declaration as a hex number because the corresponding check triggers even when the "0x" is inside a double quoted string literal as long as it is followed by at least one hex character.
2020-08-17fix(std/encoding/csv): improve error message on ParseError (#7057)uki00a
2020-08-03fix(std/encoding/toml): Add boolean support to stringify (#6941)Rauf Islam
2020-08-03fix(std/toml): parser error with inline comments (#6942)Jarrett Helton
2020-07-30docs(std/encoding): Fix TOML docs (#6912)Kid
2020-07-22BREAKING(std/fs): remove readFileStr and readFileStrSync (#6848)Casper Beyer
This removes the readFileStr and readFileStrSync functions which are effectively duplicates of Deno.readTextFile and Deno.readTextFileSync.
2020-07-16fix(std/encoding/toml): could not parse strings with apostrophes/semicolons ↵uki00a
(#6781)
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-14feat(std/encoding): add ascii85 module (#6711)Opliko
2020-07-09BREAKING(std/encoding/hex): simplify API (#6690)Marcos Casagrande
2020-07-08feat: add --no-check option (#6456)Kitson Kelly
This commit adds a "--no-check" option to following subcommands: - "deno cache" - "deno info" - "deno run" - "deno test" The "--no-check" options allows to skip type checking step and instead directly transpiles TS sources to JS sources. This solution uses `ts.transpileModule()` API and is just an interim solution before implementing it fully in Rust.
2020-07-07fix(std): base64 in workers (#6681)Marcos Casagrande
2020-06-21BREAKING(std/encoding/hex): reorder encode & decode arguments (#6410)Marcos Casagrande
refactor to match other src/dst methods
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-12make std deno-lint clean (#6240)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-09Readme cleanup in encoding and ws (#6209)Ch3ri0ur
2020-06-08feat(std/encoding/binary): add varnumBytes(), varbigBytes() (#5173)Oliver Lenehan
2020-06-07refactor(std): remove testing dependencies from non-test code (#5838)Chris Knight
2020-06-03feat(std/encoding): add base64url module (#5976)timonson
2020-05-31re-enable the "HugeLines" test case (#6006)uki00a
2020-05-31docs(std/encoding/csv): improve the document and jsdoc comments (#6008)uki00a
2020-05-24feat(std/encoding): add base64 (#5811)skdltmxn
2020-05-18docs(std): Fix typo (#5582)pontakornth
2020-05-14Fix typos across the repo (#5295)Dante Calderón
Corrections made: * cli/js/tests/README.md:44:7: corrected "discoveres" to "discovers" * cli/js/tests/chown_test.ts:111:37: corrected "priviledge" to "privilege" * cli/worker.rs:231:56: corrected "decendants" to "descendants" * deno_typescript/lib.rs:136:50: corrected "emmited" to "emitted" * core/es_isolate.rs:492:67: corrected "registerd" to "registered" * core/isolate.rs:103:28: corrected "initalize" to "initialize" * docs/runtime.md:29:14: corrected "ect" to "etc" * docs/tools/debugger.md:122:16: corrected "implementes" to "implements" * std/encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere" * std/encoding/csv.ts:37:43: corrected "referal" to "referral" * std/fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable" * std/fmt/README.md:21:40: corrected "Alternativly" to "Alternatively" * std/fmt/README.md:35:68: corrected "seperated" to "separated" * std/fmt/README.md:179:59: corrected "provded" to "provided" * std/mime/multipart.ts:581:46: corrected "writen" to "written" * std/path/_globrex.ts:19:52: corrected "equivelant" to "equivalent" * std/node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous" * std/node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous" * std/node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous" * std/node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous" * std/node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous" * tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance" * std/node/module.ts:1003:18: corrected "existend" to "existed"
2020-05-10fix(std/encoding/yaml): Correct exports (#5191)Nayeem Rahman
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