summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2022-01-31feat(cli): add "--no-clear-screen" flag (#13454)Zheyu Zhang
This commit adds "--no-clear-screen" flag which can be used with "--watch" flag to disable clearing of terminal screen on each file change.
2022-01-31feat(ext/net): Add Conn.setNoDelay and Conn.setKeepAlive (#13103)Yosi Pramajaya
2022-01-31fix(cli): handle extensionless imports better (#13548)Kitson Kelly
Fixes #13526
2022-01-31feat(unstable): add Deno.getUid (#13496)Yoshiya Hinosawa
2022-01-30fix(ext/crypto): enforce 128bits tagLength for AES-GCM decryption (#13536)Divy Srivastava
2022-01-27chore: forward v1.18.1 to main (#13514)Bartek Iwańczuk
2022-01-25feat(test): better errors for resource sanitizer (#13296)Luca Casonato
This commit makes the errors produced from the resource sanitizer much more human readable. It does this by using real words rather than our "resource names" when referring to resources, and by giving helpful hints on how to clean up each of the resources.
2022-01-24fix(lsp): independent diagnostic publishing should include all diagnostic ↵David Sherret
sources on each publish (#13483)
2022-01-24chore: re-enable wgpu_sync (#13453)Aaron O'Mullan
2022-01-24perf(lsp): independent diagnostic source publishes (#13427)David Sherret
2022-01-24tests: Add inspector tests for "Memory" and "Profile" tabs (#13476)Bartek Iwańczuk
2022-01-24feat(unstable): add Deno.networkInterfaces (#13475)Yoshiya Hinosawa
2022-01-24fix(lsp): respect DENO_CERT and other options related to TLS certs (#13467)Kitson Kelly
Fixes #13437
2022-01-201.18.0Divy Srivastava
2022-01-20revert(#13402): experiment: wgpu sync (#13439)Aaron O'Mullan
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2022-01-20fix(cli/dts): add NotSupported error type (#13432)Yoshiya Hinosawa
2022-01-19experiment: wgpu sync (#13402)Aaron O'Mullan
2022-01-19feat(ext/crypto): implement pkcs8/JWK for P-384 curves (#13154)Sean Michael Wykes
2022-01-19feat(ext/crypto): implement pkcs8/spki/jwk exportKey for ECDSA and ECDH (#13104)Sean Michael Wykes
2022-01-18feat: stabilize test steps API (#13400)David Sherret
2022-01-17feat: auto-discover config file (#13313)Ryan Dahl
2022-01-18fix(runtime): don't crash when window is deleted (#13392)Bartek Iwańczuk
This commit fixes an error when user deletes "window" global JS variable. Instead of relying on "window" or "globalThis" to dispatch "load" and "unload" events, we are default to global scope of the worker.
2022-01-17fix(ext/console): don't depend on globalThis present (#13387)Bartek Iwańczuk
2022-01-17fix(tsc): Add typings for `Intl.ListFormat` (#13301)Andreu Botella
V8 has supported `Intl.ListFormat` since version 7.2, but TypeScript doesn't have typings for it yet. This PR manually adds those typings, copying them from microsoft/TypeScript#47254.
2022-01-16fix(cli): Don't strip shebangs from modules (#13220)Andreu Botella
Deno's module loader currently strips a shebang if a module file starts with one. However, this is no longer necessary, since there is a stage-3 TC39 that adds support for shebangs (or "hashbangs") to the language (https://github.com/tc39/proposal-hashbang), and V8, `tsc` and `swc` all support it. Furthermore, stripping shebangs causes a correctness bug with JSON modules, since a JSON file with a shebang should not parse as a JSON module, yet it does with this stripping. This change fixes this.
2022-01-14test: type check lib.deno_core.d.ts (#13356)Bartek Iwańczuk
2022-01-14feat(ext/crypto): implement AES-GCM decryption (#13319)Divy Srivastava
2022-01-13chore: forward v1.17.3 to main (#13364)Bartek Iwańczuk
2022-01-12feat(cli): add ignore directives to bundled code (#13309)juju
This commit adds lint and fmt ignore directives to bundled code as well as a comment stating that the code was bundled and shouldn't be edited manually.
2022-01-11fix(coverage): merge coverage ranges (#13334)Bartek Iwańczuk
Covered ranges were not merged and thus it appeared that some lines might be uncovered. To fix this I used "v8-coverage" that takes care of merging the ranges properly. With this change, coverage collected from a file by multiple entrypoints is now correctly calculated. I ended up forking https://github.com/demurgos/v8-coverage and adding "cli/tools/coverage/merge.rs" and "cli/tools/coverage/range_tree.rs".
2022-01-11feat(ext/crypto): implement AES-KW for wrapKey/unwrapKey (#13286)Sean Michael Wykes
2022-01-10cli(compile): fix output flag behaviour on compile command (#13299)Rabin Gaire
2022-01-10fix(coverage): don't type check (#13324)Bartek Iwańczuk
This commit changes "deno coverage" command not to type check. Instead of relying on infrastructure for module loading in "deno run"; the code now directly reaches into cache for original and transpiled sources. In case sources are not available the error is returned to the user, suggesting to first run "deno test --coverage" command.
2022-01-09fix: expose "Deno.memoryUsage()" in worker context (#13293)Rodney van den Velden
2022-01-09test: add inspector test with ts files (#13312)Bartek Iwańczuk
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07feat(lsp): provide registry details on hover if present (#13294)Kitson Kelly
Closes: #13272
2022-01-06feat(ext/websocket): server automatically handle ping/pong for incoming ↵Leo Kettmeir
WebSocket (#13172)
2022-01-06chore: forward 1.17.2 to main (#13295)Bartek Iwańczuk
2022-01-05feat(ext/websocket): add header support to WebSocketStream (#11887)Leo Kettmeir
2022-01-05feat(ext/crypto): implement AES-GCM encryption (#13119)Divy Srivastava
2022-01-05fix(ext/crypto) - exportKey JWK for AES/HMAC must use base64url (#13264)Sean Michael Wykes
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-01-04fix: upgrade swc_ecmascript to 0.103 (#13284)David Sherret
2022-01-04fix(signals): prevent panic when listening to forbidden signals (#13273)Leo Kettmeir
2022-01-04fix(lsp): handle repeating patterns in registry correctly (#13275)Kitson Kelly
2022-01-03feat(compat) preload Node.js built-in modules in global vars REPL (#13127)VishnuJin
This commit adds preloading of built-in Node.js modules in the REPL if running with "deno repl --compat --unstable".
2022-01-03fix(ext/crypto): use forgiving base64 encoding for JWK (#13240)Sean Michael Wykes
Implements "forgiving" in JWK decode passing suitable config to base64::decode_config
2022-01-03feat(ext/crypto): support AES-CTR encrypt/decrypt (#13177)Sean Michael Wykes
Fixes #13201.
2022-01-02chore: update std submodule to efa94f2 (#13260)Bartek Iwańczuk