Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-11-28 | refactor: create util folder, move nap_sym to napi/sym, move http_cache to ↵ | David Sherret | |
cache folder (#16857) | |||
2022-11-25 | refactor: move dts files, diagnostics.rs, and tsc.rs to tsc folder (#16820) | David Sherret | |
2022-11-18 | chore: use Rust 1.65.0 (#16688) | Aaron O'Mullan | |
2022-10-01 | perf: node cjs & esm analysis cache (#16097) | David Sherret | |
This commit adds a cache for CJS and ESM analysis that is backed by an SQLite file. The connection to the DB is lazily created on first use, so shouldn't have impact on the startup time. Benched with running Vite Deno v1.26: ``` $ deno task dev Warning deno task is unstable and may drastically change in the future Task dev deno run -A --unstable --node-modules-dir npm:vite VITE v3.1.4 ready in 961 ms ➜ Local: http://localhost:5173/ ➜ Network: use --host to expose ``` This branch: ``` ../deno/target/release/deno task dev Warning deno task is unstable and may drastically change in the future Task dev deno run -A --unstable --node-modules-dir npm:vite VITE v3.1.4 ready in 330 ms ➜ Local: http://localhost:5173/ ➜ Network: use --host to expose ``` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-09-13 | refactor(npm): create general use `NpmPackageResolver` (#15882) | David Sherret | |
2022-09-12 | fix(npm): use shim from deno_node crate for 'module' built-in module (#15881) | Bartek Iwańczuk | |
2022-09-12 | fix(npm): align Deno importing Node cjs with Node esm importing cjs (#15879) | David Sherret | |
2022-09-10 | fix(npm): align Node esm code importing cjs with Node (#15838) | David Sherret | |
2022-09-03 | fix(npm): add more context to errors when file doesn't exist (#15749) | Bartek Iwańczuk | |
2022-08-24 | fix(unstable): various resolution bugs for npm: specifiers (#15546) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-08-22 | perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in ↵ | David Sherret | |
memory (#15502) | |||
2022-08-20 | feat(unstable): initial support for npm specifiers (#15484) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-07-19 | feat: emit files on demand and fix racy emit (#15220) | David Sherret | |
2022-06-29 | refactor: rename `RootConfig` to `CliOptions` (#15007) | David Sherret | |
2022-06-28 | refactor: add `RootConfig` (#14985) | David Sherret | |
2022-03-23 | chore: remove all `pub(crate)`s from the cli crate (#14083) | David Sherret | |
2022-03-11 | fix(compat): cjs/esm interop for dynamic imports (#13792) | Bartek Iwańczuk | |
This commit fixes CJS/ESM interop in compat mode for dynamically imported modules. "ProcState::prepare_module_load" was changed to accept a list of "graph roots" without associated "module kind". That module kind was always hardcoded to "ESM" which is not true for CJS/ESM interop - a CommonJs module might be imported using "import()" function. In such case the root of the graph should have "CommonJs" module kind instead of "ESM". | |||
2022-02-01 | refactor: integrate deno_graph breaking changes (#13495) | Kitson Kelly | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-12-21 | refactor: Cleanup core/modules.rs (#13149) | Bartek Iwańczuk | |
2021-11-16 | fix(cli): short-circuit in prepare_module_load() (#12604) | Nayeem Rahman | |
2021-10-11 | refactor: integrate deno_graph into CLI (#12369) | Kitson Kelly | |
2021-09-24 | refactor: Remove op_state parameter (#12202) | Ryan Dahl | |
2021-09-24 | refactor: Rename ProgramState to ProcState (#12204) | Ryan Dahl | |
Move Arc into struct | |||
2021-09-11 | refactor: use import_map crate (#11974) | Bartek Iwańczuk | |
Removes ImportMap implementation from "cli/" and instead uses "import_map" crate | |||
2021-05-31 | fix(cli): Don't statically error on dynamic unmapped bare specifiers (#10618) | Nayeem Rahman | |
Fixes #10168 Fixes #10615 Fixes #10616 | |||
2021-05-17 | fix: static import permissions in dynamic imports | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-02-17 | Make ModuleSpecifier a type alias, not wrapper struct (#9531) | Ryan Dahl | |
2021-01-11 | chore: update copyright to 2021 (#9092) | Yusuke Tanaka | |
2021-01-06 | feat: Add configurable permissions for Workers (#8215) | Steven Guerrero | |
This commit adds new option to "Worker" Web API that allows to configure permissions. New "Worker.deno.permissions" option can be used to define limited permissions to the worker thread by either: - inherit set of parent thread permissions - use limited subset of parent thread permissions - revoke all permissions (full sandbox) In order to achieve this functionality "CliModuleLoader" was modified to accept "initial permissions", which are used for top module loading (ie. uses parent thread permission set to load top level module of a worker). | |||
2020-12-15 | fix(cli): make dynamic import errors catchable (#8750) | Kitson Kelly | |
Fixes #6259 | |||
2020-12-13 | refactor: deno_runtime crate (#8640) | Bartek Iwańczuk | |
This commit moves Deno JS runtime, ops, permissions and inspector implementation to new "deno_runtime" crate located in "runtime/" directory. Details in "runtime/README.md". Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-12-07 | refactor(cli): Simplify choosing type lib in CliModuleLoader (#8637) | Bartek Iwańczuk | |
2020-11-03 | refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) | Kitson Kelly | |
2020-11-02 | refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) | Kitson Kelly | |
Fixes #8060 | |||
2020-10-23 | refactor(cli): migrate run and cache to new infrastructure (#7996) | Kitson Kelly | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-10-13 | refactor(cli): rename GlobalState to ProgramState (#7914) | Bartek Iwańczuk | |