Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-04 | fix(console): formatting misalignment on console.table (#5046) | 木杉 | |
2020-05-04 | fix(install): Propagate --unstable flag (#5061) | Divya | |
2020-05-04 | BREAKING: remove CLI 'deno script.ts' hack (#5026) | Bartek Iwańczuk | |
This PR removes the hack in CLI that allows to run scripts with shorthand: deno script.ts. Removing this functionality because it hacks around short-comings of clap our CLI parser. We agree that this shorthand syntax is desirable, but it needs to be rethinked and reimplemented. For 1.0 we should go with conservative approach that is correct. | |||
2020-05-03 | Add TransformStream and TransformStreamController (#5042) | Kitson Kelly | |
2020-05-02 | fix(cli/fmt_errors): Respect NO_COLOR for stack frames (#5051) | Nayeem Rahman | |
2020-05-02 | Deno.chdir should require allow-read not allow-write (#5033) | Ryan Dahl | |
2020-05-02 | BREAKING: disallow static import of local modules from remote modules (#5050) | Bartek Iwańczuk | |
This commit changes module loading logic to disallow statically import local module (file:// scheme) from remote modules (http://, https:// schemes). | |||
2020-05-02 | BREAKING: remove support for JSON imports (#5037) | Bartek Iwańczuk | |
This commit removes support for importing JSON files as modules. This change is dictated by security; browsers rolled back on this support as well. | |||
2020-05-01 | BREAKING: feat(cli/installer): Support guessing the executable name (#5036) | Nayeem Rahman | |
2020-05-01 | BREAKING: remove window.location and self.location (#5034) | Bartek Iwańczuk | |
This commit removes "location" global available on "window", "globalThis" and "self". | |||
2020-05-01 | Correct copyright in cli/js/web/decode_utf8.ts (#5035) | Ryan Dahl | |
2020-05-01 | fix misaligned error reporting on tab char (#5032) | Fenzland | |
2020-04-30 | internal: reorder Buffer's copyBytes arguments (#5021) | Marcos Casagrande | |
2020-04-30 | fix(fmt): Format `abstract async` as `abstract async` (#5020) | David Sherret | |
2020-04-30 | feat: add SWC dependency analyzer (#5015) | Bartek Iwańczuk | |
This commit adds "analyze_dependencies" function that uses SWC (by the means of AstParser) to perform analysis of static and dynamic imports. | |||
2020-04-30 | Unstable methods should not appear in runtime or d.ts (#4957) | Luca Casonato | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2020-04-30 | fix(doc): better repr for object literal types (#4998) | Bartek Iwańczuk | |
2020-04-30 | feat: Add WritableStreams (and enable ReadableStreams piping) (#4980) | Kitson Kelly | |
2020-04-30 | refactor(core): add "prepare_load" hook to ModuleLoader trait (#4866) | Bartek Iwańczuk | |
This PR adds prepare_load hook method to ModuleLoader trait. It allows implementors to perform preparation work before starting actual module loading into isolate. It's meant to be used in CLI; where "transpilation" step will be explicitly performed during prepare_load instead of doing it adhoc for each module if needed. | |||
2020-04-29 | v0.42.0 | Bartek Iwańczuk | |
2020-04-29 | make camel case readDir, readLink, realPath (#4995) | Ryan Dahl | |
2020-04-29 | BREAKING: remove custom implementation of Deno.Buffer.toString() (#4992) | Bartek Iwańczuk | |
Keep in mind Buffer.toString() still exists, but returns [object Object]. Reason for removal of Buffer.toString() was that it implicitly used TextDecoder with fixed "utf-8" encoding and no way to customize the encoding. | |||
2020-04-29 | feat(std/path): Add fromFileUrl() (#4993) | Nayeem Rahman | |
Fix: URL constructor accepts a URL object which is not a base | |||
2020-04-29 | BREAKING: Include limited metadata in 'DirEntry' objects (#4941) | Bert Belder | |
This change is to prevent needed a separate stat syscall for each file when using readdir. For consistency, this PR also modifies std's `WalkEntry` interface to extend `DirEntry` with an additional `path` field. | |||
2020-04-29 | BREAKING: Map-like interface for Deno.env (#4942) | Valentin Anger | |
2020-04-29 | Make Deno.isatty stable (#4937) | Brayden | |
2020-04-28 | fix: bug in Deno.copy (#4977) | Marcos Casagrande | |
2020-04-29 | refactor: Deno.listener closes when breaking out of async iterator (#4976) | Bartek Iwańczuk | |
2020-04-28 | refactor: factor out datagram from Deno.listen(), make it unstable (#4968) | Bartek Iwańczuk | |
This commit changes Deno.listen() API by factoring out datagram listeners to Deno.listenDatagram(). New Deno.listenDatagram() is unstable. | |||
2020-04-28 | Remove Conn.closeRead (#4970) | Ryan Dahl | |
2020-04-28 | Fix stdin not formatting JSX (#4971) | David Sherret | |
2020-04-28 | refactor: change InspectOptions, make Deno.inspect stable (#4967) | Bartek Iwańczuk | |
2020-04-28 | BREAKING: Remove Deno.EOF, use null instead (#4953) | Nayeem Rahman | |
2020-04-28 | BREAKING: address renamed to path in UnixAddr UnixConnectOptions ↵ | Ali Hasani | |
UnixListenOptions (#4959) | |||
2020-04-28 | BREAKING: 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-28 | mark Deno.startTls as unstable (#4965) | Bartek Iwańczuk | |
2020-04-28 | refactor(cli/js/permissions): Split read and write permission descriptors ↵ | Nayeem Rahman | |
(#4774) | |||
2020-04-28 | url: Make zero a valid port (#4963) | Marcos Casagrande | |
2020-04-28 | refactor: rename sync io interfaces (#4945) | Bartek Iwańczuk | |
This commit renames sync io interfaces: * SyncReader -> ReaderSync * SyncWriter -> WriterSync * SyncSeeker -> SeekerSync | |||
2020-04-28 | doc: remove unstable API marker form Deno.Metrics and Deno.RunOptions (#4949) | Chris Knight | |
2020-04-28 | BREAKING: remove overload of Deno.test() (#4951) | Bartek Iwańczuk | |
This commit removes overload of Deno.test() that accepted named function. | |||
2020-04-28 | refactor: 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-28 | refactor: rename SeekMode variants to camelCase and stabilize (#4946) | Bartek Iwańczuk | |
2020-04-28 | Make shutdown unstable and async (#4940) | Luca Casonato | |
2020-04-28 | fix(#4769) Adds readTextFile, writeTextFile, with sync counterparts (#4901) | Divya | |
2020-04-28 | Change 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-27 | Make Deno.kill unstable (#4950) | Luca Casonato | |
2020-04-27 | make utime unstable (#4955) | Ali Hasani | |
2020-04-28 | refactor: remove stdio interfaces, use intersection types (#4952) | Bartek Iwańczuk | |
2020-04-28 | Make import maps unstable (#4934) | Luca Casonato | |