Steven Guerrero
1f8b83ba1a
feat(std/node): Add support for process.on("exit") ( #8940 )
...
This commit adds support for process.on("exit") by appending a listener to
the unload event. Luckily, unload works pretty much the same as on("exit")
since it won't schedule any additional work in the even loop either.
This commit also solves an error in the Node implementation, since "process.argv"
didn't contained the main module route as it was supposed to.
2021-01-25 17:30:31 +01:00
Luca Casonato
e0eb111e3e
Revert "tests: enable wpt for url ( #9046 )" ( #9264 )
...
This reverts commit 66e99d349b
.
2021-01-25 16:02:03 +01:00
akfm
cf688cb408
docs(cli): fix return type in comment ( #9248 )
2021-01-25 15:14:25 +09:00
Luca Casonato
66e99d349b
tests: enable wpt for url ( #9046 )
2021-01-24 22:29:36 +01:00
ali ahmed
feff6361b1
feat(op_crates/web): adding gb18030 and GBK encodings ( #9242 )
2021-01-24 20:08:01 +01:00
Anonymous
ad60e750d7
fix(runtime/js): use DOMException in Performance#measure ( #9142 )
2021-01-24 16:05:18 +01:00
akfm
2ca637962f
docs(cli): fix typo stanalone
-> standalone
( #9246 )
2021-01-24 14:25:18 +01:00
Nayeem Rahman
452df2f23a
fix(cli/flags): don't panic on invalid location scheme ( #9202 )
2021-01-24 02:18:19 +01:00
Liam Murphy
25830a1067
fix(std/node): replace uses of window
with globalThis
( #9237 )
2021-01-24 02:17:06 +01:00
Liam Murphy
a61389a55e
fix(compile): fix panic when cross-compiling between windows and unix ( #9203 )
2021-01-24 02:40:13 +09:00
Nayeem Rahman
1518fabfbb
fix(std/async): make pooledMap() errors catchable ( #9217 )
2021-01-22 20:45:29 +09:00
Kitson Kelly
1a9209d1e3
fix(lsp): handle mbc documents properly ( #9151 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-01-22 21:03:16 +11:00
Jesse Jackson
ffa920e4b9
Typo ( #9221 )
2021-01-21 20:09:07 -05:00
Nayeem Rahman
bdb1ee6480
fix(core): Handle prepareStackTrace() throws ( #9211 )
...
Fixes #9206
2021-01-21 20:48:04 +11:00
Yoshiya Hinosawa
18ac7d40c8
fix(runtime): fix recursive dispatches of unload event ( #9207 )
2021-01-21 16:44:48 +09:00
Rob Palmer
8bef29fd74
docs: update implied tsconfig for "useDefineForClassFields" ( #9196 )
2021-01-21 16:38:15 +11:00
Casper Beyer
413f79a494
fix(coverage): ignore comments ( #8639 )
...
This commit fixes coverage collection by ignoring
comments when tallying up line counts.
2021-01-20 15:51:36 +01:00
grian
47263ef6fa
docs(std/fmt): Add examples of colors.ts usage ( #9159 )
2021-01-20 15:48:57 +01:00
Yoshiya Hinosawa
0a159bea15
fix(ops/net): fix panic in op_dns_resolve ( #9187 )
2021-01-20 15:47:17 +01:00
Kuzivakwashe
ffb4b32e92
docs: Fix typos in TypeScript section of the manual ( #9195 )
2021-01-20 06:54:42 -05:00
Ryan Dahl
0f7a02500c
v1.7.0 with release notes
2021-01-20 00:24:27 -05:00
Ryan Dahl
bfaa121cd2
v1.7.0
2021-01-19 23:17:20 -05:00
Bert Belder
b0132e8f90
fix(cli): actually stabilize Deno.shutdown() ( #9181 )
2021-01-19 20:11:08 -08:00
Ryan Dahl
9312d48e69
upgrade: rusty_v8 0.16.0, v8 8.9.255.3 ( #9180 )
2021-01-19 18:40:30 -08:00
Nayeem Rahman
4bf98ab239
docs: Move release schedule section ( #9178 )
2021-01-19 21:02:42 -05:00
Kitson Kelly
02c6a88d8a
docs: improve manual around typescript ( #8139 )
...
Fixes #9054
2021-01-20 09:28:58 +11:00
ali ahmed
973c33c899
feat(web): add utf-16 and big5 to TextEncoder/TextDecoder ( #8108 )
2021-01-19 21:58:57 +01:00
Luca Casonato
0e8e6d7251
chore: add compile aarch64-apple-darwin target ( #9174 )
2021-01-19 20:03:50 +01:00
Satya Rohith
16036a8a51
feat: add markdown support to deno fmt ( #8887 )
...
This commit adds support for formatting markdown files with "deno fmt".
Additionally "--ext={js|jsx|ts|tsx|md}" flag was added to "deno fmt"
that allows to specify file type when providing contents over stdio.
2021-01-19 18:39:35 +01:00
Luca Casonato
4c223d0521
fix: panic during deno compile
with no args ( #9167 )
2021-01-19 16:19:36 +01:00
Yusuke Tanaka
0ef8c915c0
feat(unstable): add Deno.resolveDns API ( #8790 )
2021-01-19 09:39:04 -05:00
Luca Casonato
cf3202644d
fix: full commit hash in canary compile download ( #9166 )
2021-01-19 13:53:23 +01:00
Freddy Fallon
867ce78fb6
fix(installer): pass cached-only to executable_args ( #9169 )
2021-01-19 13:46:08 +01:00
Liam Murphy
3505823e20
fix(cli/install): escape % symbols in windows batch files ( #9133 )
...
Fixes #9096 .
2021-01-18 19:34:37 -08:00
Bartek Iwańczuk
9ff468df73
feat: Standalone lite binaries and cross compilation ( #9141 )
...
This commit adds --target and --lite flags to deno compile subcommand.
--target allows to cross-compile binary to different target architectures by
fetching appropriate binary from remote server on first run. All downloaded
binaries are stored in "$DENO_DIR/dl".
--lite allows to use lite version of the runtime (ie. the one that doesn't contain
built-in tooling like formatter or linter).
2021-01-19 03:40:22 +01:00
Nayeem Rahman
b12afdb89a
feat: Add WorkerOptions interface to type declarations ( #9147 )
2021-01-19 03:26:39 +01:00
Casper Beyer
f43855cead
fix(cli): print a newline after help and version ( #9158 )
2021-01-19 01:56:24 +01:00
Anonymous
db3a1d6633
fix(op_crates/web) let TextEncoder#encodeInto accept detached ArrayBuffers ( #9143 )
2021-01-18 10:04:46 -05:00
Casper Beyer
6a50615e7c
test(std/node): ensure process.env case doesn't rely on unset variables ( #9144 )
2021-01-18 10:01:38 -05:00
Luca Casonato
7a30d1a3d8
fix: redirect in --location relative fetch ( #9150 )
2021-01-18 13:59:29 +01:00
Casper Beyer
12577f2d9a
test(std/node): avoid project directories for cwd case ( #9148 )
2021-01-18 07:39:35 -05:00
William Perron
18150b3a78
bench: fix off-by-one error in thread_count ( #9145 )
2021-01-18 05:00:51 -05:00
Kitson Kelly
2077864a8d
fix(op_crate/fetch): add back ReadableStream.getIterator and deprecate ( #9146 )
2021-01-18 10:40:39 +11:00
Nayeem Rahman
81d73f2987
fix(cli): Check permissions for Deno.emit() ( #9139 )
2021-01-18 08:58:23 +11:00
William Perron
2b5b93158c
benchmark: cleanup serde_json values being passed around ( #9115 )
2021-01-17 11:40:29 -05:00
Vishal Pratap Singh
271fbe39e3
tests(wpt): enable working wasm tests ( #9072 )
2021-01-17 16:46:33 +01:00
Nayeem Rahman
7db0605d45
fix(op_crates/web): Use WorkerLocation for location in workers ( #9084 )
2021-01-17 16:28:54 +01:00
Bartek Iwańczuk
f4dbb267c6
fix: incremental build for deno declaration files ( #9138 )
2021-01-17 15:12:00 +01:00
Bartek Iwańczuk
b26dcbc69d
chore: Enforce ban-untagged-todo lint rule ( #9135 )
2021-01-17 00:32:59 +01:00
linbingquan
fc45a19801
docs(cli): correct example ( #9136 )
2021-01-17 10:31:29 +11:00