mirror of
https://github.com/swc-project/swc.git
synced 2024-11-27 13:38:33 +03:00
refactor(plugin): Remove direct dependency to once_cell
(#3582)
This commit is contained in:
parent
7ddd5886f3
commit
88e07b21d1
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -3440,7 +3440,6 @@ dependencies = [
|
||||
name = "swc_plugin"
|
||||
version = "0.27.0"
|
||||
dependencies = [
|
||||
"once_cell",
|
||||
"swc_atoms",
|
||||
"swc_common",
|
||||
"swc_ecma_ast",
|
||||
|
@ -14,4 +14,3 @@ swc_ecma_ast = {version = "0.65.0", path = "../swc_ecma_ast", features = ["rkyv-
|
||||
swc_ecma_visit = {version = "0.51.0", path = "../swc_ecma_visit"}
|
||||
swc_atoms = {version = "0.2.0", path = "../swc_atoms"}
|
||||
swc_plugin_macro = {version = "0.3.0", path = "../swc_plugin_macro"}
|
||||
once_cell = "1.9.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
use once_cell::sync::OnceCell;
|
||||
use swc_common::sync::OnceCell;
|
||||
|
||||
/// Simple substitution for scoped_thread_local with limited interface parity.
|
||||
/// The only available fn in this struct is `with`, which is being used for the
|
||||
|
@ -766,9 +766,8 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "swc_plugin"
|
||||
version = "0.26.1"
|
||||
version = "0.27.0"
|
||||
dependencies = [
|
||||
"once_cell",
|
||||
"swc_atoms",
|
||||
"swc_common",
|
||||
"swc_ecma_ast",
|
||||
@ -778,7 +777,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "swc_plugin_macro"
|
||||
version = "0.2.1"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
Loading…
Reference in New Issue
Block a user