summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-07fix(serde_v8): support #[serde(default)] (#13300)Aaron O'Mullan
2022-01-07feat(ext/crypto): JWK support for unwrapKey/wrapKey (#13261)Sean Michael Wykes
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-06chore(wpt): add "--inspect-brk" flag to WPT runner (#13267)Sean Michael Wykes
2022-01-06fix: Get lib.deno_core.d.ts to parse correctly (#13238)Rafael Ávila de Espíndola
2022-01-06ci: cycle cache key (#13292)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/ffi): throw errors instead of panic (#13283)DjDeveloper
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-05refactor(ext/web): Don't rely on NaN comparisons in `TextEncoderStream` (#13151)Andreu Botella
In the `transform` function to `TextEncoderStream`'s internal `TransformStream`, if `chunk` is the empty string and `this.#pendingHighSurrogate` is null, then `lastCodeUnit` will be NaN. As it turns out, this does not cause a bug because the comparison to check for lone surrogates turns out to be false for NaN, but to rely on it makes the code brittle.
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-04refactor(core): InspectorSession implements Stream (#13270)Bartek Iwańczuk
This commit rewrites "InspectorSession" to no longer implement "Future" trait but instead implement "Stream" trait. "Stream" trait is implemented by yielding a raw pointer to the "v8::inspector::V8InspectorSession" and received message. In effect received messages are no longer dispatched from within the future, but are explicitly dispatched by the caller. This change should allow us to dispatch a message to the session when another message is being dispatched, ie. "V8InspectorSesssion::dispatch_protocol_message" is already on the call stack.
2022-01-04chore: add SECURITY.md (#13279)Luca Casonato
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> Co-authored-by: Satya Rohith <me@satyarohith.com>
2022-01-04chore: upgrade v8 from 9.7 to 9.8 (#13269)Ben Noordhuis
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
2022-01-02build: hardcode WPT_FYI_USER (#13262)Luca Casonato
GHA keeps redacting all occurrences of the word "deno" out of logs because this is our wpt.fyi username. This is rather annoying, so I am just hardcoding the username in the CI script.
2022-01-02fix(lsp): better handling of folders in registry completions (#13250)Kitson Kelly
2022-01-02fix(lsp): properly generate data URLs for completion items (#13246)Kitson Kelly
2021-12-31add divy to CODEOWNERS (#13247)Divy Srivastava
2021-12-30feat(test): Add support for "deno test --compat" (#13235)Steven Guerrero
2021-12-30fix(core): inspector works if no "Runtime.runIfWaitingForDebugger" message ↵Bartek Iwańczuk
is sent (#13191) This commit changes flow in inspector code to no longer require "Runtime.runIfWaitingForDebugger" message to complete a handshake. Even though clients like Chrome DevTools always send this message on startup, it is against the protocol to require this message to start an inspector session. Instead "Runtime.runIfWaitingForDebugger" is required only when running with "--inspect-brk" flag, which matches behavior of Node.js.
2021-12-30chore(core): remove stale TODOs (#13232)Bartek Iwańczuk
2021-12-30fix(doc): Make private types which show up in the rustdocs public (#13230)Andreu Botella
`CrossIsolateStore`, `ExtensionBuilder` and `InMemoryChannelResource` are private types which are referred to by other public APIs, and so don't show up as links in the rustdoc. This is especially confusing for `ExtensionBuilder`, since there is nothing in the docs that explains how to build an extension. Exposing these three types doesn't add any new capabilities: `ExtensionBuilder` can be created from `Extension::builder()`, `SharedArrayBufferStore` and `CompiledWasmModuleStore` already enable doing anything that `CrossIsolateStore` can do by itself, and `InMemoryChannelResource` isn't constructable.
2021-12-29feat: output `cause` on JS runtime errors (#13209)Leo Kettmeir
2021-12-29cleanup(cli/lsp): use op Extensions (#13225)Aaron O'Mullan
2021-12-29cleanup(core): use Extensions to register ops (#13224)Aaron O'Mullan
In examples and tests
2021-12-29chore(bench_util): update README example (#13226)Aaron O'Mullan
2021-12-29cleanup(cli): use op Extensions (#13223)Aaron O'Mullan
Enabling op-middleware for overrides in lieu of imperative .replace_op() etc... Impacts #13219, #12938, #13122
2021-12-29fix(lsp): add code lens for tests just using named functions (#13218)Kitson Kelly
Fixes: #13216
2021-12-28refactor(core): cleanup Inspector implementation (#12962)Bartek Iwańczuk
2021-12-27fix(ext/crypto) include AES-CTR for deriveKey (#13174)Sean Michael Wykes
2021-12-23fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190)David Sherret
2021-12-24fix(cli): include JSON modules in bundle (#13188)Kitson Kelly
Fixes #13150
2021-12-23docs: update release instructions for M1 build (#13182)Ryan Dahl
2021-12-23fix(ext/console): map basic css color keywords to ansi (#13175)Zach