@gjsify/oxfmt-native 0.26.0 → 0.26.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/oxfmt-native",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "description": "Vala/GObject + Rust cdylib bridge to oxc's formatter (oxfmt) for GJS. Formats JavaScript/TypeScript/JSX under GJS without a Node runtime — the Node-free counterpart to the npm `oxfmt` native napi binary, backing `gjsify format` under GJS. Wraps oxc_formatter (Prettier-compatible) via a single-shot FFI; the embedded CSS/HTML/Markdown ExternalFormatter (Prettier-NAPI) is out of scope.",
5
5
  "type": "module",
6
6
  "main": "lib/esm/index.js",
@@ -26,6 +26,12 @@
26
26
  "darwin-arm64"
27
27
  ],
28
28
  "prebuilds": "prebuilds",
29
+ "refsLockstep": {
30
+ "refs/oxc": {
31
+ "npm": "oxfmt",
32
+ "tag": "oxfmt_v{version}"
33
+ }
34
+ },
29
35
  "runtimes": {
30
36
  "gjs": "polyfill",
31
37
  "node": "none",
@@ -62,7 +68,7 @@
62
68
  "@girs/gobject-2.0": "^4.1.0"
63
69
  },
64
70
  "devDependencies": {
65
- "@gjsify/cli": "^0.26.0",
71
+ "@gjsify/cli": "^0.26.1",
66
72
  "@types/node": "^25.9.2",
67
73
  "typescript": "^6.0.3"
68
74
  },
@@ -99,17 +99,16 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
99
99
 
100
100
  [[package]]
101
101
  name = "compact_str"
102
- version = "0.9.1"
102
+ version = "0.10.0"
103
103
  source = "registry+https://github.com/rust-lang/crates.io-index"
104
- checksum = "9dfdd1c2274d9aa354115b09dc9a901d6c5576818cdf70d14cae2bdb47df00ab"
104
+ checksum = "79fcda08c33bb58b97008b2cdada6622500e949e060f5913361763121abd2416"
105
105
  dependencies = [
106
106
  "castaway",
107
107
  "cfg-if",
108
108
  "itoa",
109
- "rustversion",
110
- "ryu",
111
109
  "serde",
112
110
  "static_assertions",
111
+ "zmij",
113
112
  ]
114
113
 
115
114
  [[package]]
@@ -607,18 +606,18 @@ checksum = "d211803b9b6b570f68772237e415a029d5a50c65d382910b879fb19d3271f94d"
607
606
 
608
607
  [[package]]
609
608
  name = "oxc-css-parser"
610
- version = "0.0.7"
609
+ version = "0.0.9"
611
610
  source = "registry+https://github.com/rust-lang/crates.io-index"
612
- checksum = "39176e812faa433a4f046e65844cb7bdbee4ef7708d377d050ddde3ae35d5b4f"
611
+ checksum = "1bad14ada0bb04b4f3dcb031f0490779d91730dc8cc4738701d7ec4a2b6bc302"
613
612
  dependencies = [
614
613
  "oxc_allocator",
615
614
  ]
616
615
 
617
616
  [[package]]
618
617
  name = "oxc-graphql-parser"
619
- version = "0.0.7"
618
+ version = "0.0.9"
620
619
  source = "registry+https://github.com/rust-lang/crates.io-index"
