1. 20 2月, 2020 2 次提交
  2. 19 2月, 2020 4 次提交
  3. 18 2月, 2020 4 次提交
  4. 16 2月, 2020 1 次提交
  5. 15 2月, 2020 2 次提交
    • B
      fix: skip non-UTF-8 dir entries in Deno.readDir() (#4004) · 503d8bfe
      Ben Noordhuis 提交于
      Example:
      
      		$ python2 -c 'open("\x80\x7F", "w")'
      
      		$ deno eval 'Deno.readDirSync(".")'
      		thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', cli/ops/fs.rs:373:16
      		note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
      		fatal runtime error: failed to initiate panic, error 5
      		Aborted (core dumped)
      
      Before this commit they made deno panic, now they are silently skipped.
      Not ideal but arguably better than panicking.
      
      No test because what characters are and aren't allowed in filenames is
      highly file system-dependent.
      
      Closes #3950
      503d8bfe
    • B
      a0f015b1
  6. 14 2月, 2020 2 次提交
  7. 13 2月, 2020 2 次提交
    • 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
    • N
      3563ab4c
  8. 12 2月, 2020 4 次提交
  9. 11 2月, 2020 4 次提交
    • 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
    • N
      refactor: Use PathBuf for paths in flag parsing and whitelists (#3955) · 701ce9b3
      Nayeem Rahman 提交于
      * Use PathBuf for DenoSubcommand::Bundle's out_file
      * Use PathBuf for DenoSubcommand::Format's files
      * Use PathBuf for DenoSubcommand::Install's dir
      * Use PathBuf for read/write whitelists
      701ce9b3
    • 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
    • R
      upgrade: dprint-plugin-typescript 0.5.0 (#3952) · e1105a15
      Ryan Dahl 提交于
      e1105a15
  10. 10 2月, 2020 1 次提交
  11. 09 2月, 2020 2 次提交
  12. 08 2月, 2020 4 次提交
  13. 07 2月, 2020 7 次提交
  14. 06 2月, 2020 1 次提交