Commit graph

4563 commits

Author SHA1 Message Date
Bartek Iwańczuk 290da280a8
refactor: improve op crate interfaces for other consumers (#7745) 2020-09-30 10:51:01 -04:00
Kitson Kelly dcd0595058
fix: check cached versions during transpile (#7760)
Fixes: #7759
2020-09-30 21:46:42 +10:00
Kitson Kelly 23a7ea9c85
fix: bundle loader returns exported value (#7764)
Fixes: #7761
2020-09-30 18:51:19 +10:00
Kitson Kelly 7c62b7b043
fix(cli): use global_state file_fetcher when using SpecifierHandler (#7748)
Fixes: #7709
2020-09-30 17:22:58 +10:00
Nayeem Rahman 27ee4b2551
feat(cli/console): Add Deno.InspectOptions::colors (#7742)
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
2020-09-30 12:59:50 +10:00
Casper Beyer 2184cf5c07
refactor(cli): extract inspector session (#7756)
This extracts the inspector session specific bits from CoverageCollector
into a standalone struct dubbed `InspectorSesssion` which can be used as
a general purpose session to communicate with the inspector on the same
thread as an isolate/inspector pair lives on.
2020-09-29 23:05:06 +02:00
Vitor Matos 04f05d0d9d
improve readme (#7530) 2020-09-29 11:40:17 -04:00
crowlKats 7713274efd
fix(websocket): add missing close events and remove extra error event (#7606) 2020-09-29 11:42:29 +02:00
Casper Beyer 71a8b1fe27
chore(std/wasi): enable and fix lint errors in snapshot_preview1 (#7360) 2020-09-29 11:41:22 +02:00
Kitson Kelly b014a98534
refactor: improve graph and tsc_config (#7747) 2020-09-29 17:16:12 +10:00
Casper Beyer 970d412a08
chore(cli/coverage): remove unused runtime domain (#7749)
Previously when we used the websocket to talk to the inspector we used
the runtime domain to send a "runIfWaitingForDebugger" message.

However this is not required since we now talk to the inspector directly
and no longer send said message so this removes the enabling of the
domain entirely.
2020-09-29 00:25:54 -04:00
Casper Beyer 6587d1bce8
fix(cli/test): do not start inspector server when collecting coverage (#7718) 2020-09-28 12:22:29 +02:00
Bartek Iwańczuk 45d4fd44c9
refactor: move op state registration to workers (#7696) 2020-09-28 12:14:11 +02:00
Trivikram Kamat 8ceb165e5d
docs: end sentences with a period in docs (#7730) 2020-09-28 16:01:32 +10:00
Trivikram Kamat 1437838ea1
docs: use const assertion for PermissionDescriptor (#7733)
Fixes #7731
2020-09-28 12:47:00 +10:00
Trivikram Kamat 54d897c140
docs: update deno bundle output to single line (#7734) 2020-09-28 12:46:19 +10:00
Luca Casonato 1a27c19c58
build: use non xl runners outside deno repo (#7729) 2020-09-27 23:41:42 +02:00
Valentin Anger e3adeea769
feat(unstable): add module specifier to deno info --json output (#7725) 2020-09-27 21:50:18 +02:00
Nayeem Rahman 8cbf0e75b2
fix: Use $deno$test.ts instead of .deno.test.ts (#7717) 2020-09-27 14:21:11 -04:00
uki00a 94dcef714d
BREAKING(std/encoding/csv): improve the definition of ParseOptions (#7714) 2020-09-27 14:20:46 -04:00
Casper Beyer 5db72dcaf3
fix(cli/inspector): shutdown server gracefully on drop (#7716) 2020-09-27 14:19:36 -04:00
Luca Casonato ebcb032c6b
fix: no check recognizes require (#7720) 2020-09-27 14:16:18 -04:00
Trivikram Kamat 249d82099e
doc: use APA citation style for listing conference talks (#7721) 2020-09-27 13:50:42 -04:00
Trivikram Kamat d2fde8a363
doc: end sentences with a period in examples (#7722) 2020-09-27 13:49:41 -04:00
Giorgi Rostomashvili eaba9adb03
fix: net listen crashes on explicit undefined hostname (#7706) 2020-09-27 10:44:53 -04:00
David Sherret df02e31507
feat(fmt): Sort named import and export specifiers (#7711) 2020-09-27 12:22:32 +02:00
Trivikram Kamat c28757f379
docs: update GitHub doc links to use $CLI_VERSION (#7710) 2020-09-27 12:12:33 +02:00
Trivikram Kamat 13b5cc7673
docs: use $STD_VERSION in std lib import comment (#7707) 2020-09-27 12:11:01 +02:00
Trivikram Kamat 30252e25b8
docs: update --unstable flag forget message (#7708) 2020-09-27 07:56:03 +10:00
Search 52c67d301c
docs(cli): Update web assembly example and accepted compiler options in docs. (#7678)
Fixes #7556 
Fixes #7634
2020-09-27 05:48:32 +10:00
Luca Casonato c03fe284cf
docs: add jsdoc for WebAssembly namespace (#7703) 2020-09-26 20:33:20 +02:00
Bartek Iwańczuk e1beebc71a
refactor: factor out check_unstable op helper (#7695) 2020-09-26 20:26:51 +02:00
Bartek Iwańczuk f64a44810e
refactor: combine MainWorker::new and MainWorker::create (#7693)
* combine MainWorker::new and MainWorker::create

* remove compiler_starts fields

* make op_state types explicit for readability
2020-09-26 18:16:33 +02:00
tokiedokie 04836dc700
refactor(std/example): Inconsistencies in the example tests (#7684) 2020-09-26 11:54:26 -04:00
Bartek Iwańczuk ff785bc35a
refactor: use JsRuntime to implement TSC (#7691)
This commits removes "CompilerWorker" in favor of
using "JsRuntime".

"cli/ops/compiler.rs" has been removed in favor of inline
registration of ops in "cli/tsc.rs"
2020-09-26 16:33:25 +02:00
KNnut e0d4696a72
Fix typos (#7687) 2020-09-26 10:14:56 -04:00
Kang Huaishuai ab96619cd6
simply github actions yaml (#7688)
use strategy->matrix->include
2020-09-26 10:13:59 -04:00
Bartek Iwańczuk 18b7109f76
refactor: prune unneeded JS code (#7689) 2020-09-26 15:59:24 +02:00
Andrew Mitchell 98c9798cb7
docs(std): add async and signal readme (#7683)
Resolves #7608
2020-09-26 09:15:18 +10:00
Nayeem Rahman 0ffaaba164
fix(cli/dts): Use var instead of const and let for globals (#7680) 2020-09-26 07:23:35 +10:00
Casper Beyer eb7f70c0b0
test(std/async): remove redundant export in test (#7682) 2020-09-25 13:45:57 -04:00
Bartek Iwańczuk b6c189e88e
refactor: clean timers tests (#7679) 2020-09-25 18:34:20 +02:00
Tim Reichen f1231ff58e
fix(std/datetime): add timezone to date strings in tests (#7675) 2020-09-25 11:03:01 -04:00
Bartek Iwańczuk dacb340f8f
v1.4.2 2020-09-25 16:53:48 +02:00
Luca Casonato 3204092732
refactor: class instead of var+interface in d.ts (#7514) 2020-09-25 16:21:34 +02:00
Csaba Okrona 826e899bbc
test(std): unit test for async/delay (#7671) 2020-09-25 14:57:31 +02:00
Bartek Iwańczuk 83f53c6455
refactor: remove tsc/40_error_stack.js (#7673)
This commit removes cli/tsc/40_error_stack.js as it is not
needed in TSC host. All errors originating in TSC are terminal
and don't require source mapping hence we can rely on default
stack traces provided by deno_core.

Additionally tsc/06_util.js was removed and its code moved
to tsc/99_main_compiler.js
2020-09-25 14:04:51 +02:00
Kitson Kelly fd1c913985
fix(cli): customInspect works on functions (#7670)
Fixes #7650
2020-09-25 21:36:26 +10:00
Casper Beyer 01147fab80
refactor(cli/inspector): make server optional (#7656)
This makes inspector registration with the server with optional and
explicit to allow for inspectors to exist without spinning up the
server.

As a side effect of the server being explicitly passed around it also
makes it possible to bind multiple servers.
2020-09-25 10:24:51 +02:00
iugo 478352518d
fix(cli): update supported text encodings (#7668)
Fixed #7667
2020-09-25 16:56:28 +10:00