summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-27Make Deno.kill unstable (#4950)Luca Casonato
2020-04-27make utime unstable (#4955)Ali Hasani
2020-04-28refactor: remove stdio interfaces, use intersection types (#4952)Bartek Iwańczuk
2020-04-28Make import maps unstable (#4934)Luca Casonato
2020-04-28BREAKING: Remove Deno.symbols namespace (#4936)Nayeem Rahman
2020-04-28docs: document default value of sanitizeOps and sanitizeResources (#4943)Chris Knight
2020-04-27loadavg and osRelease made unstable (#4938)Ryan Dahl
2020-04-27Make unix sockets require allow-write (#4939)Luca Casonato
2020-04-27Mark Deno.umask unstable (#4935)Brayden
2020-04-27Rename FileInfo time fields and represent them as Date objects (#4932)Bert Belder
This patch also increases the resolution of reported file times to sub-millisecond precision.
2020-04-27Improve std/http/io.ts parseHTTPVersion (#4930)Marcos Casagrande
2020-04-27fix(console): don't throw RangeError when an invalid date is passed (#4929)uki00a
2020-04-27signal APIs should require --unstable (#4926)Ryan Dahl
2020-04-27fix(core): fix top-level-await error handling (#4911)Bartek Iwańczuk
2020-04-27Make Deno.setRaw and Deno.isatty unstable (#4925)Ryan Dahl
2020-04-27Make Deno.dir unstable (#4924)Ryan Dahl
2020-04-27Make runtime compile ops unstable (#4912)Ryan Dahl
2020-04-27refactor: factor out AstParser from DocParser (#4923)Bartek Iwańczuk
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-27BREAKING: remove Deno.runTests() API (#4922)Bartek Iwańczuk
Deno.runTests() interface is not yet good enough to be exposed publicly with stability guarantees. This commit removes public API related to testing: Deno.runTests() and Deno.TestMessage, but keeps them exposed on Deno.internal object so they can be used with "deno test" subcommand.
2020-04-27feat(std/uuid): Implement uuid v5 (#4916)underfin
2020-04-27bug fix and tests for std/node/fs/mkdir (#4917)Ali Hasani
2020-04-27feat(test): add quiet flag (#4894)Ali Hasani
2020-04-27fix: typo fs readme.md (#4903)张超杰
2020-04-26Increase copyN buffer size to match go implementation (#4904)Marcos Casagrande
2020-04-26fix(std/fs): move dest if not exists and overwrite (#4910)张超杰
2020-04-26reorder copyN arguments to match Deno.copy (#4900)Akshat Agarwal
2020-04-26Add buffer size argument to copy (#4907)Marcos Casagrande
2020-04-26core: add id field to RecursiveModuleLoad (#4905)Bartek Iwańczuk
This commit unifies handling of ids for main module/dynamic import loads in EsIsolate.
2020-04-26the scheme bits of an uri is case-insensitive; ↵Thiago Veronezi
https://tools.ietf.org/html/rfc3986#section-3.1 (#4909)
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-25refactor(std/log): support enum log level (#4859)Christopher Dieringer
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-24create readme for std/bytes (#4876)Ali Hasani
2020-04-24fix clippy (#4875)Ryan Dahl
2020-04-23Parallelized deno fmt (#4823)David Sherret
2020-04-23upgrade: Rust 1.43.0 (#4871)Bartek Iwańczuk
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