summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.shared_globals.d.ts
AgeCommit message (Collapse)Author
2020-04-15Add support for AbortController/AbortSignal (#4757)Kitson Kelly
2020-04-13feat(worker): add MessageEvent, ErrorEvent and handling to Worker API (#4391)crowlKats
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-04-13workers: update postMessage and location types (#4734)Bartek Iwańczuk
2020-04-11refactor: Event and EventTarget implementations (#4707)Kitson Kelly
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-10Remove __domTypes namespace (#4698)Ryan Dahl
2020-04-10BREAKING: Make fetch API more web compatible (#4687)Ryan Dahl
- 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-09Remove __event, __eventTarget, __customEvent namespaces (#4683)Ryan Dahl
2020-04-08Remove __blob and __console namespaces (#4677)Ryan Dahl
2020-04-08Remove extra copy of URLSearchParams (#4675)Ryan Dahl
2020-04-08Remove __io namespace (#4669)Ryan Dahl
2020-04-07Remove __url namespace (#4668)Ryan Dahl
2020-04-07Remove __workers namespace (#4665)Ryan Dahl
2020-04-07Remove __textEncoding and __performanceUtil namespaces (#4663)Ryan Dahl
2020-04-07Remove __timers namespace (#4662)Ryan Dahl
2020-04-03feat: Expose ReadableStream and make Blob more standardized (#4581)Yusuke Sakurai
Co-authored-by: crowlkats <crowlkats@gmail.com>
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-25refactor: rename ConsoleOptions to InspectOptions (#4493)Chris Knight
2020-03-24feat: add queueMicrotask to d.ts (#4477)Yusuke Sakurai
2020-03-21Remove @url comments from d.ts files (#4449)Ryan Dahl
These have no function and are not tested, probably incorrect in many situations.
2020-03-10refactor: Cleanup options object parameters (#4296)Nayeem Rahman
2020-03-05Support async function and EventListenerObject as listeners (#4240)Ryan Dahl
2020-03-02seek should return cursor position (#4211)bartOssh
2020-03-02Cleanup comments and internal variables (#4205)dubiousjim
2020-02-23Move WebAsssembly namespace to shared_globals (#4084)Kevin (Kun) "Kassimo" Qian
2020-02-19Support loading additional TS lib files (#3863)Kitson Kelly
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-03Make fetch API more standards compliant (#3667)serverhiccups
2020-01-29workers: proper TS libs, more spec-compliant APIs (#3812)Bartek Iwańczuk
* 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