-
-
Notifications
You must be signed in to change notification settings - Fork 39
match [email protected] dependencies #367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
I realize there are a lot of moving parts here, but there's so much codependence between all of deno's deps, I'm not certain I could have "done less". Are PRs introducing this amount of change welcome (and is there any better way I could structure this request?) |
Sorry! I have a newborn at home so I haven't had time to take a look yet! I've approved the checks |
ext.esm_files = ::std::borrow::Cow::Borrowed(&[]); | ||
ext.esm_entry_point = ::std::option::Option::None; | ||
} | ||
// Clears the js and esm files for warmup to avoid reloading them |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm skeptical this is still necessary post-denoland/deno_core@aa6f360 (In fact, I think this entire trait can probably go away in favor of calling Extension::init directly)
let referrer_specifier = referrer | ||
.to_module_specifier(&self.cwd) | ||
.map_err(|e| JsErrorBox::from_err(to_io_err(e)))?; | ||
let referrer_specifier = if deno_core::specifier_has_uri_scheme(referrer) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was needed to fix one of the module loader unit tests, deno seems to be storing module paths internally as file:/// urls rather than preserving the relative paths from source
@@ -31,6 +32,7 @@ use sys_traits::impls::RealSys; | |||
use super::cjs_translator::{NodeCodeTranslator, RustyCjsCodeAnalyzer}; | |||
|
|||
const NODE_MODULES_DIR: &str = "node_modules"; | |||
const TYPESCRIPT_VERSION: &str = "5.8.3"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was lifted from https://github.com/denoland/deno/blob/395878c5fb72d87a44f7c88ce9f391acc31feab3/cli/lib/version.rs
It might need to be kept in sync somehow?
No worries and congrats! I left a few callouts as notes |
The libffi dependency introduced (by way of deno_ffi) by #366 has caused master to break for me on macos; I decided to take a stab at a refactor to support 2.3.3 instead.