oxc 0.153.0-aarch64-linux-gnu → 0.155.0-aarch64-linux-gnu
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/3.2/oxc.so +0 -0
- data/lib/oxc/3.3/oxc.so +0 -0
- data/lib/oxc/3.4/oxc.so +0 -0
- data/lib/oxc/4.0/oxc.so +0 -0
- data/lib/oxc/mutation_visitor.rb +3 -3
- data/lib/oxc/version.rb +1 -1
- data/lib/oxc/visitor.rb +2 -2
- data/rust/Cargo.lock +50 -48
- data/rust/Cargo.toml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca020a3d624c1178a474e6b0632332bb5646ae16672ca3a6a4726599413e1842
|
|
4
|
+
data.tar.gz: 4370eb946e8474164b04c4b8ad00e97e29c9d476e55cf05b2ff9acf9d4c3fda8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f85b8497ed90685419548fbc7e95a49f7d252185bd51e505f080181daa70ae2970257bc591dc4058dc9bc6062e4c5f747440addc974d0e44451349f94e45fcd
|
|
7
|
+
data.tar.gz: 8acc871a4c8883c2af1b0a80b0259adedbb42c9757446d9c9dc6028bb435fc7519eb0d4c51fc8ea33940fb63ec0dc1db46174b5d6365a6ea2cbc70c8070cb183
|
data/lib/oxc/3.2/oxc.so
CHANGED
|
Binary file
|
data/lib/oxc/3.3/oxc.so
CHANGED
|
Binary file
|
data/lib/oxc/3.4/oxc.so
CHANGED
|
Binary file
|
data/lib/oxc/4.0/oxc.so
CHANGED
|
Binary file
|
data/lib/oxc/mutation_visitor.rb
CHANGED
|
@@ -79,11 +79,11 @@ module Oxc
|
|
|
79
79
|
|
|
80
80
|
#: (String, Hash[Symbol, untyped]) -> String
|
|
81
81
|
def verified(rewritten, options)
|
|
82
|
-
|
|
82
|
+
reparsed = Oxc.parse(rewritten, **options, ast: false)
|
|
83
83
|
|
|
84
|
-
return rewritten unless
|
|
84
|
+
return rewritten unless reparsed.errors?
|
|
85
85
|
|
|
86
|
-
raise Invalid, "what was rewritten no longer reads as JavaScript: #{
|
|
86
|
+
raise Invalid, "what was rewritten no longer reads as JavaScript: #{reparsed.errors.first&.message}"
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
#: (Oxc::Node) -> bool
|
data/lib/oxc/version.rb
CHANGED
data/lib/oxc/visitor.rb
CHANGED
|
@@ -8,9 +8,9 @@ module Oxc
|
|
|
8
8
|
|
|
9
9
|
return nil unless node
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
method_name = "visit_#{node.underscored_type}"
|
|
12
12
|
|
|
13
|
-
respond_to?(
|
|
13
|
+
respond_to?(method_name) ? public_send(method_name, node) : visit_children(node)
|
|
14
14
|
|
|
15
15
|
nil
|
|
16
16
|
end
|
data/rust/Cargo.lock
CHANGED
|
@@ -472,9 +472,9 @@ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
|
|
|
472
472
|
|
|
473
473
|
[[package]]
|
|
474
474
|
name = "oxc"
|
|
475
|
-
version = "0.
|
|
475
|
+
version = "0.155.0"
|
|
476
476
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
477
|
-
checksum = "
|
|
477
|
+
checksum = "d6e790cd34b555e135d0d656139676ae62a50ef9a6829f9aacf9602b7525c501"
|
|
478
478
|
dependencies = [
|
|
479
479
|
"oxc_allocator",
|
|
480
480
|
"oxc_ast",
|
|
@@ -522,9 +522,9 @@ dependencies = [
|
|
|
522
522
|
|
|
523
523
|
[[package]]
|
|
524
524
|
name = "oxc_allocator"
|
|
525
|
-
version = "0.
|
|
525
|
+
version = "0.155.0"
|
|
526
526
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
527
|
-
checksum = "
|
|
527
|
+
checksum = "45c8f46c8923b4afb4dd588d4684d5dd32332f1341225c066cc6af31094e7e3d"
|
|
528
528
|
dependencies = [
|
|
529
529
|
"allocator-api2",
|
|
530
530
|
"hashbrown",
|
|
@@ -536,9 +536,9 @@ dependencies = [
|
|
|
536
536
|
|
|
537
537
|
[[package]]
|
|
538
538
|
name = "oxc_ast"
|
|
539
|
-
version = "0.
|
|
539
|
+
version = "0.155.0"
|
|
540
540
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
541
|
-
checksum = "
|
|
541
|
+
checksum = "35465751cfc99739fee42d8345b57d5b5087b462bea7bc5bb17d1f248e1efa22"
|
|
542
542
|
dependencies = [
|
|
543
543
|
"bitflags",
|
|
544
544
|
"oxc_allocator",
|
|
@@ -554,9 +554,9 @@ dependencies = [
|
|
|
554
554
|
|
|
555
555
|
[[package]]
|
|
556
556
|
name = "oxc_ast_macros"
|
|
557
|
-
version = "0.
|
|
557
|
+
version = "0.155.0"
|
|
558
558
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
559
|
-
checksum = "
|
|
559
|
+
checksum = "e78e5d50ecf9fbf6c00afb29dbd670784b2ac407fd676f625d1f3515a1a2d577"
|
|
560
560
|
dependencies = [
|
|
561
561
|
"phf",
|
|
562
562
|
"proc-macro2",
|
|
@@ -566,9 +566,9 @@ dependencies = [
|
|
|
566
566
|
|
|
567
567
|
[[package]]
|
|
568
568
|
name = "oxc_ast_visit"
|
|
569
|
-
version = "0.
|
|
569
|
+
version = "0.155.0"
|
|
570
570
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
571
|
-
checksum = "
|
|
571
|
+
checksum = "6836d2fde033c44eae57ab1be3fcc7bd6a57465783bdfce654ca28064a334dbe"
|
|
572
572
|
dependencies = [
|
|
573
573
|
"oxc_allocator",
|
|
574
574
|
"oxc_ast",
|
|
@@ -578,9 +578,9 @@ dependencies = [
|
|
|
578
578
|
|
|
579
579
|
[[package]]
|
|
580
580
|
name = "oxc_codegen"
|
|
581
|
-
version = "0.
|
|
581
|
+
version = "0.155.0"
|
|
582
582
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
583
|
-
checksum = "
|
|
583
|
+
checksum = "75db0d260bb5493e31be0ab17651d428da5cd8c49ec2cf78d857e605d66385dd"
|
|
584
584
|
dependencies = [
|
|
585
585
|
"bitflags",
|
|
586
586
|
"cow-utils",
|
|
@@ -600,9 +600,9 @@ dependencies = [
|
|
|
600
600
|
|
|
601
601
|
[[package]]
|
|
602
602
|
name = "oxc_compat"
|
|
603
|
-
version = "0.
|
|
603
|
+
version = "0.155.0"
|
|
604
604
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
605
|
-
checksum = "
|
|
605
|
+
checksum = "90809c31d39f49d2023b090ffcfd13b5f2e07b156abde430f1b1454ceef51bb1"
|
|
606
606
|
dependencies = [
|
|
607
607
|
"cow-utils",
|
|
608
608
|
"oxc-browserslist",
|
|
@@ -613,18 +613,18 @@ dependencies = [
|
|
|
613
613
|
|
|
614
614
|
[[package]]
|
|
615
615
|
name = "oxc_data_structures"
|
|
616
|
-
version = "0.
|
|
616
|
+
version = "0.155.0"
|
|
617
617
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
618
|
-
checksum = "
|
|
618
|
+
checksum = "a46b759a8cb13a1111649370f1d769322b082edabd625466254f238818bdc9e9"
|
|
619
619
|
dependencies = [
|
|
620
620
|
"ropey",
|
|
621
621
|
]
|
|
622
622
|
|
|
623
623
|
[[package]]
|
|
624
624
|
name = "oxc_diagnostics"
|
|
625
|
-
version = "0.
|
|
625
|
+
version = "0.155.0"
|
|
626
626
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
627
|
-
checksum = "
|
|
627
|
+
checksum = "5b80f4b05a80879518ebe85a8df9368758ebc1e176327b659e1e97389f8561c7"
|
|
628
628
|
dependencies = [
|
|
629
629
|
"bytecount",
|
|
630
630
|
"cow-utils",
|
|
@@ -640,9 +640,9 @@ dependencies = [
|
|
|
640
640
|
|
|
641
641
|
[[package]]
|
|
642
642
|
name = "oxc_ecmascript"
|
|
643
|
-
version = "0.
|
|
643
|
+
version = "0.155.0"
|
|
644
644
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
645
|
-
checksum = "
|
|
645
|
+
checksum = "f8c634665e0be5dde95549146734ab4939b8d1b5d2e7cc006d38b9f5d17a58a2"
|
|
646
646
|
dependencies = [
|
|
647
647
|
"cow-utils",
|
|
648
648
|
"dragonbox_ecma",
|
|
@@ -655,15 +655,16 @@ dependencies = [
|
|
|
655
655
|
"oxc_data_structures",
|
|
656
656
|
"oxc_regular_expression",
|
|
657
657
|
"oxc_span",
|
|
658
|
+
"oxc_str",
|
|
658
659
|
"oxc_syntax",
|
|
659
660
|
"smallvec",
|
|
660
661
|
]
|
|
661
662
|
|
|
662
663
|
[[package]]
|
|
663
664
|
name = "oxc_estree"
|
|
664
|
-
version = "0.
|
|
665
|
+
version = "0.155.0"
|
|
665
666
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
666
|
-
checksum = "
|
|
667
|
+
checksum = "5dcdd8235762cc9305d619842b73c1e89a0ebec8ccf2f27142ef597521443c1f"
|
|
667
668
|
dependencies = [
|
|
668
669
|
"dragonbox_ecma",
|
|
669
670
|
"itoa",
|
|
@@ -682,9 +683,9 @@ dependencies = [
|
|
|
682
683
|
|
|
683
684
|
[[package]]
|
|
684
685
|
name = "oxc_isolated_declarations"
|
|
685
|
-
version = "0.
|
|
686
|
+
version = "0.155.0"
|
|
686
687
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
687
|
-
checksum = "
|
|
688
|
+
checksum = "a6d9cef33b435f8a3cf25ac1b130654edf428aee5297602cc02f23d0aa57ffb1"
|
|
688
689
|
dependencies = [
|
|
689
690
|
"bitflags",
|
|
690
691
|
"oxc_allocator",
|
|
@@ -700,9 +701,9 @@ dependencies = [
|
|
|
700
701
|
|
|
701
702
|
[[package]]
|
|
702
703
|
name = "oxc_mangler"
|
|
703
|
-
version = "0.
|
|
704
|
+
version = "0.155.0"
|
|
704
705
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
705
|
-
checksum = "
|
|
706
|
+
checksum = "357d27012ddc6ec3f519e4190b3c41efef505e0581cc1ae951a72db7728f0ea4"
|
|
706
707
|
dependencies = [
|
|
707
708
|
"itertools",
|
|
708
709
|
"oxc_allocator",
|
|
@@ -719,9 +720,9 @@ dependencies = [
|
|
|
719
720
|
|
|
720
721
|
[[package]]
|
|
721
722
|
name = "oxc_minifier"
|
|
722
|
-
version = "0.
|
|
723
|
+
version = "0.155.0"
|
|
723
724
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
724
|
-
checksum = "
|
|
725
|
+
checksum = "5d2be59e492f818fb677c1d16a6677401ed9b35d7fe6c101646aba4e653a288f"
|
|
725
726
|
dependencies = [
|
|
726
727
|
"cow-utils",
|
|
727
728
|
"itoa",
|
|
@@ -745,9 +746,9 @@ dependencies = [
|
|
|
745
746
|
|
|
746
747
|
[[package]]
|
|
747
748
|
name = "oxc_parser"
|
|
748
|
-
version = "0.
|
|
749
|
+
version = "0.155.0"
|
|
749
750
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
750
|
-
checksum = "
|
|
751
|
+
checksum = "635c4e1bb876a9d4ee0e338fa68547a1d75add58637e5c3921fb81ae10a60439"
|
|
751
752
|
dependencies = [
|
|
752
753
|
"bitflags",
|
|
753
754
|
"cow-utils",
|
|
@@ -769,9 +770,9 @@ dependencies = [
|
|
|
769
770
|
|
|
770
771
|
[[package]]
|
|
771
772
|
name = "oxc_regular_expression"
|
|
772
|
-
version = "0.
|
|
773
|
+
version = "0.155.0"
|
|
773
774
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
774
|
-
checksum = "
|
|
775
|
+
checksum = "3ae3f2c42773d16336a75d5c61dae45a34aea399f0b5399a7a25c8509d79662f"
|
|
775
776
|
dependencies = [
|
|
776
777
|
"bitflags",
|
|
777
778
|
"oxc_allocator",
|
|
@@ -786,9 +787,9 @@ dependencies = [
|
|
|
786
787
|
|
|
787
788
|
[[package]]
|
|
788
789
|
name = "oxc_semantic"
|
|
789
|
-
version = "0.
|
|
790
|
+
version = "0.155.0"
|
|
790
791
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
791
|
-
checksum = "
|
|
792
|
+
checksum = "b24ee2095e2ddac60c2063b59693bbf2b80936c8a9e036463b153a203857831b"
|
|
792
793
|
dependencies = [
|
|
793
794
|
"itertools",
|
|
794
795
|
"memchr",
|
|
@@ -822,9 +823,9 @@ dependencies = [
|
|
|
822
823
|
|
|
823
824
|
[[package]]
|
|
824
825
|
name = "oxc_span"
|
|
825
|
-
version = "0.
|
|
826
|
+
version = "0.155.0"
|
|
826
827
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
827
|
-
checksum = "
|
|
828
|
+
checksum = "0cb5bee6f7a9829ddc4d8c05102fe1aa7e2ca31c7ff0bcfbb7069ca977334840"
|
|
828
829
|
dependencies = [
|
|
829
830
|
"compact_str",
|
|
830
831
|
"oxc_allocator",
|
|
@@ -836,12 +837,13 @@ dependencies = [
|
|
|
836
837
|
|
|
837
838
|
[[package]]
|
|
838
839
|
name = "oxc_str"
|
|
839
|
-
version = "0.
|
|
840
|
+
version = "0.155.0"
|
|
840
841
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
841
|
-
checksum = "
|
|
842
|
+
checksum = "c04d966af690d3b780ee4c47436174e558750eed6ca40b07d695fa4910ad8e33"
|
|
842
843
|
dependencies = [
|
|
843
844
|
"compact_str",
|
|
844
845
|
"hashbrown",
|
|
846
|
+
"memchr",
|
|
845
847
|
"oxc_allocator",
|
|
846
848
|
"oxc_estree",
|
|
847
849
|
"serde",
|
|
@@ -849,9 +851,9 @@ dependencies = [
|
|
|
849
851
|
|
|
850
852
|
[[package]]
|
|
851
853
|
name = "oxc_syntax"
|
|
852
|
-
version = "0.
|
|
854
|
+
version = "0.155.0"
|
|
853
855
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
854
|
-
checksum = "
|
|
856
|
+
checksum = "684d5f6db25b6e3d026582b3926166c80eeda9aac8a879782292c6a33b7d13a0"
|
|
855
857
|
dependencies = [
|
|
856
858
|
"bitflags",
|
|
857
859
|
"cow-utils",
|
|
@@ -870,9 +872,9 @@ dependencies = [
|
|
|
870
872
|
|
|
871
873
|
[[package]]
|
|
872
874
|
name = "oxc_transformer"
|
|
873
|
-
version = "0.
|
|
875
|
+
version = "0.155.0"
|
|
874
876
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
875
|
-
checksum = "
|
|
877
|
+
checksum = "fec592c64f6455678cbdb76635144f76825fcaf85f9509d814bd6a9e2bfde160"
|
|
876
878
|
dependencies = [
|
|
877
879
|
"base64",
|
|
878
880
|
"compact_str",
|
|
@@ -900,9 +902,9 @@ dependencies = [
|
|
|
900
902
|
|
|
901
903
|
[[package]]
|
|
902
904
|
name = "oxc_transformer_plugins"
|
|
903
|
-
version = "0.
|
|
905
|
+
version = "0.155.0"
|
|
904
906
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
905
|
-
checksum = "
|
|
907
|
+
checksum = "2470e565dc13884f9a1e1c08d8eaad3c927e807d867a118c0f0287534971327f"
|
|
906
908
|
dependencies = [
|
|
907
909
|
"cow-utils",
|
|
908
910
|
"itoa",
|
|
@@ -923,9 +925,9 @@ dependencies = [
|
|
|
923
925
|
|
|
924
926
|
[[package]]
|
|
925
927
|
name = "oxc_traverse"
|
|
926
|
-
version = "0.
|
|
928
|
+
version = "0.155.0"
|
|
927
929
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
928
|
-
checksum = "
|
|
930
|
+
checksum = "b2ba98ff0dc34cb2e45bcbe3cee395e792298fad77ca63c574766571f859cc56"
|
|
929
931
|
dependencies = [
|
|
930
932
|
"itoa",
|
|
931
933
|
"oxc_allocator",
|
|
@@ -1139,9 +1141,9 @@ dependencies = [
|
|
|
1139
1141
|
|
|
1140
1142
|
[[package]]
|
|
1141
1143
|
name = "serde_json"
|
|
1142
|
-
version = "1.0.
|
|
1144
|
+
version = "1.0.154"
|
|
1143
1145
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1144
|
-
checksum = "
|
|
1146
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
1145
1147
|
dependencies = [
|
|
1146
1148
|
"itoa",
|
|
1147
1149
|
"memchr",
|
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.155.0", features = ["full", "serialize"] }
|
|
19
19
|
oxc_sourcemap = "9"
|
|
20
20
|
serde = { version = "1", features = ["derive"] }
|
|
21
21
|
serde_json = { version = "1", features = ["raw_value"] }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oxc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.155.0
|
|
5
5
|
platform: aarch64-linux-gnu
|
|
6
6
|
authors:
|
|
7
7
|
- Marco Roth
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Ruby bindings for Oxc, the JavaScript Oxidation Compiler. A collection
|
|
14
14
|
of high-performance tools for JavaScript and TypeScript written in Rust.
|