summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
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-01fix misaligned error reporting on tab char (#5032)Fenzland
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-29BREAKING: Map-like interface for Deno.env (#4942)Valentin Anger
2020-04-28BREAKING: Remove Deno.EOF, use null instead (#4953)Nayeem Rahman
2020-04-28BREAKING: remove overload of Deno.test() (#4951)Bartek Iwańczuk
This commit removes overload of Deno.test() that accepted named function.
2020-04-28Make import maps unstable (#4934)Luca Casonato
2020-04-27fix(core): fix top-level-await error handling (#4911)Bartek Iwańczuk
2020-04-27Make runtime compile ops unstable (#4912)Ryan Dahl
2020-04-25introduce unstable flag, make a few things unstable (#4892)Ryan Dahl
2020-04-25BREAKING CHANGE: remove Deno.OpenMode (#4884)Bartek Iwańczuk
This commit removes Deno.OpenMode along with overloaded variants of Deno.open() and Deno.openSync() that used OpenMode.
2020-04-25BREAKING CHANGE: change order of args in Deno.copy() (#4885)Bartek Iwańczuk
2020-04-20refactor(cli/fmt_errors): Improve source line formatting (#4832)Nayeem Rahman
2020-04-19fix(core/js_errors): Get error's name and message from JS fields (#4808)Nayeem Rahman
2020-04-16feat(cli/installer.rs): Add DENO_INSTALL_ROOT (#4787)Nayeem Rahman
2020-04-16feat: support Deno namespace in Worker API (#4784)Bartek Iwańczuk
2020-04-16refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (#4763)Nayeem Rahman
2020-04-15Revert "test(inspector): add coverage test case (#4725)" (#4754)Ryan Dahl
Flaky and doesn't implement any features. This reverts commit a7a3a771a0a0cb2df2a14bcf4b8c38bc69525dd6.
2020-04-14test(inspector): add coverage test case (#4725)Bartek Iwańczuk
2020-04-14fix(worker): make worker name spec compliant (#4746)Bartek Iwańczuk
2020-04-13feat: implement EventTarget for worker scope (#4737)Bartek Iwańczuk
2020-04-13feat(worker): add MessageEvent, ErrorEvent and handling to Worker API (#4391)crowlKats
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-04-13refactor(core/js_error): Align JSStackFrame with CallSite (#4715)Nayeem Rahman
Renames and adds missing fields to JSStackFrame from CallSite. Fixes #4705. Cleans up base changes for line and column numbers.
2020-04-11refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706)Nayeem Rahman
2020-04-10Remove __domTypes namespace (#4698)Ryan Dahl
2020-04-10fix(core/js_error): Get frame data from prepareStackTrace() (#4690)Nayeem Rahman
Fixes: #2703 Fixes: #2710 Closes: #4153 Closes: #4232 Co-authored-by: Kevin (Kun) Kassimo Qian <kevinkassimo@gmail.com>
2020-04-10implement Worker.terminate() and self.close() (#4684)Bartek Iwańczuk
2020-04-07BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656)Akshat Agarwal
2020-04-07feat: add --importmap flag to deno bundle (#4651)Bartek Iwańczuk
2020-04-06fix: fetch reference types for JS files (#4652)Giorgi Rostomashvili
Fixes #4000 and fixes #4476. Now always tries to fetch reference types for JS files. Does not throw if it fails, since Typescript compiler will complain if the file is not there(it will try to fetch it again first) and people who just use JS should not be bothered by this error. Not sure about my test, it passes and catches the bug but maybe there is a better way to express it.
2020-04-04Enable inspector tests (#4628)Andres Villegas
2020-04-03Make inspector more robust, add --inspect-brk support (#4552)Bert Belder
2020-04-01Support dynamic import in bundles. (#4561)Kitson Kelly
2020-03-30console: iterable printing improvements (#4472)Michał Sabiniarz
1. Array elements are now grouped the same as in Node.js 2. Limit to 100 (Node.js default) elements to display in iterable 3. Print each element in new line if excessing max line length (same as in Node.js) 4. Print length of the TypedArray 5. Print information about empty items in Array
2020-03-28Ignore flaky test cafile_info (#4517)Ryan Dahl
Ref #4512
2020-03-28fix(inspector): proper error message on port collision (#4514)Kevin (Kun) "Kassimo" Qian
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-27feat: Support Inspector / Chrome Devtools (#4484)Ryan Dahl
This is a first pass implementation which is still missing several important features: - support for --inspect-brk (#4503) - support for source maps (#4501) - support for piping console.log to devtools console (#4502) Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Matt Harrison <mt.harrison86@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-03-24feat: window.close() (#4474)Kevin (Kun) "Kassimo" Qian
2020-03-24errors: replace .lines with explicit .split newline (#4483)Kevin (Kun) "Kassimo" Qian
2020-03-24hide source line if error message longer than 150 chars (#4487)Kevin (Kun) "Kassimo" Qian
2020-03-24console: replace object abbreviation with line breaking (#4425)Michał Sabiniarz
2020-03-23feat: first pass at "deno upgrade" (#4328)bartOssh
2020-03-21BREAKING CHANGE Rename Deno.run's args to cmd (#4444)Akshat Agarwal
This is to avoid confusion with Deno.args which does not include the executable to be run.
2020-03-20Remove DENO_BUILD_MODE and DENO_BUILD_PATH (#4431)Ryan Dahl
* Remove DENO_BUILD_MODE and DENO_BUILD_PATH Also remove outdated docs related to ninja/gn. * fix * remove parameter to build_mode() * remove arg parsing from benchmark.py
2020-03-20Add require-await lint rule (#4401)Samrith Shankar
2020-03-19Clean up installer tests (#4433)Ryan Dahl