summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-06feat: deno doc handles default exports (#4873)Bartek Iwańczuk
2020-05-06Clean up 'inspector_break_on_first_line' test and fix its flakiness (#5098)Bert Belder
2020-05-06refactor: merge TS compiler into single file (#5091)Bartek Iwańczuk
2020-05-05fix(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-05Simplify ProcessStdio (#5092)Ryan Dahl
2020-05-05refactor(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-05Fix 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-05update manual with "deno run" (#5082)Tomofumi Chiba
2020-05-04feat(std/node): fs.writefile / fs.promises.writeFile (#5054)Marcos Casagrande
2020-05-04v1.0.0-rc1Ryan Dahl
2020-05-04feat(fmt): Add `deno-fmt-ignore` and `deno-fmt-ignore-file` comment support ↵David Sherret
(#5075)
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-04stabilize Deno.cwd and require --allow-read (#5068)Ryan Dahl
2020-05-04Rename DenoPermissions, add abs path asserts (#5076)Ryan Dahl
2020-05-04BREAKING: make WebSocket directly implement AsyncIterable (#5044) (#5045)Andrey Trebler
2020-05-04Simplify ts-compiler's normalizeString (#5072)Ryan Dahl
2020-05-04simplify unit tests: compiler_api, workers (#5073)Ryan Dahl
2020-05-04fix: URL constructor throws confusing error on invalid scheme (#5057)Daniel Lenksjö
2020-05-04Make it so ts compiler doesn't call cwd op (#5070)Ryan Dahl
Removes duplicate implementation of the module resolution algorithm
2020-05-04fix(console): formatting misalignment on console.table (#5046)木杉
2020-05-04fix(install): Propagate --unstable flag (#5061)Divya
2020-05-04BREAKING: 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-04Add sha256 and sha224 support (along with HMAC variants) (#5066)Kitson Kelly
2020-05-03[std/node] add the ability to path argument to be URL type (#5055)Ali Hasani
2020-05-03Add TransformStream and TransformStreamController (#5042)Kitson Kelly
2020-05-03Move std/util/sha1.ts to ES private fields (#5053)Kitson Kelly
2020-05-02fix(cli/fmt_errors): Respect NO_COLOR for stack frames (#5051)Nayeem Rahman
2020-05-02Add hint on how to install gist program (#5041)Ryan Dahl
2020-05-02Deno.chdir should require allow-read not allow-write (#5033)Ryan Dahl
2020-05-02BREAKING: 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-02BREAKING: 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-01BREAKING: feat(cli/installer): Support guessing the executable name (#5036)Nayeem Rahman
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-05-01fix misaligned error reporting on tab char (#5032)Fenzland
2020-05-01fix std/fs/walk example (#5030)Bert Belder
2020-05-01fix(std/http): avoid directly modifying the headers object (#5024)木杉
2020-05-01docs(std): typo fix (#5023)john gravois
2020-04-30BREAKING: reorder std/io/utils copyBytes arguments (#5022)Marcos Casagrande
2020-04-30internal: reorder Buffer's copyBytes arguments (#5021)Marcos Casagrande
2020-04-30fix(fmt): Format `abstract async` as `abstract async` (#5020)David Sherret
2020-04-30doc(std/fs): README.md (#4913)张超杰
2020-04-30feat: 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-30std/node: toString for globals (#5013)Nikolai Vavilov
2020-04-30Unstable methods should not appear in runtime or d.ts (#4957)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-04-30fix(doc): better repr for object literal types (#4998)Bartek Iwańczuk
2020-04-30feat: Add WritableStreams (and enable ReadableStreams piping) (#4980)Kitson Kelly
2020-04-30std/node: make process global (#4985)Nikolai Vavilov
2020-04-30refactor(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-30fix(manual): Deno.copy args order (#4999)Tomofumi Chiba