Commit graph

299 commits

Author SHA1 Message Date
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
Bartek Iwańczuk 69552b1def
upgrade: deno_lint v0.1.17 (#6869) 2020-07-25 17:47:55 +02:00
Ryan Dahl 25a0ad3e16
v1.2.1 2020-07-24 06:32:48 -04:00
Ryan Dahl c2507d95f5
Align cargo dependency features (#6860) 2020-07-23 13:20:08 -04:00
Bartek Iwańczuk b573bbe447
upgrade: tokio 0.2.22 (#6838) 2020-07-23 00:23:52 +02:00
Ryan Dahl 2460689b1a
Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
Bert Belder faa64edaf4
Upgrade to rusty_v8 0.7.0 (#6801) 2020-07-19 01:47:45 +02:00
Maayan Hanin b0f2bd4a2d
fix(cli): add icon and metadata to deno.exe on Windows (#6693)
Co-authored-by: Mark Tiedemann <www.marktiedemann@gmail.com>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-07-15 21:54:38 +02:00
Bartek Iwańczuk 6af5149ea3
v1.2.0 2020-07-13 13:00:24 -04:00
Bartek Iwańczuk 98f6a5a47d
chore: upgrade deno_lint, remove direct dprint dep (#6679)
This PR removes direct dependency on dprint-plugin-typescript 
and swc_ecma_visit. Both of these dependencies have been 
pushed out to deno_lint crate. This should make it a bit easier 
to do the upgrades and prevent having conflicting crate requirements.
2020-07-11 11:47:06 +02:00
Nayeem Rahman 69e0886362
fix(URL): Implement spec-compliant host parsing (#6689) 2020-07-10 15:51:24 -04:00
Valentin Anger be7e0f2d49
BREAKING(core): Remove control slice from ops (#6048) 2020-07-08 11:23:50 -04:00
Ryan Dahl dbc2372cde
Update Cargo.lock (#6665)
Erroneously excluded from 75d991.
2020-07-06 20:36:51 +02:00
Ryan Dahl 75d9913b22
Remove tools/hyper_hello (#6651) 2020-07-06 13:00:08 -04:00
Ryan Dahl 5f9e600c5b
chore: port http_server.py to rust (#6364) 2020-07-04 13:05:01 -04:00
Bartek Iwańczuk be07aaed84
v1.1.3 2020-07-03 15:35:19 -04:00
Bartek Iwańczuk 2b0dc32718
upgrade: dprint-typescript-plugin 0.19.5, deno_lint 0.1.15 (#6614) 2020-07-03 15:55:34 +02:00
Bartek Iwańczuk 851344f2ed
upgrade: swc_ecma_visit, dprint, deno_lint (#6580) 2020-07-01 16:04:56 +02:00
David Sherret 0b28c80e9a
Update to dprint-plugin-typescript 0.19.3 (#6527) 2020-06-27 15:55:46 -04:00
Bartek Iwańczuk 5bc130be27
v1.1.2 2020-06-26 17:45:12 -04:00
Bert Belder e10d74a3d3
Upgrade to rusty_v8 0.4.2 / V8 8.5.216 (#6503) 2020-06-26 20:17:15 +02:00
Ryan Dahl 0a81ec6b1e
Remove Deno.dir and dirs dependency (#6385) 2020-06-20 23:49:27 -04:00
Ryan Dahl bdf2d26ba1
v1.1.1 2020-06-19 14:48:14 -04:00
Ryan Dahl cddaacc955
upgrade crates (#6378) 2020-06-19 13:44:28 -04:00
Ryan Dahl 5c8ce06c92
upgrade: v8 to 8.5.104, rusty_v8 0.5.1 (#6377) 2020-06-19 06:58:13 -04:00
Bartek Iwańczuk 90c5dcfe79
chore(test): move testing utilities to test_util crate (#6360) 2020-06-18 11:54:55 -04:00
Bartek Iwańczuk e88d72f101
chore: remove glob dependency (#6317) 2020-06-16 17:29:43 -04:00
Bartek Iwańczuk 7d41bacfba
v1.1.0 2020-06-12 18:43:09 +02:00
Bartek Iwańczuk e7054d50f0
update: deno_lint to v0.1.10 (#6248)
* update: deno lint to v0.1.10

* Parallelize "deno lint" subcommand
2020-06-12 01:44:17 +02:00
Bartek Iwańczuk e4e332abbb
feat(lint): use default globs, upgrade to v0.1.9 (#6222)
This commit:
* added default file globs so "deno lint" can be run
without arguments (just like "deno fmt")
* added test for globs in "deno lint"
* upgrade "deno_lint" crate to v0.1.9
2020-06-10 23:29:48 +02:00
Bartek Iwańczuk 8366f36873
upgrade: deno_lint v0.1.8 (#6208) 2020-06-09 18:40:08 +02:00
Bartek Iwańczuk 0e9da7e731
feat: "deno lint" subcommand (#6125) 2020-06-08 14:06:20 +02:00
Filippo Rossi 78333f0ab3 Add diff for "deno fmt --check" (#5599) 2020-06-06 09:07:59 -04:00
David Sherret fcae2fec87
Upgrade to swc_ecma_parser 0.24.5 (#6077) 2020-06-03 21:36:55 +02:00
Ryan Dahl 515d19d901
v1.0.5 2020-06-03 12:52:01 -04:00
Ryan Dahl aa39dfc62f
upgrade: rusty_v8 0.5.0 (#6070) 2020-06-03 12:19:21 -04:00
David Sherret 445e44199b
Update to dprint 0.19.1 and swc_ecma_parser 0.24.3 (#6068) 2020-06-03 17:24:25 +02:00
Bartek Iwańczuk 9c59a4b18c
v1.0.4 2020-06-02 15:48:17 +02:00
Ryan Dahl b693ca7f7f
upgrade: crates (#6032) 2020-06-01 16:25:10 -04:00
Ryan Dahl dad551a3a7
upgrade: Rust crates (#5959) 2020-05-30 11:35:44 +02:00
Bartek Iwańczuk 106b001738
v1.0.3 2020-05-29 18:48:48 +02:00
Bartek Iwańczuk 7d764a2c27
upgrade: dprint to 0.19.0 (#5899) 2020-05-27 11:19:31 -04:00
Bartek Iwańczuk 526c9196e2
v1.0.2 2020-05-22 20:00:28 +02:00
David Sherret ee71099492
fix(fmt): Do not panic on new expr with no parens. (#5734)
Closes #5567
2020-05-21 20:43:32 -04:00
Ryan Dahl 49dda23f6b
v1.0.1 2020-05-20 12:40:26 -04:00
David Sherret 91d576aa5a
Update dprint 0.18.4 (#5671)
Fixes trailing comma issue
2020-05-20 10:30:33 -04:00
David Sherret a054250a2c
Update to dprint 0.18.3 and the latest version of swc (#5509) 2020-05-17 18:56:22 +02:00
Bartek Iwańczuk 55d2c6bd10
v1.0.0 2020-05-13 18:07:15 -04:00
Bartek Iwańczuk 35e8bc8de6
v1.0.0-rc3 2020-05-12 08:33:18 -04:00
Bert Belder 3cccadcf0f
Change plugin interface to prevent segfaults when unloading plugin (#5210)
Fixes: #3473
Closes: #5193
2020-05-11 22:39:13 +02:00
David Sherret e9318aa2c0
Update to dprint 0.17.2 (#5195) 2020-05-10 08:49:00 -04:00
Bartek Iwańczuk d8f5b37218
1.0.0-rc2 2020-05-09 15:37:22 -04:00
Bert Belder 7e00b2471d
Upgrade to rusty_v8 0.4.2 / V8 8.4.300 (#5113) 2020-05-06 22:35:24 +02:00
Ryan Dahl 2b15e53d5a
Upgrade crates (#5104) 2020-05-06 10:10:51 -04:00
Ryan Dahl 5f67a202ff
v1.0.0-rc1 2020-05-04 15:46:39 -04:00
David Sherret 60f2d57fb7
feat(fmt): Add deno-fmt-ignore and deno-fmt-ignore-file comment support (#5075) 2020-05-04 15:17:15 -04:00
David Sherret 3e72d63205
fix(fmt): Format abstract async as abstract async (#5020) 2020-04-30 21:05:30 +02:00
Bartek Iwańczuk f79cb08e0b
feat: add SWC dependency analyzer (#5015)
This commit adds "analyze_dependencies" function that uses SWC
(by the means of AstParser) to perform analysis of static and dynamic
imports.
2020-04-30 20:18:50 +02:00
Bartek Iwańczuk f92bb9cf4d
v0.42.0 2020-04-29 17:04:05 -04:00
David Sherret f899d76667
Fix stdin not formatting JSX (#4971) 2020-04-28 15:17:40 -04:00
Bert Belder 10a174834e
Upgrade to rusty_v8 v0.4.0 (#4856) 2020-04-23 03:35:52 +02:00
David Sherret c43aaa3996
upgrade: dprint 0.13.1 (#4853)
* Allows union and intersection types to have same multi-line behaviour as arguments (more like prettier).
* Stops line breaks before `extends` in conditional type, which would have been a parser error.
* Check for `// dprint-ignore-file` comment before parsing. This allow files that panic in swc to be ignored.
* Fixes a bug in "multi-line" detection.
2020-04-22 19:20:38 -04:00
David Sherret 5292d24e6f
upgrade: dprint 0.13.0 (#4816) 2020-04-19 13:26:17 +02:00
Bartek Iwańczuk 00fa4858b0
v0.41.0 2020-04-16 10:47:12 -04:00
Ryan Dahl cb5dd69dda
upgrade: rust crates (#4742) 2020-04-14 09:31:29 -04:00
Ryan Dahl 0cf4ac91e6
v0.40.0 2020-04-08 14:59:06 -04:00
Ryan Dahl b7e673ba93
upgrade: rust crates (#4679) 2020-04-08 14:29:42 -04:00
Ryan Dahl cb0acfe305
v0.39.0 2020-04-03 14:38:56 -04:00
Bartek Iwańczuk efb022a50c
upgrade dprint to 0.9.10 (#4601) 2020-04-03 18:35:03 +02:00
Ryan Dahl ff0b32f81d
upgrade: rusty_v8 v0.3.10 (#4576) 2020-04-02 09:24:29 -04:00
Ryan Dahl d6cb3892d4
v0.38.0 2020-03-28 15:26:58 -04:00
Bartek Iwańczuk 3fac487461
feat: Add "deno doc" subcommand (#4500) 2020-03-28 14:16:57 -04:00
Kitson Kelly 1397b8e0e7
upgrade: dprint 0.9.6 (#4509) 2020-03-28 10:04:18 -04:00
Ryan Dahl 5837ce464c
upgrade: rusty_v8 to v0.3.9 (#4505) 2020-03-28 10:00:14 -04:00
Ryan Dahl 2874664e91
feat: Support Inspector / Chrome Devtools (#4484)
This is a first pass implementation which is still missing several important
features:
- support for --inspect-brk (#4503)
- support for source maps (#4501)
- support for piping console.log to devtools console (#4502)

Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Matt Harrison <mt.harrison86@gmail.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-03-27 16:09:51 -04:00
Ryan Dahl fd432e2346
upgrade: dprint 0.9.5 (#4491) 2020-03-25 17:24:26 -04:00
Ryan Dahl b924e5ab7e
v0.37.1 2020-03-23 17:14:34 -04:00
Ryan Dahl d143fe61bc
v0.37.0 2020-03-23 12:28:27 -04:00
bartOssh ec07386067
feat: first pass at "deno upgrade" (#4328) 2020-03-23 11:37:24 -04:00
dubiousjim 69303e2149
refactor: move code from fs.rs into ops/fs.rs (#4428)
This a complex boring PR that shifts around code (primarily) in cli/fs.rs and
cli/ops/fs.rs. The gain of this refactoring is to ease the way for #4188 and
#4017, and also to avoid some future development pain.

Mostly there is no change in functionality. Except:
* squashed bugs where op_utime and op_chown weren't using `resolve_from_cwd`
* eliminated the use of the external `remove_dir_all` crate.
* op_chmod now only queries metadata to verify file/dir exists on Windows (it
  will already fail on Unix if it doesn't)
* op_chown now verifies the file/dir's existence on Windows like chmod does.
2020-03-20 09:46:26 -04:00
Bert Belder a2b2851582
Upgrade rust crates (#4412) 2020-03-17 17:42:22 -07:00
Bert Belder 0df9823cba Upgrade to rusty_v8 0.3.5 / v8 8.2.308 (#4364) 2020-03-14 15:26:56 -07:00
Bartek Iwańczuk bf51f7b2ec
replace source-mappings-map with rust-sourcemap (#4368) 2020-03-14 22:10:23 +01:00
Ryan Dahl 3ed6ccc905
v0.36.0 2020-03-11 19:13:01 -04:00
Ryan Dahl dad8036766
upgrade: dprint 0.8.0 (#4308) 2020-03-10 01:01:33 +01:00
Ryan Dahl 18076db8f0
upgrade rust dependencies (#4270) 2020-03-07 15:51:23 -05:00
Ryan Dahl a29343c7d6 v0.35.0 2020-02-28 23:49:49 -05:00
Ryan Dahl ab2798874f
upgrade: rusty_v8 0.3.4 (#4179) 2020-02-28 20:29:47 -05:00
Bert Belder 1a8ef36b71
Upgrade to rusty_v8 v0.3.3 (#4119) 2020-02-26 11:44:33 -08:00
Ryan Dahl 3eebef39c5
upgrade: dprint 0.7.0 (#4130)
* upgrade: dprint 0.7.0

Also make deno fmt less verbose (like cargo fmt)
2020-02-26 11:50:53 +01:00