summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-06refactor: move WebSocket API to an op_crate (#9026)Luca Casonato
2021-01-06chore: exempt tests and build labels from stalebot (#9027)Luca Casonato
2021-01-06fix(std/http): Use ES private fields in server (#8981)Zhangyuan Nie
2021-01-06fix: stronger input checking for setTimeout; add function overload (#8957)Anonymous
2021-01-06enable stale bot (#9011)Ryan Dahl
2021-01-06BREAKING(std/wasi): return exit code from start (#9022)Casper Beyer
This returns the exit code directly from the start entry point instead of throwing it and letting the user handle it. As a result the exit status is an implementation detail and has been made internal.
2021-01-06feat(cli): support data urls (#8866)Kitson Kelly
Closes: #5059 Co-authored-by: Valentin Anger <syrupthinker@gryphno.de>
2021-01-06fix: align performance API to spec using WPT (#9012)Luca Casonato
2021-01-06refactor(cli): remove 'js' module, simplify compiler snapshot (#9020)Bartek Iwańczuk
This commit removes "js" module from "cli". It contained stuff related to TypeScript compiler (snapshot, declaration files) and thus it was moved to "tsc" module.
2021-01-06fix(std/node): resolve files in symlinked directories (#8840)Liam Murphy
2021-01-06fix: use inline source maps when present in js (#8995)Luca Casonato
2021-01-05upgrade: deno_doc, deno_lint, dprint, swc_ecmascript, swc_bundler (#9003)Bartek Iwańczuk
2021-01-05fix: align AbortSignal to spec using WPT (#9007)Luca Casonato
2021-01-05Add rlib size benchmarks (#9005)Ryan Dahl
2021-01-05refactor(core): simplify Deno.core initialisation, remove stale TODO (#8847)Bartek Iwańczuk
This commit rewrites initialisation of the "shared queue" and in effect prevents from double execution of "core/core.js" and "core/error.js". Previously both of these files were executed every time a "JsRuntime" was created. That lead to a situation where one copy of each script was included in the snapshot and then another copy would be executed after loading the snapshot. Effectively "JsRuntime::shared_init" was removed; instead execution of those scripts and actual initialisation of shared queue was split into two helper functions: "JsRuntime::js_init" and "JsRuntime::share_queue_init". Additionally stale TODO comments were removed.
2021-01-05fix: align encoding APIs to spec using WPT (#9004)Luca Casonato
2021-01-05BREAKING(std/wasi): make implementation details private (#8996)Casper Beyer
This makes the implementation details of the Context class private, making the public interface much more bare-bones and aligns it closer to what Node exposes.
2021-01-05typo (#8998)Kai Mallea
2021-01-05fix(runtime/websocket): respond to ping with pong (#8974)crowlKats
2021-01-05feat(std/wasi): allow stdio resources to be specified (#8999)Casper Beyer
2021-01-05docs(example/tcp_echo): fix TCP echo leaking resources (#8997)Mark Tomlin
2021-01-05tests: add web platform test runner (#8990)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-01-05feat(cli/standalone): support runtime flags for deno compile (#8738)Nayeem Rahman
2021-01-05fix(lsp): Respect client capabilities for config and dynamic registration ↵Valentin Anger
(#8865)
2021-01-04docs: Remove outdated information about third_party/ directory (#8973)Yacine Hmito
2021-01-04feat(installer): Add support for MSYS on Windows (#8932)Sylvain Cau
2021-01-04fix(coverage): merge duplicate reports (#8942)Casper Beyer
Merging multiple runs isn't quite right because we rely on a 0 count to signal that a block hasn't been called. Other tools like c8 expect this to be true as-well so we need to do our best to merge coverage files rather than duplicating them.
2021-01-04BREAKING(unstable): remove CreateHttpClientOptions.caFile (#8928)Mo
2021-01-04docs: meta updates to cli/tests/unit/README.md (#8969)Satya Rohith
2021-01-04fix(inspector): kill child process after test (#8986)Ben Noordhuis
The child process kept running and printing "hello" to stdout. This commit also removes the dependency on reqwest and instead switches to the re-export from the fetch crate. Brings back commit 1a2e7741c33490d2a91147966019853c6b1d6a48.
2021-01-04chore: disable flaky test on Windows (#8987)Bartek Iwańczuk
2021-01-04Revert "fix(inspector): add back list endpoint (#8894)" (#8977)Luca Casonato
This reverts commit 1a2e7741c33490d2a91147966019853c6b1d6a48.
2021-01-04fix: panic on invalid file:// module specifier (#8964)Maayan Hanin
2021-01-03fix(inspector): add back list endpoint (#8894)Liam Perlaki
This commit adds back "/json/list" endpoint to inspector server which was erroneously removed during server rewrite. Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2021-01-02Revert "ci: don't install python (#8961)" (#8963)Ryan Dahl
This reverts commit 5937ee3fba24dac6be99c8cb0b4c9709d4656f71.
2021-01-02ci: don't install python (#8961)Ryan Dahl
2021-01-02fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960)Nayeem Rahman
2021-01-02upgrade: Rust 1.49.0 (#8955)Bartek Iwańczuk
2021-01-02fix(test_util): make hyper server single-threaded (#8951)Ben Noordhuis
Use Tokio's single-threaded scheduler. The hyper server is used as a point of comparison for the (single-threaded!) benchmarks in cli/bench. We're not comparing apples to apples if we use the default multi-threaded scheduler. This drops the requests/sec from 284k to 130k on my 12 core Ryzen 5 system. That still leaves a 50k gap for us to close. Working on it!
2021-01-01refactor(cli): runtime compiler APIs consolidated to Deno.emit() (#8799)Kitson Kelly
Closes: #4752
2020-12-31docs: add note about NO_PROXY env variable (#8929)Tomofumi Chiba
2020-12-31feat(lsp): support specifying a tsconfig file (#8926)Kitson Kelly
2020-12-31fix(std/http): parsing of HTTP version header (#8902)Noxazer
2020-12-30fix(op_crates/fetch): correct regexp for fetch header (#8927)Rich Trott
Fix bug in regular expression and make the regular expression more strict. In a string passed to new RegExp(), '[\t\s]' is identical to '[ts]' and not `/[\t\s]/`. For that, the backslash needs to be escaped in the string. Futhermore, `\t` is the tab character and is included in the special regexp value `\s` so is unnecessary. That would reduce the RegExp to new RegExp(`^${value}\\s*;?`) but there's no point in matching 0 or more space characters followed by 0 or one semi-colons as that will match no matter what follows `value`. To make it more strict, require one of space, semicolon, or end-of-string after value.
2020-12-30BREAKING(unstable): Use hosts for net allowlists (#8845)Nayeem Rahman
Allowlist checking already uses hosts but for some reason requests, revokes and the runtime permissions API use URLs. - BREAKING(lib.deno.unstable.d.ts): Change NetPermissionDescriptor::url to NetPermissionDescriptor::host - fix(runtime/permissions): Don't add whole URLs to the allowlist on request - fix(runtime/permissions): Harden strength semantics: ({ name: "net", host: "127.0.0.1" } is stronger than { name: "net", host: "127.0.0.1:8000" }) for blocklisting - refactor(runtime/permissions): Use tuples for hosts, make the host optional in Permissions::{query_net, request_net, revoke_net}()
2020-12-30docs: Fix instructions about how to setup development environment with ↵Yuki Tanaka
Vim/Neovim (#8937)
2020-12-30chore(cli/tests): fix typo in test failure message (#8935)Rich Trott
2020-12-30v1.6.3Bartek Iwańczuk
2020-12-30chore: release crates (#8931)Bartek Iwańczuk
2020-12-30fix(cli): info does not panic on missing modules (#8924)Kitson Kelly
Fixes #8918