tokiedokie
04d3472257
refactor(cli/tests): change std_path to root_path in std_tests() ( #7438 )
2020-09-15 06:26:57 +02:00
Casper Beyer
f457ff9157
remove stub implementation of v3 in std/uuid ( #7488 )
2020-09-15 00:12:45 -04:00
Ryan Dahl
055dfe2ff4
Make JsRuntimeState private ( #7484 )
2020-09-14 23:49:12 -04:00
tasshi / Masaharu TASHIRO
85b98f6dd8
fix typo miliseconds -> milliseconds ( #7469 )
2020-09-14 22:48:49 -04:00
Piyotaro, Kiiroi (きいろい ぴよ太郎)
5819cfbeec
docs(std/testing) add a description of assertNotMatch(). ( #7470 )
2020-09-14 22:47:45 -04:00
Scott Olson
cf91550c65
refactor: Remove dependency on downcast_rs. ( #7475 )
...
We don't seem to use downcast_rs in any essential way. We can just use
the standard library `Any` directly.
2020-09-14 22:33:18 -04:00
Bartek Iwańczuk
7023263b30
refactor(core): remove JsRuntime::set_js_error_create_fn ( #7478 )
...
Instead use RuntimeOptions.js_error_create_fn
2020-09-14 21:23:48 -04:00
Casper Beyer
9b8f1d9be8
docs(testing): describe coverage blackboxing rules ( #7483 )
2020-09-14 21:23:20 -04:00
Ryan Dahl
70f070706d
Rename deno::state::State to deno::state::CliState ( #7480 )
2020-09-14 21:22:32 -04:00
Ryan Dahl
192b8f4b99
Remove unnecessary wildcard from ts_decorators test ( #7485 )
2020-09-14 21:22:03 -04:00
Bert Belder
f5b40c918c
refactor: use the 'anyhow' crate instead of 'ErrBox' ( #7476 )
2020-09-15 01:50:52 +02:00
Bert Belder
3da20d19a1
chore: fix clippy warnings ( #7476 )
2020-09-15 00:11:20 +02:00
Kitson Kelly
5248a711ff
chore: add some traits to ast.rs ( #7479 )
2020-09-14 23:59:49 +02:00
Bartek Iwańczuk
a65bcadcf2
test: reenable TS decorator test ( #7471 )
2020-09-14 18:59:54 +02:00
Schwarzkopf Balázs
f6bfdd66a6
feat(std/node): Add AssertionError class ( #7210 )
2020-09-14 16:22:07 +02:00
Kitson Kelly
a6f34d4722
refactor: use ParsedModule and improve MediaTypes enum ( #7456 )
2020-09-14 14:27:44 +02:00
tokiedokie
e688a701e2
test(cli/tests/https_import): use ts file in localhost instead of remote ( #7431 )
2020-09-14 13:18:00 +02:00
Casper Beyer
bee36a4de8
test(std/http): make tests runnable from any directory ( #7441 )
...
This makes std/http tests runnable from any directory by spawning test
processes in the module directory resolved from import.meta.url and
resolving test data relative to the same module directory.
2020-09-14 12:58:43 +02:00
Nayeem Rahman
f874b83aa0
test(cli/tests/unit): Enable color for js_unit_tests ( #7443 )
2020-09-14 12:46:50 +02:00
Kitson Kelly
4baf61993c
chore: add no_check_hello benchmark ( #7458 )
2020-09-14 12:25:06 +02:00
Bert Belder
530f48d2fd
Upgrade Rust crates, pin 'webpki-roots' to version 0.19.0 ( #7454 )
2020-09-14 00:20:56 +02:00
Bartek Iwańczuk
b3fa81f867
v1.4.0
2020-09-13 16:35:31 +02:00
Luca Casonato
f06724f238
docs: manual updates for 1.4 features and changes ( #7440 )
2020-09-13 15:17:25 +02:00
Casper Beyer
755cfa98eb
feat(unstable): deno test --coverage ( #6901 )
...
This commit adds basic support for collecting coverage
data using "deno test".
Currently the report is only a text added to the end
of output from "deno test".
2020-09-13 15:01:30 +02:00
Bartek Iwańczuk
b216d48e5f
upgrade: deno_doc, deno_lint, dprint, swc ( #7434 )
...
upgrades:
- swc_ecmascript 0.7.7
- dprint-plugin-typescript 0.31.3
- deno_lint 0.2.0
- deno_doc 0.1.9
Split std_lint test into std_lint and unit_test_lint.
Added lint ignores to CommonJS files in std/node.
2020-09-13 14:15:38 +02:00
Bert Belder
bf70442b08
upgrade: rusty_v8 0.10.0 / V8 8.7.75 ( #7429 )
2020-09-13 13:43:50 +02:00
Luca Casonato
daa780e2cf
fix(WebSocket): no panic on failed connect + handle promise rejection via error event ( #7437 )
2020-09-13 11:52:20 +02:00
Luca Casonato
82d0f7ec84
chore: remove --no-check from deno info ( #7439 )
2020-09-12 23:34:54 +02:00
Luca Casonato
d048f58f05
chore: add systemMemoryInfo unstable diagnostic ( #7435 )
2020-09-12 16:12:14 +02:00
Chris Knight
95db324748
doc: improve Examples ( #7428 )
2020-09-12 08:03:18 -04:00
Kitson Kelly
10fbfcbc79
refactor: improve tsc diagnostics ( #7420 )
2020-09-12 11:53:57 +02:00
Nayeem Rahman
5276cc8592
refactor: Improve placeholder module names ( #7430 )
2020-09-12 11:33:51 +02:00
Bartek Iwańczuk
60dbc6b294
Revert "feat(unstable): Support data: urls ( #5157 )" ( #7432 )
...
This reverts commit e3319f34a6
.
2020-09-12 11:08:00 +02:00
Valentin Anger
e3319f34a6
feat(unstable): Support data: urls ( #5157 )
2020-09-11 22:40:48 +02:00
Bartek Iwańczuk
a3282aa9ed
feat(unstable): deno run --watch ( #7382 )
...
Co-authored-by: Sebastian Seedorf <mail@sebse.de>
2020-09-11 18:19:49 +02:00
tokiedokie
7ff0c4d8c8
docs: move “Debugger” to “Debugging your code” in “Getting started” ( #7421 )
2020-09-11 16:28:25 +02:00
Luca Casonato
fbb18d40d3
feat(unstable): enable importsNotUsedAsValues by default ( #7413 )
2020-09-11 16:22:10 +02:00
Bartek Iwańczuk
0d1f626edd
refactor(core): JsRuntime initialization ( #7415 )
...
Removes:
- "deno_core::StartupData"
- "deno_core::Script"
- "deno_core::OwnedScript"
Changes to "JsRuntime":
- remove "new_with_loader()"
- remove "with_heap_limits()"
- rename "IsolateOptions" to "RuntimeOptions" and make public
- "JsRuntime::new()" takes "RuntimeOptions" as a single param
2020-09-11 15:18:49 +02:00
Ryan Dahl
7c2e7c6608
Use gotham-like state for ops ( #7385 )
...
Provides a concrete state type that can be dynamically added. This is necessary for op crates.
* renames BasicState to OpState
* async ops take `Rc<RefCell<OpState>>`
* sync ops take `&mut OpState`
* removes `OpRegistry`, `OpRouter` traits
* `get_error_class_fn` moved to OpState
* ResourceTable moved to OpState
2020-09-10 09:57:45 -04:00
Nayeem Rahman
6f70e6e72b
feat(console): support CSS styling with "%c" ( #7357 )
2020-09-10 12:49:47 +02:00
Akshat Agarwal
c1b4ff61c9
feat(unstable): Add Deno.systemMemoryInfo() ( #7350 )
...
Co-authored-by: marcopacini <pacinim88@gmail.com>
Co-authored-by: Casper Beyer <caspervonb@pm.me>
2020-09-10 10:38:17 +02:00
Danilo Sampaio
dfd8794da4
docs: add a Powershell autocomplete example ( #7329 )
2020-09-10 10:13:30 +02:00
Bartek Iwańczuk
2423a867c0
fix: panic on process.kill() after run ( #7405 )
...
This commit fixes panic caused by "unimplemented!()"
calls for some variants of "nix::errno::Errno".
Catch-all variant now returns "Error" class name
instead of panicking.
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-09-09 22:40:16 +02:00
Bert Belder
839c59b14f
fix(cli): suppress 'WSANOTINITIALIZED' error on Deno exit ( #7408 )
...
Unblocks: #6901
2020-09-09 21:37:59 +02:00
Luca Casonato
a3bcdb2b69
chore(std): remove std/ws connect method ( #7403 )
2020-09-09 21:33:38 +02:00
AliBasicCoder
0d126930ca
feat(op_crates/web): Add all single byte encodings to TextDecoder ( #6178 )
2020-09-09 21:26:26 +02:00
Casper Beyer
5b89e82164
test(std/examples): make tests runnable from any directory ( #7399 )
2020-09-09 20:57:49 +02:00
Bartek Iwańczuk
25053f92ff
fix(core): panic on big string allocation ( #7395 )
...
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-09-09 20:52:11 +02:00
Luca Casonato
71a987942a
build: use GitHub Actions XL runners ( #7406 )
2020-09-09 17:38:37 +02:00
Yusuke Tanaka
857f9b32e0
feat(fmt, lint): show number of checked files ( #7312 )
2020-09-09 16:45:31 +02:00