Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-07 | fix(deno_dir): better error message (#5120) | Yoshiya Hinosawa | |
Add better error messages when a cache subdirectory in `DENO_DIR` cannot be created. | |||
2020-05-07 | fix(docs): add missing "deno run" (#5126) | zjopy | |
2020-05-06 | Upgrade to rusty_v8 0.4.2 / V8 8.4.300 (#5113) | Bert Belder | |
2020-05-06 | remove target_test.py (#5112) | Ryan Dahl | |
2020-05-06 | BREAKING: execPath should require allow-read (#5109) | Ryan Dahl | |
2020-05-06 | Check destination length in encodeInto (#5078) | Nikolai Vavilov | |
2020-05-06 | refactor(ts): make processImports logic more verbose (#5089) | Bartek Iwańczuk | |
2020-05-06 | Upgrade crates (#5104) | Ryan Dahl | |
2020-05-06 | feat: deno doc handles default exports (#4873) | Bartek Iwańczuk | |
2020-05-06 | Clean up 'inspector_break_on_first_line' test and fix its flakiness (#5098) | Bert Belder | |
2020-05-06 | refactor: merge TS compiler into single file (#5091) | Bartek Iwańczuk | |
2020-05-05 | fix(cli): fix paths in internal stack traces (#5093) | Bartek Iwańczuk | |
This commit updates "deno_typescript" crate to properly map bundle entrypoint file to internal specifier. All import specifiers were remapped from "file:///a/b/c.ts" to "$deno$/a/b/c.ts", but that was not the case for entrypoint file "main.ts" and "compiler.ts". Because of that internal stack traces were inconsistent; showing "file:///some/random/path/on/ci/machine.ts" URL in frames that originate from "main.ts" or "compiler.ts" and "$deno$/file.ts" for all other imports. | |||
2020-05-05 | Simplify ProcessStdio (#5092) | Ryan Dahl | |
2020-05-05 | refactor(ts): remove op_cache (#5071) | Bartek Iwańczuk | |
This PR removes op_cache and refactors how Deno interacts with TS compiler. Ultimate goal is to completely sandbox TS compiler worker; it should operate on simple request -> response basis. With this commit TS compiler no longer caches compiled sources as they are generated but rather collects all sources and sends them back to Rust when compilation is done. Additionally "Diagnostic" and its children got refactored to use "Deserialize" trait instead of manually implementing JSON deserialization. | |||
2020-05-05 | Fix inspector hanging when task budget is exceeded (#5083) | Bert Belder | |
The issue is solved by proxying websocket messages over a pair of `futures::mpsc::unbounded` channels. As these are are implemented in the 'futures' crate, they can't participate in Tokio's cooperative task yielding. | |||
2020-05-04 | v1.0.0-rc1 | Ryan Dahl | |
2020-05-04 | feat(fmt): Add `deno-fmt-ignore` and `deno-fmt-ignore-file` comment support ↵ | David Sherret | |
(#5075) | |||
2020-05-04 | feat(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-04 | stabilize Deno.cwd and require --allow-read (#5068) | Ryan Dahl | |
2020-05-04 | Rename DenoPermissions, add abs path asserts (#5076) | Ryan Dahl | |
2020-05-04 | Simplify ts-compiler's normalizeString (#5072) | Ryan Dahl | |
2020-05-04 | simplify unit tests: compiler_api, workers (#5073) | Ryan Dahl | |
2020-05-04 | fix: URL constructor throws confusing error on invalid scheme (#5057) | Daniel Lenksjö | |
2020-05-04 | Make it so ts compiler doesn't call cwd op (#5070) | Ryan Dahl | |
Removes duplicate implementation of the module resolution algorithm | |||
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 | |