621
- checksum = "aa04aff7d58f2066181ea45b6d6eb7837ed2ca4c4bdbfc139142dde39796b3fc"
620
+ checksum = "432777a8667de07a380b8e7785e1871ce0b39fd180dde50923b9c128792c0d6e"
622
621
  dependencies = [
623
622
  "memchr",
624
623
  "oxc_allocator",
@@ -672,7 +671,7 @@ checksum = "71bca8630e33e93a38d8dceb0daba6f562f29215b47098a7f05e8d295227ed94"
672
671
 
673
672
  [[package]]
674
673
  name = "oxc_allocator"
675
- version = "0.140.0"
674
+ version = "0.142.0"
676
675
  dependencies = [
677
676
  "allocator-api2",
678
677
  "hashbrown 0.17.1",
@@ -684,7 +683,7 @@ dependencies = [
684
683
 
685
684
  [[package]]
686
685
  name = "oxc_ast"
687
- version = "0.140.0"
686
+ version = "0.142.0"
688
687
  dependencies = [
689
688
  "bitflags",
690
689
  "oxc_allocator",
@@ -700,17 +699,17 @@ dependencies = [
700
699
 
701
700
  [[package]]
702
701
  name = "oxc_ast_macros"
703
- version = "0.140.0"
702
+ version = "0.142.0"
704
703
  dependencies = [
705
704
  "phf",
706
705
  "proc-macro2",
707
706
  "quote",
708
- "syn 2.0.119",
707
+ "syn 3.0.3",
709
708
  ]
710
709
 
711
710
  [[package]]
712
711
  name = "oxc_ast_visit"
713
- version = "0.140.0"
712
+ version = "0.142.0"
714
713
  dependencies = [
715
714
  "oxc_allocator",
716
715
  "oxc_ast",
@@ -732,11 +731,11 @@ dependencies = [
732
731
 
733
732
  [[package]]
734
733
  name = "oxc_data_structures"
735
- version = "0.140.0"
734
+ version = "0.142.0"
736
735
 
737
736
  [[package]]
738
737
  name = "oxc_diagnostics"
739
- version = "0.140.0"
738
+ version = "0.142.0"
740
739
  dependencies = [
741
740
  "cow-utils",
742
741
  "oxc-miette",
@@ -745,22 +744,21 @@ dependencies = [
745
744
 
746
745
  [[package]]
747
746
  name = "oxc_ecmascript"
748
- version = "0.140.0"
747
+ version = "0.142.0"
749
748
  dependencies = [
750
- "cow-utils",
749
+ "dragonbox_ecma",
750
+ "itoa",
751
751
  "num-bigint",
752
752
  "num-traits",
753
- "oxc_allocator",
754
753
  "oxc_ast",
755
- "oxc_regular_expression",
754
+ "oxc_data_structures",
756
755
  "oxc_span",
757
756
  "oxc_syntax",
758
- "smallvec",
759
757
  ]
760
758
 
761
759
  [[package]]
762
760
  name = "oxc_estree"
763
- version = "0.140.0"
761
+ version = "0.142.0"
764
762
  dependencies = [
765
763
  "dragonbox_ecma",
766
764
  "itoa",
@@ -769,7 +767,7 @@ dependencies = [
769
767
 
770
768
  [[package]]
771
769
  name = "oxc_formatter"
772
- version = "0.59.0"
770
+ version = "0.61.0"
773
771
  dependencies = [
774
772
  "cow-utils",
775
773
  "fast-glob",
@@ -794,7 +792,7 @@ dependencies = [
794
792
 
795
793
  [[package]]
796
794
  name = "oxc_formatter_core"
797
- version = "0.59.0"
795
+ version = "0.61.0"
798
796
  dependencies = [
799
797
  "cow-utils",
800
798
  "oxc_allocator",
@@ -807,7 +805,7 @@ dependencies = [
807
805
 
808
806
  [[package]]
809
807
  name = "oxc_formatter_css"
810
- version = "0.59.0"
808
+ version = "0.61.0"
811
809
  dependencies = [
812
810
  "cow-utils",
813
811
  "oxc-css-parser",
@@ -820,7 +818,7 @@ dependencies = [
820
818
 
821
819
  [[package]]
822
820
  name = "oxc_formatter_graphql"
823
- version = "0.59.0"
821
+ version = "0.61.0"
824
822
  dependencies = [
825
823
  "cow-utils",
826
824
  "oxc-graphql-parser",
@@ -832,7 +830,7 @@ dependencies = [
832
830
 
833
831
  [[package]]
834
832
  name = "oxc_formatter_json"
835
- version = "0.59.0"
833
+ version = "0.61.0"
836
834
  dependencies = [
837
835
  "dragonbox_ecma",
838
836
  "oxc_allocator",
@@ -856,7 +854,7 @@ dependencies = [
856
854
 
857
855
  [[package]]
858
856
  name = "oxc_jsdoc"
859
- version = "0.140.0"
857
+ version = "0.142.0"
860
858
  dependencies = [
861
859
  "oxc_ast",
862
860
  "oxc_span",
@@ -880,7 +878,7 @@ dependencies = [
880
878
 
881
879
  [[package]]
882
880
  name = "oxc_napi"
883
- version = "0.140.0"
881
+ version = "0.142.0"
884
882
  dependencies = [
885
883
  "napi",
886
884
  "napi-build",
@@ -894,7 +892,7 @@ dependencies = [
894
892
 
895
893
  [[package]]
896
894
  name = "oxc_parser"
897
- version = "0.140.0"
895
+ version = "0.142.0"
898
896
  dependencies = [
899
897
  "bitflags",
900
898
  "cow-utils",
@@ -916,7 +914,7 @@ dependencies = [
916
914
 
917
915
  [[package]]
918
916
  name = "oxc_regular_expression"
919
- version = "0.140.0"
917
+ version = "0.142.0"
920
918
  dependencies = [
921
919
  "bitflags",
922
920
  "oxc_allocator",
@@ -943,7 +941,7 @@ dependencies = [
943
941
 
944
942
  [[package]]
945
943
  name = "oxc_span"
946
- version = "0.140.0"
944
+ version = "0.142.0"
947
945
  dependencies = [
948
946
  "compact_str",
949
947
  "oxc-miette",
@@ -956,7 +954,7 @@ dependencies = [
956
954
 
957
955
  [[package]]
958
956
  name = "oxc_str"
959
- version = "0.140.0"
957
+ version = "0.142.0"
960
958
  dependencies = [
961
959
  "compact_str",
962
960
  "hashbrown 0.17.1",
@@ -967,7 +965,7 @@ dependencies = [
967
965
 
968
966
  [[package]]
969
967
  name = "oxc_syntax"
970
- version = "0.140.0"
968
+ version = "0.142.0"
971
969
  dependencies = [
972
970
  "bitflags",
973
971
  "cow-utils",
@@ -986,7 +984,7 @@ dependencies = [
986
984
 
987
985
  [[package]]
988
986
  name = "oxfmt"
989
- version = "0.59.0"
987
+ version = "0.61.0"
990
988
  dependencies = [
991
989
  "bpaf",
992
990
  "cow-utils",
@@ -999,7 +997,6 @@ dependencies = [
999
997
  "oxc-schemars",
1000
998
  "oxc-toml",
1001
999
  "oxc_allocator",
1002
- "oxc_ast",
1003
1000
  "oxc_config",
1004
1001
  "oxc_diagnostics",
1005
1002
  "oxc_formatter",
@@ -1197,12 +1194,6 @@ version = "1.0.23"
1197
1194
  source = "registry+https://github.com/rust-lang/crates.io-index"
1198
1195
  checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
1199
1196
 
1200
- [[package]]
1201
- name = "ryu"
1202
- version = "1.0.23"
1203
- source = "registry+https://github.com/rust-lang/crates.io-index"
1204
- checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
1205
-
1206
1197
  [[package]]
1207
1198
  name = "same-file"
1208
1199
  version = "1.0.6"