- 19 2月, 2020 2 次提交
-
-
由 Kitson Kelly 提交于
Fixes #3726 This PR provides support for referencing other lib files (like lib.dom.d.ts that are not used by default in Deno.
-
-
- 16 2月, 2020 1 次提交
-
-
由 Kitson Kelly 提交于
-
- 13 2月, 2020 1 次提交
-
-
由 Kitson Kelly 提交于
Moves to using a minimal System loader for bundles generated by Deno. TypeScript in 3.8 will be able to output TLA for modules, and the loader is written to take advantage of that as soon as we update Deno to TS 3.8. System also allows us to support `import.meta` and provide more ESM aligned assignment of exports, as well as there is better handling of circular imports. The loader is also very terse versus to try to save overhead. Also, fixed an issue where abstract classes were not being re-exported. Fixes #2553 Fixes #3559 Fixes #3751 Fixes #3825 Refs #3301
-
- 11 2月, 2020 2 次提交
-
-
由 Bartek Iwańczuk 提交于
* rewrite test runner in Rust * migrate "test" and "runTests" functions from std to "Deno" namespace * use "Deno.test()" to run internal JS unit tests * remove std downloads for Deno subcommands
-
由 Bartek Iwańczuk 提交于
* establish basic event loop for workers * make "self.close()" inside worker * remove "runWorkerMessageLoop() - instead manually call global function in Rust when message arrives. This is done in preparation for structured clone * refactor "WorkerChannel" and use distinct structs for internal and external channels; "WorkerChannelsInternal" and "WorkerHandle" * move "State.worker_channels_internal" to "Worker.internal_channels" * add "WorkerEvent" enum for child->host communication; currently "Message(Buf)" and "Error(ErrBox)" variants are supported * add tests for nested workers * add tests for worker throwing error on startup
-
- 08 2月, 2020 1 次提交
-
-
由 Brad Dunbar 提交于
In denoland/deno#2335 a conditional was added to make sure toAsyncIterator didn't skip chunks because the reader returned data and EOF in a single call, fixing #2330. Later, in denoland/deno#2591, the `Reader` interface changed to `Promise<number | EOF>`. Since the reader no longer returns data and EOF in a single call, this conditional is not necessary. We can just return `{ done: true }` when we get `EOF`. Co-authored-by: NArun Srinivasan <rulfzid@gmail.com> Co-authored-by: NArun Srinivasan <rulfzid@gmail.com>
-
- 07 2月, 2020 2 次提交
-
-
由 Kitson Kelly 提交于
- Exports diagnostic items from `diagnostics.ts` which are missing at runtime. - Returns an array of diagnostics, instead of an object with a property of `items`. This is because of the way Rust deals with certain structures, and shouldn't be exposed in the APIs.
-
由 Yoshiya Hinosawa 提交于
-
- 06 2月, 2020 2 次提交
-
-
由 Ryan Dahl 提交于
Removes OP_HOST_GET_WORKER_LOADED, OP_HOST_POLL_WORKER, OP_HOST_RESUME_WORKER and ready/messageBuffer in cli/js/workers.ts.
-
由 Chris Knight 提交于
-
- 05 2月, 2020 2 次提交
-
-
由 Chris Knight 提交于
-
由 Bartek Iwańczuk 提交于
-
- 03 2月, 2020 3 次提交
-
-
由 serverhiccups 提交于
-
由 Rafael Vargas 提交于
For some reason, the unit tests for Deno.remove() were not being imported to unit_tests.ts and, consequently, not being executed. Thus, I imported them, refactored some existent ones and wrote new ones for the symlink removal case. Since the creation of a symlink is not implemented for Windows yet, assertions that consider this state were added when the tests are executed in this OS.
-
由 Luka Hartwig 提交于
-
- 30 1月, 2020 1 次提交
-
-
由 Bartek Iwańczuk 提交于
* split lib.deno_main.d.ts into: - lib.deno.shared_globals.d.ts - lib.deno.window.d.ts - lib.deno.worker.d.ts * remove no longer used libs: - lib.deno_main.d.ts - lib.deno_worker.d.ts * change module loading to use proper TS library for compilation * align to Worker API spec: - Worker.terminate() - self.close() - self.name
-
- 28 1月, 2020 1 次提交
-
-
由 Bartek Iwańczuk 提交于
-
- 25 1月, 2020 1 次提交
-
-
由 Kitson Kelly 提交于
Co-authored-by: NBartek Iwańczuk <biwanczuk@gmail.com>
-
- 24 1月, 2020 3 次提交
-
-
由 Ryan Dahl 提交于
-
由 Yoshiya Hinosawa 提交于
-
由 Ryan Dahl 提交于
-
- 23 1月, 2020 2 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 Bartek Iwańczuk 提交于
* read CLI assets from disk during snapshotting
-
- 22 1月, 2020 1 次提交
-
- 21 1月, 2020 4 次提交
-
-
由 Takashi Idobe 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Michał Sabiniarz 提交于
Co-authored-by: NBartek Iwańczuk <biwanczuk@gmail.com>
-
由 Bartek Iwańczuk 提交于
* split ops/worker.rs into ops/worker_host.rs and ops/web_worker.rs * refactor js/workers.ts and factor out js/worker_main.ts - entry point for WebWorker runtime * BREAKING CHANGE: remove support for blob: URL in Worker * BREAKING CHANGE: remove Deno namespace support and noDenoNamespace option in Worker constructor * introduce WebWorker struct which is a stripped down version of cli::Worker
-
- 20 1月, 2020 2 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 Kitson Kelly 提交于
Co-authored-by: NBartek Iwańczuk <biwanczuk@gmail.com>
-
- 19 1月, 2020 2 次提交
-
-
由 Bartek Iwańczuk 提交于
Co-authored-by: Nxiaoxintang <15707971810@163.com>
-
由 Bartek Iwańczuk 提交于
-
- 18 1月, 2020 3 次提交
-
-
由 Ry Dahl 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Klaus Hvam 提交于
-
- 17 1月, 2020 2 次提交
-
-
由 Andy Finch 提交于
-
-
- 16 1月, 2020 1 次提交
-
-
- 12 1月, 2020 1 次提交
-
-
由 Kitson Kelly 提交于
-