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-12-19 | fix(npm): conditional exports with --node-modules-dir (#17111) | Bartek Iwańczuk | |
This commit fixes conditional exports in `require()` implementation if `--node-modules-dir` flag is used. | |||
2022-12-16 | fix(npm): fix require resolution if using --node-modules-dir (#17087) | Bartek Iwańczuk | |
In our `require()` implementation we use a special logic to resolve "base path" when looking for matching packages, however this logic is in contradiction to what needs to happen if there's a local "node_modules" directory used. This commit changes require implementation to be aware if we're running off of global node modules cache or a local one. | |||
2022-12-05 | refactor: remove references to Deno.core in bootstrap code (#16937) | Bartek Iwańczuk | |
Prerequisite for https://github.com/denoland/deno/pull/16881 | |||
2022-11-29 | fix(ext/node): allow absolute path in createRequire (#16853) | Yoshiya Hinosawa | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-11-28 | fix(npm): allow to inspect npm modules with --inspect-brk (#16841) | Bartek Iwańczuk | |
2022-11-19 | fix(ext/node): handle URL in createRequire (#16682) | Yoshiya Hinosawa | |
2022-11-06 | fix(npm): fix CJS resolution with local node_modules dir (#16547) | Bartek Iwańczuk | |
This commit fixes CJS resolution when there's a local "node_modules/" directory. Before this commit relative imports from CJS files where resolved relative to root directory of the package instead of relative to referrer file. | |||
2022-11-02 | fix(npm): add `console` global for node environment (#16519) | David Sherret | |
This global is already isolated to node during type checking. Closes #16518 | |||
2022-10-21 | chore(core): remove `core.opSync` (#16379) | Divy Srivastava | |
This patch removes the last uses of `core.opSync` from Deno. The new and JIT-friendly way to call sync ops is `core.ops.op_name()`. | |||
2022-10-16 | fix(npm): disable loading native module for "fsevents" package (#16273) | Bartek Iwańczuk | |
Currently causes a hang in Vite, disable this one specific package as remaining tests for NAPI in various modules work fine. | |||
2022-10-05 | feat(npm): implement Node API (#13633) | Divy Srivastava | |
This PR implements the NAPI for loading native modules into Deno. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: DjDeveloper <43033058+DjDeveloperr@users.noreply.github.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2022-09-26 | fix(require): tryPackage uses optional chaining (#16020) | Bartek Iwańczuk | |
2022-09-17 | fix(ext/node): fix builtin module module (#15904) | Yoshiya Hinosawa | |
2022-09-17 | refactor(ext/node): use primordials (#15912) | Marcos Casagrande | |
2022-09-12 | fix(npm): support cjs resolution of package subpath with package.json (#15855) | 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-08-30 | fix(npm): prefer importing esm from esm (#15676) | David Sherret | |
2022-08-29 | fix(ext/node): better error for importing ES module via require() call (#15671) | Bartek Iwańczuk | |
2022-08-25 | fix: avoid global declaration collisions in cjs (#15608) | David Sherret | |
* Use a default stack size * 2 in debug for Windows because swc using so much stack size. We should look into this more later though. | |||
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: 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> |