Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ityuany committed Apr 29, 2024
1 parent a7dbbf0 commit 56bf1be
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use napi::Result as NapiResult;
use rayon::prelude::*;
use serde_json::json;
use std::{
collections::HashMap,
fs::read_to_string,
sync::{Arc, Mutex},
};
Expand Down
2 changes: 2 additions & 0 deletions src/usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ use serde::Serialize;

#[derive(Clone, Serialize)]
pub struct PackageExportedUsage {
#[serde(rename = "exportedName")]
pub exported_name: String,
#[serde(rename = "filePath")]
pub file_path: String,
}
2 changes: 0 additions & 2 deletions src/vistor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ use swc_ecmascript::{
visit::Visit,
};

use crate::usage::PackageExportedUsage;

pub struct ImportVisitor {
pub imports: Vec<String>,
pub package_name: String,
Expand Down

0 comments on commit 56bf1be

Please sign in to comment.