1. 19 2月, 2020 2 次提交
  2. 16 2月, 2020 1 次提交
  3. 13 2月, 2020 1 次提交
    • K
      Improvements to bundling. (#3965) · 6bd846a7
      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
      6bd846a7
  4. 11 2月, 2020 2 次提交
    • B
      refactor: rewrite deno test, add Deno.test() (#3865) · a3bfbcce
      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
      a3bfbcce
    • B
      workers: basic event loop (#3828) · 79b3bc05
      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
      79b3bc05
  5. 08 2月, 2020 1 次提交
  6. 07 2月, 2020 2 次提交
  7. 06 2月, 2020 2 次提交
  8. 05 2月, 2020 2 次提交
  9. 03 2月, 2020 3 次提交
  10. 30 1月, 2020 1 次提交
    • B
      workers: proper TS libs, more spec-compliant APIs (#3812) · 161adfc5
      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
      161adfc5
  11. 28 1月, 2020 1 次提交
  12. 25 1月, 2020 1 次提交
  13. 24 1月, 2020 3 次提交
  14. 23 1月, 2020 2 次提交
  15. 22 1月, 2020 1 次提交
  16. 21 1月, 2020 4 次提交
  17. 20 1月, 2020 2 次提交
  18. 19 1月, 2020 2 次提交
  19. 18 1月, 2020 3 次提交
  20. 17 1月, 2020 2 次提交
  21. 16 1月, 2020 1 次提交
  22. 12 1月, 2020 1 次提交