summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2020-04-14fix(worker): make worker name spec compliant (#4746)Bartek Iwańczuk
2020-04-14upgrade: rust crates (#4742)Ryan Dahl
2020-04-14dedup various type definitions (#4741)Ryan Dahl
FormData FilePropertyBag DomFile BlobPropertyBag RequestCache RequestCredentials RequestDestination RequestMode RequestRedirect ResponseType
2020-04-13dedup Headers types (#4736)Ryan Dahl
2020-04-14fix(doc): Added extends field to interface (#4739)Luca Casonato
2020-04-14fix(doc): expose optionality in function params and class members (#4738)Luca Casonato
2020-04-13feat: implement EventTarget for worker scope (#4737)Bartek Iwańczuk
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-13refactor(core/js_error): Align JSStackFrame with CallSite (#4715)Nayeem Rahman
Renames and adds missing fields to JSStackFrame from CallSite. Fixes #4705. Cleans up base changes for line and column numbers.
2020-04-13workers: update postMessage and location types (#4734)Bartek Iwańczuk
2020-04-13Convert ProcessStatus to a tagged union (#4732)Khải
2020-04-11docs: highlight NO_COLOR (#4723)迷渡
2020-04-11dedup URLSearchParams, URL, Location, DOMStringList (#4719)Ryan Dahl
2020-04-11dedup type declarations (#4718)Ryan Dahl
Blob, BlobPart, BufferSource, ReferrerPolicy, BlobPart, AbortSignal, AbortSignalEventMap
2020-04-11deno install should also accept log level flags for installed script (#4714)David Yamnitsky
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-11refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706)Nayeem Rahman
2020-04-10Replace panic with invalid_utf8 OpError (#4704)gewoonwoutje
Co-authored-by: Wout Elstgeest <w.elstgeest@inepro.com>
2020-04-10Remove __domTypes namespace (#4698)Ryan Dahl
2020-04-10fix(core/js_error): Get frame data from prepareStackTrace() (#4690)Nayeem Rahman
Fixes: #2703 Fixes: #2710 Closes: #4153 Closes: #4232 Co-authored-by: Kevin (Kun) Kassimo Qian <kevinkassimo@gmail.com>
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-10implement Worker.terminate() and self.close() (#4684)Bartek Iwańczuk
2020-04-09BREAKING: Remove deprecated mkdir, mkdirSync APIs (#4615)Chris Knight
2020-04-09feat(cli/doc): Support doc for runtime built-ins (#4635)Nayeem Rahman
2020-04-09Remove __event, __eventTarget, __customEvent namespaces (#4683)Ryan Dahl
2020-04-08v0.40.0Ryan Dahl
2020-04-08upgrade: rust crates (#4679)Ryan Dahl
2020-04-08Remove __blob and __console namespaces (#4677)Ryan Dahl
2020-04-08feat(doc): handle function params and type params (#4672)Bartek Iwańczuk
2020-04-08Remove extra copy of URLSearchParams (#4675)Ryan Dahl
2020-04-08Remove panic catch around dprint calls (#4676)Ryan Dahl
dprint seems to be stable enough to not panic on our own source code now.
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-07feat(doc): handle basic reexports (#4625)Bartek Iwańczuk
2020-04-07Remove __textEncoding and __performanceUtil namespaces (#4663)Ryan Dahl
2020-04-07BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656)Akshat Agarwal
2020-04-07Remove __timers namespace (#4662)Ryan Dahl
2020-04-07feat: add --importmap flag to deno bundle (#4651)Bartek Iwańczuk
2020-04-06fix: fetch reference types for JS files (#4652)Giorgi Rostomashvili
Fixes #4000 and fixes #4476. Now always tries to fetch reference types for JS files. Does not throw if it fails, since Typescript compiler will complain if the file is not there(it will try to fetch it again first) and people who just use JS should not be bothered by this error. Not sure about my test, it passes and catches the bug but maybe there is a better way to express it.
2020-04-06fix: test_create_cache_if_dir_not_exit (#4636)Yusuke Sakurai
This test doesn't remove created directory after test. It will fail on next run.
2020-04-06docs: add README to cli/js/web/ (#4578)Ondřej Žára
2020-04-05feat: Add File support in FormData (#4632)crowlKats
2020-04-04Enable inspector tests (#4628)Andres Villegas
2020-04-03on init create disk_cache directory if it doesn't already exists (#4617)Lorran Rosa
2020-04-03clippy (#4618)Kitson Kelly
2020-04-03fix(#4546) Added Math.trunc to toSecondsFromEpoch to conform the result to ↵Parker Gabel
u64 (#4575)
2020-04-03feat: Expose ReadableStream and make Blob more standardized (#4581)Yusuke Sakurai
Co-authored-by: crowlkats <crowlkats@gmail.com>
2020-04-03v0.39.0Ryan Dahl
2020-04-03Properly handle invalid utf8 in paths (#4609)dubiousjim