summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2020-01-17workers: minimal error handling and async module loading (#3665)Bartek Iwańczuk
2020-01-15Revert "feat(flags): script arguments come after '--'" (#3681)Ry Dahl
Due to complaints about ergonomics and because it breaks shebang on linux. This reverts commit 2d5457df15d8c4a81362bb2d185b5c6013faa1d8. BREAKING CHANGE
2020-01-11Add gzip, brotli and ETag support for file fetcher (#3597)EnokMan
2020-01-09feat: Deno.args now does not include script (#3628)Ry Dahl
Previously Deno.args was ["script.js", "arg1", "arg2"] Now it is just ["arg1", "arg2"] BREAKING CHANGE
2020-01-08Remove xeval subcommand (#3630)Ry Dahl
2020-01-08feat(flags): script arguments come after '--' (#3621)Ry Dahl
2020-01-08Runtime Compiler API (#3442)Kitson Kelly
Also restructures the compiler TypeScript files to make them easier to manage and eventually integrate deno_typescript fully.
2020-01-05Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600)Ry Dahl
2020-01-05Replace libdeno with rusty_v8 (#3556)Ry Dahl
2020-01-04Added textencoder benchmark (#3589)Luca Casonato
2020-01-02Happy new year! (#3578)Ry Dahl
2019-12-15Use async-await at few places, fix spelling mistake (#3499)Gurwinder Singh
2019-12-03feat: Add --no-remote, rename --no-fetch to --cached-only (#3417)Nayeem Rahman
2019-11-26better error messages for 'relative import path not prefixed with / or ./ or ↵Bartek Iwańczuk
../' (#3405)
2019-11-26refactor: reorganize flags (#3389)Ry Dahl
- Remove ability to specify run arguments like `--allow-net` after the script argument. It's too hacky to make work with clap. - Remove `--v8-options`, instead use `--v8-flags=--help` - Give more descriptive names to unit tests in flags.rs - Assume argv and subcommand into DenoFlags struct so the output of flags module is only DenoFlags rather than the tuple (subcommand, flags, argv). - Improve CLI help text - Make `deno run` specific args like `--allow-net` only show up in 'deno help run' instead of as global flags in `deno help`. - Removes `deno version` to simplify our implementation and be closer to clap defaults. `deno -V` now only shows Deno's version and not V8's nor TypeScript. `Deno.versions` can be used to see that information. - Prevent clap from auto-detecting terminal width and attempting to wrap text.
2019-11-25better error message for missing module (#3402)Bartek Iwańczuk
2019-11-20feat: Support named exports on bundles. (#3352)Kitson Kelly
2019-11-19fix: use AF_INET6 in ./tools/http_server.py (#3374)Bartek Iwańczuk
2019-11-16Use futures 0.3 API (#3358)Bartek Iwańczuk
2019-11-15run std test with cargo test (#3344)Bartek Iwańczuk
Removes three CI jobs
2019-11-14Loader: support .wasm imports (#3328)Kevin (Kun) "Kassimo" Qian
* loader: support .wasm imports * http_server: true * Support named exports * Clippy
2019-11-13Revert "tests: share http server between tests (#3336)"Ryan Dahl
This reverts commit dbf861f8a02f4a90ef68a4e2741b973becc53438.
2019-11-13tests: share http server between tests (#3336)Bartek Iwańczuk
Re-enable flaky tests
2019-11-13Disable flaky tests lock_check_ok2 again (#3334)Ry Dahl
Mistakenly re-enabled in #3275.
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-11-13Disable flaky tests lock_check_ok2 and lock_check_err2 (#3331)Ry Dahl
2019-11-13Make bundles fully standalone (#3325)Kitson Kelly
- Bundles are fully standalone. They now include the shared loader with `deno_typescript`. - Refactor of the loader in `deno_typescript` to perform module instantiation in a more - Change of behaviour when an output file is not specified on the CLI. Previously a default name was determined and the bundle written to that file, now the bundle will be sent to `stdout`. - Refactors in the TypeScript compiler to be able to support the concept of a request type. This provides a cleaner abstraction and makes it easier to support things like single module transpiles to the userland. - Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`, and define `pid` and `noColor` in a better way. - Don't bind early to `console` in `repl.ts`. - Add an integration test for generating a bundle.
2019-11-08test: re-enable integration test 045 (#3300)Yoshiya Hinosawa
This test was improved in #3185.
2019-11-08disable flaky testRyan Dahl
2019-11-07disable flaky testRyan Dahl
2019-11-05Disable flaky tests (#3270)Ry Dahl
2019-11-03feat: lockfiles (#3231)Ry Dahl
Use --lock-write=lock.json or --lock-check=lock.json on the command line.
2019-10-31Upgrade node_modules, change tagline, clean up root directory (#3247)Ry Dahl
* Upgrade node_modules * Simplify tagline * Move gclient_config.py out of root * Move package.json to tools * Remove yarn.lock * Remove CONTRIBUTING.md
2019-10-29Remove TTY tests - dead code (#3229)Ry Dahl
2019-10-27Use web standard Permissions API (#3200)Yoshiya Hinosawa
2019-10-27feat: top-level-for-await (#3212)Andy Hayden
2019-10-26Support named imports/exports for subset of properties in JSON modules (#3210)Kevin (Kun) "Kassimo" Qian
2019-10-22remove --no-prompt flag, fail on missing permissions (#3183)Yoshiya Hinosawa
2019-10-22Add TextDecoder benchmark (#3180)Ry Dahl
2019-10-22test: improve http_proxy test (#3185)Yoshiya Hinosawa
2019-10-21feat: Deno.listenTLS (#3152)Bartek Iwańczuk
2019-10-21Fix build warning (#3146)Ry Dahl
2019-10-16fix: remote jsx/tsx files were compiled as js/ts (#3125)Yusuke Sakurai
2019-10-15Add debug build to github actionsRyan Dahl
This disabled the tty_tests which seem to be very flaky with the debug build.
2019-10-09Run deno_std tests in github actionsRyan Dahl
2019-10-04Merge deno_cli_snapshots into deno_cli (#3064)Ryan Dahl
2019-10-04Move deno_std to a more convenient location. (#3057)Ryan Dahl
js/deps/https/deno.land/std -> js/std
2019-10-04Use xeval from deno_std (#3058)Nayeem Rahman
2019-10-03Async compiler processing (#3043)Kitson Kelly
Basically this does pre-processing of TypeScript files and gathers all the dependencies asynchronously. Only then after all the dependencies are gathered, does it do a compile, which at that point all the dependencies are cached in memory in the compiler, so with the exception of the hard coded assets, there are no ops during the compilation. Because op_fetch_source_files is now handled asynchronously in the runtime, we can eliminate the tokio_util::block_on() which was causing the increase in threads. Benchmarking on my machine has shown about a 5% improvement in speed when dealing with compiling TypeScript. Still a long way to go, but an improvement. In theory the module name resolution and the fetching of the source files could be broken out as two different ops. This would prevent situations of sending the full source file all the time when actually the module is the same module referenced by multiple modules, but that could be done subsequently to this.
2019-10-02feat: window.onunload (#3023)Bartek Iwańczuk