summaryrefslogtreecommitdiff
path: root/cli/js
AgeCommit message (Collapse)Author
2020-04-25BREAKING CHANGE: change return type of Deno.resources() (#4893)Bartek Iwańczuk
2020-04-25fix(cli/js/symbols): Update symbol descriptions (#4878)Nayeem Rahman
Don't use Symbol.for() to define Deno.symbols.customInspect.
2020-04-25introduce unstable flag, make a few things unstable (#4892)Ryan Dahl
2020-04-24chdir should require --allow-write (#4889)Ryan Dahl
2020-04-25remove bootstrap methods from global scope after bootstrapping (#4869)Bartek Iwańczuk
2020-04-25change type of stdio handles in JS api (#4891)Bartek Iwańczuk
2020-04-25BREAKING CHANGE: remove Deno.OpenMode (#4884)Bartek Iwańczuk
This commit removes Deno.OpenMode along with overloaded variants of Deno.open() and Deno.openSync() that used OpenMode.
2020-04-25BREAKING CHANGE: change order of args in Deno.copy() (#4885)Bartek Iwańczuk
2020-04-25add help messages to Deno.test() sanitizers (#4887)Bartek Iwańczuk
2020-04-25stabilize Deno.iter() and Deno.iterSync() (#4890)Bartek Iwańczuk
2020-04-24BREAKING CHANGE: rename Deno.fsEvents() to Deno.watchFs() (#4886)Bartek Iwańczuk
2020-04-24BREAKING CHANGE: rename TLS APIs to camel case (#4888)Bartek Iwańczuk
This commit renames all APIs containing "TLS" to use camel case (connectTLS -> connectTls, etc.)
2020-04-23fix(#2142) make URLSearchParams more standardized (#4695)Fenzland
2020-04-23refactor(cli/js/testing): Rename disableOpSanitizer to sanitizeOps (#4854)Nayeem Rahman
* rename disableOpSanitizer to sanitizeOps * rename disableResourceSanitizer to sanitizeResources
2020-04-22fix Deno.iterSync() examples (#4855)Bartek Iwańczuk
2020-04-22Add comments in Reader/SyncReader about iter/iterSync (#4852)Ryan Dahl
2020-04-22BREAKING CHANGE: rename Deno.toAsyncIterator() to Deno.iter() (#4848)Bartek Iwańczuk
* rename Deno.toAsyncIterator() to Deno.iter() * adds sync version Deno.iterSync() * adds optional second argument for buffer size
2020-04-22Add comment distinguishing Deno.Buffer from Node's Buffer (#4847)Ryan Dahl
2020-04-22chore(docs): A space should be left after the single-line comment (#4811)张超杰
2020-04-22Rewrite streams (#4842)Kitson Kelly
2020-04-21typo张超杰
2020-04-21Move resource_table from deno::State to deno_core::Isolate (#4834)Ryan Dahl
2020-04-20Remove core/plugin.rs (#4824)Ryan Dahl
This simplifies the plugin interface in order to deliver op crates with a similar API
2020-04-18fix(doc): Group ID (#4803)迷渡
2020-04-18feat: startTLS (#4773)EnokMan
2020-04-18fix(doc): `FileInfo.created` is creation time (#4799)迷渡
2020-04-17Add close method to Plugin (#4670) (#4785)Gudmund Vatn
2020-04-16feat: support Deno namespace in Worker API (#4784)Bartek Iwańczuk
2020-04-16refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (#4763)Nayeem Rahman
2020-04-15Make writeSync, readSync, seekSync, openSync, isatty proper synchronous ↵Ryan Dahl
syscalls (#4762)
2020-04-15Add support for AbortController/AbortSignal (#4757)Kitson Kelly
2020-04-15fix(cli/js/net): Make generator return types iterable (#4661)Nayeem Rahman
2020-04-14fix(worker): make worker name spec compliant (#4746)Bartek Iwańczuk
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-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-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-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