summaryrefslogtreecommitdiff
path: root/std/mime
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-17chore: Enforce ban-untagged-todo lint rule (#9135)Bartek Iwańczuk
2021-01-10update copyright to 2021 (#9081)Ryan Dahl
2021-01-05typo (#8998)Kai Mallea
2020-12-06BREAKING(std/bytes): Adjust APIs based on std-wg discussion (#8612)Yosi Pramajaya
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-10-20fix(std/io): remove trivial internal util.ts module (#8032)Casper Beyer
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-21chore: add copyright (#7593)tokiedokie
2020-09-09test(std/mime): make tests runnable from any directory (#7398)Casper Beyer
2020-08-31test(std): ensure mod.ts modules have a test coverage (#7264)Casper Beyer
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-05fix(std/mime): boundary random hex values (#6646)Anton Dmytriichuk
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-07refactor(std): remove testing dependencies from non-test code (#5838)Chris Knight
2020-06-05Rename abbreviated assertions in std/testing (#6118)Casper Beyer
2020-06-02fix: Better use of @ts-expect-error (#6038)Kitson Kelly
2020-06-01feat(std/mime/multipart): Added multiple FormFile input (#6027)Henrique Emanoel Viana
2020-05-26Use ts-expect-error instead of ts-ignore. (#5869)Kitson Kelly
2020-05-19fix(multipart): fix error when parsing file name in utf8 format (#5428)zfx
2020-05-17docs(std): Fix default value in comment (#5539)Marcos Casagrande
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-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-29Fix MultipartReader for big files (#4865)Marcos Casagrande
2020-04-29BREAKING: remove custom implementation of Deno.Buffer.toString() (#4992)Bartek Iwańczuk
Keep in mind Buffer.toString() still exists, but returns [object Object]. Reason for removal of Buffer.toString() was that it implicitly used TextDecoder with fixed "utf-8" encoding and no way to customize the encoding.
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-26reorder copyN arguments to match Deno.copy (#4900)Akshat Agarwal
2020-04-25BREAKING CHANGE: remove Deno.OpenMode (#4884)Bartek Iwańczuk
This commit removes Deno.OpenMode along with overloaded variants of Deno.open() and Deno.openSync() that used OpenMode.
2020-04-25BREAKING CHANGE: change order of args in Deno.copy() (#4885)Bartek Iwańczuk
2020-04-12refactor(std/multipart): make readForm() return value more type safe (#4710)Yusuke Sakurai
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-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
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-13fix(std): Use Deno.errors where possible. (#4356)Oliver Lenehan
2020-02-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2020-02-07remove non-null assertion operator from std (part1) (#3900)Yusuke Sakurai
2020-01-10Remove std/multipart (#3647)Nayeem Rahman
since it overlaps with std/mime/multipart
2020-01-02Happy new year! (#3578)Ry Dahl
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-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