oxc 0.160.0 → 0.161.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/oxc/version.rb +1 -1
- data/rust/Cargo.lock +49 -48
- data/rust/Cargo.toml +1 -1
- data/rust/src/module_record.rs +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0afc6351118f8a413996eb6a0219e8a8820120656f2d4629b9b247e6d8fea8e7
|
|
4
|
+
data.tar.gz: '09a800fd0055f3035afb60292aa033f905db2cbe6cae536272b5b30c800a1a44'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4aa1a0b2a2911d526ac6d0e2372cbd81ac7b7b6e56f9a901aefad890acecfbebd8d8a276a4b712116749ca4e9fe9b272abf02e53db8c09f9b856d890fd630d91
|
|
7
|
+
data.tar.gz: 98dbb9efb5d4c1d950842a9093cc48c9493bc6a77b39a4750f8ff6dc27206afd2fd014c860c004e6126a678cd7be0578bd0290efde45965b8a25d860059c01ef
|
data/lib/oxc/version.rb
CHANGED
data/rust/Cargo.lock
CHANGED
|
@@ -466,9 +466,9 @@ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
|
|
|
466
466
|
|
|
467
467
|
[[package]]
|
|
468
468
|
name = "oxc"
|
|
469
|
-
version = "0.
|
|
469
|
+
version = "0.161.0"
|
|
470
470
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
471
|
-
checksum = "
|
|
471
|
+
checksum = "fe861bfc1504a527d1c3dc0301b667f5b4a037164b24c998266d58b280cd000a"
|
|
472
472
|
dependencies = [
|
|
473
473
|
"oxc_allocator",
|
|
474
474
|
"oxc_ast",
|
|
@@ -516,9 +516,9 @@ dependencies = [
|
|
|
516
516
|
|
|
517
517
|
[[package]]
|
|
518
518
|
name = "oxc_allocator"
|
|
519
|
-
version = "0.
|
|
519
|
+
version = "0.161.0"
|
|
520
520
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
521
|
-
checksum = "
|
|
521
|
+
checksum = "84b1723fb6a3bd521659a976b67d0b97daf11cd3ac8eb4ca0661395161f958a8"
|
|
522
522
|
dependencies = [
|
|
523
523
|
"allocator-api2",
|
|
524
524
|
"hashbrown",
|
|
@@ -530,9 +530,9 @@ dependencies = [
|
|
|
530
530
|
|
|
531
531
|
[[package]]
|
|
532
532
|
name = "oxc_ast"
|
|
533
|
-
version = "0.
|
|
533
|
+
version = "0.161.0"
|
|
534
534
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
535
|
-
checksum = "
|
|
535
|
+
checksum = "6cf1532cdac570a0c2cdbcd30968d6bdd826f39ee63e892abbff787d5d439734"
|
|
536
536
|
dependencies = [
|
|
537
537
|
"bitflags",
|
|
538
538
|
"oxc_allocator",
|
|
@@ -548,9 +548,9 @@ dependencies = [
|
|
|
548
548
|
|
|
549
549
|
[[package]]
|
|
550
550
|
name = "oxc_ast_macros"
|
|
551
|
-
version = "0.
|
|
551
|
+
version = "0.161.0"
|
|
552
552
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
553
|
-
checksum = "
|
|
553
|
+
checksum = "69a840e98374f7090c22e8164df49b4c09300c128b975cc59d20a3b0857252f3"
|
|
554
554
|
dependencies = [
|
|
555
555
|
"phf",
|
|
556
556
|
"proc-macro2",
|
|
@@ -560,9 +560,9 @@ dependencies = [
|
|
|
560
560
|
|
|
561
561
|
[[package]]
|
|
562
562
|
name = "oxc_ast_visit"
|
|
563
|
-
version = "0.
|
|
563
|
+
version = "0.161.0"
|
|
564
564
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
565
|
-
checksum = "
|
|
565
|
+
checksum = "4b1ebf2bd35e3e80d9614e40c70ad8c334e70585b309d0a7cbf6722c4e7594dd"
|
|
566
566
|
dependencies = [
|
|
567
567
|
"oxc_allocator",
|
|
568
568
|
"oxc_ast",
|
|
@@ -572,9 +572,9 @@ dependencies = [
|
|
|
572
572
|
|
|
573
573
|
[[package]]
|
|
574
574
|
name = "oxc_codegen"
|
|
575
|
-
version = "0.
|
|
575
|
+
version = "0.161.0"
|
|
576
576
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
577
|
-
checksum = "
|
|
577
|
+
checksum = "72c320b0c504a571f3a23c5726830ca369016d243558f7522a8c9629c26a9f18"
|
|
578
578
|
dependencies = [
|
|
579
579
|
"bitflags",
|
|
580
580
|
"cow-utils",
|
|
@@ -594,9 +594,9 @@ dependencies = [
|
|
|
594
594
|
|
|
595
595
|
[[package]]
|
|
596
596
|
name = "oxc_compat"
|
|
597
|
-
version = "0.
|
|
597
|
+
version = "0.161.0"
|
|
598
598
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
599
|
-
checksum = "
|
|
599
|
+
checksum = "a50acb542f9614da7dcf0a2036f8f40e8410099013e4de5aab59ef82f738d299"
|
|
600
600
|
dependencies = [
|
|
601
601
|
"cow-utils",
|
|
602
602
|
"oxc-browserslist",
|
|
@@ -607,18 +607,18 @@ dependencies = [
|
|
|
607
607
|
|
|
608
608
|
[[package]]
|
|
609
609
|
name = "oxc_data_structures"
|
|
610
|
-
version = "0.
|
|
610
|
+
version = "0.161.0"
|
|
611
611
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
612
|
-
checksum = "
|
|
612
|
+
checksum = "272fdc5c2b4745a6cb67c469598fa99db2515b08b7b818f1ffc58f7c2c7016e3"
|
|
613
613
|
dependencies = [
|
|
614
614
|
"ropey",
|
|
615
615
|
]
|
|
616
616
|
|
|
617
617
|
[[package]]
|
|
618
618
|
name = "oxc_diagnostics"
|
|
619
|
-
version = "0.
|
|
619
|
+
version = "0.161.0"
|
|
620
620
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
621
|
-
checksum = "
|
|
621
|
+
checksum = "894888a26d7c65f84100eaba8af71d9643151cc552ca3c7bbbebcb15248a6cce"
|
|
622
622
|
dependencies = [
|
|
623
623
|
"bytecount",
|
|
624
624
|
"cow-utils",
|
|
@@ -634,9 +634,9 @@ dependencies = [
|
|
|
634
634
|
|
|
635
635
|
[[package]]
|
|
636
636
|
name = "oxc_ecmascript"
|
|
637
|
-
version = "0.
|
|
637
|
+
version = "0.161.0"
|
|
638
638
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
639
|
-
checksum = "
|
|
639
|
+
checksum = "f0ff7fd504c3f8b7e071f60676109ef24061225de9482ab637b7958a256069cc"
|
|
640
640
|
dependencies = [
|
|
641
641
|
"cow-utils",
|
|
642
642
|
"itoa",
|
|
@@ -645,6 +645,7 @@ dependencies = [
|
|
|
645
645
|
"num-traits",
|
|
646
646
|
"oxc_allocator",
|
|
647
647
|
"oxc_ast",
|
|
648
|
+
"oxc_ast_visit",
|
|
648
649
|
"oxc_compat",
|
|
649
650
|
"oxc_data_structures",
|
|
650
651
|
"oxc_regular_expression",
|
|
@@ -657,9 +658,9 @@ dependencies = [
|
|
|
657
658
|
|
|
658
659
|
[[package]]
|
|
659
660
|
name = "oxc_estree"
|
|
660
|
-
version = "0.
|
|
661
|
+
version = "0.161.0"
|
|
661
662
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
662
|
-
checksum = "
|
|
663
|
+
checksum = "4e2c5adae30b653eafa2493a7bd70e87bac1bb6b66f988a215b30bd67d8f7f0d"
|
|
663
664
|
dependencies = [
|
|
664
665
|
"itoa",
|
|
665
666
|
"oxc_data_structures",
|
|
@@ -678,9 +679,9 @@ dependencies = [
|
|
|
678
679
|
|
|
679
680
|
[[package]]
|
|
680
681
|
name = "oxc_isolated_declarations"
|
|
681
|
-
version = "0.
|
|
682
|
+
version = "0.161.0"
|
|
682
683
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
683
|
-
checksum = "
|
|
684
|
+
checksum = "39673f48a64006d6f882277bd3dcdde1b8f38be6b6c92efc1f06580f5f39a06d"
|
|
684
685
|
dependencies = [
|
|
685
686
|
"bitflags",
|
|
686
687
|
"oxc_allocator",
|
|
@@ -696,9 +697,9 @@ dependencies = [
|
|
|
696
697
|
|
|
697
698
|
[[package]]
|
|
698
699
|
name = "oxc_mangler"
|
|
699
|
-
version = "0.
|
|
700
|
+
version = "0.161.0"
|
|
700
701
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
701
|
-
checksum = "
|
|
702
|
+
checksum = "99d2356e82e5bd4d598cdd77a6cfbedf24fa7f8c07f6cf43be49a97d5507a374"
|
|
702
703
|
dependencies = [
|
|
703
704
|
"itertools",
|
|
704
705
|
"oxc_allocator",
|
|
@@ -715,9 +716,9 @@ dependencies = [
|
|
|
715
716
|
|
|
716
717
|
[[package]]
|
|
717
718
|
name = "oxc_minifier"
|
|
718
|
-
version = "0.
|
|
719
|
+
version = "0.161.0"
|
|
719
720
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
720
|
-
checksum = "
|
|
721
|
+
checksum = "4f1c809d07a4f9ea0b999660744a6b44fd1960503e1080989a2c05bbfeb9f2c8"
|
|
721
722
|
dependencies = [
|
|
722
723
|
"cow-utils",
|
|
723
724
|
"itoa",
|
|
@@ -741,9 +742,9 @@ dependencies = [
|
|
|
741
742
|
|
|
742
743
|
[[package]]
|
|
743
744
|
name = "oxc_parser"
|
|
744
|
-
version = "0.
|
|
745
|
+
version = "0.161.0"
|
|
745
746
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
746
|
-
checksum = "
|
|
747
|
+
checksum = "f6ad3e7ca77b3c9569989e3aa05bd77446d30dc0afaafa4645f2508cc39b92c6"
|
|
747
748
|
dependencies = [
|
|
748
749
|
"bitflags",
|
|
749
750
|
"cow-utils",
|
|
@@ -765,9 +766,9 @@ dependencies = [
|
|
|
765
766
|
|
|
766
767
|
[[package]]
|
|
767
768
|
name = "oxc_regular_expression"
|
|
768
|
-
version = "0.
|
|
769
|
+
version = "0.161.0"
|
|
769
770
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
770
|
-
checksum = "
|
|
771
|
+
checksum = "9d0c673fcf40a6c70fcc904759915bfcb9b5f6604aabda0e66dad37cc762f692"
|
|
771
772
|
dependencies = [
|
|
772
773
|
"bitflags",
|
|
773
774
|
"oxc_allocator",
|
|
@@ -783,9 +784,9 @@ dependencies = [
|
|
|
783
784
|
|
|
784
785
|
[[package]]
|
|
785
786
|
name = "oxc_semantic"
|
|
786
|
-
version = "0.
|
|
787
|
+
version = "0.161.0"
|
|
787
788
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
788
|
-
checksum = "
|
|
789
|
+
checksum = "e12add64bc20228251e1040d42f96f2ee2fcd6340700fc7467779a36b2311b25"
|
|
789
790
|
dependencies = [
|
|
790
791
|
"itertools",
|
|
791
792
|
"memchr",
|
|
@@ -806,9 +807,9 @@ dependencies = [
|
|
|
806
807
|
|
|
807
808
|
[[package]]
|
|
808
809
|
name = "oxc_sourcemap"
|
|
809
|
-
version = "10.0.
|
|
810
|
+
version = "10.0.1"
|
|
810
811
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
811
|
-
checksum = "
|
|
812
|
+
checksum = "3d35ba24711b3dbf3d1e0f41c59244e35be418042088ffee2f632c92b47820e4"
|
|
812
813
|
dependencies = [
|
|
813
814
|
"base64-simd",
|
|
814
815
|
"json-escape-simd",
|
|
@@ -819,9 +820,9 @@ dependencies = [
|
|
|
819
820
|
|
|
820
821
|
[[package]]
|
|
821
822
|
name = "oxc_span"
|
|
822
|
-
version = "0.
|
|
823
|
+
version = "0.161.0"
|
|
823
824
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
824
|
-
checksum = "
|
|
825
|
+
checksum = "872cb168b63871a8103d16ef544257a82747484a47705fb7ffbe0dec878ed018"
|
|
825
826
|
dependencies = [
|
|
826
827
|
"oxc_allocator",
|
|
827
828
|
"oxc_ast_macros",
|
|
@@ -831,9 +832,9 @@ dependencies = [
|
|
|
831
832
|
|
|
832
833
|
[[package]]
|
|
833
834
|
name = "oxc_str"
|
|
834
|
-
version = "0.
|
|
835
|
+
version = "0.161.0"
|
|
835
836
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
836
|
-
checksum = "
|
|
837
|
+
checksum = "f05b91707903b66f02d6aa4a623edbc9e7b847eac71bf97baaeafd1085a93ffb"
|
|
837
838
|
dependencies = [
|
|
838
839
|
"compact_str",
|
|
839
840
|
"hashbrown",
|
|
@@ -846,9 +847,9 @@ dependencies = [
|
|
|
846
847
|
|
|
847
848
|
[[package]]
|
|
848
849
|
name = "oxc_syntax"
|
|
849
|
-
version = "0.
|
|
850
|
+
version = "0.161.0"
|
|
850
851
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
851
|
-
checksum = "
|
|
852
|
+
checksum = "d54edd04639eed02528c39e0eef22f841f4b8625c7cdfde04f0defd250011edc"
|
|
852
853
|
dependencies = [
|
|
853
854
|
"bitflags",
|
|
854
855
|
"cow-utils",
|
|
@@ -867,9 +868,9 @@ dependencies = [
|
|
|
867
868
|
|
|
868
869
|
[[package]]
|
|
869
870
|
name = "oxc_transformer"
|
|
870
|
-
version = "0.
|
|
871
|
+
version = "0.161.0"
|
|
871
872
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
872
|
-
checksum = "
|
|
873
|
+
checksum = "14cc25f0450f652a66eb3dc3907a34d134b802652fe6af36fab90afd40648384"
|
|
873
874
|
dependencies = [
|
|
874
875
|
"base64",
|
|
875
876
|
"compact_str",
|
|
@@ -898,9 +899,9 @@ dependencies = [
|
|
|
898
899
|
|
|
899
900
|
[[package]]
|
|
900
901
|
name = "oxc_transformer_plugins"
|
|
901
|
-
version = "0.
|
|
902
|
+
version = "0.161.0"
|
|
902
903
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
903
|
-
checksum = "
|
|
904
|
+
checksum = "3fc7f5bc25ff26b1880f2ae817df91002e1340bf250208c4bf1677a755f345af"
|
|
904
905
|
dependencies = [
|
|
905
906
|
"cow-utils",
|
|
906
907
|
"itoa",
|
|
@@ -921,9 +922,9 @@ dependencies = [
|
|
|
921
922
|
|
|
922
923
|
[[package]]
|
|
923
924
|
name = "oxc_traverse"
|
|
924
|
-
version = "0.
|
|
925
|
+
version = "0.161.0"
|
|
925
926
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
926
|
-
checksum = "
|
|
927
|
+
checksum = "4420724370e1280a4e479c75e9132ab0ee7fbdc741c7acbdb52f699e67872252"
|
|
927
928
|
dependencies = [
|
|
928
929
|
"itoa",
|
|
929
930
|
"oxc_allocator",
|
data/rust/Cargo.toml
CHANGED
|
@@ -15,7 +15,7 @@ path = "src/lib.rs"
|
|
|
15
15
|
crate-type = ["cdylib", "staticlib", "rlib"]
|
|
16
16
|
|
|
17
17
|
[dependencies]
|
|
18
|
-
oxc = { version = "=0.
|
|
18
|
+
oxc = { version = "=0.161.0", features = ["full", "serialize"] }
|
|
19
19
|
oxc_sourcemap = "10"
|
|
20
20
|
serde = { version = "1", features = ["derive"] }
|
|
21
21
|
serde_json = { version = "1", features = ["raw_value"] }
|
data/rust/src/module_record.rs
CHANGED
|
@@ -221,6 +221,12 @@ impl From<&ImportImportName<'_>> for Name {
|
|
|
221
221
|
start: Some(span.start),
|
|
222
222
|
end: Some(span.end),
|
|
223
223
|
},
|
|
224
|
+
ImportImportName::Source(span) => Self {
|
|
225
|
+
kind: "source",
|
|
226
|
+
name: None,
|
|
227
|
+
start: Some(span.start),
|
|
228
|
+
end: Some(span.end),
|
|
229
|
+
},
|
|
224
230
|
}
|
|
225
231
|
}
|
|
226
232
|
}
|
|
@@ -232,6 +238,12 @@ impl From<&ExportImportName<'_>> for Name {
|
|
|
232
238
|
ExportImportName::All => Self::bare("all"),
|
|
233
239
|
ExportImportName::AllButDefault => Self::bare("all_but_default"),
|
|
234
240
|
ExportImportName::Null => Self::bare("none"),
|
|
241
|
+
ExportImportName::Source(span) => Self {
|
|
242
|
+
kind: "source",
|
|
243
|
+
name: None,
|
|
244
|
+
start: Some(span.start),
|
|
245
|
+
end: Some(span.end),
|
|
246
|
+
},
|
|
235
247
|
}
|
|
236
248
|
}
|
|
237
249
|
}
|