Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-20 | fix(std/http): Properly await ops in a server test (#4436) | Nayeem Rahman | |
2020-03-19 | fix(std/http): Fix respond error test on Windows (#4408) | Nayeem Rahman | |
2020-03-19 | Clean up installer tests (#4433) | Ryan Dahl | |
2020-03-19 | perf: Optimize TextEncoder and TextDecoder (#4430) | Bartek Iwańczuk | |
* add tests for "Deno.core.encode" and "Deno.core.decode" for empty inputs * use "Deno.core.encode" in "TextEncoder" * use "Deno.core.decode" in "TextDecoder" * remove "core_decode" and "core_encode" benchmarks | |||
2020-03-19 | Fix cafile_install_remote_module test (#4429) | Ryan Dahl | |
2020-03-19 | std(http/server): close open connections on server close (#3679) | Bartek Iwańczuk | |
Due to structure of "Server" for each open connection there's a pending "read" op. Because connection owned by "Server" are not tracked, calling "Server.close()" doesn't close open connections. This commit introduces simple tracking of connections for server and ensures owned connections are closed on "Server.close()". | |||
2020-03-19 | Simplify timer with macrotask callback (#4385) | Kevin (Kun) "Kassimo" Qian | |
2020-03-19 | fix: stack traces for modules imported via std/node's require (#4035) | Nikolai Vavilov | |
2020-03-19 | remove std/testing/runner.ts, use deno test for std/ tests (#4397) | Bartek Iwańczuk | |
This introduces BREAKING CHANGE by removing "std/testing/runner.ts". Std tests are now run using "deno test" subcommand. | |||
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-19 | feat: Add helper functions for permissions to std (#4258) | Kitson Kelly | |
2020-03-19 | refactor: rename Deno.TestDefinition.skip to ignore (#4400) | Bartek Iwańczuk | |
2020-03-18 | Chmod API documentation improvements (#4427) | Chris Knight | |
2020-03-18 | Improve API docs for Deno.bundle and Deno.chdir (#4426) | Chris Knight | |
2020-03-18 | feat: Deno.test() sanitizes ops and resources (#4399) | Bartek Iwańczuk | |
This PR brings assertOps and assertResources sanitizers to Deno.test() API. assertOps checks that test doesn't leak async ops, ie. there are no unresolved promises originating from Deno APIs. Enabled by default, can be disabled using Deno.TestDefinition.disableOpSanitizer. assertResources checks that test doesn't leak resources, ie. all resources used in test are closed. For example; if a file is opened during a test case it must be explicitly closed before test case finishes. It's most useful for asynchronous generators. Enabled by default, can be disabled using Deno.TestDefinition.disableResourceSanitizer. We've used those sanitizers in internal runtime tests and it proved very useful in surfacing incorrect tests which resulted in interference between the tests. All tests have been sanitized. Closes #4208 | |||
2020-03-18 | Fix unit test runner ConnectionReset bug (#4424) | Bert Belder | |
Fixes: #4373 | |||
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-18 | ci: Use github action's cache in addition to sccache (#4417) | Ryan Dahl | |
2020-03-18 | Fix benchmarks (#4416) | Ryan Dahl | |
2020-03-17 | Update manual (#4412) | Ryan Dahl | |
2020-03-17 | Use V8 binary build in Github Actions (#4412) | Bert Belder | |
2020-03-17 | Set environment variables correctly in Github Actions (#4412) | Bert Belder | |
2020-03-17 | Upgrade rust crates (#4412) | Bert Belder | |
2020-03-17 | try to handle ConnectionReset error in windows CI for unit tests (#4407) | Bartek Iwańczuk | |
2020-03-17 | std: Provide types for React and ReactDOM (#4376) | Kitson Kelly | |
Introduces `std/types` which is designed to provide types for common libraries that are compatible with Deno. | |||
2020-03-17 | feat: fetch should accept a FormData body (#4363) | crowlKats | |
2020-03-16 | Add mode option to open/create (#4289) | dubiousjim | |
2020-03-16 | refactor: remove an unsafe and some boxing (#4398) | Gurwinder Singh | |
2020-03-16 | try to fix unit test runner on Windows (#4395) | Bartek Iwańczuk | |
This PR attempts to fix intermittent errors occurring on Windows for "cli/tests/unit_test_runner.ts." Runner has been reworked to create only single TCP listener instead of one listener per worker. Additionally worker doesn't close TCP socket - it waits for parent process to close the socket and only then exits. | |||
2020-03-16 | fix: fetch closes unused body (#4393) | Bartek Iwańczuk | |
This commit makes sure that "httpBody" resource is closed in case of redirections in fetch API. | |||
2020-03-16 | console: Symbol.toStringTag and display Object symbol entries (#4388) | Kevin (Kun) "Kassimo" Qian | |
2020-03-16 | test: Fix broken test and remove redundant test file (#4390) | Chris Knight | |
2020-03-16 | refactor: add no-return-await lint rule (#4384) | Bartek Iwańczuk | |
2020-03-15 | refactor: change test reporter output (#4371) | Bartek Iwańczuk | |
This commit changes output of default test reporter to resemble output from Rust test runner; first the name of running test is printed with "...", then after test has run result is printed on the same line. * Split "Deno.TestEvent.Result" into "TestStart" and "TestEnd"; * changes TestReporter interface to support both events; Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-03-15 | refactor: move existing fs implementation to internal _fs directory (#4381) | Chris Knight | |
2020-03-15 | feat: Deno.core.{encode,decode}; standalone UTF-8 encoding/decoding (#4349) | Bartek Iwańczuk | |
This commits add two new methods to "Deno.core" namespace: "encode" and "decode". Those methods are bound in Rust to provide a) fast b) generally available of encoding and decoding UTF-8 strings. Both methods are now used in "cli/js/dispatch_json.ts". | |||
2020-03-15 | docs: fix Deno.compile examples in manual.md (#4380) | Yoshiya Hinosawa | |
2020-03-15 | refactor(std): Uncomment disabled tests, use skip option (#4378) | Nayeem Rahman | |
2020-03-15 | Remove Object.prototype.__proto__ (#4341) | Kitson Kelly | |
2020-03-15 | feat(cli/js/testing): Add TestDefinition::skip (#4351) | Nayeem Rahman | |
2020-03-14 | Node polyfill for fs.chown and fs.close (#4377) | Chris Knight | |
2020-03-14 | BREAKING CHANGE FileInfo.len renamed to FileName.size (#4338) | dubiousjim | |
2020-03-14 | Upgrade to rusty_v8 0.3.5 / v8 8.2.308 (#4364) | Bert Belder | |
2020-03-14 | feat: add chmod Node polyfill and related file system constants (#4358) | Chris Knight | |
2020-03-14 | replace source-mappings-map with rust-sourcemap (#4368) | Bartek Iwańczuk | |
2020-03-14 | Add node querystring polyfill (#4370) | crowlKats | |
2020-03-14 | Downgrade third_party/prebuild/windows/sccache.exe (#4375) | Ryan Dahl | |
Not working due to "multiple input files" on both Azure and S3. | |||
2020-03-14 | ci: Use Azure blob storage for sccache (#4354) | Ryan Dahl | |
2020-03-14 | doc(http/server): Add coherence to the docs (#4372) | Lucas De Angelis | |
Functions that returns a server are now documented with "Create", and functions that launches one are documented with "Start". Also added documentation for listenAndServe that respects these changes. Fixes #4367 | |||
2020-03-14 | Add support for jsx/tsx for deno test (#4369) | Kitson Kelly | |