Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-05 | fix(node): add dns/promises and stream/consumers (#16169) | David Sherret | |
2022-10-01 | fix(npm): handle json files in require (#16125) | Bartek Iwańczuk | |
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-28 | feat(npm): functionality to support child_process.fork (#15891) | David Sherret | |
2022-09-22 | feat(npm): add flag for creating and resolving npm packages to a local ↵ | David Sherret | |
node_modules folder (#15971) | |||
2022-09-14 | fix(npm): binary entrypoint for .js or no extension (#15900) | Bartek Iwańczuk | |
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): support cjs resolution of package subpath with package.json (#15855) | David Sherret | |
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-10 | fix(npm): remove export binding to match node (#15837) | David Sherret | |
2022-09-08 | fix(npm): recursive translation of reexports, remove window global in node ↵ | Bartek Iwańczuk | |
code (#15806) Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-09-06 | refactor(npm): reorganize remapping built-in Node modules to remote URLs ↵ | Bartek Iwańczuk | |
(#15755) Changes how built-in Node modules are mapped to polyfills from "deno_std". Instead of intertwining this logic into Node resolution logic, we map them to "NodeResolution::BuiltIn" which are remapped to "deno_std" URLs in ProcState. | |||
2022-09-06 | fix(npm): conditional exports in npm: specifiers (#15778) | Bartek Iwańczuk | |
2022-09-05 | refactor: cleanup Node compatibility code (#15766) | Bartek Iwańczuk | |
- move errors related to Node compat from cli/node/errors.rs to "ext/node" crate - remove dependency on "node_resolver" crate - make some of structures private to the "cli/node" module | |||
2022-09-03 | BREAKING(unstable): remove --compat mode (#15678) | Bartek Iwańczuk | |
This commit removes "compat" mode. We shipped support for "npm:" specifier support in v1.25 and that is preferred way to interact with Node code that we will iterate and improve upon. | |||
2022-08-31 | fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697) | Bartek Iwańczuk | |
2022-08-30 | fix(npm): prefer importing esm from esm (#15676) | David Sherret | |
2022-08-29 | refactor(cli): Remove cli/node dependency on cli/compat (#15654) | Bartek Iwańczuk | |
2022-08-26 | fix(npm): handle cjs re-exports with the same name as an export (#15626) | David Sherret | |
2022-08-24 | fix(npm): cjs export analysis should take into consideration exports with ↵ | David Sherret | |
dashes (#15582) | |||
2022-08-24 | feat: support subpaths in npm package references (#15578) | David Sherret | |
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-23 | feat(npm): support packages with multiple command names (#15565) | David Sherret | |
2022-08-23 | feat: binary npm commands (#15542) | David Sherret | |
2022-08-20 | feat(unstable): initial support for npm specifiers (#15484) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |