1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
Commit graph

8250 commits

Author SHA1 Message Date
Jimmy Wärting
2c0b0e45b7
refactor: asynchronous blob backing store (#10969)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-05 15:34:37 +02:00
Casper Beyer
ea87d860be
tests: be more liberal with expectation wildcards (#11279) 2021-07-05 14:30:51 +02:00
Leo K
220104f577
fix: spec conformance for performance API (#10887) 2021-07-05 13:17:11 +02:00
Craig Morten
a6c840d150
fix(fetch): OPTIONS should be allowed a non-null body (#11242) 2021-07-05 12:38:12 +02:00
Luca Casonato
3ee0c36453
refactor: introduce primordials for web/streams (#11251) 2021-07-05 12:18:41 +02:00
Casper Beyer
c4cc353d59
refactor(runtime): reduce duplication in test harness (#11274) 2021-07-05 10:26:57 +02:00
Divy Srivastava
6a4769670d
fix(webidl): use primordial for SymbolToStringTag (#11275) 2021-07-05 10:26:25 +02:00
Divy Srivastava
a80e34f92c
fix(webstorage): use primordial for Symbol.for (#11276) 2021-07-05 10:24:21 +02:00
Divy Srivastava
ffd28e7d67
refactor: use primordials for extensions/websocket (#11240) 2021-07-04 17:38:04 +02:00
Simon Rask
a8f9ac654d
fix: primordials in extensions/net and runtime/js (#11270) 2021-07-04 17:26:38 +02:00
Bartek Iwańczuk
f0fbd49a2d
refactor: use primordials in extensions/web/02_event.js (#11264) 2021-07-04 16:43:21 +02:00
Bartek Iwańczuk
ae526e0abb
refactor use primordials in extensions/webgpu (#11265) 2021-07-04 16:23:22 +02:00
Luca Casonato
3c0267dbb5
fix: align DOMException to webidl spec (#11259) 2021-07-04 16:08:53 +02:00
Bartek Iwańczuk
5addba2abc
refactor: use primordials in runtime/, part2 (#11248) 2021-07-04 00:17:52 +02:00
Andreu Botella
ffa75be480
feat: enable WebAssembly.instantiateStreaming and wasm async compilation (#11200)
The WebAssembly streaming APIs used to be enabled, but used to take
buffer sources as their first argument (see #6154 and #7259). This
change re-enables them, requiring a Promise<Response> instead, as well as
enabling asynchronous compilation of WebAssembly modules.
2021-07-03 23:33:36 +02:00
Luca Casonato
7ef0f43d87 fix: stream strategy size should be plain function 2021-07-03 22:20:28 +02:00
Luca Casonato
14104c4e5b chore: update wpt submodule 2021-07-03 22:20:28 +02:00
Luca Casonato
bf39b883d6
refactor: introduce primordials for ext/web (#11228) 2021-07-03 21:32:28 +02:00
Bartek Iwańczuk
425b9a8228
fix: primordials in extensions/net (#11250) 2021-07-03 17:41:49 +02:00
Simon Rask
51de4e1f7c
refactor: use primordials for 13_buffer.js and 30_fs.js (#11247) 2021-07-03 17:17:23 +02:00
Bartek Iwańczuk
bd7bb43a0e
refactor: use primordials in extensions/net/ (#11243) 2021-07-03 17:02:14 +02:00
Bartek Iwańczuk
6137c8046d
refactor: use primordials in runtime/, part1 (#11241) 2021-07-03 16:58:08 +02:00
Divy Srivastava
d4de477ef9
refactor: use primordials for extensions/broadcast_channel (#11231) 2021-07-03 11:51:53 +02:00
Divy Srivastava
e90b97ada2
refactor: use primordials for extensions/webstorage (#11239) 2021-07-03 11:49:41 +02:00
Luca Casonato
caf87694d0
chore: add TypedArray to primordials typings (#11236) 2021-07-03 00:49:47 +02:00
Bartek Iwańczuk
da654fddff
chore: upgrade rusty_v8 and serde_v8 (#11233) 2021-07-02 22:59:33 +02:00
TED@Hexaflow
a70e2249cf
doc: fix duplicated words 'use of use of' (#11230) 2021-07-02 20:26:20 +02:00
Luca Casonato
4ae50f5c06
refactor: use primordials for extensions/webidl (#11227) 2021-07-02 16:37:41 +02:00
David Sherret
68b4d60fd7
fix(diff): better handling of text with only line ending differences (#11212)
Additionally fixes:

* It not displaying a diff when one text had a trailing newline and the other didn't.
* Edge case where the line number width could be incorrect if the original text had say 99 lines and the edit text had 100 lines.
2021-07-02 10:16:09 -04:00
Bartek Iwańczuk
7dd4090c2a
Remove unstable native plugins (#10908)
This commit removes implementation of native plugins
alongside the unstable "Deno.openPlugin()" API.
2021-07-02 16:11:23 +02:00
Luca Casonato
2544ec9af4
refactor: use primordials for extensions/url (#11225) 2021-07-02 14:08:28 +02:00
Luca Casonato
c9204c4aee
refactor: introduce primordials (#10939)
This commit introduces primordials to deno_core. Primordials are a
frozen set of all intrinsic objects in the runtime. They are not
vulnerable to prototype pollution.
2021-07-02 12:18:30 +02:00
Andreu Botella
7b0375fae7
perf: speed up TextEncoder.prototype.encodeInto() (#11219)
The current implementation of op_encoding_encode_into UTF-8 encodes each
individual code point in the input string into the output buffer. But after the
ops binding, the input is a Rust String, so the UTF-8 bytes can simply be copied
to the output. This should improve this API's performance.
2021-07-02 12:11:20 +02:00
Andreu Botella
4bc8fe71db
fix(fetch): a consumed body with a non-stream source should result in a disturbed stream (#11217) 2021-07-02 11:34:12 +02:00
Bartek Iwańczuk
513f921219
feat(core): pump V8 message loop on event loop tick (#11221)
This commit adds support for Atomics and FinalizationRegistry by integrating
V8's message loop into "JsRuntime::poll_event_loop".
2021-07-02 10:46:37 +02:00
Zhangyuan Nie
5648b22fe1
docs(cli/flags): use deno instead of target/debug/deno (#11215) 2021-07-02 10:43:53 +02:00
Bartek Iwańczuk
bce662d5bb
chore: upgrade rusty_v8 and serde_v8 (#11216) 2021-07-02 09:32:48 +02:00
Luca Casonato
0385a99052
v1.11.3
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-07-02 00:13:40 +02:00
Bert Belder
1a5984983f
ci: don't set DENO_CANARY when releasing, attempt 2 (#11214) 2021-07-01 23:48:53 +02:00
David Sherret
899470addc
chore: update dprint-plugin-json to remove duplicate dprint-core dependency (#11209) 2021-07-01 11:22:28 -04:00
Luca Casonato
32b9aa5720
build: switch to wpt.fyi prod (#11201) 2021-07-01 15:44:44 +02:00
Luca Casonato
e9e286a56e
upgrade: swc 0.44.0 (#11197) 2021-07-01 11:48:42 +02:00
Luca Casonato
de6e44794b
fix: panic in request body streaming (#11191) 2021-06-30 18:05:58 +02:00
Bartek Iwańczuk
3e21ffc935
feat(inspector): improve inspector prompt in Chrome Devtools (#11187)
This commit improves how Deno inspector presents itself in Chrome Devtools.
2021-06-30 18:01:11 +02:00
Bert Belder
622f9c6889
ci: don't set DENO_CANARY when releasing (#11181)
Fixes: #11179
2021-06-29 21:01:34 +00:00
Bert Belder
5db9f627e3
chore: get rid of REPL timeout (#11175)
* Get rid of timeout
* Use tokio channel and reduce calls to run_event_loop

Co-authored-by: David Sherret <dsherret@gmail.com>
2021-06-29 14:39:28 -04:00
Casper Beyer
a0c0daac24
test(cli): harden test runner tests (#11166) 2021-06-29 15:40:16 +02:00
Casper Beyer
96d0582900
fix(cli): pretty print coverage files (#11157) 2021-06-29 03:39:19 +02:00
Nayeem Rahman
c577c273a4
fix(core/modules): Fix concurrent loading of dynamic imports (#11089)
This commit changes implementation of module loading in "deno_core"
to track all currently fetched modules across all existing module loads.

In effect a bug that caused concurrent dynamic imports referencing the 
same module to fail is fixed.
2021-06-29 03:03:02 +02:00
Bartek Iwańczuk
38a7128cdd
feat: Add "deno_net" extension (#11150)
This commits moves implementation of net related APIs available on "Deno"
namespace to "deno_net" extension.

Following APIs were moved:
- Deno.listen()
- Deno.connect()
- Deno.listenTls()
- Deno.serveHttp()
- Deno.shutdown()
- Deno.resolveDns()
- Deno.listenDatagram()
- Deno.startTls()
- Deno.Conn
- Deno.Listener
- Deno.DatagramConn
2021-06-29 01:43:03 +02:00