summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-04docs(std/node/querystring): add missing JSDoc (#8242)ayntee
2020-11-03chore: update third_party (#8234)Bartek Iwańczuk
2020-11-03Remove dead code (#8235)Ryan Dahl
2020-11-03build: remove eslint (#8232)Bartek Iwańczuk
This commit updates "third_party" submodule to remove "eslint" and its dependencies. In result "tools/package.json" has been removed.
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-11-03fix(prompt): fix display of non-ASCII characters on Windows (#8199)Yoshiya Hinosawa
2020-11-03fix(op_crate/web): make onabort event handler web compatible (#8225)Benjamin Gruenbaum
2020-11-02refactor(cli): remove ProgramState::permissions (#8228)Bartek Iwańczuk
This commit removes ProgramState::permissions field. Having permissions parsed from CLI flags stored on globally accessible state object made it easy to mistakenly use these permissions in situations which required "runtime" permissions.
2020-11-02fix(std/flags): Fix parse incorrectly parsing alias flags with equals signs ↵The Wizard Bear
in the value #8136 (#8216)
2020-11-02chore: remove unused tools/ scripts (#8222)Bartek Iwańczuk
2020-11-03refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220)Kitson Kelly
2020-11-03feat(cli): bump TypeScript to 4.0.5 (#8138)Trivikram Kamat
2020-11-02feat(std/node/fs): add realpath and realpathSync (#8169)X
2020-11-02fix(op_crates/web): fix URLSearchParams, malformed url handling (#8092)Yoshiya Hinosawa
Co-authored-by: Evan <c4t@tuta.io>
2020-11-02feat(std/wasi): add start method to Context (#8141)Casper Beyer
This adds a start method to the Context to make starting a command less tedious and yield consistent errors. Manually setting the memory is still valid for more complex scenarios, just undocumented for the time being.
2020-11-02test(op_crates/web): add EventTarget tests (#8205)Benjamin Gruenbaum
2020-11-02add commit hash and target to long_version output (#8133)Yoshiya Hinosawa
2020-11-02docs: fix typo in std/fs README.md (#8104)Khushraj Rathod
2020-11-02docs: Update toc.json (#8208)tokiedokie
2020-11-02fix(cli): inject helpers when transpiling via swc (#8221)Kitson Kelly
Fixes #8212
2020-11-02refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)Kitson Kelly
Fixes #8060
2020-11-02docs: add missing backtick in subprocess docs (#8204)tokiedokie
2020-11-02fix(op_crates/web): make TextEncoder work with forced non-strings (#8206)Benjamin Gruenbaum
Fixes: #8201
2020-10-31refactor(cli/permissions): Cleanup Flags to Permissions conversion (#8213)Nayeem Rahman
2020-10-31fix(core/error): Remove extra newline from JsError::fmt() (#8145)Nayeem Rahman
2020-10-31v1.5.1Luca Casonato
2020-10-30upgrade: deno_doc, deno_lint, dprint, swc (#8197)Bartek Iwańczuk
- deno_doc 0.1.14 - deno_lint 0.2.7 - dprint-plugin-typescript 0.32.7 - swc_bundler 0.14.1 - swc_ecmascript 0.13.1
2020-10-30fix: Deno.fdata(), Deno.fdatasync() (#8193)Bartek Iwańczuk
These APIs were stabilized in 1.5.0, but were never added to the "stable" Deno namespace. This commit fixes that.
2020-10-30fix: panic in bundler (#8168)Bartek Iwańczuk
This commit fixes panic in bundler which was caused by not setting thread-local slots.
2020-10-29feat(std/node/crypto): randomBytes and pbkdf2 (#8191)Steven Guerrero
* crypto * Other thing * Test for pdkdf2 * Add randomBytes * Refactor pbkdf2 * Lint and format
2020-10-30fix(cli/fmt): Strip "\\?\" prefix when displaying Windows paths (#8135)Nayeem Rahman
2020-10-29fix(cli): prompt works with windows eol and eof (#8149)Sander Hahn
2020-10-29refactor: don't spin up V8 for `deno cache` (#8186)Luca Casonato
2020-10-29fix(cli): make hashes of tsconfig deterministic (#8167)Kitson Kelly
Fixes #8163
2020-10-28refactor(watch): create single watcher for whole process (#8083)Yusuke Tanaka
This commit rewrites file watcher used with --watch flag. Instead of creating new watcher after each restart, only a single watcher is created for whole process. Additionally debouncing mechanism has been added to prevent infinite restart loops if multiple files were changed in quick succession. Co-authored-by: bartossh <lenart.consulting@gmail.com>
2020-10-28fix(repl): don't hang on unpaired braces (#8151)Kevin (Kun) "Kassimo" Qian
Previously, entering a single ']' would cause repl to forever accepting new lines, due to that `ValidationResult::Invalid` would actually be consumed by the editor itself while continue building the lines. Instead we should mark it as `Valid` and send the bad input for evaluation to get the proper error from V8. Before: ``` > ] (you can keep entering new line here, and it will never consume input until you Ctrl-C) ``` After: ``` > ] Uncaught SyntaxError: Unexpected token ']' > ```
2020-10-28fix(cli): module graph handles redirects properly (#8159)Kitson Kelly
Fixes #8154
2020-10-27fix(std/wasi): remove stray console.log call (#8156)Casper Beyer
A stray console.log call made it into path_open which should have been reverted, it was only meant for debugging on the CI.
2020-10-28fix(cli): restore tripleslash lib refs support (#8157)Kitson Kelly
Fixes #8147
2020-10-27v1.5.0Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-27fix(cli): handle URL paths in Deno.mkdir() (#8140)Ross Weir
2020-10-27fix(cli): do not throw on empty typescript files (#8143)Kitson Kelly
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-27fix: path traversal in std/http/file_server.ts (#8134)Luca Casonato
2020-10-27fix(op_crates/web): Expose event properties in console output (#8103)Ross Weir
Fixes #8073
2020-10-27fix(cli): restore permission check on workers (#8123)Kitson Kelly
Fixes #8120
2020-10-26chore: add bundle_no_check benchmark (#8130)Luca Casonato
2020-10-26fix: Use -rw-r--r-- for cache files (#8132)Ryan Dahl
2020-10-26test(std/wasi): re-enable clock_time_get tests (#8098)Casper Beyer
This brings in revised tests for clock_time_get from upstream and re-enables them. This revision of these tests allow for lower precision clocks (we only provide millisecond precision, and that is conformant but previous tests for this in the upstream test suite were a bit more aggressive).
2020-10-26feat(std/testing): Add assertExists assertion (#7874)Yasser A.Idrissi
2020-10-26rename(std/testing): rename assert*Contains to assert*Includes (#7951)Tim Reichen
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes