@aptre/common 0.22.1 → 0.22.2

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/Makefile CHANGED
@@ -54,6 +54,7 @@ GOLANGCI_LINT=$(TOOLS_BIN)/golangci-lint
54
54
  GO_MOD_OUTDATED=$(TOOLS_BIN)/go-mod-outdated
55
55
  GORELEASER=$(TOOLS_BIN)/goreleaser
56
56
  WASMBROWSERTEST=$(TOOLS_BIN)/wasmbrowsertest
57
+ GOSCRIPT=$(TOOLS_BIN)/goscript
57
58
 
58
59
  # Mappings for build tool to Go import path
59
60
  $(eval $(call build_tool,$(PROTOC_GEN_GO),github.com/aperturerobotics/protobuf-go-lite/cmd/protoc-gen-go-lite))
@@ -65,6 +66,7 @@ $(eval $(call build_tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/v2/c
65
66
  $(eval $(call build_tool,$(GO_MOD_OUTDATED),github.com/psampaz/go-mod-outdated))
66
67
  $(eval $(call build_tool,$(GORELEASER),github.com/goreleaser/goreleaser/v2))
67
68
  $(eval $(call build_tool,$(WASMBROWSERTEST),github.com/agnivade/wasmbrowsertest))
69
+ $(eval $(call build_tool,$(GOSCRIPT),github.com/paralin/goscript/cmd/goscript))
68
70
 
69
71
  .PHONY: protodeps
70
72
  protodeps: $(GOIMPORTS) $(PROTOWRAP) $(PROTOC_GEN_GO) $(PROTOC_GEN_GO_STARPC) $(PROJECT_DIR)/node_modules
package/deps.go.tools CHANGED
@@ -29,4 +29,7 @@ import (
29
29
 
30
30
  // _ imports wasmbrowsertest
31
31
  _ "github.com/agnivade/wasmbrowsertest"
32
+
33
+ // _ imports goscript
34
+ _ "github.com/paralin/goscript/cmd/goscript"
32
35
  )
package/go.mod.tools CHANGED
@@ -14,11 +14,12 @@ require (
14
14
  github.com/aperturerobotics/goprotowrap v0.3.2 // latest
15
15
  github.com/aperturerobotics/protobuf-go-lite v0.9.1 // latest
16
16
  github.com/aperturerobotics/starpc v0.38.1 // latest
17
+ github.com/paralin/goscript v0.0.11-0.20250428011047-ae1d1c7c9c23 // master
17
18
  )
18
19
 
19
20
  require (
20
21
  github.com/agnivade/wasmbrowsertest v0.11.0 // cancelCtx
21
- github.com/golangci/golangci-lint/v2 v2.1.2
22
+ github.com/golangci/golangci-lint/v2 v2.1.5
22
23
  github.com/goreleaser/goreleaser/v2 v2.8.2 // latest
23
24
  github.com/psampaz/go-mod-outdated v0.9.0 // latest
24
25
  golang.org/x/tools v0.32.0 // latest
@@ -66,7 +67,6 @@ require (
66
67
  github.com/Azure/go-autorest/tracing v0.6.0 // indirect
67
68
  github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
68
69
  github.com/BurntSushi/toml v1.5.0 // indirect
69
- github.com/Crocmagnon/fatcontext v0.7.2 // indirect
70
70
  github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
71
71
  github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.1 // indirect
72
72
  github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.25.0 // indirect
@@ -90,6 +90,7 @@ require (
90
90
  github.com/anchore/go-logger v0.0.0-20241005132348-65b4486fbb28 // indirect
91
91
  github.com/anchore/go-macholibre v0.0.0-20220308212642-53e6d0aaf6fb // indirect
92
92
  github.com/anchore/quill v0.5.1 // indirect
93
+ github.com/aperturerobotics/cli v1.0.0 // indirect
93
94
  github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
94
95
  github.com/ashanbrown/forbidigo v1.6.0 // indirect
95
96
  github.com/ashanbrown/makezero v1.2.0 // indirect
@@ -393,6 +394,7 @@ require (
393
394
  github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
394
395
  github.com/sagikazarmark/locafero v0.6.0 // indirect
395
396
  github.com/sagikazarmark/slog-shim v0.1.0 // indirect
397
+ github.com/sanity-io/litter v1.5.8 // indirect
396
398
  github.com/sanposhiho/wastedassign/v2 v2.1.0 // indirect
397
399
  github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect
398
400
  github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
@@ -447,6 +449,7 @@ require (
447
449
  github.com/xanzy/ssh-agent v0.3.3 // indirect
448
450
  github.com/xen0n/gosmopolitan v1.3.0 // indirect
449
451
  github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
452
+ github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
450
453
  github.com/yagipy/maintidx v1.0.0 // indirect
451
454
  github.com/yeya24/promlinter v0.3.0 // indirect
452
455
  github.com/ykadowak/zerologlint v0.1.5 // indirect
@@ -455,6 +458,7 @@ require (
455
458
  gitlab.com/gitlab-org/api/client-go v0.126.0 // indirect
456
459
  go-simpler.org/musttag v0.13.0 // indirect
457
460
  go-simpler.org/sloglint v0.11.0 // indirect
461
+ go.augendre.info/fatcontext v0.8.0 // indirect
458
462
  go.mongodb.org/mongo-driver v1.14.0 // indirect
459
463
  go.opencensus.io v0.24.0 // indirect
460
464
  go.opentelemetry.io/auto/sdk v1.1.0 // indirect
package/go.sum.tools CHANGED
@@ -93,8 +93,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2/go.mod h1:wP83
93
93
  github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
94
94
  github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg=
95
95
  github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
96
- github.com/Crocmagnon/fatcontext v0.7.2 h1:BY5/dUhs2kuD3sDn7vZrgOneRib5EHk9GOiyK8Vg+14=
97
- github.com/Crocmagnon/fatcontext v0.7.2/go.mod h1:OAZCUteH59eiddbJZ9/bF4ppC140jYD/hepU2FDkFk4=
98
96
  github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ=
99
97
  github.com/DataDog/zstd v1.5.5/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw=
100
98
  github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM=
@@ -159,6 +157,8 @@ github.com/anchore/go-logger v0.0.0-20241005132348-65b4486fbb28/go.mod h1:5iJIa3
159
157
  github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
160
158
  github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
161
159
  github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
160
+ github.com/aperturerobotics/cli v1.0.0 h1:s3xT2h7eBih4/4yZKTn/HQ6P+qpk6ygWZl2416xAI1M=
161
+ github.com/aperturerobotics/cli v1.0.0/go.mod h1:wtlINjMcKuwyV1x4ftReuA6hHZcPB8kPMXHyQqGFCSc=
162
162
  github.com/aperturerobotics/goprotowrap v0.3.2 h1:Nb79Q6KEV3VjUEUNcYCfn9/C8uY5U71CFF16E/kokqE=
163
163
  github.com/aperturerobotics/goprotowrap v0.3.2/go.mod h1:5tRlYsb4VF0ySzx2/My3u9PtzTWNu5o2bqYHj0TRw+U=
164
164
  github.com/aperturerobotics/protobuf-go v1.33.1-0.20240516052628-4470bc019102 h1:jjQCud+wqlAoe+35nfTyuDzGk3tiG5t1BMFlRXHvg3A=
@@ -344,6 +344,7 @@ github.com/dave/dst v0.27.3 h1:P1HPoMza3cMEquVf9kKy8yXsFirry4zEnWOdYPOoIzY=
344
344
  github.com/dave/dst v0.27.3/go.mod h1:jHh6EOibnHgcUW3WjKHisiooEkYwqpHLBSX1iOBhEyc=
345
345
  github.com/dave/jennifer v1.7.1 h1:B4jJJDHelWcDhlRQxWeo0Npa/pYKBLrirAQoTN45txo=
346
346
  github.com/dave/jennifer v1.7.1/go.mod h1:nXbxhEmQfOZhWml3D1cDK5M1FLnMSozpbFN/m3RmGZc=
347
+ github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
347
348
  github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
348
349
  github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
349
350
  github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
@@ -549,8 +550,8 @@ github.com/golangci/go-printf-func-name v0.1.0 h1:dVokQP+NMTO7jwO4bwsRwLWeudOVUP
549
550
  github.com/golangci/go-printf-func-name v0.1.0/go.mod h1:wqhWFH5mUdJQhweRnldEywnR5021wTdZSNgwYceV14s=
550
551
  github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d h1:viFft9sS/dxoYY0aiOTsLKO2aZQAPT4nlQCsimGcSGE=
551
552
  github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d/go.mod h1:ivJ9QDg0XucIkmwhzCDsqcnxxlDStoTl89jDMIoNxKY=
552
- github.com/golangci/golangci-lint/v2 v2.1.2 h1:bcOB+jVr4EYEgOEIskQIhtdxOpIGl+iOCwliG/hNPXw=
553
- github.com/golangci/golangci-lint/v2 v2.1.2/go.mod h1:ApmXnYUmWDGu1CUZRkT3yzzFATmaViCY7BEtytG2AiU=
553
+ github.com/golangci/golangci-lint/v2 v2.1.5 h1:zDcxV8s7kgQW3cpQiVA633CZJnKN/0iEXibPDWO8sZo=
554
+ github.com/golangci/golangci-lint/v2 v2.1.5/go.mod h1:RGcjZLyl9fSVLqxdKMrknPlspC3TYETLoKXyRG06RDo=
554
555
  github.com/golangci/golines v0.0.0-20250217134842-442fd0091d95 h1:AkK+w9FZBXlU/xUmBtSJN1+tAI4FIvy5WtnUnY8e4p8=
555
556
  github.com/golangci/golines v0.0.0-20250217134842-442fd0091d95/go.mod h1:k9mmcyWKSTMcPPvQUCfRWWQ9VHJ1U9Dc0R7kaXAgtnQ=
556
557
  github.com/golangci/misspell v0.6.0 h1:JCle2HUTNWirNlDIAUO44hUsKhOFqGPoC4LZxlaSXDs=
@@ -900,6 +901,8 @@ github.com/paralin/anchore-go-macholibre v0.0.0-20240802084318-6c3d7de41333 h1:8
900
901
  github.com/paralin/anchore-go-macholibre v0.0.0-20240802084318-6c3d7de41333/go.mod h1:xz7uczAHBrEQ3+kIb4bnsp74JqcKpBid+gznZil1X0Q=
901
902
  github.com/paralin/anchore-quill v0.0.0-20240802084019-e89215594f6d h1:H/2lrCzxQKKGpt0Jh1vdf0jnIgJXEP9cCK4UPhxhSWM=
902
903
  github.com/paralin/anchore-quill v0.0.0-20240802084019-e89215594f6d/go.mod h1:d2weSmkaiWjIo/jR/3AhsuedYyZeibXfmJxV7qPd3Zk=
904
+ github.com/paralin/goscript v0.0.11-0.20250428011047-ae1d1c7c9c23 h1:wm6zaqbD6sVrVCE/1pXgu3PeQNnH/T9C0f6AjXcJDJc=
905
+ github.com/paralin/goscript v0.0.11-0.20250428011047-ae1d1c7c9c23/go.mod h1:pU8LUzfo66W2ELoozR2TvLUePz2Tc0RN1bn5wqJIt6E=
903
906
  github.com/pborman/getopt v0.0.0-20180811024354-2b5b3bfb099b/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o=
904
907
  github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
905
908
  github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
@@ -914,6 +917,7 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
914
917
  github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
915
918
  github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo=
916
919
  github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8=
920
+ github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
917
921
  github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
918
922
  github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
919
923
  github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
@@ -963,6 +967,8 @@ github.com/sagikazarmark/locafero v0.6.0 h1:ON7AQg37yzcRPU69mt7gwhFEBwxI6P9T4Qu3
963
967
  github.com/sagikazarmark/locafero v0.6.0/go.mod h1:77OmuIc6VTraTXKXIs/uvUxKGUXjE1GbemJYHqdNjX0=
964
968
  github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE=
965
969
  github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ=
970
+ github.com/sanity-io/litter v1.5.8 h1:uM/2lKrWdGbRXDrIq08Lh9XtVYoeGtcQxk9rtQ7+rYg=
971
+ github.com/sanity-io/litter v1.5.8/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U=
966
972
  github.com/sanposhiho/wastedassign/v2 v2.1.0 h1:crurBF7fJKIORrV85u9UUpePDYGWnwvv3+A96WvwXT0=
967
973
  github.com/sanposhiho/wastedassign/v2 v2.1.0/go.mod h1:+oSmSC+9bQ+VUAxA66nBb0Z7N8CK7mscKTDYC6aIek4=
968
974
  github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 h1:PKK9DyHxif4LZo+uQSgXNqs0jj5+xZwwfKHgph2lxBw=
@@ -1040,6 +1046,7 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS
1040
1046
  github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
1041
1047
  github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
1042
1048
  github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
1049
+ github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
1043
1050
  github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
1044
1051
  github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
1045
1052
  github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
@@ -1116,6 +1123,8 @@ github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 h1:nIPpBwaJSVYIxUFsDv3M8ofm
1116
1123
  github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos=
1117
1124
  github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=
1118
1125
  github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
1126
+ github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
1127
+ github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
1119
1128
  github.com/yagipy/maintidx v1.0.0 h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM=
1120
1129
  github.com/yagipy/maintidx v1.0.0/go.mod h1:0qNf/I/CCZXSMhsRsrEPDZ+DkekpKLXAJfsTACwgXLk=
1121
1130
  github.com/yeya24/promlinter v0.3.0 h1:JVDbMp08lVCP7Y6NP3qHroGAO6z2yGKQtS5JsjqtoFs=
@@ -1141,6 +1150,8 @@ go-simpler.org/musttag v0.13.0 h1:Q/YAW0AHvaoaIbsPj3bvEI5/QFP7w696IMUpnKXQfCE=
1141
1150
  go-simpler.org/musttag v0.13.0/go.mod h1:FTzIGeK6OkKlUDVpj0iQUXZLUO1Js9+mvykDQy9C5yM=
1142
1151
  go-simpler.org/sloglint v0.11.0 h1:JlR1X4jkbeaffiyjLtymeqmGDKBDO1ikC6rjiuFAOco=
1143
1152
  go-simpler.org/sloglint v0.11.0/go.mod h1:CFDO8R1i77dlciGfPEPvYke2ZMx4eyGiEIWkyeW2Pvw=
1153
+ go.augendre.info/fatcontext v0.8.0 h1:2dfk6CQbDGeu1YocF59Za5Pia7ULeAM6friJ3LP7lmk=
1154
+ go.augendre.info/fatcontext v0.8.0/go.mod h1:oVJfMgwngMsHO+KB2MdgzcO+RvtNdiCEOlWvSFtax/s=
1144
1155
  go.mongodb.org/mongo-driver v1.14.0 h1:P98w8egYRjYe3XDjxhYJagTokP/H6HzlsnojRgZRd80=
1145
1156
  go.mongodb.org/mongo-driver v1.14.0/go.mod h1:Vzb0Mk/pa7e6cWw85R4F/endUC3u0U9jGcNU603k65c=
1146
1157
  go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aptre/common",
3
3
  "description": "Common project configuration files and dependencies.",
4
- "version": "0.22.1",
4
+ "version": "0.22.2",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Aperture Robotics LLC.",