1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00
denoland-deno/deno_typescript
Bartek Iwańczuk cbdf9c5009
refactor: module loading in EsIsolate (#3615)
* refactored RecursiveLoad - it was renamed to RecursiveModuleLoad, it does not take ownership of isolate anymore - a struct implementing Stream that yields SourceCodeInfo

* untangled module loading logic between RecursiveLoad and isolate - that logic is encapsulated in EsIsolate and RecursiveModuleLoad, where isolate just consumes modules as they become available - does not require to pass Arc<Mutex<Isolate>> around anymore

* removed EsIsolate.mods_ in favor of Modules and moved them inside EsIsolate

* EsIsolate now requires "loader" argument during construction - struct that implements Loader trait

* rewrite first methods on isolate as async
2020-01-08 15:06:04 +01:00
..
typescript@7cf6c70d90 Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
bundle_loader.js Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
Cargo.toml Upgrade rust crates and modernize hyper_hello (#3606) 2020-01-05 23:12:35 +01:00
compiler_main.js Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
lib.deno_core.d.ts Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
lib.rs refactor: module loading in EsIsolate (#3615) 2020-01-08 15:06:04 +01:00
ops.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
README.md fix typo in deno_typescript readme (#3048) 2019-10-02 20:56:09 -04:00

This crate provides utilities to compile typescript, bundle it up, and create a V8 snapshot, all during build. This allows users to startup fast.

The cli_snapshots crate, neighboring this one uses deno_typescript at build time.

This crate does not depend on Node, Python, nor any other external dependencies besides those listed as such in Cargo.toml.