1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-17 17:03:48 -05:00
Commit graph

6373 commits

Author SHA1 Message Date
Ryan Dahl
bf9930066d
Reduce size of TypeScript Compiler snapshot (#6809)
This PR is intentionally ugly. It duplicates all of the code in cli/js2/ into
cli/tsc/  ... because it's very important that we all understand that this code
is unnecessarily duplicated in our binary. I hope this ugliness provides the
motivation to clean it up.

The typescript git submodule is removed, because it's a very large repo and
contains all sorts of stuff we don't need. Instead the necessary files are
copied directly into the deno repo. Hence +200k lines.

COMPILER_SNAPSHOT.bin size
```
master         3448139
this branch    3320972
```

Fixes #6812
2020-07-22 12:03:46 -04:00
crowlKats
9d13b539b5
Fix lastModified for DomFile in FormData (#6830) 2020-07-22 08:04:35 -04:00
木杉
f34a441a7d
fix(tools/lint): don't exceed max command line length on windows (#6804) 2020-07-21 16:47:55 +02:00
Ryan Dahl
2460689b1a
Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
crowlKats
903d28f872
Remove duplicate code and allow filename overwrite for DomFile (#6817) 2020-07-20 11:29:47 -04:00
Ryan Dahl
628c10b552
fix benchmark_test (#6814) 2020-07-20 01:20:51 -04:00
Bartek Iwańczuk
fa61956f03
Port internal TS code to JS (#6793)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-07-19 19:49:44 +02:00
木杉
53adde866d
refactor(std/path): enrich the types in parse_format_test (#6803) 2020-07-19 12:13:05 -04:00
Jason Miller
c587450cd4
typo (#6800) 2020-07-19 12:10:55 -04:00
Bert Belder
faa64edaf4
Upgrade to rusty_v8 0.7.0 (#6801) 2020-07-19 01:47:45 +02:00
sonota88
aebea6bd24
doc(std/bytes): Fix wrong import in the example code (copyBytes) (#6787) 2020-07-18 15:06:42 -04:00
Luca Casonato
071a6e284a
Share reqwest client between fetch calls (#6792) 2020-07-18 15:05:08 -04:00
Bartek Iwańczuk
da48fa42d3
chore: update Rust to 1.45.0 (#6791) 2020-07-18 10:54:51 -04:00
Bartek Iwańczuk
6e34f6a7cc
fix: providing empty source code for missing compiled files (#6760)
This commit adds a fallback mechanism for absent compiled source file.

Because imported type declaration files are not emitted by TS compiler
and their imports are not elided users often hit "No such file or directory"
error. With this commit in such situation an empty source file will be
provided to V8 with a warning to the user suggesting using "import type"/
"export type" syntax instead.
2020-07-17 15:50:17 +02:00
uki00a
121eaa4efc
fix(std/encoding/toml): could not parse strings with apostrophes/semicolons (#6781) 2020-07-16 18:36:15 -04:00
David Sherret
2d58fee807
Update dprint. Also ignore gh-pages dir. (#6778) 2020-07-16 15:57:19 -04:00
JohannLai
d60f9c2549
fix(cli/js/web): IPv6 hostname should be compressed (#6772) 2020-07-16 12:08:29 -04:00
Casper Beyer
de34166891
fix(std/wasi): remove number overload from rights in path_open (#6768) 2020-07-16 11:01:49 -04:00
Ryan Dahl
6c637f04bf
refactor(cli): Remove dead code (#6765) 2020-07-16 10:53:58 +02:00
Bartek Iwańczuk
98e0ed54db
fix: ModuleSpecifier removes relative path parts (#6762) 2020-07-16 10:53:07 +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
73a9036089
fix: panic for runtime error in TS compiler (#6758) 2020-07-15 14:23:17 +02:00
David Sherret
cde4dbb351
Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
Rob Waller
9eca71caa1
fix(std/testing): assertThrows inheritance (#6623) 2020-07-14 14:41:05 -04:00
Steven Guerrero
fe8399973a
feat(std/node): add string_decoder (#6638) 2020-07-14 14:30:03 -04:00
Opliko
e5724e6118
feat(std/encoding): add ascii85 module (#6711) 2020-07-14 14:26:49 -04:00
Jesse Jackson
d49a021539
refactor(std/datetime): improve weekOfYear (#6741) 2020-07-14 14:23:54 -04:00
Gurwinder Singh
f83d672ffa
refactor: new trait JsonOpDispatcher (#6742) 2020-07-14 14:22:02 -04:00
syumai
7be29fab8d
Remove unused property of StringReader (#6743) 2020-07-14 14:21:08 -04:00
Max Nest
2dea2c9e75
docs(std/io): error in the documentation (#6709) 2020-07-14 15:03:32 +02:00
남현욱
0784014a2f
chore(std): edit style guide link to deno manual (#6490) 2020-07-14 14:54:13 +02:00
Gurwinder Singh
d51972377c
refactor: Make OpDispatcher a trait (#6736) 2020-07-13 16:19:51 -04:00
Bartek Iwańczuk
6af5149ea3
v1.2.0 2020-07-13 13:00:24 -04:00
Maayan Hanin
d619e3c7ac
fix(cli): don't panic when no "HOME" env var is set (#6728) 2020-07-13 18:24:54 +02:00
Bartek Iwańczuk
11560387bb
Revert "feat: move unstable Deno.permissions to navigator.permissions… (#6729)
* Revert "feat: move unstable Deno.permissions to navigator.permissions (#6244)"

This reverts commit 202e7fa6ad.
2020-07-13 18:23:24 +02:00
Marcos Casagrande
44187c81f4
test: ignore max buffer tests (#6732) 2020-07-13 15:40:48 +02:00
uki00a
4731f4800c
fix(Deno.ppid): improve error message when --unstable is missing (#6717) 2020-07-13 14:00:56 +02:00
Marcos Casagrande
1a96a96e10
feat(cli): add copy argument to Buffer.bytes (#6697) 2020-07-13 00:58:59 -04:00
Nayeem Rahman
63edeb1c36
fix(cli/js/web/url): Implement IPv4 hostname parsing (#6707) 2020-07-13 00:56:45 -04:00
Marcos Casagrande
4aeac64ecd
fix(cli/fetch): fix relative redirect (#6715) 2020-07-13 00:53:36 -04:00
Luca Casonato
ac000341db
--no-check docs (#6714) 2020-07-13 00:51:39 -04:00
Kitson Kelly
dd59bf5fc3
fix: more tolerant performance.measure unit tests (#6726)
Fixes #6725
2020-07-13 00:50:57 -04:00
Oscar Linde
3be2064803
feat(cli): add DENO_CERT environment variable (#6370) 2020-07-12 19:18:27 -04:00
simwipado
e1d8140552
feat(install): add --config flag (#6204)
This commits adds support for "--config" flag in "deno install"
subcommand. Specified configuration file is copied alongside
source code to installation directory.
2020-07-12 15:05:47 +02:00
Valentin Anger
3374c73fba
feat(doc): Improve terminal printer (#6594)
- Add more support for generics
- Add the --private flag - displays documentation for
  not exported and private nodes
- Display more attributes like abstract, static and readonly
- Display type aliases
- Refactor module to use the Display trait
- Use a bit more color
2020-07-12 14:16:33 +02:00
Bartek Iwańczuk
871f9255e3
fix: harden pragma and reference parsing in module analysis (#6702) 2020-07-11 18:30:30 +02:00
Bartek Iwańczuk
a26b4a9f1e
chore: reenable ignored integration tests (#6703) 2020-07-11 18:29:55 +02: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
5ec41cbcc2
feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to InspectOptions (#6591) 2020-07-11 00:52:18 -04:00
Kitson Kelly
40d081d3d9
feat: add performance user timing APIs (#6421) 2020-07-10 22:38:15 -04:00