Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-16 | fix(npm): don't fail if conditional exports don't contains types (#16651) | Bartek Iwańczuk | |
If resolving types for an npm package, we didn't find "types" entry in the conditional exports declaration we were falling-through to regular resolution, instead of short-circuiting and giving up on resolving types, which might lead to unwarranted errors. Closes https://github.com/denoland/deno/issues/16649 | |||
2022-11-15 | fix(npm): probing for files that have a file stem (#16641) | Bartek Iwańczuk | |
2022-11-08 | feat(unstable/npm): support peer dependencies (#16561) | David Sherret | |
This adds support for peer dependencies in npm packages. 1. If not found higher in the tree (ancestor and ancestor siblings), peer dependencies are resolved like a dependency similar to npm 7. 2. Optional peer dependencies are only resolved if found higher in the tree. 3. This creates "copy packages" or duplicates of a package when a package has different resolution due to peer dependency resolution—see https://pnpm.io/how-peers-are-resolved. Unlike pnpm though, duplicates of packages will have `_1`, `_2`, etc. added to the end of the package version in the directory in order to minimize the chance of hitting the max file path limit on Windows. This is done for both the local "node_modules" directory and also the global npm cache. The files are hard linked in this case to reduce hard drive space. This is a first pass and the code is definitely more inefficient than it could be. Closes #15823 | |||
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-27 | chore(npm): add explicit tests for `module.exports` assignment with type ↵ | David Sherret | |
checking (#16435) | |||
2022-10-21 | feat(unstable/npm): initial type checking of npm specifiers (#16332) | David Sherret | |
2022-10-01 | fix(npm): handle json files in require (#16125) | Bartek Iwańczuk | |
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-17 | fix(ext/node): fix builtin module module (#15904) | Yoshiya Hinosawa | |
2022-09-14 | fix(npm): binary entrypoint for .js or no extension (#15900) | Bartek Iwańczuk | |
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-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-03 | fix(npm): add more context to errors when file doesn't exist (#15749) | Bartek Iwańczuk | |
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-30 | fix(npm): skip extracting pax_global_header from tarballs (#15677) | Bartek Iwańczuk | |
2022-08-29 | fix(npm): conditional exports with wildcards (#15652) | Bartek Iwańczuk | |
2022-08-26 | fix(npm): handle cjs re-exports with the same name as an export (#15626) | David Sherret | |
2022-08-26 | fix(ext/node): fix global in node env (#15622) | Yoshiya Hinosawa | |
2022-08-26 | chore(npm): add test for esm npm binary package (#15609) | David Sherret | |
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 | feat: support subpaths in npm package references (#15578) | David Sherret | |
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> |