Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-11 | BREAKING: There is no public Rust API for the CLI (#5226) | Ryan Dahl | |
2020-05-11 | Merge std_tests.rs into integration_tests.rs.rs (#5228) | Ryan Dahl | |
* Remove usage of url_to_filename from integration_tests * Make test ports not conflict with each other | |||
2020-05-11 | refactor: check permissions in SourceFileFetcher (#5011) | Bartek Iwańczuk | |
This PR hot-fixes permission escapes in dynamic imports, workers and runtime compiler APIs. "permissions" parameter was added to public APIs of SourceFileFetcher and appropriate permission checks are performed during loading of local and remote files. | |||
2020-05-09 | Add support for X-Deno-Warning header (#5161) | Ryan Dahl | |
2020-05-09 | feat(upgrade): allow specifying a version (#5156) | crowlKats | |
2020-05-08 | Add hint on how to exit REPL (#5143) | Ryan Dahl | |
Removes exit and help commands | |||
2020-05-07 | BREAKING: make Worker.deno unstable (#5128) | Bartek Iwańczuk | |
This commit makes "Worker.deno" option unstable. Added new manual entry "docs/runtime/workers.md". Removed stale workers tests. | |||
2020-05-07 | BREAKING: Remove support for .wasm imports (#5135) | Bartek Iwańczuk | |
Importing .wasm files is non-standardized therefore deciding to support current functionality past 1.0 release is risky. Besides that .wasm import posed many challenges in our codebase due to complex interactions with TS compiler which spawned thread for each encountered .wasm import. This commit removes: - cli/compilers/wasm.rs - cli/compilers/wasm_wrap.js - two integration tests related to .wasm imports | |||
2020-05-07 | fix(imports): fix panic on unsupported scheme (#5131) | Bartek Iwańczuk | |
2020-05-06 | remove target_test.py (#5112) | Ryan Dahl | |
2020-05-06 | BREAKING: execPath should require allow-read (#5109) | Ryan Dahl | |
2020-05-06 | Clean up 'inspector_break_on_first_line' test and fix its flakiness (#5098) | Bert Belder | |
2020-05-05 | Fix inspector hanging when task budget is exceeded (#5083) | Bert Belder | |
The issue is solved by proxying websocket messages over a pair of `futures::mpsc::unbounded` channels. As these are are implemented in the 'futures' crate, they can't participate in Tokio's cooperative task yielding. | |||
2020-05-04 | stabilize Deno.cwd and require --allow-read (#5068) | Ryan Dahl | |
2020-05-04 | simplify unit tests: compiler_api, workers (#5073) | Ryan Dahl | |
2020-05-04 | BREAKING: remove CLI 'deno script.ts' hack (#5026) | Bartek Iwańczuk | |
This PR removes the hack in CLI that allows to run scripts with shorthand: deno script.ts. Removing this functionality because it hacks around short-comings of clap our CLI parser. We agree that this shorthand syntax is desirable, but it needs to be rethinked and reimplemented. For 1.0 we should go with conservative approach that is correct. | |||
2020-05-02 | BREAKING: 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-02 | BREAKING: 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-01 | BREAKING: feat(cli/installer): Support guessing the executable name (#5036) | Nayeem Rahman | |
2020-05-01 | fix misaligned error reporting on tab char (#5032) | Fenzland | |
2020-04-30 | Unstable methods should not appear in runtime or d.ts (#4957) | Luca Casonato | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2020-04-28 | Make import maps unstable (#4934) | Luca Casonato | |
2020-04-27 | fix(core): fix top-level-await error handling (#4911) | Bartek Iwańczuk | |
2020-04-27 | Make runtime compile ops unstable (#4912) | Ryan Dahl | |
2020-04-25 | introduce unstable flag, make a few things unstable (#4892) | Ryan Dahl | |
2020-04-16 | feat(cli/installer.rs): Add DENO_INSTALL_ROOT (#4787) | Nayeem Rahman | |
2020-04-15 | Revert "test(inspector): add coverage test case (#4725)" (#4754) | Ryan Dahl | |
Flaky and doesn't implement any features. This reverts commit a7a3a771a0a0cb2df2a14bcf4b8c38bc69525dd6. | |||
2020-04-14 | test(inspector): add coverage test case (#4725) | Bartek Iwańczuk | |
2020-04-13 | refactor(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-11 | refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) | Nayeem Rahman | |
2020-04-07 | BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656) | Akshat Agarwal | |
2020-04-07 | feat: add --importmap flag to deno bundle (#4651) | Bartek Iwańczuk | |
2020-04-06 | fix: 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-04 | Enable inspector tests (#4628) | Andres Villegas | |
2020-04-03 | Make inspector more robust, add --inspect-brk support (#4552) | Bert Belder | |
2020-04-01 | Support dynamic import in bundles. (#4561) | Kitson Kelly | |
2020-03-28 | Ignore flaky test cafile_info (#4517) | Ryan Dahl | |
Ref #4512 | |||
2020-03-28 | fix(inspector): proper error message on port collision (#4514) | Kevin (Kun) "Kassimo" Qian | |
2020-03-27 | feat: 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-24 | feat: window.close() (#4474) | Kevin (Kun) "Kassimo" Qian | |
2020-03-24 | errors: replace .lines with explicit .split newline (#4483) | Kevin (Kun) "Kassimo" Qian | |
2020-03-24 | hide source line if error message longer than 150 chars (#4487) | Kevin (Kun) "Kassimo" Qian | |
2020-03-23 | feat: first pass at "deno upgrade" (#4328) | bartOssh | |
2020-03-20 | Remove 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-19 | Clean up installer tests (#4433) | Ryan Dahl | |
2020-03-19 | Fix cafile_install_remote_module test (#4429) | Ryan Dahl | |
2020-03-19 | fix: std/testing/runner.ts and deno test (#4392) | Bartek Iwańczuk | |
After splitting "failFast" and "exitOnFail" arguments, there was a situation where failing tests did not exit with code 1. * fixed argument value passed to Deno.runTests() in deno test * fixed argument value passed to Deno.runTests() in std/testing/runner.ts * added integration tests for deno test to ensure failFast and exitOnFail work as expected * don't write test file to file system, but keep it in memory | |||
2020-03-18 | Provide compiled JSON to TypeScript compiler. (#4404) | Kitson Kelly | |
Fixes #4101 Previously, we would just provide the raw JSON to the TypeScript compiler worker, but TypeScript does not transform JSON. This caused a problem when emitting a bundle, that the JSON would just be "inlined" into the output, instead of being transformed into a module. This fixes this problem by providing the compiled JSON to the TypeScript compiler, so TypeScript just sees JSON as a "normal" TypeScript module. | |||
2020-03-17 | try to handle ConnectionReset error in windows CI for unit tests (#4407) | Bartek Iwańczuk | |
2020-03-15 | Remove Object.prototype.__proto__ (#4341) | Kitson Kelly | |