Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-10 | fix(node): conditional exports edge case (#19082) | Bartek Iwańczuk | |
Fixes https://github.com/denoland/deno/issues/18743 | |||
2023-05-08 | refactor(ext/fs): `deno_fs::FileSystem` - conditional `Send + Sync` (#18993) | David Sherret | |
This allows for having a conditional `Send + Sync` on the file system trait for Deploy. | |||
2023-05-05 | refactor(ext/node): combine `deno_node::Fs` with `deno_fs::FileSystem` (#18991) | David Sherret | |
2023-05-04 | fix(npm): canonicalize search directory when looking for package.json (#18981) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2023-04-24 | refactor(ext/node): enforce interior mutable for `NodePermissions` to remove ↵ | David Sherret | |
clones (#18831) We can make `NodePermissions` rely on interior mutability (which the `PermissionsContainer` is already doing) in order to not have to clone everything all the time. This also reduces the chance of an accidental `borrow` while `borrrow_mut`. | |||
2023-04-24 | refactor(ext/node): allow injecting `NodeFs` from CLI (#18829) | David Sherret | |
This allows providing a `NodeFs` as part of the `WorkerOptions`. | |||
2023-04-21 | refactor(node): move most of cli/node to ext/node (#18797) | David Sherret | |
This is just a straight refactor and I didn't do any cleanup in ext/node. After this PR we can start to clean it up and make things private that don't need to be public anymore. | |||
2023-04-13 | refactor(cli,ext,ops): cleanup `regex` with `lazy-regex` (#17296) | Yiyu Lin | |
- bump deps: the newest `lazy-regex` need newer `oncecell` and `regex` - reduce `unwrap` - remove dep `lazy_static` - make more regex cached --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-04-06 | refactor(ext/node): add more methods to 'NodeFs' trait (#18604) | Bartek Iwańczuk | |
Added more methods to `ext/node/clippy.toml` that are not allowed to be used in the crate. Prerequisite for https://github.com/denoland/deno/pull/18544 | |||
2023-03-30 | refactor(ext/node): add NodeEnv::Fs associated type (#18484) | Bartek Iwańczuk | |
This commit adds associated type to "NodeEnv" trait, called "Fs". The "Fs" type has a trait bound on "NodeFs", which specifies APIs required for all ops and resolution APIs to function. A "RealFs" implementation of "NodeFs" is exported from the "deno_node" crate, that provides a default implementation for the trait. All code in "deno_node" extension was changed to use the "NodeFs" trait to handle file system operations, instead of relying on APIs from the standard library. | |||
2023-03-04 | refactor: simplify to string calls (#18011) | Geert-Jan Zwiers | |
2023-01-27 | chore: upgrade to Rust 1.67 (#17548) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-01-14 | fix(npm): use original node regex in npm resolution (#17404) | Kiryl Dziamura | |
Fixes regex for matching conditional exports in a package. Updated to the same regex Node.js uses. | |||
2023-01-10 | fix(npm): allow to read package.json if permissions are granted (#17209) | Bartek Iwańczuk | |
This commit changes signature of "deno_core::ModuleLoader::resolve" to pass an enum indicating whether or not we're resolving a specifier for dynamic import. Additionally "CliModuleLoader" was changes to store both "parent permissions" (or "root permissions") as well as "dynamic permissions" that allow to check for permissions in top-level module load an dynamic imports. Then all code paths that have anything to do with Node/npm compat are now checking for permissions which are passed from module loader instance associated with given worker. | |||
2023-01-06 | fix(npm): handle declaration file resolution where packages incorrectly ↵ | David Sherret | |
define "types" last in "exports" (#17290) Closes #17279 | |||
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-12-17 | chore: update to Rust 1.66.0 (#17078) | linbingquan | |
2022-12-15 | fix(npm): improve exports resolution when type checking (#17071) | David Sherret | |
Closes #17012 | |||
2022-11-30 | fix(npm): improve package.json exports support for types (#16880) | David Sherret | |
2022-11-28 | fix(npm): don't resolve JS files when resolving types (#16854) | David Sherret | |
Closes #16851 | |||
2022-11-24 | fix(npm/types): resolve main entrypoint declaration file when no types entry ↵ | David Sherret | |
(#16791) Closes #16782 | |||
2022-11-19 | fix(npm): handle directory resolution when resolving declaration files (#16706) | David Sherret | |
Also fixes resolving specifiers like `./something.generated` in declaration files. Closes #16695 | |||
2022-11-16 | fix(npm): using types for packages with subpath (#16656) | Bartek Iwańczuk | |
For CommonJS packages we were not trying different extensions for files specified as subpath of the package ([package_name]/[subpath]). This commit fixes that. | |||
2022-10-21 | feat(unstable/npm): initial type checking of npm specifiers (#16332) | 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-13 | refactor(npm): create general use `NpmPackageResolver` (#15882) | David Sherret | |
2022-09-12 | fix(npm): support cjs resolution of package subpath with package.json (#15855) | David Sherret | |
2022-09-06 | fix(npm): conditional exports in npm: specifiers (#15778) | Bartek Iwańczuk | |
2022-08-30 | fix(npm): prefer importing esm from esm (#15676) | David Sherret | |
2022-08-29 | fix(npm): conditional exports with wildcards (#15652) | 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-20 | feat(unstable): initial support for npm specifiers (#15484) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |