Bartek Iwańczuk
68d287eed5
BREAKING CHANGE: rename Deno.toAsyncIterator() to Deno.iter() ( #4848 )
...
* rename Deno.toAsyncIterator() to Deno.iter()
* adds sync version Deno.iterSync()
* adds optional second argument for buffer size
2020-04-22 21:30:45 +02:00
Ryan Dahl
da6819a14c
Add comment distinguishing Deno.Buffer from Node's Buffer ( #4847 )
2020-04-22 14:26:16 -04:00
张超杰
08936c2efc
chore(docs): A space should be left after the single-line comment ( #4811 )
2020-04-22 10:21:05 -04:00
Kitson Kelly
8bcfc03d71
Rewrite streams ( #4842 )
2020-04-22 10:06:51 -04:00
张超杰
b270d6c8d0
typo
2020-04-21 16:11:52 -04:00
Ryan Dahl
cc1720132a
Move resource_table from deno::State to deno_core::Isolate ( #4834 )
2020-04-21 09:48:44 -04:00
Nayeem Rahman
ef6ee25e09
refactor(cli/fmt_errors): Improve source line formatting ( #4832 )
2020-04-20 15:39:02 -04:00
Nikolai Vavilov
f72f045de5
std/node: require_ -> require ( #4828 )
2020-04-20 14:30:52 -04:00
Ryan Dahl
6e5f3453f8
Remove core/plugin.rs ( #4824 )
...
This simplifies the plugin interface in order to deliver op crates with a similar API
2020-04-20 10:27:15 -04:00
Ali Hasani
437e35ca52
Add no-async-promise-executor lint rule ( #4809 )
2020-04-20 11:29:37 +02:00
Ryan Dahl
c1ec042a00
Modify op dispatcher to include &mut Isolate argument ( #4821 )
...
- Removes unnecessary RwLock and Rc around the op registry table
- Preparation to move resource_table to deno_core::Isolate.
- Towards #3453 , #4222
2020-04-19 23:54:46 -04:00
Nayeem Rahman
4e3532fe7b
fix(core/js_errors): Get error's name and message from JS fields ( #4808 )
2020-04-19 15:17:22 +02:00
David Sherret
5292d24e6f
upgrade: dprint 0.13.0 ( #4816 )
2020-04-19 13:26:17 +02:00
Ryan Dahl
4d2b9cd37a
Fix Op definitions ( #4814 )
2020-04-18 20:05:13 -04:00
Bartek Iwańczuk
e2fd729a0b
fix(std): existsFile test
2020-04-18 22:29:39 +02:00
迷渡
ade05f3c00
fix(doc): Group ID ( #4803 )
2020-04-18 11:25:35 -04:00
EnokMan
47617e60d5
feat: startTLS ( #4773 )
2020-04-18 11:21:20 -04:00
Bartek Iwańczuk
10469ec279
store debugger url on DenoInspector ( #4793 )
2020-04-18 12:51:51 +02:00
迷渡
9d53a7a523
fix(doc): FileInfo.created
is creation time ( #4799 )
2020-04-18 00:05:33 -04:00
Chris Knight
957050cd02
feature: synchronous buffered writer ( #4693 )
2020-04-17 16:12:14 -04:00
Bartek Iwańczuk
41f836dc91
replace block_on in net interfaces ( #4796 )
2020-04-17 18:45:34 +02:00
Gudmund Vatn
260084ccbf
Add close method to Plugin ( #4670 ) ( #4785 )
2020-04-17 12:51:10 +02:00
Nayeem Rahman
5bfe3eb8f4
feat(cli/installer.rs): Add DENO_INSTALL_ROOT ( #4787 )
2020-04-16 18:15:42 -04:00
Bartek Iwańczuk
d359789c52
feat: support Deno namespace in Worker API ( #4784 )
2020-04-16 23:40:29 +02:00
Chris Knight
1cd1f7de70
refactor: proper Node polyfill directory iteration now that Deno supports this ( #4783 )
2020-04-16 15:45:30 -04:00
uki00a
f2d1bc3af3
docs(std): update links to documents ( #4777 )
2020-04-16 11:57:49 -04:00
Bartek Iwańczuk
00fa4858b0
v0.41.0
2020-04-16 10:47:12 -04:00
Bartek Iwańczuk
0c48470b35
remove more calls to futures::executor::block_on ( #4775 )
2020-04-16 16:29:28 +02:00
Ryan Dahl
5f250bb148
Properly propagate error when deno_core::Isolate gets syntax error ( #4770 )
...
Co-authored-by: Filipe Schenkel de Souza <filipe.schenkel@azion.com>
Co-authored-by: Douglas Caetano dos Santos <douglas.santos@azion.com>
Co-authored-by: João Avelino Bellomo Filho <joao.avelino@azion.com>
2020-04-16 12:58:17 +02:00
trgwii
42c421f49d
Add @ for cleaner Batch files on Windows ( #4764 )
2020-04-16 01:42:09 -04:00
Nayeem Rahman
5ac728a5f1
refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces ( #4763 )
2020-04-16 01:40:30 -04:00
Steven Guerrero
6441852a1d
Migrate std/types to x/types ( #4771 )
2020-04-16 01:27:10 -04:00
Bartek Iwańczuk
aab26d226e
remove calls to futures::executor::block_on ( #4760 )
2020-04-15 23:14:28 -04:00
Ryan Dahl
fab0204cbf
Make writeSync, readSync, seekSync, openSync, isatty proper synchronous syscalls ( #4762 )
2020-04-15 20:43:19 -04:00
Ali Hasani
7cfd094359
Implement UUID v1 ( #4758 )
2020-04-15 10:38:05 -04:00
Nayeem Rahman
926db017d9
Remove std/testing/format.ts ( #4749 )
2020-04-15 10:12:42 -04:00
Kitson Kelly
cb64cf3ce2
Add support for AbortController/AbortSignal ( #4757 )
2020-04-15 10:10:49 -04:00
Nayeem Rahman
95eb6d780c
fix(cli/js/net): Make generator return types iterable ( #4661 )
2020-04-15 12:44:09 +02:00
Ryan Dahl
263dc8f5fe
Revert "test(inspector): add coverage test case ( #4725 )" ( #4754 )
...
Flaky and doesn't implement any features.
This reverts commit a7a3a771a0
.
2020-04-15 11:26:31 +02:00
Bartek Iwańczuk
a7a3a771a0
test(inspector): add coverage test case ( #4725 )
2020-04-14 20:09:50 +02:00
Khải
e4c130d89b
ci: Set restore-keys for cache ( #4745 )
...
Before this commit, when Cargo.lock changes, cache is completely rebuilt, wasting time.
After this commit, if cache for a specific Cargo.lock is not found, it will fallback to find cache of another Cargo.lock.
2020-04-14 12:41:42 -04:00
Bartek Iwańczuk
e08ece2d2c
fix(worker): make worker name spec compliant ( #4746 )
2020-04-14 17:41:06 +02:00
Ryan Dahl
cb5dd69dda
upgrade: rust crates ( #4742 )
2020-04-14 09:31:29 -04:00
Ryan Dahl
ff60b31129
dedup various type definitions ( #4741 )
...
FormData FilePropertyBag DomFile BlobPropertyBag RequestCache
RequestCredentials RequestDestination RequestMode RequestRedirect
ResponseType
2020-04-14 09:23:07 -04:00
Ryan Dahl
360c05ffe7
dedup Headers types ( #4736 )
2020-04-13 22:46:23 -04:00
Luca Casonato
c915e4d77d
fix(doc): Added extends field to interface ( #4739 )
2020-04-14 00:28:49 +02:00
Luca Casonato
a9923f3f93
fix(doc): expose optionality in function params and class members ( #4738 )
2020-04-14 00:07:06 +02:00
Bartek Iwańczuk
2585b72c9b
feat: implement EventTarget for worker scope ( #4737 )
2020-04-13 22:18:31 +02:00
Steven Guerrero
8397cd52a5
Refactor std/types ( #4713 )
2020-04-13 13:15:18 -04:00
crowlKats
25bd6868e5
feat(worker): add MessageEvent, ErrorEvent and handling to Worker API ( #4391 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-04-13 18:34:32 +02:00