Commit graph

288 commits

Author SHA1 Message Date
Bartek Iwańczuk 6453cb7567
refactor: Move URL to op_crates/web (#7544) 2020-09-17 19:13:20 +02:00
Ryan Dahl 104aebdfb5
Re-export deno_core::url (#7525)
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-16 14:28:07 -04:00
Ryan Dahl 0cb64cef76 Remove unnecessary serde_derive dependency 2020-09-16 13:29:42 -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
Bert Belder f5b40c918c
refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476) 2020-09-15 01:50:52 +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
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
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 1fcbf9cb8a
upgrade: swc, deno_doc, deno_lint, dprint (#7402)
- deno_doc - 0.1.6
- deno_lint - 0.1.29
- dprint-plugin-typescript 0.31.1
- swc_ecmascript 0.7.3
2020-09-09 15:35:40 +02:00
Nayeem Rahman b17a5fbcfa
fix(op_crates/web): Use "deno:" URLs for internal script specifiers (#7383) 2020-09-09 14:23:57 +02:00
Bartek Iwańczuk 241d228104
upgrade: deno_doc to 0.1.5 (#7391) 2020-09-08 13:02:14 +02:00
David Sherret ab7f93caf1
upgrade: dprint-plugin-typescript 0.31.0 (#7381) 2020-09-08 11:58:17 +02:00
Bert Belder c821e8f2f1
Move JSON ops to deno_core (#7336) 2020-09-06 02:34:02 +02:00
Bartek Iwańczuk a14b3c9e30
v1.3.3 2020-09-04 18:15:24 +02:00
Ryan Dahl e7147786f4
run cargo update (#7348) 2020-09-04 11:24:23 -04:00
tokiedokie fcee4265c6
support env_logger / RUST_LOG (#7142) 2020-09-03 16:16:49 -04:00
Bartek Iwańczuk dbd941148c
refactor: use dependency analyzer from SWC (#7334) 2020-09-03 17:11:30 +02:00
Bartek Iwańczuk c6ccaf064a
upgrade: swc, deno_doc, deno_lint, dprint (#7332) 2020-09-03 13:29:02 +02:00
Luca Casonato fe47da9f23
chore: multi line deno_lint diagnostics (#7303) 2020-09-02 11:39:20 +02:00
Bartek Iwańczuk b21f318e68
fix: support missing features in --no-check (#7289)
This commit adds "EmitTranspileOptions" to "transpile()" function, 
that allows to configure transpilation process based on the 
currently loaded "tsconfig.json".
2020-09-02 11:12:18 +02:00
Ryan Dahl 050c865af4
deno_web 0.6.0 (#7317) 2020-09-02 00:02:05 +02:00
Casper Beyer 94d38eee4c
replace utime crate with filetime (#7268) 2020-08-31 22:24:17 -04:00
Casper Beyer 32de714dc7
feat(unstable): add Deno.futime and Deno.futimeSync (#7266) 2020-08-31 14:29:43 -04:00
Bartek Iwańczuk c82c3b982e
refactor: Compiler config in Rust (#7228)
* port tsc_config.rs

* cleanup options

* bring back allowNonTsExtension

* try

* fix test

* fix test2

* move config for bundling

* remove Transpile compile request

* remove dead code

* remove more dead code

* remove checkJs regex

* fix

* handle config str for runtime APIs

* lint

* runtimeCompile config in Rust

* runtimeCompile and runtimeTranspile config in Rust

* fix

* remove lint supression

* upgrade: jsonc-parser 0.13.0

* remove unneeded to_string()

* upgrade: jsonc-parser 0.14.0

* remove AsRef<str>
2020-08-31 20:12:24 +02:00
Bartek Iwańczuk 5c23388f6d
upgrade: swc, deno_doc, deno_lint, dprint (#7276) 2020-08-31 11:48:44 +02:00
Bartek Iwańczuk ac705b7936
v1.3.2 2020-08-29 09:53:13 -04:00
Bartek Iwańczuk 16513d8e62
upgrade: rusty_v8 0.9.1 / V8 8.6.334 (#7243) 2020-08-29 13:21:22 +02:00
Valentin Anger 31f32ed8c4
Move benchmarks to Rust (#7134)
All benchmarks are done in Rust and can be invoked with
`cargo bench`.

Currently this has it's own "harness" that behaves like
`./tools/benchmark.py` did.
Because of this tests inside `cli/bench` are currently not run.
This should be switched to the language provided harness
once the `#[bench]` attribute has been stabilized.
2020-08-28 09:03:50 -04:00
Bartek Iwańczuk 4a0bc747dd
upgrade: swc, deno_doc, deno_lint, dprint (#7194) 2020-08-26 20:43:24 +02:00
Bartek Iwańczuk c1558beffb
upgrade: swc, dprint, deno_lint, deno_doc (#7162) 2020-08-23 13:57:09 +02:00
Bartek Iwańczuk 999e5cf3d4
v1.3.1 2020-08-21 18:11:33 +02:00
Bartek Iwańczuk be1e7ab532
refactor: move cli/doc/ to separate crate (#7103) 2020-08-19 19:13:43 +02:00
Nayeem Rahman 015fa0bd41
refactor: permissions (#7074) 2020-08-18 16:29:32 -04:00
Bartek Iwańczuk 36c2855932
upgrade: swc, deno_lint, dprint (#7098) 2020-08-18 20:11:13 +02:00
Ryan Dahl 974215afdd
Simplify deno_core_http_bench op state (#7038)
Removes unnecessary wrappers around ResourceTable and CoreIsolate.

Importantly: now uses the resource table inside CoreIsolateState rather than a different one.

Removes derive_deref dependency
2020-08-17 17:29:01 -04:00
Bartek Iwańczuk b38c313276
v1.3.0 2020-08-13 12:10:13 -04:00
Bartek Iwańczuk 08ab4d46ca
upgrade: swc, deno_lint, dprint (#7040) 2020-08-13 11:03:16 -04:00
Bert Belder 3d70a2b94e
upgrade: Rust crates
The following crates were _not_ upgraded to avoid having multiple
versions of the same crate in the dependency tree:
  * tokio-tungstenite v0.10.1 -> v0.11.0
  * swc_common        v0. 8.0 -> v0. 9.1
  * swc_ecmascript    v0. 1.0 -> v0. 3.0
  * webpki-roots      v0.19.0 -> v0.20.0
  * nix               v0.17.0 -> v0.18.0
2020-08-12 17:45:15 +02:00
Ryan Dahl 92a173bca6
v1.2.3 2020-08-08 18:59:16 -04:00
Bert Belder 707bfbd5b5
upgrade: rusty_v8 0.8.1 / V8 8.6.334 (#6980) 2020-08-08 21:23:21 +02:00
Bartek Iwańczuk 165928d5dc
upgrade: deno_lint v0.1.21 (#6985) 2020-08-08 16:20:21 +02:00
Bartek Iwańczuk 41215eb29c
Op crate for Web APIs (#6906)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-08-07 16:55:02 +02:00
Maayan Hanin 5fc5e7b54a
fix(cli): add support for non-UTF8 source files (#6789)
Fixes: #5542
2020-08-03 23:39:48 +02:00
Bartek Iwańczuk d54d4d21bd
upgrade: swc_ecmascript (#6943) 2020-08-03 08:54:00 -04:00
Ryan Dahl 7446230e6b
v1.2.2 2020-07-31 15:14:25 -04:00
Bartek Iwańczuk b718e6ff53
upgrade: deno_lint, dprint, swc (#6928)
This commit upgrades:
deno_lint 0.1.20
dprint-plugin-typescript 0.25.0
swc_ecmascript 0.1.0

SWC is no longer reexported from dprint nor deno_lint.
2020-07-31 16:59:22 +02:00
Bartek Iwańczuk c691713394
refactor: Use SWC to strip types for "--no-check" flag (#6895) 2020-07-28 22:33:23 +02:00