summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-19refactor(cli): rename fmt_errors::JsError to PrettyJsError (#8435)Bartek Iwańczuk
This commit renames "fmt_errors::JsError" to "PrettyJsError" to avoid confusion with "deno_core::JsError". Consequently "CoreJsError" aliases to "deno_core::JsError" were removed. Additionally source mapping step has been removed from "PrettyJsError::create" to better separate domains.
2020-11-19refactor(cli): move tooling to cli/tools/ (#8424)Bartek Iwańczuk
This commit moves following tools into a single "tools" module located at "cli/tools/mod.rs": - formatter - linter - test runner - coverage collector - installer - binary upgrader - repl
2020-11-19build: upgrade Rust to 1.48.0 (#8434)Bartek Iwańczuk
2020-11-19build: fix linting problems (#8431)Bartek Iwańczuk
2020-11-19feat(std/node): add os.totalmem, os.freemem (#8317)Gyubong
2020-11-19feat(std/io): ReadableStream from AsyncIterator & WritableStream from Writer ↵crowlKats
(#8378)
2020-11-19fix(std/node): correct typings for global, globalThis, window (#8363)Steven Guerrero
2020-11-19feat(std/hash): add the sha1Hmac (#8418)silence
2020-11-19fix(cli/tests): printf.exe doesn't exist on windows (#8404)Mark Tiedemann
2020-11-19feat(std/log): Log error stack (#8401)Mark Tiedemann
2020-11-19Add JSDocs to std/fs/walk.ts (#8426)inokawa
2020-11-18fix(std/http): fix error handling in the request iterator (#8365)lideming
If the request body is using chunked encoding, errors may be thrown in "request.finalize()". In this case, we should untrack and close the connection.
2020-11-17fix(std/node) Fix event extendability (#8409)Steven Guerrero
2020-11-17feat(std/http): Check if cookie property is valid (#7189)Yasser A.Idrissi
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-11-17refactor(std): remove unnecessary back direction for import (#8403)Behnam Mohammadi
2020-11-16feat(std/node): Add util.deprecate (#8407)Steven Guerrero
2020-11-16refactor(cli): rename fs module to fs_util (#8380)Bartek Iwańczuk
This commit renames "fs" module in "cli/" to "fs_util". This is purely cosmetic change; there were a few places which aliased "crate::fs" to "deno_fs" which was very confusing with "fs" module in ops.
2020-11-16feat(std/node): implement process.nextTick (#8386)Steven Guerrero
2020-11-16Improve Deno.version type declaration (#8391)Mark Tiedemann
2020-11-16v1.5.3Bartek Iwańczuk
2020-11-16fix(cli): local sources are not cached in memory (#8328)Kitson Kelly
Fixes #4743 Closes #5253 Fixes #5631 Fixes #6116 Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2020-11-15docs(std/async): fix a couple typos in std/async/README.md (#8388)Elisée Maurer
2020-11-14feat(lint): support --rules --json (#8384)Bartek Iwańczuk
This commit adds support for "--json" flag in combination with "--rules". List of rules is serialized to JSON and printed.
2020-11-14build: update dlint to v0.2.10 (#8284)Yusuke Tanaka
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics for "require-await" rule. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-14fix: fix various global objects constructor length (#8373)Benjamin Gruenbaum
This commit changes various Web APIs constructors to match their signature in the browser.
2020-11-14fix(fmt, lint): Make sure that target paths are not directory (#8375)Yusuke Tanaka
This commit merges implementations of "collect_files" and "files_in_subtree", leaving only the former. Additionally it was ensured that directories are not yielded from this function.
2020-11-14refactor(std): add std/_util/os.ts module (#8370)Behnam Mohammadi
This commit adds "std/_util/os.ts" module which contains common os detection logic and is browser compatible. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-11-13refactor: deno_crypto op crate (#7956)Divy Srivastava
This commit factors out "deno_crypto" op crate. "rand" crate dependency was consequently moved to "deno_crypto" crate and reexported.
2020-11-13refactor(cli+core): various cleanups in Rust (#8336)KNnut
2020-11-13refactor(std/fs): moved isCopyFolder to options (#8319)Behnam Mohammadi
2020-11-13fix(std/http): flush body chunks for HTTP chunked encoding (#8349)Mark Tiedemann
Fixes #8339
2020-11-13refactor(cli): minor cleanup of main.rs (#8362)Max Drosdo.www
2020-11-11refactor(core): don't depend on get_identity_hash for promises (#8352)Bartek Iwańczuk
This commit changes how pending promise exceptions are stored in JsRuntime by using global handle to promise instead of its identity hash.
2020-11-11fix(cli): don't walk the subdirectory twice when using the `--ignore` flag ↵Akshat Agarwal
(#8040) This commit reworks "collect_files" utility to accept "ignore" parameter which allows to filter out files in a single iteration instead of walking file tree second time to excude "ignored" files.
2020-11-11fix(op_crates/web): FileReader event handler order (#8348)Benjamin Gruenbaum
2020-11-10fix(op_crates/web) make isTrusted not constructable (#8337)Benjamin Gruenbaum
2020-11-10fix(web/worker) define event handlers in DOM order (#8334)Benjamin Gruenbaum
2020-11-10test(cli/upgrade): remove test_compose_url_to_exec (#8329)Andrew Mitchell
2020-11-10refactor(std/fs): remove unnecessary if else block (#8321)Behnam Mohammadi
2020-11-10fix(cli/rt): dom handler order in websocket (#8320)Benjamin Gruenbaum
2020-11-10tests(cli): check ignores dynamic import errors (#8323)Kitson Kelly
Closes #6618
2020-11-10fix(cli): allow root modules be .mjs/.cjs (#8310)Kitson Kelly
Fixes #6176
2020-11-10refactor(std/fs): improve performance by using some instead filter method ↵Behnam Mohammadi
(#8322)
2020-11-09chore: reference dprint config file in format script (#8318)Bartek Iwańczuk
* chore: reference dprint config file in format script * chore: ignore .git folder in dprint config
2020-11-10fix(cli): allow setting of importsNotUsedAsValues in Deno.compile() (#8306)Kitson Kelly
Fixes #6663
2020-11-10fix(cli): allow declaration emits for Deno.compile() (#8303)Kitson Kelly
Fixes #8289
2020-11-09fix(cli): Use safe shell escaping in `deno install` (#7613)Scott Olson
2020-11-09refactor(std): remove redundant code in move.ts (#8269)Behnam Mohammadi
2020-11-09fix(op_crates/web): handler order when reassign (#8264)Benjamin Gruenbaum
2020-11-09build: use shallow clone of third_party (#8295)Bartek Iwańczuk
"third_party/" is a git submodule pointing to "deno_third_party" repository. The git history of that repo is quite heavy as it historically contained typescript, node_modules and python_packages directories, but now there are only 11 binaries in there. Setting this attribute should speed up fresh clones.