summaryrefslogtreecommitdiff
path: root/tests/subdir
AgeCommit message (Collapse)Author
2019-01-09Native ES modules (#1460)Ryan Dahl
* Native ES modules This is a major refactor of internal compiler. Before: JS and TS both were sent through the typescript compiler where their imports were parsed and handled. Both compiled to AMD JS and finally sent to V8 Now: JS is sent directly into V8. TS is sent through the typescript compiler, but tsc generates ES modules now instead of AMD. This generated JS is then dumped into V8. This should much faster for pure JS code. It may improve TS compilation speed. In the future this allows us to separate TS out of the runtime heap and into its own dedicated snapshot. This will result in a smaller runtime heap, and thus should be faster. Some tests were unfortunately disabled to ease landing this patch: 1. compiler_tests.ts which I intend to bring back in later commits. 2. Some text_encoding_test.ts tests which made the file invalid utf8. See PR for a discussion. Also worth noting that this is necessary to support WASM
2018-12-27Lazily create .mime files only with mismatch/no extension (#1417)Kevin (Kun) "Kassimo" Qian
2018-12-23Remove support for extensionless import (#1396)Ryan Dahl
2018-12-21Implement `Body.formData` for fetch (#1393)Kevin (Kun) "Kassimo" Qian
2018-10-30Add ability to load JSON as modules (#1065)Kitson Kelly
2018-10-28Add application/x-typescript mime type supportKevin (Kun) "Kassimo" Qian
2018-10-24Support CheckJSKitson Kelly
2018-10-23Enforce media typesKitson Kelly
2018-10-02Guess extensions on extension not provided (#859)Kevin (Kun) "Kassimo" Qian
Fixes #857
2018-09-05Improve module resolution.Ryan Dahl
Windows can't handle ":" in path names, so we use a special directory format .deno/deps/localhost_PORT4545/ to represent hosts with non-default ports. Fixes #645.
2018-08-28Add duplicate import testKitson Kelly
2018-08-02Add 005_more_imports.tsRyan Dahl
And run check_output_test in order.
2018-07-29Add tests/003_relative_import.tsRyan Dahl