1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-08 09:34:39 -05:00
Commit graph

8279 commits

Author SHA1 Message Date
Casper Beyer
c191ca1aeb
fix(cli/repl): put the thread to sleep when idle (#7804) 2020-10-03 12:51:25 +02:00
CGQAQ
59312f3936
fix(cli): update type definitions to align to TS dom (#7791)
Fixes #7746
2020-10-03 12:57:31 +10:00
Casper Beyer
4c7f53b04b
fix(cli/repl): enable colors on inspected values (#7798) 2020-10-02 15:51:08 +02:00
Bartek Iwańczuk
63efa5f15d
v1.4.3 2020-10-02 14:37:48 +02:00
Bartek Iwańczuk
e5348a6a38
upgrade: swc, deno_doc, deno_lint, dprint (#7793) 2020-10-02 13:51:37 +02:00
Casper Beyer
5cd29b37f7
feat(cli/repl): enable await and let re-declarations (#7784)
This enables `replMode` during evaluations which allows for top level
await and let re-declarations.
2020-10-02 13:17:47 +02:00
Casper Beyer
6825d7f13d
fix(cli/repl): use a default referrer when empty (#7794)
This makes use of a default referrer when its empty in repl mode so that
dynamic imports work in the global evaluation context.

Co-authored-by: Bartek Iwanczuk <biwanczuk@gmail.com>
2020-10-02 13:13:23 +02:00
Casper Beyer
454de99680
chore(core): remove experimental wasm bigint flag (#7790)
This removes the experimental bigint flag as it is enabled by default
now and is no longer necessary.
2020-10-02 11:27:18 +02:00
j4qfrost
d96e7226dd
refactor: use parentheses in print statements in python (#7779) 2020-10-02 09:59:53 +10:00
Casper Beyer
4c779b5e8c
refactor(repl): use an inspector session (#7763)
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code.

An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry.
2020-10-02 01:14:55 +02:00
tokiedokie
5590b97670
refactor(std/testing): Get rid of default export and make std/testing/diff.ts private (#7592) 2020-10-01 19:15:05 +02:00
Kitson Kelly
e077b93d77
refactor: add concept of 'legacy' compiler to enable non-breaking refactoring (#7762) 2020-10-01 20:33:15 +10:00
Kitson Kelly
ef5ae4547a
chore: ensure cache is 'valid' during benchmarks (#7770) 2020-10-01 20:32:05 +10:00
aakhtar3
da29ccece5
docs(std/uuid): Added JSdocs for the std/uuid module (#7735) 2020-10-01 11:40:40 +02:00
Nayeem Rahman
326ccb1095
feat(std/path): Align globToRegExp() with bash glob expansion (#7209)
- feat: Support escaping glob characters
- feat: Support more character classes
- feat: Match characters literally on segment parse failure
- fix: Match nothing for empty globs
- fix: Contain any glob syntax to its path segment
- perf: Remove extraneous separators from generated regex
- doc: Add detailed JSDoc
- chore: Remove old copyright headers
2020-10-01 11:37:03 +02:00
Nayeem Rahman
b689e60b60
fix(cli/console): Catch and format getter errors (#7766) 2020-10-01 11:25:34 +02:00
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