summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
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-18refactor(lsp): store assets behind a mutex (#13414)David Sherret
2022-01-18feat: stabilize test steps API (#13400)David Sherret
2022-01-18Add LSP benchmark mimicking the one on quick-lint-js (#13365)Ryan Dahl
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-17refactor(lsp): remove `performance` from `StateSnapshot` (#13403)David Sherret
2022-01-17refactor: simplify how LSP deals with config file specifier (#13401)Ryan Dahl
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-15chore: upgrade to rust 1.58 (#13377)David Sherret
2022-01-14refactor(installer): refactor installer code to be more testable (#13374)David Sherret
2022-01-14test: type check lib.deno_core.d.ts (#13356)Bartek Iwańczuk
2022-01-14chore: upgrade clap to v3 (#13266)Leo Kettmeir
2022-01-14fix(cli): fix `deno install --prompt` (#13349)Tomofumi Chiba
2022-01-14feat(ext/crypto): implement AES-GCM decryption (#13319)Divy Srivastava
2022-01-13refactor: upgrade to import_map v0.6 (#13368)David Sherret
2022-01-13chore: forward v1.17.3 to main (#13364)Bartek Iwańczuk
2022-01-13refactor: move transpiling to deno_ast (#13332)David Sherret
2022-01-13chore: rename cli/bench/fixtures to cli/bench/testdata (#13363)Ryan Dahl
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-12feat(ext/ffi): UnsafeFnPointer API (#13340)DjDeveloper
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-11fix(ext/ffi): `pointer` type can accept `null` (#13335)DjDeveloper
2022-01-11feat(ext/ffi): support alias names for symbol definitions (#13090)DjDeveloper
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-10feat(cli, runtime): compress snapshots (#13320)evan
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-10feat(ext/ffi): infer symbol types (#13221)Divy Srivastava
Co-authored-by: sinclairzx81 <sinclairzx81@users.noreply.github.com>
2022-01-10docs: update `writeSync` docs to refer to `writeAllSync` in deno.land/std ↵David Sherret
instead of `Deno.writeAllSync` (#13314)
2022-01-10fix: install shim with `--allow-all` should not output each permission ↵David Sherret
individually (#13325)
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-05fix: support `mts`, `cjs` & `cts` files for `deno test` & `deno fmt` (#13274)Leo Kettmeir
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.