Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ markdown = "1.0.0-alpha.22"
memchr = "2.7.4"
miette = { package = "oxc-miette", version = "2.2.1", features = ["fancy-no-syscall"] }
mimalloc-safe = "0.1.49"
nonmax = "0.5.5"
num-bigint = "0.4.6"
num-traits = "0.2.19"
papaya = "0.2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_cfg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ test = false
doctest = false

[dependencies]
oxc_data_structures = { workspace = true, features = ["nonmax"] }
oxc_index = { workspace = true }
oxc_syntax = { workspace = true }

bitflags = { workspace = true }
itertools = { workspace = true }
nonmax = { workspace = true }
petgraph = { workspace = true }
rustc-hash = { workspace = true }
15 changes: 8 additions & 7 deletions crates/oxc_cfg/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
mod block;
mod builder;
pub mod dot;
pub mod visit;

use std::fmt;

use itertools::Itertools;
use nonmax::NonMaxU32;
use oxc_index::{Idx, IndexVec};
use petgraph::{
Direction,
visit::{Control, DfsEvent, EdgeRef},
};

use oxc_data_structures::nonmax::NonMaxU32;
use oxc_index::{Idx, IndexVec};

mod block;
mod builder;
pub mod dot;
pub mod visit;

pub mod graph {
pub use petgraph::*;
pub mod visit {
Expand Down
3 changes: 1 addition & 2 deletions crates/oxc_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ doctest = false
[dependencies]
oxc_allocator = { workspace = true }
oxc_ast = { workspace = true }
oxc_data_structures = { workspace = true, features = ["code_buffer", "stack"] }
oxc_data_structures = { workspace = true, features = ["code_buffer", "nonmax", "stack"] }
oxc_index = { workspace = true }
oxc_semantic = { workspace = true }
oxc_sourcemap = { workspace = true }
Expand All @@ -31,7 +31,6 @@ oxc_syntax = { workspace = true }

bitflags = { workspace = true }
cow-utils = { workspace = true }
nonmax = { workspace = true }
rustc-hash = { workspace = true }
ryu-js = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_codegen/src/sourcemap_builder.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{path::Path, sync::Arc};

use nonmax::NonMaxU32;
use oxc_data_structures::nonmax::NonMaxU32;
use oxc_index::{Idx, IndexVec};
use oxc_span::Span;
use oxc_syntax::identifier::{LS, PS};
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_linter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ oxc_ast = { workspace = true }
oxc_ast_visit = { workspace = true }
oxc_cfg = { workspace = true }
oxc_codegen = { workspace = true }
oxc_data_structures = { workspace = true, features = ["nonmax"] }
oxc_diagnostics = { workspace = true }
oxc_ecmascript = { workspace = true }
oxc_index = { workspace = true, features = ["serde"] }
Expand All @@ -50,7 +51,6 @@ json-strip-comments = { workspace = true }
language-tags = { workspace = true }
lazy_static = { workspace = true }
memchr = { workspace = true }
nonmax = { workspace = true }
phf = { workspace = true, features = ["macros"] }
rayon = { workspace = true }
regex = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/config/overrides.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ use std::{
path::Path,
};

use nonmax::NonMaxU32;
use schemars::{JsonSchema, r#gen, schema::Schema};
use serde::{Deserialize, Deserializer, Serialize, Serializer, de};

use oxc_data_structures::nonmax::NonMaxU32;
use oxc_index::{Idx, IndexVec};

use crate::{LintPlugins, OxlintEnv, OxlintGlobals, config::OxlintRules};
Expand Down
Loading
Loading