summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2019-07-31Makes shebang Linux compatible (#2694)Nayeem Rahman
2019-07-29Remap stack traces of unthrown errors. (#2693)Kitson Kelly
2019-07-23feat: expose writeAll() and writeAllSync() (#2298)Kevin (Kun) "Kassimo" Qian
Symmetric with `readAll()` and `readAllSync()`. Also used in `xeval`. Also correct usage in `writeFile()`/`writeFileSync()`.
2019-07-18fix timer's params length (#2655)迷渡
2019-07-17Refactor DenoDir (#2636)Bartek Iwańczuk
* rename `ModuleMetaData` to `SourceFile` and remove TS specific functionality * add `TsCompiler` struct encapsulating processing of TypeScript files * move `SourceMapGetter` trait implementation to `//cli/compiler.rs` * add low-level `DiskCache` API for general purpose caches and use it in `DenoDir` and `TsCompiler` for filesystem access * don't use hash-like filenames for compiled modules, instead use metadata file for storing compilation hash * add `SourceFileCache` for in-process caching of loaded files for fast subsequent access * define `SourceFileFetcher` trait encapsulating loading of local and remote files and implement it for `DenoDir` * define `use_cache` and `no_fetch` flags on `DenoDir` instead of using in fetch methods
2019-07-17Adjust console constructor (#2649)迷渡
https://github.com/denoland/deno/pull/2073#discussion_r303401539
2019-07-16Support window.onload (#2643)Yoshiya Hinosawa
2019-07-06io: change Reader interface (#2591)Yoshiya Hinosawa
Instead of returning { nread: number, eof: bool }, read() returns EOF | number.
2019-06-25Add homeDir to Deno namespace (#2578)Evgeniy Karagodin
2019-06-24Upgrade deno_std (#2565)Ryan Dahl
2019-06-24feat: fetch() now handles redirects (#2561)Long(Tony) Lian
2019-06-22fetch: make body async iterable (#2563)Yoshiya Hinosawa
2019-06-21feat: redirect process stdio to file (#2554)Bartek Iwańczuk
2019-06-21add encodeInto to TextEncoder (#2558)andy finch
2019-06-20event `isTrusted` is enumerable (#2543)迷渡
2019-06-18fix clearTimeout.name / clearInterval.name (#2540)迷渡
2019-06-17refactor dispatch take 2 (#2533)andy finch
2019-06-17clearTimeout should convert to number (#2539)迷渡
2019-06-17fix urlSearchParams custom symbol iterator (#2537)迷渡
2019-06-14Revert "Refactor dispatch handling (#2452)"Ryan Dahl
Due to performance regression: https://github.com/denoland/deno/commit/dc60fe9f300043f191286ef804a365e16e455f87#commitcomment-33943711 This reverts commit dc60fe9f300043f191286ef804a365e16e455f87.
2019-06-14feat: URLSearchParams should work with custom iterator (#2512)迷渡
2019-06-13Refactor dispatch handling (#2452)andy finch
Promise id is now created in core and passed back to JS.
2019-06-13expose window.Response (#2515)Bartek Iwańczuk
2019-06-13forbidden to set `this` for setTimeout (#2511)迷渡
2019-06-11makes global request type an interface (#2503)Kurt Mackey
2019-06-11feat: default output filename for deno bundle (#2484)Ryan Dahl
And improve bundle docs
2019-06-11set setTimeout callback's this to window objectjustjavac
2019-06-10fix bug in URL (#2495)迷渡
2019-06-10check `URLSearchParams.constructor`'s params (#2488)迷渡
2019-06-08Add asserts checking that async ops return null (#2463)Ryan Dahl
2019-06-08Add 'bundle' subcommand. (#2467)Kitson Kelly
2019-06-04Handle compiler diagnostics in Rust (#2445)Kitson Kelly
2019-06-03Compiler exit before emit if preEmitDiagnostics found (#2441)Ryan Dahl
2019-06-01Upgrade TypeScript to 3.5.1 (#2437)Kitson Kelly
2019-05-31use body when Request instance is passed to fetch (fixes #2433) (#2435)Kurt Mackey
2019-05-29TS compiler refactorRyan Dahl
* Compiler no longer has its own Tokio runtime. Compiler handles one message and then exits. * Uses the simpler ts.CompilerHost interface instead of ts.LanguageServiceHost. * avoids recompiling the same module by introducing a hacky but simple `hashset<string>` that stores the module names that have been already compiled. * Removes the CompilerConfig op. * Removes a lot of the mocking stuff in compiler.ts like `this._ts`. It is not useful as we don't even have tests. * Turns off checkJs because it causes fmt_test to die with OOM.
2019-05-27add EventTarget implementation (#2377)Adam Conrad
2019-05-23Fix concurrent accepts (#2403)Ryan Dahl
2019-05-23Rename --allow-high-precision to --allow-hrtime (#2398)Ryan Dahl
2019-05-20Upgrade deno_std (#2378)Ryan Dahl
2019-05-17Add crypto.getRandomValues() (#2327)chiefbiiko
2019-05-17Delete unnecessary console.log in test code (#2368)JaePil Jung
2019-05-15Remove FileInfo.pathRyan Dahl
2019-05-15Upgrade deno_stdRyan Dahl
2019-05-15Add error handling to dispatch_minimal::ops::read/write (#2349)diskkid
2019-05-11Add progress bar (#2309)Ryan Dahl
2019-05-11fix: edge case in toAsyncIterator (#2335)Bartek Iwańczuk
2019-05-08First pass at permissions whitelist (#2129)andy finch
2019-05-08Refactor unit test runner (#2294)Bartek Iwańczuk
Properly discovers the permissions needed for each test.
2019-05-07Add Deno.chown (#2292)Yingbo (Max) Wang