summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-25fix typo (#6476)champ
2020-06-25Restore stats for incremental compile (#6474)Kitson Kelly
2020-06-25Revert "chore: share HTTP server between tests (#6362)" (#6475)Bartek Iwańczuk
This reverts commit 70147ee56418c3d67a29070c01746a44d353e855.
2020-06-25fix(std/io): Make BufWriter/BufWriterSync.flush write all chunks (#6269)Marcos Casagrande
2020-06-25Fix readLinkSync and readLink tests on Windows (#6463)Casper Beyer
2020-06-25fix(std/node/process): env, argv exports (#6455)Benjamin Lupton
The promise approach still required permissions to be specified at initialisation, rather than at request. Using a Proxy instance solves this permission issue. The Proxy instance approach also eliminates the need for the await. Achieving direct compatibility with Node.js. /ref pr #6392 /ref commit d16337cc9c59732fe81655482e08b72d844472e6
2020-06-25docs: replace delCookie with deleteCookie (#6467)Stanislav
2020-06-25Remove stale comment referring to deleted code (#6462)Casper Beyer
2020-06-25refactor: shift copyBytes and tweak deps to reduce dependencies (#6469)Chris Knight
2020-06-25doc: add info on installing wasm32-wasi target (#6470)Chris Knight
2020-06-24doc(std/wasi): fix example (#6464)Marcos Casagrande
2020-06-25refactor(cli/tests/unit) to use assertThrows (#6459)Casper Beyer
2020-06-25Revert "fix(cli): ipv6 parsing for --allow-net params (#6453)" (#6458)Bartek Iwańczuk
2020-06-24doc(std/wasi) add a list of supported syscalls (#6460)Casper Beyer
2020-06-24Clean up some fetch_remote_source tets (#6446)Ryan Dahl
2020-06-24Incremental compilation for TypeScript (#6428)Bartek Iwańczuk
This commit adds incremental compilation capabilities to internal TS compiler. Instead of using "ts.createProgram()" API for compilation step (during deno startup), "ts.createIncrementalProgram()" API is used instead. Thanks to TS' ".tsbuildinfo" file that already stores all necessary metadata for compilation I was able to remove our own invention that is ".graph" file. ".tsbuildinfo" file is stored alongside compiled source and is used to cache-bust outdated dependencies, facilitated by the "version" field. The value for "version" field is computed in Rust during loading of module graph and is basically a hash of the file contents. Please keep in mind that incremental compilation is only used for initial compilation (or dynamic imports compilation) - bundling and runtime compiler APIs haven't been changed at all. Due to problems with source map I changed compilation settings to inline source map (inlineSourceMap instead of sourceMap).
2020-06-24fix(cli/js/web/console): Improve string quoting behaviour (#6457)Nayeem Rahman
2020-06-24fix(cli): ipv6 parsing for --allow-net params (#6453)Colin Harrington
Co-authored-by: Liming Jin <jinliming2@gmail.com>
2020-06-24feat(std/wasi): add wasi_snapshot_preview1 (#6441)Casper Beyer
2020-06-24Update contributing.md for consistency (#6452)Colin Harrington
2020-06-24fix(std/testing) assertArrayContains should work with any array-like (#6402)Casper Beyer
2020-06-24Add ability to output compiler performance information (#6434)Kitson Kelly
2020-06-23fix(cli/web): Support URLSearchParam as Body (#6416)Chris Couzens
The following used to fail in Deno despite working in the browser: ```javascript new Request('http://localhost/', {method: 'POST', body: new URLSearchParams({hello: 'world'})}).text().then(console.log) ```
2020-06-23fix(std/node): fix readFile types, add encoding types (#6451)Benjamin Lupton
2020-06-23fix(std/node): global process should usable (#6392)Benjamin Lupton
2020-06-23feat(core): enable experimental-wasm-bigint (#6443)Casper Beyer
2020-06-23fix(std/testing): assertThrows gracefully fails if non-Error thrown (#6330)Rob Waller
2020-06-22doc: WASM -> WebAssembly (#6426)Casper Beyer
2020-06-22feat(unstable): add Deno.fstatSync and fstat (#6425)Casper Beyer
2020-06-21core: add Deno.core.dispatchByName (#6395)Bartek Iwańczuk
This commit adds alternate dispatch method to core JS API. "Deno.core.dispatchByName()" works like "Deno.core.dispatch()", but takes op name instead of op id as a first argument.
2020-06-21feat(std/node): support hex / base64 encoding in Buffer (#6414)Marcos Casagrande
2020-06-21feat(unstable): add Deno.fsyncSync and fsync (#6411)Casper Beyer
2020-06-21BREAKING(std/encoding/hex): reorder encode & decode arguments (#6410)Marcos Casagrande
refactor to match other src/dst methods
2020-06-20Remove Deno.dir and dirs dependency (#6385)Ryan Dahl
2020-06-20docs: document and add examples of expandGlob (#6404)Yoshiya Hinosawa
2020-06-20Remove logos from introduction -> deno.land/artwork (#6399)Ryan Dahl
2020-06-20feat(unstable): add Deno.ftruncate and ftruncateSync (#6243)Casper Beyer
2020-06-19v1.1.1Ryan Dahl
2020-06-19upgrade crates (#6378)Ryan Dahl
2020-06-19refactor(cli/checksum): use map to generate hex string (#6382)Fallenhh
2020-06-19upgrade: v8 to 8.5.104, rusty_v8 0.5.1 (#6377)Ryan Dahl
2020-06-19refactor(compiler): split code paths for compile and bundle (#6304)Bartek Iwańczuk
* refactor "compile" and "runtimeCompile" in "compiler.ts" and factor out separate methods for "compile" and "bundle" operations * remove noisy debug output from "compiler.ts" * provide "Serialize" implementations for enums in "msg.rs" * rename "analyze_dependencies_and_references" to "pre_process_file" and move it to "tsc.rs" * refactor ModuleGraph to use more concrete types and properly annotate locations where errors occur * remove dead code from "file_fetcher.rs" - "SourceFile.types_url" is no longer needed, as type reference parsing is done in "ModuleGraph" * remove unneeded field "source_path" from ".meta" files stored for compiled source file (towards #6080)
2020-06-19fix: "deno test" should respect NO_COLOR=true (#6371)uki00a
2020-06-19build: lint cli/tests/unit using deno lint (#6327)Alan Gou
2020-06-18refactor(cli/web): use isTypedArray method (#6369)Marcos Casagrande
2020-06-18chore: share HTTP server between tests (#6362)Bartek Iwańczuk
2020-06-18chore(test): move testing utilities to test_util crate (#6360)Bartek Iwańczuk
2020-06-18Deno.bundle supports targets < ES2017 (#6346)Ryan Dahl
This commit provides a "system_loader_es5.js" bundle loader which will be added to the bundle when the target is < ES2017, which is the minimum target syntax required for "system_loader.js". Supports #5913 (via Deno.bundle()) with a couple caveats: * Allowing "deno bundle" to take a different target is not supported, as we specifically ignore "target" when passed in a TypeScript config file. This is because deno bundle is really intended to generate bundles that work in Deno. It is an unintentional side effect that some bundles are loadable in browsers. * While a target of "es3" will be accepted, the module loader will still only be compatible with ES5 or later. Realistically no one should be expecting bundles generated by Deno to be used on IE8 and prior, and there is just too much "baggage" to support that at this point. This is a minor variation of 75bb9d, which exposed some sort of internal V8 bug. Ref #6358 This is 100% authored by Kitson Kelly. Github might change the author when landing so I'm leaving this in: Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-06-18feat(std/log): expose logger name to LogRecord (#6316)Chris Knight
2020-06-18docs: Update standard library and testing manual pages (#6323)Chris Knight