Commit graph

4240 commits

Author SHA1 Message Date
danielwippermann 93e2bfe22e
fix(std/encoding/toml): Stop TOML parser from detecting numbers in strings. (#7064)
Before this patch the TOML parser would incorrect treat the string
"base64data0xdamaged" in a declaration as a hex number because the
corresponding check triggers even when the "0x" is inside a double
quoted string literal as long as it is followed by at least one hex
character.
2020-08-17 17:48:15 -04:00
uki00a 95a6812e82
fix(std/encoding/csv): improve error message on ParseError (#7057) 2020-08-17 17:47:01 -04:00
crowlKats b44b7a9a60
Blob.arrayBuffer returns uint8array (#7086) 2020-08-17 17:46:08 -04: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
Joel Chippindale 1f7d4089f9
Fix handling of multiple spaces in URLSearchParams (#7068)
This ensures that all spaces are set to be "+" in the string rather than
just the first and brings deno into line with how browsers handle spaces
in URLSearchParams, see #7001.
2020-08-17 14:52:45 -04:00
tokiedokie 68e1ba07d3
typos (#7082) 2020-08-17 12:17:57 -04:00
Tim Reichen 684eddcc6b
feat(std/datetime): generalise parser, add formatter (#6619) 2020-08-15 10:37:17 -04:00
Tomofumi Chiba b684df784e
fix: add NO_PROXY to deno help and add test (#7048) 2020-08-15 09:48:29 -04:00
tokiedokie 42ff8ede4c
typo (#7052) 2020-08-15 09:47:14 -04:00
tokiedokie 496c9d73a1
improve docs (#7053) 2020-08-15 09:46:36 -04:00
tokiedokie b9adfe53d3
typo (#7029) 2020-08-14 13:49:22 -04:00
Casper Beyer 4b3a3d9d0f
Enable WebAssembly.instantiateStreaming (#7043) 2020-08-14 13:48:37 -04:00
Jarrett Helton ac56512ba4
fix: Dash Value Treated As Arg (#7039) 2020-08-14 13:45:22 -04:00
Casper Beyer 238816d62f
refactor(cli/rt): inline single line single use open helper functions (#7046) 2020-08-14 13:43:11 -04:00
Moritz Gunz a17ea9150d
Add missing export of HeapLimits (#7047)
Currently this blocks using the ::with_heap_limits constructor of CoreIsolate, because you cannot access the struct.
2020-08-14 13:39:51 -04:00
Connor Peet fbee85b1ae
docs: update VS Code debugging options for 1.47 (#6767) 2020-08-14 13:22:46 -04:00
Kitson Kelly 27d8969847
chore: nightly clippy refactor in lint.rs (#7045) 2020-08-14 12:40:29 +02:00
Bartek Iwańczuk b38c313276
v1.3.0 2020-08-13 12:10:13 -04:00
souldzin d6cee70695
feat: Add "--json" flag to deno lint (#6940)
Co-authored-by: JackSkylark <jdslaughter44@gmail.com>
2020-08-13 17:30:46 +02:00
Bartek Iwańczuk 08ab4d46ca
upgrade: swc, deno_lint, dprint (#7040) 2020-08-13 11:03:16 -04:00
Jarrett Helton 514cbc2808
fix: remove @ts-expect-error directives (#7024) 2020-08-12 17:32:03 -04:00
Divy Srivastava ad4af23aba
unify path normalization utility (#6865) 2020-08-12 16:34:17 -04:00
Ryan Dahl c4d9c6aa4b
upgrade: TypeScript to 3.9.7 (#7036) 2020-08-12 20:49:02 +02:00
Jarrett Helton de4e1fbdf0
feat: add support for --no-check flag in Deno install (#6948) 2020-08-12 14:22:06 -04:00
Nayeem Rahman 18ec1290af
feat: Support file URLs in Deno.run for executable (#6994) 2020-08-12 14:20:34 -04:00
Benjamin Lupton 452693256c
feat(std/node): add util.inspect (#6833) 2020-08-12 14:03:51 -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
木杉 988790834e
feat(std/http): add --no-dir-listing flag to file_server (#6808) 2020-08-12 11:38:25 -04:00
Jarrett Helton c4edd09816
feat(bundle): add support for --reload flag (#6996) 2020-08-12 17:32:03 +02:00
Ryan Dahl f5a4f1fdc0
Undo JsonOpDispatcher and OpDispatcher traits (#7023)
This reverts commit f83d672ffa.
This reverts commit d51972377c.
2020-08-12 16:44:58 +02:00
Divy Srivastava 6706eb5515
feat: add "--ignore" to deno lint (#6934) 2020-08-12 15:47:44 +02:00
Nayeem Rahman fed70c9903
feat: deno info --reload (#7009) 2020-08-12 12:58:50 +02:00
Alberto Ricart 91ff91093d
feat(std): added TLS serve abilities to file_server (#6962) 2020-08-12 12:55:38 +02:00
Prabhanjan b344a7f81f
fix: URLSearchParams.toString() behaviour is different from browsers (#7017) 2020-08-12 12:08:24 +02:00
Nayeem Rahman 81ce4499e7
fix: Make std work with isolatedModules (#7016) 2020-08-12 12:01:36 +02:00
Marcus Weiner 58f86e063a
Remove previous heap limit callback when registering (#7025) 2020-08-12 00:08:50 -04:00
Marcus Weiner f425b51419
core: memory limits & callbacks (#6914) 2020-08-12 03:07:14 +02:00
Paul Thompson eed77aa020
feat(web): FileReader API (#6673) 2020-08-11 14:00:53 +02:00
Valentin Anger d7077b9073
doc: Remove detailed / summary distinction (#6818) 2020-08-11 11:06:55 +02:00
Jesse Jackson f32d28019d
test(std): fs/writeJson add test for append option (#6889)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-08-11 11:04:14 +02:00
迷渡 8c0140e1e4
remove unused git attributes (#7011) 2020-08-10 23:22:45 -04:00
迷渡 dad74c3706
remove unnecessary await in docs (#7012) 2020-08-10 23:22:10 -04:00
Luca Casonato da98f9e3a1
fix(unstable): add missing globals to diagnostics (#6988) 2020-08-10 18:08:12 -04:00
Ryan Dahl 7d01fcbb77
Remove unnecessary drop calls (#7007) 2020-08-10 17:31:05 -04:00
Nayeem Rahman 52c1017a74
feat: Stabilize Deno.mainModule (#6993) 2020-08-10 16:41:51 -04:00
Bartek Iwańczuk 6fcf06306e
feat(doc): handle imports (#6987)
This commit adds additional objects to JSON output
of "deno doc" command to facilitate linking between 
types in different modules.
2020-08-10 17:41:19 +02:00
Prabhanjan fdb2dab7cd
docs: instructions for loading zsh completions (#6998) 2020-08-09 23:50:29 -04:00
uki00a 67fe8cd848
fix: console.log should see color codes when grouping occurs (#7000) 2020-08-09 19:09:09 -04:00
Ryan Dahl 732a437352
Add README for deno_web (#6997) 2020-08-09 07:27:39 -04:00
Ryan Dahl 92a173bca6
v1.2.3 2020-08-08 18:59:16 -04:00