Kitson Kelly
40d081d3d9
feat: add performance user timing APIs ( #6421 )
2020-07-10 22:38:15 -04:00
Kitson Kelly
202e7fa6ad
feat: move unstable Deno.permissions to navigator.permissions ( #6244 )
2020-07-09 05:00:18 -04:00
Ryan Dahl
5c43131be1
Fix definition of URL constructor ( #6653 )
2020-07-06 17:39:13 -04:00
Kitson Kelly
2527a6e296
fix: move ImportMeta to deno.ns lib ( #6588 )
2020-07-03 12:44:45 +02:00
Nayeem Rahman
44251ce8ea
fix(cli/js/web/worker): Disable relative module specifiers ( #5266 )
2020-06-09 14:33:52 +02:00
Chris Knight
8b037364ac
doc: add/update jsdoc for global functions ( #5963 )
2020-05-30 11:19:16 -04:00
Nayeem Rahman
49c7077401
fix(cli/js/error_stack): Expose Error.captureStackTrace ( #5254 )
2020-05-29 14:02:36 +02:00
Marcos Casagrande
08f74e1f6a
fix(cli/web/fetch): Make Response constructor standard ( #5787 )
2020-05-25 12:55:16 -04:00
Ryan Dahl
2a038eafcd
Revert "Fix definition of URL constructor ( #5521 )" ( #5564 )
...
This reverts commit 63bc468365
.
2020-05-18 08:46:56 -04:00
Masahiro Miyashiro (3846masa)
63bc468365
Fix definition of URL constructor ( #5521 )
2020-05-17 11:37:16 -04:00
Siddharth Parmar
bfd4baf2d3
Fix formatting of example code in typescript declaration files ( #5475 )
2020-05-16 21:23:48 +02:00
Bert Belder
76a6a1ff46
Fix a bunch of spelling errors ( #5314 )
2020-05-16 00:36:49 +02:00
Tomasz Gałkowski
8440d765d5
fix: setTimeout and friends have too strict types ( #5412 )
2020-05-15 09:51:49 -04:00
Oliver Lenehan
a08a4abac1
feat(workers): "crypto" global accessible in Worker scope ( #5121 )
2020-05-08 14:30:53 +02:00
Kitson Kelly
7e32269f3f
Add TransformStream and TransformStreamController ( #5042 )
2020-05-03 15:10:52 -04:00
Bartek Iwańczuk
6661e7e287
BREAKING: remove window.location and self.location ( #5034 )
...
This commit removes "location" global available on "window",
"globalThis" and "self".
2020-05-01 20:15:28 +02:00
Kitson Kelly
81c75332fb
feat: Add WritableStreams (and enable ReadableStreams piping) ( #4980 )
2020-04-30 10:40:10 -04:00
Nayeem Rahman
b51c863550
feat(std/path): Add fromFileUrl() ( #4993 )
...
Fix: URL constructor accepts a URL object which is not a base
2020-04-29 16:20:55 -04:00
Bartek Iwańczuk
6ee00e4da3
refactor: change InspectOptions, make Deno.inspect stable ( #4967 )
2020-04-28 20:11:50 +02:00
Kitson Kelly
8bcfc03d71
Rewrite streams ( #4842 )
2020-04-22 10:06:51 -04:00
Bartek Iwańczuk
d359789c52
feat: support Deno namespace in Worker API ( #4784 )
2020-04-16 23:40:29 +02:00
Kitson Kelly
cb64cf3ce2
Add support for AbortController/AbortSignal ( #4757 )
2020-04-15 10:10:49 -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
Bartek Iwańczuk
5105c68399
workers: update postMessage and location types ( #4734 )
2020-04-13 16:48:12 +02:00
Kitson Kelly
fc4819e1e0
refactor: Event and EventTarget implementations ( #4707 )
...
Refactors Event and EventTarget so that they better encapsulate their
non-public data as well as are more forward compatible with things like
DOM Nodes.
Moves `dom_types.ts` -> `dom_types.d.ts` which was always the intention,
it was a legacy of when we used to build the types from the code and the
limitations of the compiler. There was a lot of cruft in `dom_types`
which shouldn't have been there, and mis-alignment to the DOM standards.
This generally has been eliminated, though we still have some minor
differences from the DOM (like the removal of some deprecated
methods/properties).
Adds `DOMException`. Strictly it shouldn't inherit from `Error`, but
most browsers provide a stack trace when one is thrown, so the behaviour
in Deno actually better matches the browser.
`Event` still doesn't log to console like it does in the browser. I
wanted to get this raised and that could be an enhancement later on (it
currently doesn't either).
2020-04-11 11:42:02 -04:00
Ryan Dahl
2af9f5f2cf
Remove __domTypes namespace ( #4698 )
2020-04-10 14:24:42 -04:00
Ryan Dahl
02bc58d832
BREAKING: Make fetch API more web compatible ( #4687 )
...
- Removes the __fetch namespace from `deno types`
- Response.redirect should be a static.
- Response.body should not be AsyncIterable.
- Disables the deno_proxy benchmark
- Makes std/examples/curl.ts buffer the body before printing to stdout
2020-04-10 09:51:17 -04:00
Ryan Dahl
198a045dbe
Remove __event, __eventTarget, __customEvent namespaces ( #4683 )
2020-04-09 12:03:44 +02:00
Ryan Dahl
dd2d19b22d
Remove __blob and __console namespaces ( #4677 )
2020-04-08 13:21:04 -04:00
Ryan Dahl
fe17496831
Remove extra copy of URLSearchParams ( #4675 )
2020-04-08 10:32:08 -04:00
Ryan Dahl
b4836be57e
Remove __io namespace ( #4669 )
2020-04-08 01:30:51 +02:00
Ryan Dahl
f07fcfcc80
Remove __url namespace ( #4668 )
2020-04-07 17:11:38 -04:00
Ryan Dahl
6660fb25c9
Remove __workers namespace ( #4665 )
2020-04-07 15:03:14 -04:00
Ryan Dahl
51f5276e8c
Remove __textEncoding and __performanceUtil namespaces ( #4663 )
2020-04-07 13:27:37 -04:00
Ryan Dahl
62726430be
Remove __timers namespace ( #4662 )
2020-04-07 11:12:31 -04:00
Yusuke Sakurai
2426174485
feat: Expose ReadableStream and make Blob more standardized ( #4581 )
...
Co-authored-by: crowlkats <crowlkats@gmail.com>
2020-04-03 14:55:23 -04:00
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields ( #4498 )
2020-03-28 13:03:49 -04:00
Chris Knight
a053462566
refactor: rename ConsoleOptions to InspectOptions ( #4493 )
2020-03-25 20:48:47 -04:00
Yusuke Sakurai
07fc95acee
feat: add queueMicrotask to d.ts ( #4477 )
2020-03-24 13:39:41 -04:00
Ryan Dahl
12ff78ed4c
Remove @url comments from d.ts files ( #4449 )
...
These have no function and are not tested, probably incorrect in many
situations.
2020-03-21 17:58:31 -04:00
Nayeem Rahman
6443e4aed1
refactor: Cleanup options object parameters ( #4296 )
2020-03-10 12:08:58 -04:00
Ryan Dahl
c850b258b4
Support async function and EventListenerObject as listeners ( #4240 )
2020-03-05 08:36:13 -05:00
bartOssh
4a47ffa5c4
seek should return cursor position ( #4211 )
2020-03-02 11:44:46 -05:00
dubiousjim
6cd46fa3ef
Cleanup comments and internal variables ( #4205 )
2020-03-02 10:19:42 -05:00
Kevin (Kun) "Kassimo" Qian
bf48f5fa5a
Move WebAsssembly namespace to shared_globals ( #4084 )
2020-02-23 09:40:44 -05:00
Kitson Kelly
046bbb2691
Support loading additional TS lib files ( #3863 )
...
Fixes #3726
This PR provides support for referencing other lib files (like lib.dom.d.ts that are not
used by default in Deno.
2020-02-19 00:34:11 -05:00
serverhiccups
2b0cf74a8f
Make fetch API more standards compliant ( #3667 )
2020-02-03 15:54:47 +01:00
Bartek Iwańczuk
161adfc51b
workers: proper TS libs, more spec-compliant APIs ( #3812 )
...
* split lib.deno_main.d.ts into:
- lib.deno.shared_globals.d.ts
- lib.deno.window.d.ts
- lib.deno.worker.d.ts
* remove no longer used libs:
- lib.deno_main.d.ts
- lib.deno_worker.d.ts
* change module loading to use proper TS library for compilation
* align to Worker API spec:
- Worker.terminate()
- self.close()
- self.name
2020-01-29 18:54:23 +01:00