mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
refactor: move some CJS and ESM code analysis to ext/node (#18789)
This commit is contained in:
parent
065d8771ad
commit
4a33c349af
10 changed files with 655 additions and 604 deletions
8
cli/cache/node.rs
vendored
8
cli/cache/node.rs
vendored
|
@ -42,14 +42,6 @@ pub struct NodeAnalysisCache {
|
|||
}
|
||||
|
||||
impl NodeAnalysisCache {
|
||||
#[cfg(test)]
|
||||
pub fn new_in_memory() -> Self {
|
||||
Self::new(CacheDB::in_memory(
|
||||
&NODE_ANALYSIS_CACHE_DB,
|
||||
crate::version::deno(),
|
||||
))
|
||||
}
|
||||
|
||||
pub fn new(db: CacheDB) -> Self {
|
||||
Self {
|
||||
inner: NodeAnalysisCacheInner::new(db),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue