summaryrefslogtreecommitdiff
path: root/cli/js/web
AgeCommit message (Collapse)Author
2020-06-08fix(cli/web/fetch): multipart/form-data request body support for binary ↵Marcos Casagrande
files (#5886)
2020-06-03fix(fetch): Support 101 status code (#6059)Marcos Casagrande
2020-06-02fix: Better use of @ts-expect-error (#6038)Kitson Kelly
2020-06-01fix(cli/web): Body.bodyUsed should use IsReadableStreamDisturbedMarcos Casagrande
2020-06-01fix(cli/js/web): formData parser for binary files (#6015)Marcos Casagrande
2020-05-31fix(cli/fetch): set null body for null-body status (#5980)Marcos Casagrande
2020-05-31fix(fetch): network error on multiple redirects (#5985)Marcos Casagrande
2020-05-31fix Headers.name and FormData.name (#5994)Marcos Casagrande
2020-05-29fix(cli/js/error_stack): Expose Error.captureStackTrace (#5254)Nayeem Rahman
2020-05-29fix DenoBlob name (#5879)Peter Evers
2020-05-28improve indentation when displaying objects with console.log (#5909)Speykious
2020-05-28formData: set default filename for Blob to <blob> (#5907)Marcos Casagrande
2020-05-28console: Hide `values` for console.table if display not necessary (#5914)Kevin (Kun) "Kassimo" Qian
2020-05-26Use ts-expect-error instead of ts-ignore. (#5869)Kitson Kelly
2020-05-25fix(cli/web/fetch): Make Response constructor standard (#5787)Marcos Casagrande
2020-05-25fix: Allow ArrayBuffer as Fetch request body (#5831)Marcos Casagrande
2020-05-25Improve bufferFromStream (#5826)Marcos Casagrande
2020-05-25Move getHeaderValueParams & hasHeaderValueOf to util.ts (#5824)Marcos Casagrande
2020-05-22Simplify isFiniteNonNegativeNumber (#5686)Marcos Casagrande
2020-05-22fix: atob should throw dom exception (#5730)Ergenekon Yiğit
2020-05-20fix: streams hwm validation (#5681)Marcos Casagrande
2020-05-19Provide better ANSI colorized output when inspecting objects (#5404)Speykious
2020-05-18Fix URL encoding (#5557)Nayeem Rahman
2020-05-15fix: setTimeout and friends have too strict types (#5412)Tomasz Gałkowski
2020-05-15doc: add stream api (#5418)Chris Knight
2020-05-11fix: Expose ErrorEvent globally (#5222)Kitson Kelly
2020-05-09fix: Allow multiple Set-Cookie headers (#5100)Kitson Kelly
2020-05-08fix: correct type error text (#5150)Chris Knight
2020-05-06Check destination length in encodeInto (#5078)Nikolai Vavilov
2020-05-04feat(URL): Support drive letters for file URLs on Windows (#5074)Nayeem Rahman
refactor: Parse URLs more sequentially. This makes it easier to change matching behaviour depending on the protocol. fix: Fail when a host isn't given for certain protocols. fix: Convert back-slashes info forward-slashes.
2020-05-04fix: URL constructor throws confusing error on invalid scheme (#5057)Daniel Lenksjö
2020-05-04fix(console): formatting misalignment on console.table (#5046)木杉
2020-05-03Add TransformStream and TransformStreamController (#5042)Kitson Kelly
2020-05-01BREAKING: remove window.location and self.location (#5034)Bartek Iwańczuk
This commit removes "location" global available on "window", "globalThis" and "self".
2020-05-01Correct copyright in cli/js/web/decode_utf8.ts (#5035)Ryan Dahl
2020-04-30feat: Add WritableStreams (and enable ReadableStreams piping) (#4980)Kitson Kelly
2020-04-29feat(std/path): Add fromFileUrl() (#4993)Nayeem Rahman
Fix: URL constructor accepts a URL object which is not a base
2020-04-28refactor: change InspectOptions, make Deno.inspect stable (#4967)Bartek Iwańczuk
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
2020-04-28BREAKING: Use LLVM target triple for Deno.build (#4948)Ryan Dahl
Deno.build.os values have changed to correspond to standard LLVM target triples "win" -> "windows" "mac" -> "darwin"
2020-04-28url: Make zero a valid port (#4963)Marcos Casagrande
2020-04-28refactor: remove combined io interface like ReadCloser (#4944)Bartek Iwańczuk
This commit removes "combined" interfaces from cli/js/io.ts; in the like of "ReadCloser", "WriteCloser" in favor of using intersections of concrete interfaces.
2020-04-28Change URL.port implementation to match WHATWG specifications (#4954)Marcos Casagrande
Changed `URL.port` implementation to match [WHATWG specifications](https://url.spec.whatwg.org/#port-state). This PR matches the behaviour of other browsers: 1. a `TypeError` must be thrown when passing an URL with an invalid port to the constructor. 2. When setting an invalid port, using property setter, I haven't found what should happen in this case, so I mimic **Firefox** & **Node** behaviour. If an invalid port is set, it will use the previous value. **Chrome** sets the value to `'0'` if an invalid port is set. I prefer to keep the previous valid value. (I can use Chrome's behaviour if you think it's better, it's a simple value change) ``` url.port = '3000'; // valid url.port = 'deno'; // invalid assertEquals(url.port, '3000'); ``` 3. If the port value equals the current protocol default port value, `port` will be an empty string.
2020-04-28BREAKING: Remove Deno.symbols namespace (#4936)Nayeem Rahman
2020-04-27fix(console): don't throw RangeError when an invalid date is passed (#4929)uki00a
2020-04-27refactor: decouple Console implementation from stdout (#4899)Bartek Iwańczuk
When creating a console instance, one must pass "printFunc" arg which is used internally by Console to output messages. Due to numerous refactors there was a single method ("console.clear()") that used "Deno.stdout" instead of "printFunc". This commit unifies how "Console" outpus message, by using "printFunc" in all methods; consequently "Deno.stdout" is no longer imported in "cli/js/console.ts" making it a standalone module that doesn't depend on any CLI-specific APIs.
2020-04-25fix(cli/js/symbols): Update symbol descriptions (#4878)Nayeem Rahman
Don't use Symbol.for() to define Deno.symbols.customInspect.
2020-04-25change type of stdio handles in JS api (#4891)Bartek Iwańczuk
2020-04-23fix(#2142) make URLSearchParams more standardized (#4695)Fenzland
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