From 2256bb596a968dbe8efaf743b063ff644c1bf425 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Wed, 6 Nov 2024 12:12:42 -0800 Subject: [PATCH 01/19] Use Go workspace to simplify project dependencies (#565) --- .gitignore | 4 ++ CHANGELOG.md | 1 + go.work | 23 ++++++++ lib/metadata/go.mod | 4 +- lib/metadata/go.sum | 2 + runtime/dgraphclient/dgraph.go | 4 +- runtime/dgraphclient/registry.go | 4 +- runtime/go.mod | 46 +++++++-------- runtime/go.sum | 66 ++++++++++++---------- runtime/languages/golang/testdata/go.mod | 4 +- runtime/languages/golang/testdata/go.sum | 4 ++ sdk/go/examples/anthropic-functions/go.mod | 4 +- sdk/go/examples/anthropic-functions/go.sum | 2 + sdk/go/examples/auth/go.mod | 4 +- sdk/go/examples/auth/go.sum | 2 + sdk/go/examples/classification/go.mod | 4 +- sdk/go/examples/classification/go.sum | 2 + sdk/go/examples/collections/go.mod | 4 +- sdk/go/examples/collections/go.sum | 2 + sdk/go/examples/dgraph/go.mod | 4 +- sdk/go/examples/dgraph/go.sum | 2 + sdk/go/examples/embedding/go.mod | 4 +- sdk/go/examples/embedding/go.sum | 2 + sdk/go/examples/graphql/go.mod | 4 +- sdk/go/examples/graphql/go.sum | 2 + sdk/go/examples/http/go.mod | 4 +- sdk/go/examples/http/go.sum | 2 + sdk/go/examples/postgresql/go.mod | 4 +- sdk/go/examples/postgresql/go.sum | 2 + sdk/go/examples/simple/go.mod | 4 +- sdk/go/examples/simple/go.sum | 2 + sdk/go/examples/textgeneration/go.mod | 4 +- sdk/go/examples/textgeneration/go.sum | 2 + sdk/go/examples/vectors/go.mod | 4 +- sdk/go/examples/vectors/go.sum | 2 + sdk/go/go.mod | 11 +--- sdk/go/go.sum | 8 +-- 37 files changed, 138 insertions(+), 115 deletions(-) create mode 100644 go.work create mode 100644 runtime/languages/golang/testdata/go.sum create mode 100644 sdk/go/examples/auth/go.sum create mode 100644 sdk/go/examples/classification/go.sum create mode 100644 sdk/go/examples/collections/go.sum create mode 100644 sdk/go/examples/dgraph/go.sum create mode 100644 sdk/go/examples/graphql/go.sum create mode 100644 sdk/go/examples/http/go.sum create mode 100644 sdk/go/examples/postgresql/go.sum create mode 100644 sdk/go/examples/simple/go.sum diff --git a/.gitignore b/.gitignore index c55a75198..6faf0c95a 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,7 @@ node_modules/ pnpm-lock.yaml yarn.lock bun.lockb + +# We commit go.work so projects can depend on eachother within the repo. +# But we don't need to commit the go.work.sum file for that purpose. +go.work.sum diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f08f0e25..1cbc6ee38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Fix introspection query when only mutations exist [#558](https://github.com/hypermodeinc/modus/pull/558) - Make `modus --version` just print modus CLI's version [#563](https://github.com/hypermodeinc/modus/pull/563) - Refactor metadata dependencies [#564](https://github.com/hypermodeinc/modus/pull/564) +- Use Go workspace to simplify project dependencies [#565](https://github.com/hypermodeinc/modus/pull/565) ## 2024-11-04 - CLI 0.13.7 diff --git a/go.work b/go.work new file mode 100644 index 000000000..c46caabc2 --- /dev/null +++ b/go.work @@ -0,0 +1,23 @@ +go 1.23.2 + +use ( + ./lib/manifest + ./lib/metadata + ./lib/wasmextractor + ./runtime + ./runtime/languages/golang/testdata + ./sdk/go + ./sdk/go/examples/anthropic-functions + ./sdk/go/examples/auth + ./sdk/go/examples/classification + ./sdk/go/examples/collections + ./sdk/go/examples/dgraph + ./sdk/go/examples/embedding + ./sdk/go/examples/graphql + ./sdk/go/examples/http + ./sdk/go/examples/postgresql + ./sdk/go/examples/simple + ./sdk/go/examples/textgeneration + ./sdk/go/examples/vectors + ./sdk/go/templates/default +) diff --git a/lib/metadata/go.mod b/lib/metadata/go.mod index 524083610..e04f11feb 100644 --- a/lib/metadata/go.mod +++ b/lib/metadata/go.mod @@ -2,9 +2,7 @@ module github.com/hypermodeinc/modus/lib/metadata go 1.23.0 -require github.com/hypermodeinc/modus/lib/wasmextractor v0.0.0 - -replace github.com/hypermodeinc/modus/lib/wasmextractor => ../wasmextractor +require github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0 require github.com/tidwall/gjson v1.18.0 diff --git a/lib/metadata/go.sum b/lib/metadata/go.sum index 2f9f294c5..5cd1df02b 100644 --- a/lib/metadata/go.sum +++ b/lib/metadata/go.sum @@ -1,3 +1,5 @@ +github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0 h1:9o8qqAllL9qIPYqc5adF+Aw3XWLmLqPiBPMu0AIyiMI= +github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0/go.mod h1:YCesMU95vF5qkscLMKSYr92OloLe1KGwyiqW2i4OmnE= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= diff --git a/runtime/dgraphclient/dgraph.go b/runtime/dgraphclient/dgraph.go index 531a68e96..8d7bfc96d 100644 --- a/runtime/dgraphclient/dgraph.go +++ b/runtime/dgraphclient/dgraph.go @@ -15,8 +15,8 @@ import ( "github.com/hypermodeinc/modus/runtime/logger" - "github.com/dgraph-io/dgo/v230" - "github.com/dgraph-io/dgo/v230/protos/api" + "github.com/dgraph-io/dgo/v240" + "github.com/dgraph-io/dgo/v240/protos/api" "google.golang.org/grpc" ) diff --git a/runtime/dgraphclient/registry.go b/runtime/dgraphclient/registry.go index 22d351a0b..783d4cb8a 100644 --- a/runtime/dgraphclient/registry.go +++ b/runtime/dgraphclient/registry.go @@ -24,8 +24,8 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v230" - "github.com/dgraph-io/dgo/v230/protos/api" + "github.com/dgraph-io/dgo/v240" + "github.com/dgraph-io/dgo/v240/protos/api" ) var dgr = newDgraphRegistry() diff --git a/runtime/go.mod b/runtime/go.mod index d73771a7f..f420021bc 100644 --- a/runtime/go.mod +++ b/runtime/go.mod @@ -2,17 +2,11 @@ module github.com/hypermodeinc/modus/runtime go 1.23.0 -require github.com/hypermodeinc/modus/lib/manifest v0.0.0 - -require github.com/hypermodeinc/modus/lib/metadata v0.0.0 - -require github.com/hypermodeinc/modus/lib/wasmextractor v0.0.0 // indirect - -replace github.com/hypermodeinc/modus/lib/manifest => ../lib/manifest - -replace github.com/hypermodeinc/modus/lib/metadata => ../lib/metadata - -replace github.com/hypermodeinc/modus/lib/wasmextractor => ../lib/wasmextractor +require ( + github.com/hypermodeinc/modus/lib/manifest v0.13.0 + github.com/hypermodeinc/modus/lib/metadata v0.13.0 + github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0 // indirect +) require ( github.com/OneOfOne/xxhash v1.2.8 @@ -23,7 +17,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/sts v1.32.3 github.com/buger/jsonparser v1.1.1 github.com/chewxy/math32 v1.11.1 - github.com/dgraph-io/dgo/v230 v230.0.1 + github.com/dgraph-io/dgo/v240 v240.0.0 github.com/docker/docker v27.3.1+incompatible github.com/docker/go-connections v0.5.0 github.com/fatih/color v1.18.0 @@ -51,7 +45,7 @@ require ( github.com/viterin/vek v0.4.2 github.com/wundergraph/graphql-go-tools/execution v1.0.10-0.20241106142005-ef9f492df7ad github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.118 - golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 + golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c google.golang.org/grpc v1.67.1 ) @@ -79,7 +73,7 @@ require ( github.com/distribution/reference v0.6.0 // indirect github.com/dlclark/regexp2 v1.11.4 // indirect github.com/docker/go-units v0.5.0 // indirect - github.com/dop251/goja v0.0.0-20240919115326-6c7d1df7ff05 // indirect + github.com/dop251/goja v0.0.0-20241024094426-79f3a7efcdbd // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/go-logr/logr v1.4.2 // indirect github.com/go-logr/stdr v1.2.2 // indirect @@ -88,14 +82,14 @@ require ( github.com/gobwas/pool v0.2.1 // indirect github.com/gobwas/ws v1.4.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/google/pprof v0.0.0-20240925223930-fa3061bff0bc // indirect + github.com/google/pprof v0.0.0-20241101162523-b92577c0c142 // indirect github.com/hashicorp/golang-lru v1.0.2 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect github.com/jackc/puddle/v2 v2.2.2 // indirect github.com/jensneuse/byte-template v0.0.0-20231025215717-69252eb3ed56 // indirect github.com/kingledion/go-tools v0.6.0 // indirect - github.com/klauspost/compress v1.17.10 // indirect + github.com/klauspost/compress v1.17.11 // indirect github.com/lestrrat-go/backoff/v2 v2.0.8 // indirect github.com/lestrrat-go/blackmagic v1.0.2 // indirect github.com/lestrrat-go/httpcc v1.0.1 // indirect @@ -122,23 +116,23 @@ require ( github.com/tidwall/pretty v1.2.1 // indirect github.com/viterin/partial v1.1.0 // indirect github.com/wundergraph/astjson v0.0.0-20241105103047-3b2e8a2b2779 // indirect - github.com/wundergraph/cosmo/composition-go v0.0.0-20241020204711-78f240a77c99 // indirect - github.com/wundergraph/cosmo/router v0.0.0-20240926091419-7c3781f4f507 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect - go.opentelemetry.io/otel v1.30.0 // indirect - go.opentelemetry.io/otel/metric v1.30.0 // indirect - go.opentelemetry.io/otel/trace v1.30.0 // indirect + github.com/wundergraph/cosmo/composition-go v0.0.0-20241106155333-133ea404e4b4 // indirect + github.com/wundergraph/cosmo/router v0.0.0-20241106155333-133ea404e4b4 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 // indirect + go.opentelemetry.io/otel v1.31.0 // indirect + go.opentelemetry.io/otel/metric v1.31.0 // indirect + go.opentelemetry.io/otel/trace v1.31.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.27.0 // indirect golang.org/x/crypto v0.28.0 // indirect - golang.org/x/net v0.29.0 // indirect + golang.org/x/net v0.30.0 // indirect golang.org/x/sync v0.8.0 // indirect golang.org/x/sys v0.26.0 // indirect golang.org/x/text v0.19.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240924160255-9d4c2d233b61 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61 // indirect - google.golang.org/protobuf v1.34.2 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect + google.golang.org/protobuf v1.35.1 // indirect gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.5.1 // indirect diff --git a/runtime/go.sum b/runtime/go.sum index fca665f54..790c5ef80 100644 --- a/runtime/go.sum +++ b/runtime/go.sum @@ -69,8 +69,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 h1:rpfIENRNNilwHwZeG5+P150SMrnNEcHYvcCuK6dPZSg= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0= -github.com/dgraph-io/dgo/v230 v230.0.1 h1:kR7gI7/ZZv0jtG6dnedNgNOCxe1cbSG8ekF+pNfReks= -github.com/dgraph-io/dgo/v230 v230.0.1/go.mod h1:5FerO2h4LPOxR2XTkOAtqUUPaFdQ+5aBOHXPBJ3nT10= +github.com/dgraph-io/dgo/v240 v240.0.0 h1:LgpaQoQuM8YD3/oHjjqzCfORPlw34OnIcA/jMiKuDJc= +github.com/dgraph-io/dgo/v240 v240.0.0/go.mod h1:YrKW6k5cJpG6qP+MtNlXBogNMTupDmnnmiF6heC0Uao= github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk= github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= github.com/dlclark/regexp2 v1.11.4 h1:rPYF9/LECdNymJufQKmri9gV604RvvABwgOA8un7yAo= @@ -81,8 +81,8 @@ github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/dop251/goja v0.0.0-20240919115326-6c7d1df7ff05 h1:oK4+QcKsczZjHYTHD0JAdkvq5w74JEkG95J0XNBx/BI= -github.com/dop251/goja v0.0.0-20240919115326-6c7d1df7ff05/go.mod h1:MxLav0peU43GgvwVgNbLAj1s/bSGboKkhuULvq/7hx4= +github.com/dop251/goja v0.0.0-20241024094426-79f3a7efcdbd h1:QMSNEh9uQkDjyPwu/J541GgSH+4hw+0skJDIj9HJ3mE= +github.com/dop251/goja v0.0.0-20241024094426-79f3a7efcdbd/go.mod h1:MxLav0peU43GgvwVgNbLAj1s/bSGboKkhuULvq/7hx4= github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= @@ -121,8 +121,8 @@ github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/pprof v0.0.0-20240925223930-fa3061bff0bc h1:7bf8bGo4akhLJrmttkYLjxIz0yQmBi5umb+Nj1qRPpE= -github.com/google/pprof v0.0.0-20240925223930-fa3061bff0bc/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= +github.com/google/pprof v0.0.0-20241101162523-b92577c0c142 h1:sAGdeJj0bnMgUNVeUpp6AYlVdCt3/GdI3pGRqsNSQLs= +github.com/google/pprof v0.0.0-20241101162523-b92577c0c142/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/renameio v1.0.1 h1:Lh/jXZmvZxb0BBeSY5VKEfidcbcbenKjZFzM/q0fSeU= github.com/google/renameio v1.0.1/go.mod h1:t/HQoYBZSsWSNK35C6CO/TpPLDVWvxOHboWUAweKUpk= @@ -136,6 +136,12 @@ github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iP github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= +github.com/hypermodeinc/modus/lib/manifest v0.13.0 h1:hIQQoeqeUUh9y+YkqcJRla9KCevS06F2veiFoleq4dg= +github.com/hypermodeinc/modus/lib/manifest v0.13.0/go.mod h1:ymRlTZWerFnIUVpvEonTMTo38EDYzHcGSNYTOv2MITk= +github.com/hypermodeinc/modus/lib/metadata v0.13.0 h1:/AKY8MURmAAPOK2lt+CeCbgFCR6eevuu2qzFmuvwdig= +github.com/hypermodeinc/modus/lib/metadata v0.13.0/go.mod h1:g/uyF+TScq0jeDeLiI2yO2857SPiSo1kqfNCKFLUgVY= +github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0 h1:9o8qqAllL9qIPYqc5adF+Aw3XWLmLqPiBPMu0AIyiMI= +github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0/go.mod h1:YCesMU95vF5qkscLMKSYr92OloLe1KGwyiqW2i4OmnE= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo= @@ -156,8 +162,8 @@ github.com/kingledion/go-tools v0.6.0 h1:y8C/4mWoHgLkO45dB+Y/j0o4Y4WUB5lDTAcMPMt github.com/kingledion/go-tools v0.6.0/go.mod h1:qcDJQxBui/H/hterGb90GMlLs9Yi7QrwaJL8OGdbsms= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.17.10 h1:oXAz+Vh0PMUvJczoi+flxpnBEPxoER1IaAnU/NMPtT0= -github.com/klauspost/compress v1.17.10/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= +github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc= +github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= @@ -277,30 +283,30 @@ github.com/viterin/vek v0.4.2 h1:Vyv04UjQT6gcjEFX82AS9ocgNbAJqsHviheIBdPlv5U= github.com/viterin/vek v0.4.2/go.mod h1:A4JRAe8OvbhdzBL5ofzjBS0J29FyUrf95tQogvtHHUc= github.com/wundergraph/astjson v0.0.0-20241105103047-3b2e8a2b2779 h1:c9pa8s5eOFEOBH9Vs+VsP4EcsdcHzAaDKooHBdUmmK0= github.com/wundergraph/astjson v0.0.0-20241105103047-3b2e8a2b2779/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE= -github.com/wundergraph/cosmo/composition-go v0.0.0-20241020204711-78f240a77c99 h1:TGXDYfDhwFLFTuNuCwkuqXT5aXGz47zcurXLfTBS9w4= -github.com/wundergraph/cosmo/composition-go v0.0.0-20241020204711-78f240a77c99/go.mod h1:fUuOAUAXUFB/mlSkAaImGeE4A841AKR5dTMWhV4ibxI= -github.com/wundergraph/cosmo/router v0.0.0-20240926091419-7c3781f4f507 h1:uojstbUpR4s6uO3+PJCU/nJ8CT5rq1L7Q94jdf+OiG4= -github.com/wundergraph/cosmo/router v0.0.0-20240926091419-7c3781f4f507/go.mod h1:44kgNdnRaJVugapwUGRCbO27ziXNQTITJusRMmbl08c= +github.com/wundergraph/cosmo/composition-go v0.0.0-20241106155333-133ea404e4b4 h1:8ZUyqzjdsqG9496b9Q+9m7amUak7mypx/bjK7jdNRcQ= +github.com/wundergraph/cosmo/composition-go v0.0.0-20241106155333-133ea404e4b4/go.mod h1:teSdLPh39lkhQ/DZ5G/MPhIAU1xzBIMzKKE8TM0OrCc= +github.com/wundergraph/cosmo/router v0.0.0-20241106155333-133ea404e4b4 h1:ejia5BprUyIC+Cs4GbGAWJ/uK5QFS2aYeQ/g8gAJM78= +github.com/wundergraph/cosmo/router v0.0.0-20241106155333-133ea404e4b4/go.mod h1:bwgVSN34XUwGgC+cYJZ3fTxjE9IkxxgiovwYQ1uBc7U= github.com/wundergraph/graphql-go-tools/execution v1.0.10-0.20241106142005-ef9f492df7ad h1:Ub/TQLtwkWku7IyNEd+yDdSYMQmXZvgZ7OyBr2YW1cY= github.com/wundergraph/graphql-go-tools/execution v1.0.10-0.20241106142005-ef9f492df7ad/go.mod h1:Q4iYpQk38jFK4Xct0Uq9ekWOUbLFNAKdg7s3RcWFUTM= github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.118 h1:optJlvvtpsgEzVHxZ+qK3vOyG5opBO19v8BN5GRIbEg= github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.118/go.mod h1:pHVdSaLkOojjB430etHK1+11QT3buqd2q/0rzWpkBIA= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 h1:ZIg3ZT/aQ7AfKqdwp7ECpOK6vHqquXXuyTjIO8ZdmPs= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0/go.mod h1:DQAwmETtZV00skUwgD6+0U89g80NKsJE3DCKeLLPQMI= -go.opentelemetry.io/otel v1.30.0 h1:F2t8sK4qf1fAmY9ua4ohFS/K+FUuOPemHUIXHtktrts= -go.opentelemetry.io/otel v1.30.0/go.mod h1:tFw4Br9b7fOS+uEao81PJjVMjW/5fvNCbpsDIXqP0pc= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 h1:UP6IpuHFkUgOQL9FFQFrZ+5LiwhhYRbi7VZSIx6Nj5s= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0/go.mod h1:qxuZLtbq5QDtdeSHsS7bcf6EH6uO6jUAgk764zd3rhM= +go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY= +go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.23.1 h1:o8iWeVFa1BcLtVEV0LzrCxV2/55tB3xLxADr6Kyoey4= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.23.1/go.mod h1:SEVfdK4IoBnbT2FXNM/k8yC08MrfbhWk3U4ljM8B3HE= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.23.1 h1:cfuy3bXmLJS7M1RZmAL6SuhGtKUp2KEsrm00OlAXkq4= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.23.1/go.mod h1:22jr92C6KwlwItJmQzfixzQM3oyyuYLCfHiMY+rpsPU= -go.opentelemetry.io/otel/metric v1.30.0 h1:4xNulvn9gjzo4hjg+wzIKG7iNFEaBMX00Qd4QIZs7+w= -go.opentelemetry.io/otel/metric v1.30.0/go.mod h1:aXTfST94tswhWEb+5QjlSqG+cZlmyXy/u8jFpor3WqQ= +go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE= +go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY= go.opentelemetry.io/otel/sdk v1.28.0 h1:b9d7hIry8yZsgtbmM0DKyPWMMUMlK9NEKuIG4aBqWyE= go.opentelemetry.io/otel/sdk v1.28.0/go.mod h1:oYj7ClPUA7Iw3m+r7GeEjz0qckQRJK2B8zjcZEfu7Pg= -go.opentelemetry.io/otel/trace v1.30.0 h1:7UBkkYzeg3C7kQX8VAidWh2biiQbtAKjyIML8dQ9wmc= -go.opentelemetry.io/otel/trace v1.30.0/go.mod h1:5EyKqTzzmyqB9bwtCCq6pDLktPK6fmGf/Dph+8VI02o= +go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys= +go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A= go.opentelemetry.io/proto/otlp v1.1.0 h1:2Di21piLrCqJ3U3eXGCTPHE9R8Nh+0uglSnOyxikMeI= go.opentelemetry.io/proto/otlp v1.1.0/go.mod h1:GpBHCBWiqvVLDqmHZsoMM3C5ySeKTC7ej/RNTae6MdY= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -321,8 +327,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= -golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWBtpfqks2bwGcexMxgtk= -golang.org/x/exp v0.0.0-20240909161429-701f63a606c0/go.mod h1:2TbTHSBQa924w8M6Xs1QcRcFwyucIwBGpK1p2f1YFFY= +golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBnqWrJc+rq0DPKyvvdbY= +golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= @@ -333,8 +339,8 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20191116160921-f9c825593386/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= +golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4= +golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -370,14 +376,14 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gonum.org/v1/gonum v0.14.0 h1:2NiG67LD1tEH0D7kM+ps2V+fXmsAnpUeec7n8tcr4S0= gonum.org/v1/gonum v0.14.0/go.mod h1:AoWeoz0becf9QMWtE8iWXNXc27fK4fNeHNf/oMejGfU= -google.golang.org/genproto/googleapis/api v0.0.0-20240924160255-9d4c2d233b61 h1:pAjq8XSSzXoP9ya73v/w+9QEAAJNluLrpmMq5qFJQNY= -google.golang.org/genproto/googleapis/api v0.0.0-20240924160255-9d4c2d233b61/go.mod h1:O6rP0uBq4k0mdi/b4ZEMAZjkhYWhS815kCvaMha4VN8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61 h1:N9BgCIAUvn/M+p4NJccWPWb3BWh88+zyL0ll9HgbEeM= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= +google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g= +google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= +google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= +google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/cenkalti/backoff.v1 v1.1.0 h1:Arh75ttbsvlpVA7WtVpH4u9h6Zl46xuptxqLxPiSo4Y= gopkg.in/cenkalti/backoff.v1 v1.1.0/go.mod h1:J6Vskwqd+OMVJl8C33mmtxTBs2gyzfv7UDAkHu8BrjI= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/runtime/languages/golang/testdata/go.mod b/runtime/languages/golang/testdata/go.mod index 471487cfe..52ce37d91 100644 --- a/runtime/languages/golang/testdata/go.mod +++ b/runtime/languages/golang/testdata/go.mod @@ -2,6 +2,4 @@ module testdata go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../../../sdk/go/ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 diff --git a/runtime/languages/golang/testdata/go.sum b/runtime/languages/golang/testdata/go.sum new file mode 100644 index 000000000..eef52b505 --- /dev/null +++ b/runtime/languages/golang/testdata/go.sum @@ -0,0 +1,4 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.0 h1:uoQwiS3v/axa5Jm3dxhKUBDygUbzlwGZtPrDVLLyE+U= +github.com/hypermodeinc/modus/sdk/go v0.13.0/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= diff --git a/sdk/go/examples/anthropic-functions/go.mod b/sdk/go/examples/anthropic-functions/go.mod index 17d198b2c..31dae13d1 100644 --- a/sdk/go/examples/anthropic-functions/go.mod +++ b/sdk/go/examples/anthropic-functions/go.mod @@ -2,9 +2,7 @@ module anthropic-functions-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 require ( github.com/tidwall/gjson v1.18.0 // indirect diff --git a/sdk/go/examples/anthropic-functions/go.sum b/sdk/go/examples/anthropic-functions/go.sum index 32ba293d1..1b4ee7dec 100644 --- a/sdk/go/examples/anthropic-functions/go.sum +++ b/sdk/go/examples/anthropic-functions/go.sum @@ -1,3 +1,5 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= diff --git a/sdk/go/examples/auth/go.mod b/sdk/go/examples/auth/go.mod index fa86200ac..dbcb696d6 100644 --- a/sdk/go/examples/auth/go.mod +++ b/sdk/go/examples/auth/go.mod @@ -2,6 +2,4 @@ module auth-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 diff --git a/sdk/go/examples/auth/go.sum b/sdk/go/examples/auth/go.sum new file mode 100644 index 000000000..24e51641f --- /dev/null +++ b/sdk/go/examples/auth/go.sum @@ -0,0 +1,2 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= diff --git a/sdk/go/examples/classification/go.mod b/sdk/go/examples/classification/go.mod index af8a9d0eb..3de41ed32 100644 --- a/sdk/go/examples/classification/go.mod +++ b/sdk/go/examples/classification/go.mod @@ -2,6 +2,4 @@ module classification-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 diff --git a/sdk/go/examples/classification/go.sum b/sdk/go/examples/classification/go.sum new file mode 100644 index 000000000..24e51641f --- /dev/null +++ b/sdk/go/examples/classification/go.sum @@ -0,0 +1,2 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= diff --git a/sdk/go/examples/collections/go.mod b/sdk/go/examples/collections/go.mod index edcdeba29..f5e3a5124 100644 --- a/sdk/go/examples/collections/go.mod +++ b/sdk/go/examples/collections/go.mod @@ -2,6 +2,4 @@ module collection-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 diff --git a/sdk/go/examples/collections/go.sum b/sdk/go/examples/collections/go.sum new file mode 100644 index 000000000..24e51641f --- /dev/null +++ b/sdk/go/examples/collections/go.sum @@ -0,0 +1,2 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= diff --git a/sdk/go/examples/dgraph/go.mod b/sdk/go/examples/dgraph/go.mod index 4b469d255..2c7fd6396 100644 --- a/sdk/go/examples/dgraph/go.mod +++ b/sdk/go/examples/dgraph/go.mod @@ -2,6 +2,4 @@ module dgraph-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 diff --git a/sdk/go/examples/dgraph/go.sum b/sdk/go/examples/dgraph/go.sum new file mode 100644 index 000000000..24e51641f --- /dev/null +++ b/sdk/go/examples/dgraph/go.sum @@ -0,0 +1,2 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= diff --git a/sdk/go/examples/embedding/go.mod b/sdk/go/examples/embedding/go.mod index d17bec344..a87b92851 100644 --- a/sdk/go/examples/embedding/go.mod +++ b/sdk/go/examples/embedding/go.mod @@ -2,9 +2,7 @@ module embedding-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 require ( github.com/tidwall/gjson v1.18.0 // indirect diff --git a/sdk/go/examples/embedding/go.sum b/sdk/go/examples/embedding/go.sum index 32ba293d1..1b4ee7dec 100644 --- a/sdk/go/examples/embedding/go.sum +++ b/sdk/go/examples/embedding/go.sum @@ -1,3 +1,5 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= diff --git a/sdk/go/examples/graphql/go.mod b/sdk/go/examples/graphql/go.mod index 900e76e18..b8ac556e4 100644 --- a/sdk/go/examples/graphql/go.mod +++ b/sdk/go/examples/graphql/go.mod @@ -2,6 +2,4 @@ module graphql-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 diff --git a/sdk/go/examples/graphql/go.sum b/sdk/go/examples/graphql/go.sum new file mode 100644 index 000000000..24e51641f --- /dev/null +++ b/sdk/go/examples/graphql/go.sum @@ -0,0 +1,2 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= diff --git a/sdk/go/examples/http/go.mod b/sdk/go/examples/http/go.mod index dc9cdb232..66fe120af 100644 --- a/sdk/go/examples/http/go.mod +++ b/sdk/go/examples/http/go.mod @@ -2,6 +2,4 @@ module http-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 diff --git a/sdk/go/examples/http/go.sum b/sdk/go/examples/http/go.sum new file mode 100644 index 000000000..24e51641f --- /dev/null +++ b/sdk/go/examples/http/go.sum @@ -0,0 +1,2 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= diff --git a/sdk/go/examples/postgresql/go.mod b/sdk/go/examples/postgresql/go.mod index ec00b1cc4..970c7978f 100644 --- a/sdk/go/examples/postgresql/go.mod +++ b/sdk/go/examples/postgresql/go.mod @@ -2,6 +2,4 @@ module postgresql-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 diff --git a/sdk/go/examples/postgresql/go.sum b/sdk/go/examples/postgresql/go.sum new file mode 100644 index 000000000..24e51641f --- /dev/null +++ b/sdk/go/examples/postgresql/go.sum @@ -0,0 +1,2 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= diff --git a/sdk/go/examples/simple/go.mod b/sdk/go/examples/simple/go.mod index 8914634d8..61e61eb0d 100644 --- a/sdk/go/examples/simple/go.mod +++ b/sdk/go/examples/simple/go.mod @@ -2,6 +2,4 @@ module simple-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 diff --git a/sdk/go/examples/simple/go.sum b/sdk/go/examples/simple/go.sum new file mode 100644 index 000000000..24e51641f --- /dev/null +++ b/sdk/go/examples/simple/go.sum @@ -0,0 +1,2 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= diff --git a/sdk/go/examples/textgeneration/go.mod b/sdk/go/examples/textgeneration/go.mod index b8bf4a8d4..e753650a3 100644 --- a/sdk/go/examples/textgeneration/go.mod +++ b/sdk/go/examples/textgeneration/go.mod @@ -2,9 +2,7 @@ module text-generation-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 - -replace github.com/hypermodeinc/modus/sdk/go => ../../ +require github.com/hypermodeinc/modus/sdk/go v0.13.1 require ( github.com/tidwall/gjson v1.18.0 // indirect diff --git a/sdk/go/examples/textgeneration/go.sum b/sdk/go/examples/textgeneration/go.sum index 32ba293d1..1b4ee7dec 100644 --- a/sdk/go/examples/textgeneration/go.sum +++ b/sdk/go/examples/textgeneration/go.sum @@ -1,3 +1,5 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY= github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= diff --git a/sdk/go/examples/vectors/go.mod b/sdk/go/examples/vectors/go.mod index 63d21a93d..d8299b4c7 100644 --- a/sdk/go/examples/vectors/go.mod +++ b/sdk/go/examples/vectors/go.mod @@ -2,8 +2,6 @@ module vectors-example go 1.23.0 -require github.com/hypermodeinc/modus/sdk/go v0.0.0 +require github.com/hypermodeinc/modus/sdk/go v0.13.1 require golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect - -replace github.com/hypermodeinc/modus/sdk/go => ../../ diff --git a/sdk/go/examples/vectors/go.sum b/sdk/go/examples/vectors/go.sum index a49439b3d..2b4ef4335 100644 --- a/sdk/go/examples/vectors/go.sum +++ b/sdk/go/examples/vectors/go.sum @@ -1,2 +1,4 @@ +github.com/hypermodeinc/modus/sdk/go v0.13.1 h1:i12jiBwAAhq/c9HwEvwA0ugXOCvg/wlP9kGtTsg7w9U= +github.com/hypermodeinc/modus/sdk/go v0.13.1/go.mod h1:0TaYvERi5P95n35uLCm7I+Dq7qjnoc95Bu2Yjqr+GIo= golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBnqWrJc+rq0DPKyvvdbY= golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= diff --git a/sdk/go/go.mod b/sdk/go/go.mod index e4354779a..237a75ff3 100644 --- a/sdk/go/go.mod +++ b/sdk/go/go.mod @@ -3,17 +3,10 @@ module github.com/hypermodeinc/modus/sdk/go go 1.23.0 require ( - github.com/hypermodeinc/modus/lib/manifest v0.13.0-alpha2 - github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0-alpha2 + github.com/hypermodeinc/modus/lib/manifest v0.13.0 + github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0 ) -// NOTE: during developement, you can use replace directives if needed -// to pick up changes to the above dependencies. However, they MUST not be committed -// to this file, because that will break `go install` of the build tools. - -// replace github.com/hypermodeinc/modus/lib/manifest => ../../lib/manifest -// replace github.com/hypermodeinc/modus/lib/wasmextractor => ../../lib/wasmextractor - require ( github.com/fatih/color v1.18.0 github.com/hashicorp/go-version v1.7.0 diff --git a/sdk/go/go.sum b/sdk/go/go.sum index 215c5a712..3835e0e9d 100644 --- a/sdk/go/go.sum +++ b/sdk/go/go.sum @@ -2,10 +2,10 @@ github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hypermodeinc/modus/lib/manifest v0.13.0-alpha2 h1:SD3Tnzp7zCYoT8c87VC0rqlIQJuyihEI9uUft99Hb4I= -github.com/hypermodeinc/modus/lib/manifest v0.13.0-alpha2/go.mod h1:ymRlTZWerFnIUVpvEonTMTo38EDYzHcGSNYTOv2MITk= -github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0-alpha2 h1:Wn+RRT05S4zbSNmLv774V5Px8uAmVZtB/x50e5Z0Fms= -github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0-alpha2/go.mod h1:YCesMU95vF5qkscLMKSYr92OloLe1KGwyiqW2i4OmnE= +github.com/hypermodeinc/modus/lib/manifest v0.13.0 h1:hIQQoeqeUUh9y+YkqcJRla9KCevS06F2veiFoleq4dg= +github.com/hypermodeinc/modus/lib/manifest v0.13.0/go.mod h1:ymRlTZWerFnIUVpvEonTMTo38EDYzHcGSNYTOv2MITk= +github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0 h1:9o8qqAllL9qIPYqc5adF+Aw3XWLmLqPiBPMu0AIyiMI= +github.com/hypermodeinc/modus/lib/wasmextractor v0.13.0/go.mod h1:YCesMU95vF5qkscLMKSYr92OloLe1KGwyiqW2i4OmnE= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= From bb320a7cb23b809ed0c2a0ea9b9eb022d7e1c679 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Wed, 6 Nov 2024 14:56:25 -0800 Subject: [PATCH 02/19] fix: "WASM Host not found in context" error on shutdown (#566) --- CHANGELOG.md | 1 + runtime/main.go | 2 +- runtime/services/services.go | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cbc6ee38..b2b2c9631 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Make `modus --version` just print modus CLI's version [#563](https://github.com/hypermodeinc/modus/pull/563) - Refactor metadata dependencies [#564](https://github.com/hypermodeinc/modus/pull/564) - Use Go workspace to simplify project dependencies [#565](https://github.com/hypermodeinc/modus/pull/565) +- fix: "WASM Host not found in context" error on shutdown [#566](https://github.com/hypermodeinc/modus/pull/566) ## 2024-11-04 - CLI 0.13.7 diff --git a/runtime/main.go b/runtime/main.go index 1226ee555..e168bdf66 100644 --- a/runtime/main.go +++ b/runtime/main.go @@ -47,7 +47,7 @@ func main() { defer utils.FlushSentryEvents() // Start the background services - services.Start(ctx) + ctx = services.Start(ctx) defer services.Stop(ctx) // Set local mode in development diff --git a/runtime/services/services.go b/runtime/services/services.go index de4f8357d..5cac14d73 100644 --- a/runtime/services/services.go +++ b/runtime/services/services.go @@ -31,7 +31,7 @@ import ( ) // Starts any services that need to be started when the runtime starts. -func Start(ctx context.Context) { +func Start(ctx context.Context) context.Context { // Note, we cannot start a Sentry transaction here, or it will also be used for the background services, post-initiation. @@ -58,6 +58,7 @@ func Start(ctx context.Context) { pluginmanager.Initialize(ctx) graphql.Initialize() + return ctx } // Stops any services that need to be stopped when the runtime stops. From 895faa0f7c7d1f90de90861f3cec42b6ef6419e2 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Wed, 6 Nov 2024 16:16:20 -0800 Subject: [PATCH 03/19] chore: Update PR template and changelog (#567) --- .github/pull_request_template.md | 14 +++++++++++--- CHANGELOG.md | 20 ++++++++++++-------- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 1fbc61c51..67da69e11 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -5,8 +5,16 @@ Please explain the changes you made here. **Checklist** - [ ] Code compiles correctly and linting passes locally -- [ ] Tests for new functionality and regression tests for bug fixes added -- [ ] Documentation added or updated -- [ ] Entry added to the `CHANGELOG.md` file describing and linking to this PR +- [ ] For all _code_ changes, an entry added to the `CHANGELOG.md` file describing and linking to this PR +- [ ] Tests added for new functionality, or regression tests for bug fixes added as applicable +- [ ] For public APIs, new features, etc., PR on [docs repo](https://github.com/hypermodeinc/docs) staged and linked here + +**Instructions** + +- The PR title should follow the [Conventional Commits](https://www.conventionalcommits.org/) syntax, leading with `fix:`, `feat:`, `chore:`, `ci:`, etc. +- The description should briefly explain what the PR is about. In the case of a bugfix, describe or link to the bug. +- In the checklist section, check the boxes in that are applicable, using `[x]` syntax. + - If not applicable, remove the entire line. Only leave the box unchecked if you intend to come back and check the box later. +- Delete the `Instructions` line and everything below it, to indicate you have read and are following these instructions. 🙂 Thank you for your contribution to the Modus project! diff --git a/CHANGELOG.md b/CHANGELOG.md index b2b2c9631..852c28a5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,18 @@ # Change Log -## UNRELEASED - -- Add API Explorer stub to CLI [#554](https://github.com/hypermodeinc/modus/pull/554) [#556](https://github.com/hypermodeinc/modus/pull/556) -- Add `secrets: inherit` when calling release-info workflow [#555](https://github.com/hypermodeinc/modus/pull/555) -- Fix introspection query when only mutations exist [#558](https://github.com/hypermodeinc/modus/pull/558) -- Make `modus --version` just print modus CLI's version [#563](https://github.com/hypermodeinc/modus/pull/563) -- Refactor metadata dependencies [#564](https://github.com/hypermodeinc/modus/pull/564) -- Use Go workspace to simplify project dependencies [#565](https://github.com/hypermodeinc/modus/pull/565) +## UNRELEASED - CLI + +- feat: Add API Explorer stub to CLI [#554](https://github.com/hypermodeinc/modus/pull/554) +- feat: Improve local dev server for API explorer [#556](https://github.com/hypermodeinc/modus/pull/556) +- fix: Make `modus --version` just print modus CLI's version [#563](https://github.com/hypermodeinc/modus/pull/563) + +## UNRELEASED - Runtime + +- fix: Introspection query should succeed when only mutations exist [#558](https://github.com/hypermodeinc/modus/pull/558) - fix: "WASM Host not found in context" error on shutdown [#566](https://github.com/hypermodeinc/modus/pull/566) +- ci: Add `secrets: inherit` when calling release-info workflow [#555](https://github.com/hypermodeinc/modus/pull/555) +- chore: Refactor metadata dependencies [#564](https://github.com/hypermodeinc/modus/pull/564) +- chore: Use Go workspace to simplify project dependencies [#565](https://github.com/hypermodeinc/modus/pull/565) ## 2024-11-04 - CLI 0.13.7 From 32702114868714b19c665ad0126d2837fcacefcb Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Wed, 6 Nov 2024 18:13:21 -0800 Subject: [PATCH 04/19] fix: Don't empty previous contents of build dir (#568) --- CHANGELOG.md | 6 +++++- sdk/assemblyscript/src/bin/build-plugin.js | 7 +------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 852c28a5f..f7638392b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## UNRELEASED - AssemblyScript SDK + +- fix: Don't empty previous contents of build dir [#568](https://github.com/hypermodeinc/modus/pull/568) + ## UNRELEASED - CLI - feat: Add API Explorer stub to CLI [#554](https://github.com/hypermodeinc/modus/pull/554) @@ -9,10 +13,10 @@ ## UNRELEASED - Runtime - fix: Introspection query should succeed when only mutations exist [#558](https://github.com/hypermodeinc/modus/pull/558) -- fix: "WASM Host not found in context" error on shutdown [#566](https://github.com/hypermodeinc/modus/pull/566) - ci: Add `secrets: inherit` when calling release-info workflow [#555](https://github.com/hypermodeinc/modus/pull/555) - chore: Refactor metadata dependencies [#564](https://github.com/hypermodeinc/modus/pull/564) - chore: Use Go workspace to simplify project dependencies [#565](https://github.com/hypermodeinc/modus/pull/565) +- fix: "WASM Host not found in context" error on shutdown [#566](https://github.com/hypermodeinc/modus/pull/566) ## 2024-11-04 - CLI 0.13.7 diff --git a/sdk/assemblyscript/src/bin/build-plugin.js b/sdk/assemblyscript/src/bin/build-plugin.js index f601120f0..a1805edd8 100755 --- a/sdk/assemblyscript/src/bin/build-plugin.js +++ b/sdk/assemblyscript/src/bin/build-plugin.js @@ -10,7 +10,7 @@ */ import { execFileSync } from "child_process"; -import { copyFile, readFile, readdir, mkdir, unlink } from "fs/promises"; +import { copyFile, readFile, mkdir } from "fs/promises"; import { existsSync } from "fs"; import process from "process"; import console from "console"; @@ -40,11 +40,6 @@ await validateAsJson(); if (!existsSync("build")) { await mkdir("build"); -} else { - const files = await readdir("build"); - for (const file of files) { - await unlink(`build/${file}`); - } } const manifestFile = "modus.json"; From 574bb4b0bd26fa328bf736e303515422060b22f7 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Wed, 6 Nov 2024 18:17:58 -0800 Subject: [PATCH 05/19] chore: Release AS SDK 0.13.4 (#569) --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7638392b..ad4f8f53a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,5 @@ # Change Log -## UNRELEASED - AssemblyScript SDK - -- fix: Don't empty previous contents of build dir [#568](https://github.com/hypermodeinc/modus/pull/568) - ## UNRELEASED - CLI - feat: Add API Explorer stub to CLI [#554](https://github.com/hypermodeinc/modus/pull/554) @@ -18,6 +14,10 @@ - chore: Use Go workspace to simplify project dependencies [#565](https://github.com/hypermodeinc/modus/pull/565) - fix: "WASM Host not found in context" error on shutdown [#566](https://github.com/hypermodeinc/modus/pull/566) +## 2024-11-06 - AssemblyScript SDK 0.13.4 + +- fix: Don't empty previous contents of build dir [#568](https://github.com/hypermodeinc/modus/pull/568) + ## 2024-11-04 - CLI 0.13.7 - Automatically generate and push releases info to R2 bucket on every release [#526](https://github.com/hypermodeinc/modus/pull/526) From eb1e28f583a868a5a9ea0a7b517ce661e62c055a Mon Sep 17 00:00:00 2001 From: Kevin Mingtarja <69668484+kevinmingtarja@users.noreply.github.com> Date: Fri, 8 Nov 2024 03:02:30 +0800 Subject: [PATCH 06/19] chore: Automate pushing install script and schema file to R2 bucket (#570) --- .github/workflows/release-cli.yaml | 19 +++++++++++++++++++ .github/workflows/release-schema.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .github/workflows/release-schema.yaml diff --git a/.github/workflows/release-cli.yaml b/.github/workflows/release-cli.yaml index 3ec6cca20..566852dcf 100644 --- a/.github/workflows/release-cli.yaml +++ b/.github/workflows/release-cli.yaml @@ -55,3 +55,22 @@ jobs: name: Generate Release Info uses: ./.github/workflows/release-info.yaml secrets: inherit + release-install-script: + needs: release + name: Release Install Script + runs-on: warp-ubuntu-latest-x64-2x + steps: + - uses: actions/checkout@v4 + with: + ref: "${{ github.ref_name }}" + - name: Push to R2 Bucket + uses: cloudflare/wrangler-action@v3 + with: + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + apiToken: ${{ secrets.CLOUDFLARE_TOKEN }} + wranglerVersion: "3.83.0" + workingDirectory: cli + preCommands: | + cat install.sh + command: | + r2 object put install/modus.sh -f install.sh --content-type text/x-sh diff --git a/.github/workflows/release-schema.yaml b/.github/workflows/release-schema.yaml new file mode 100644 index 000000000..f860472ea --- /dev/null +++ b/.github/workflows/release-schema.yaml @@ -0,0 +1,27 @@ +name: Release Modus Schema +on: + push: + tags: + - lib/manifest/* + workflow_dispatch: +permissions: + contents: read +jobs: + release: + name: Release + runs-on: warp-ubuntu-latest-x64-2x + steps: + - uses: actions/checkout@v4 + with: + ref: "${{ github.ref_name }}" + - name: Push to R2 Bucket + uses: cloudflare/wrangler-action@v3 + with: + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + apiToken: ${{ secrets.CLOUDFLARE_TOKEN }} + wranglerVersion: "3.83.0" + workingDirectory: "lib/manifest" + preCommands: | + cat modus_schema.json + command: | + r2 object put schema/modus_schema.json -f modus_schema.json --content-type application/json From 125166a8b52290ca38c32885868c92f5f57e989f Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Fri, 8 Nov 2024 09:02:41 -0800 Subject: [PATCH 07/19] Remove API explorer (#572) --- CHANGELOG.md | 2 - cli/content/index.html | 61 -- cli/package-lock.json | 1150 +++++---------------------------- cli/package.json | 13 +- cli/src/commands/dev/index.ts | 5 - cli/src/custom/apiExplorer.ts | 87 --- 6 files changed, 173 insertions(+), 1145 deletions(-) delete mode 100644 cli/content/index.html delete mode 100644 cli/src/custom/apiExplorer.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index ad4f8f53a..dd229f03c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,6 @@ ## UNRELEASED - CLI -- feat: Add API Explorer stub to CLI [#554](https://github.com/hypermodeinc/modus/pull/554) -- feat: Improve local dev server for API explorer [#556](https://github.com/hypermodeinc/modus/pull/556) - fix: Make `modus --version` just print modus CLI's version [#563](https://github.com/hypermodeinc/modus/pull/563) ## UNRELEASED - Runtime diff --git a/cli/content/index.html b/cli/content/index.html deleted file mode 100644 index 8e7c7fe1a..000000000 --- a/cli/content/index.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - Modus API Explorer - - -

Modus API Explorer

-

This is the Modus API Explorer. You can use this tool to explore the API and test the endpoints.

-

Note, this works, but will soon be replaced by something much nicer!

- -

Available Endpoints

- - -

GraphQL Query

- - - - -

Response

- - - - - diff --git a/cli/package-lock.json b/cli/package-lock.json index 714acced2..153ade93f 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -7,14 +7,13 @@ "name": "@hypermode/modus-cli", "license": "Apache-2.0", "dependencies": { - "@inquirer/prompts": "^7.0.0", + "@inquirer/prompts": "^7.0.1", "@oclif/core": "^4", "chalk": "^5.3.0", "chokidar": "^4.0.1", - "express": "^4.21.1", "gradient-string": "^3.0.0", "open": "^10.1.0", - "ora": "^8.1.0", + "ora": "^8.1.1", "picomatch": "^4.0.2", "semver": "^7.6.3" }, @@ -25,17 +24,16 @@ "@eslint/js": "^9.14.0", "@oclif/test": "^4", "@types/eslint__js": "^8.42.3", - "@types/express": "^5.0.0", "@types/node": "^22", "@types/picomatch": "^3.0.1", "@types/semver": "^7.5.8", - "@typescript-eslint/eslint-plugin": "^8.12.2", - "@typescript-eslint/parser": "^8.12.2", + "@typescript-eslint/eslint-plugin": "^8.13.0", + "@typescript-eslint/parser": "^8.13.0", "eslint": "^9.14.0", "oclif": "^4", "ts-node": "^10", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2" + "typescript-eslint": "^8.13.0" } }, "node_modules/@aws-crypto/crc32": { @@ -1305,12 +1303,12 @@ } }, "node_modules/@inquirer/checkbox": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.0.0.tgz", - "integrity": "sha512-TNd+u1fAG8vf8YMgXzK2BI0u0xsphFv//T5rpF1eZ+8AAXby5Ll1qptr4/XVS45dvWDIzuBmmWIpVJRvnaNqzQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.0.1.tgz", + "integrity": "sha512-ehJjmNPdguajc1hStvjN7DJNVjwG5LC1mgGMGFjCmdkn2fxB2GtULftMnlaqNmvMdPpqdaSoOFpl86VkLtG4pQ==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/figures": "^1.0.7", "@inquirer/type": "^3.0.0", "ansi-escapes": "^4.3.2", @@ -1318,12 +1316,15 @@ }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/checkbox/node_modules/@inquirer/core": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.0.tgz", - "integrity": "sha512-7dwoKCGvgZGHWTZfOj2KLmbIAIdiXP9NTrwGaTO/XDfKMEmyBahZpnombiG6JDHmiOrmK3GLEJRXrWExXCDLmQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.1.tgz", + "integrity": "sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.7", @@ -1442,23 +1443,26 @@ } }, "node_modules/@inquirer/editor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.0.0.tgz", - "integrity": "sha512-bhHAP7hIOxUjiTZrpjyAYD+2RFRa+PNutWeW7JdDPcWWG3GVRiFsu3pBGw9kN2PktoiilDWFGSR0dwXBzGQang==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.0.1.tgz", + "integrity": "sha512-qAHHJ6hs343eNtCKgV2wV5CImFxYG8J1pl/YCeI5w9VoW7QpulRUU26+4NsMhjR6zDRjKBsH/rRjCIcaAOHsrg==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/type": "^3.0.0", "external-editor": "^3.1.0" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/editor/node_modules/@inquirer/core": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.0.tgz", - "integrity": "sha512-7dwoKCGvgZGHWTZfOj2KLmbIAIdiXP9NTrwGaTO/XDfKMEmyBahZpnombiG6JDHmiOrmK3GLEJRXrWExXCDLmQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.1.tgz", + "integrity": "sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.7", @@ -1511,23 +1515,26 @@ } }, "node_modules/@inquirer/expand": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.0.tgz", - "integrity": "sha512-mR7JHNIvCB4o12f75KN42he7s1O9tmcSN4wJ6l04oymfXKLn+lYJFI7z9lbe4/Ald6fm8nuF38fuY5hNPl3B+A==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.1.tgz", + "integrity": "sha512-9anjpdc802YInXekwePsa5LWySzVMHbhVS6v6n5IJxrl8w09mODOeP69wZ1d0WrOvot2buQSmYp4lW/pq8y+zQ==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/type": "^3.0.0", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/expand/node_modules/@inquirer/core": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.0.tgz", - "integrity": "sha512-7dwoKCGvgZGHWTZfOj2KLmbIAIdiXP9NTrwGaTO/XDfKMEmyBahZpnombiG6JDHmiOrmK3GLEJRXrWExXCDLmQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.1.tgz", + "integrity": "sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.7", @@ -1603,22 +1610,25 @@ } }, "node_modules/@inquirer/number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.0.tgz", - "integrity": "sha512-DUYfROyQNWm3q+JXL3S6s1/y/cOWRstnmt5zDXhdYNJ5N8TgCnHcDXKwW/dRZL7eBZupmDVHxdKCWZDUYUqmeg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.1.tgz", + "integrity": "sha512-gF3erqfm0snpwBjbyKXUUe17QJ7ebm49btXApajrM0rgCCoYX0o9W5NCuYNae87iPxaIJVjtuoQ42DX32IdbMA==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/type": "^3.0.0" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/number/node_modules/@inquirer/core": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.0.tgz", - "integrity": "sha512-7dwoKCGvgZGHWTZfOj2KLmbIAIdiXP9NTrwGaTO/XDfKMEmyBahZpnombiG6JDHmiOrmK3GLEJRXrWExXCDLmQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.1.tgz", + "integrity": "sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.7", @@ -1671,23 +1681,26 @@ } }, "node_modules/@inquirer/password": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.0.tgz", - "integrity": "sha512-W4QRSzJDMKIvWSvQWOIhs6qba1MJ6yIoy+sazSFhl2QIwn58B0Yw3iZ/zLk3QqVcCsTmKcyrSNVWUJ5RVDLStw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.1.tgz", + "integrity": "sha512-D7zUuX4l4ZpL3D7/SWu9ibijP09jigwHi/gfUHLx5GMS5oXzuMfPV2xPMG1tskco4enTx70HA0VtMXecerpvbg==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/type": "^3.0.0", "ansi-escapes": "^4.3.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/password/node_modules/@inquirer/core": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.0.tgz", - "integrity": "sha512-7dwoKCGvgZGHWTZfOj2KLmbIAIdiXP9NTrwGaTO/XDfKMEmyBahZpnombiG6JDHmiOrmK3GLEJRXrWExXCDLmQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.1.tgz", + "integrity": "sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.7", @@ -1740,43 +1753,49 @@ } }, "node_modules/@inquirer/prompts": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.0.0.tgz", - "integrity": "sha512-y8kX/TmyBqV0H1i3cWbhiTljcuBtgVgyVXAVub3ba1j5/G+dxhYohK1JLRkaosPGKKf3LnEJsYK+GPabpfnaHw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.0.1.tgz", + "integrity": "sha512-cu2CpGC2hz7WTt2VBvdkzahDvYice6vYA/8Dm7Fy3tRNzKuQTF2EY3CV4H2GamveWE6tA2XzyXtbWX8+t4WMQg==", "license": "MIT", "dependencies": { - "@inquirer/checkbox": "^4.0.0", - "@inquirer/confirm": "^5.0.0", - "@inquirer/editor": "^4.0.0", - "@inquirer/expand": "^4.0.0", - "@inquirer/input": "^4.0.0", - "@inquirer/number": "^3.0.0", - "@inquirer/password": "^4.0.0", - "@inquirer/rawlist": "^4.0.0", - "@inquirer/search": "^3.0.0", - "@inquirer/select": "^4.0.0" + "@inquirer/checkbox": "^4.0.1", + "@inquirer/confirm": "^5.0.1", + "@inquirer/editor": "^4.0.1", + "@inquirer/expand": "^4.0.1", + "@inquirer/input": "^4.0.1", + "@inquirer/number": "^3.0.1", + "@inquirer/password": "^4.0.1", + "@inquirer/rawlist": "^4.0.1", + "@inquirer/search": "^3.0.1", + "@inquirer/select": "^4.0.1" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/prompts/node_modules/@inquirer/confirm": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.0.0.tgz", - "integrity": "sha512-6QEzj6bZg8atviRIL+pR0tODC854cYSjvZxkyCarr8DVaOJPEyuGys7GmEG3W0Rb8kKSQec7P6okt0sJvNneFw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.0.1.tgz", + "integrity": "sha512-6ycMm7k7NUApiMGfVc32yIPp28iPKxhGRMqoNDiUjq2RyTAkbs5Fx0TdzBqhabcKvniDdAAvHCmsRjnNfTsogw==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/type": "^3.0.0" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/prompts/node_modules/@inquirer/core": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.0.tgz", - "integrity": "sha512-7dwoKCGvgZGHWTZfOj2KLmbIAIdiXP9NTrwGaTO/XDfKMEmyBahZpnombiG6JDHmiOrmK3GLEJRXrWExXCDLmQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.1.tgz", + "integrity": "sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.7", @@ -1794,25 +1813,28 @@ } }, "node_modules/@inquirer/prompts/node_modules/@inquirer/input": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.0.0.tgz", - "integrity": "sha512-LD7MNzaX+q2OpU4Fn0i/SedhnnBCAnEzRr6L0MP6ohofFFlx9kp5EXX7flbRZlUnh8icOwC3NFmXTyP76hvo0g==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.0.1.tgz", + "integrity": "sha512-m+SliZ2m43cDRIpAdQxfv5QOeAQCuhS8TGLvtzEP1An4IH1kBES4RLMRgE/fC+z29aN8qYG8Tq/eXQQKTYwqAg==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/type": "^3.0.0" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/prompts/node_modules/@inquirer/select": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.0.0.tgz", - "integrity": "sha512-XTN4AIFusWbNCBU1Xm2YDxbtH94e/FOrC27U3QargSsoDT1mRm+aLfqE+oOZnUuxwtTnInRT8UHRU3MVOu52wg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.0.1.tgz", + "integrity": "sha512-tVRatFRGU49bxFCKi/3P+C0E13KZduNFbWuHWRx0L2+jbiyKRpXgHp9qiRHWRk/KarhYBXzH/di6w3VQ5aJd5w==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/figures": "^1.0.7", "@inquirer/type": "^3.0.0", "ansi-escapes": "^4.3.2", @@ -1820,6 +1842,9 @@ }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/prompts/node_modules/@inquirer/type": { @@ -1858,23 +1883,26 @@ } }, "node_modules/@inquirer/rawlist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.0.0.tgz", - "integrity": "sha512-frzJNoMsQBO1fxLXrtpxt2c8hUy/ASEmBpIOEnXY2CjylPnLsVyxrEq7hcOIqVJKHn1tIPfplfiSPowOTrrUDg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.0.1.tgz", + "integrity": "sha512-0LuMOgaWs7W8JNcbiKkoFwyWFDEeCmLqDCygF0hidQUVa6J5grFVRZxrpompiWDFM49Km2rf7WoZwRo1uf1yWQ==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/type": "^3.0.0", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/rawlist/node_modules/@inquirer/core": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.0.tgz", - "integrity": "sha512-7dwoKCGvgZGHWTZfOj2KLmbIAIdiXP9NTrwGaTO/XDfKMEmyBahZpnombiG6JDHmiOrmK3GLEJRXrWExXCDLmQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.1.tgz", + "integrity": "sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.7", @@ -1927,24 +1955,27 @@ } }, "node_modules/@inquirer/search": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.0.tgz", - "integrity": "sha512-AT9vkC2KD/PLHZZXIW5Tn/FnJzEU3xEZMLxNo9OggKoreDEKfTOKVM1LkYbDg6UQUOOjntXd0SsrvoHfCzS8cw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.1.tgz", + "integrity": "sha512-ehMqjiO0pAf+KtdONKeCLVy4i3fy3feyRRhDrvzWhiwB8JccgKn7eHFr39l+Nx/FaZAhr0YxIJvkK5NuNvG+Ww==", "license": "MIT", "dependencies": { - "@inquirer/core": "^10.0.0", + "@inquirer/core": "^10.0.1", "@inquirer/figures": "^1.0.7", "@inquirer/type": "^3.0.0", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" } }, "node_modules/@inquirer/search/node_modules/@inquirer/core": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.0.tgz", - "integrity": "sha512-7dwoKCGvgZGHWTZfOj2KLmbIAIdiXP9NTrwGaTO/XDfKMEmyBahZpnombiG6JDHmiOrmK3GLEJRXrWExXCDLmQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.0.1.tgz", + "integrity": "sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.7", @@ -3035,27 +3066,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/body-parser": { - "version": "1.19.5", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", - "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/connect": "*", - "@types/node": "*" - } - }, - "node_modules/@types/connect": { - "version": "3.4.38", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", - "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/eslint": { "version": "9.6.1", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", @@ -3084,32 +3094,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/express": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.0.tgz", - "integrity": "sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/body-parser": "*", - "@types/express-serve-static-core": "^5.0.0", - "@types/qs": "*", - "@types/serve-static": "*" - } - }, - "node_modules/@types/express-serve-static-core": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.1.tgz", - "integrity": "sha512-CRICJIl0N5cXDONAdlTv5ShATZ4HEwk6kDDIW2/w9qOWKg+NU/5F8wYRWCrONad0/UKkloNSmmyN/wX4rtpbVA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*", - "@types/qs": "*", - "@types/range-parser": "*", - "@types/send": "*" - } - }, "node_modules/@types/http-cache-semantics": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", @@ -3117,13 +3101,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/http-errors": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", - "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", @@ -3131,13 +3108,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/mime": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", - "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/mute-stream": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/@types/mute-stream/-/mute-stream-0.0.4.tgz", @@ -3164,20 +3134,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/qs": { - "version": "6.9.17", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.17.tgz", - "integrity": "sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/range-parser": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", - "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/semver": { "version": "7.5.8", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", @@ -3185,29 +3141,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/send": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", - "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/mime": "^1", - "@types/node": "*" - } - }, - "node_modules/@types/serve-static": { - "version": "1.15.7", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.7.tgz", - "integrity": "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/http-errors": "*", - "@types/node": "*", - "@types/send": "*" - } - }, "node_modules/@types/tinycolor2": { "version": "1.4.6", "resolved": "https://registry.npmjs.org/@types/tinycolor2/-/tinycolor2-1.4.6.tgz", @@ -3222,17 +3155,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.12.2.tgz", - "integrity": "sha512-gQxbxM8mcxBwaEmWdtLCIGLfixBMHhQjBqR8sVWNTPpcj45WlYL2IObS/DNMLH1DBP0n8qz+aiiLTGfopPEebw==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz", + "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/type-utils": "8.12.2", - "@typescript-eslint/utils": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/type-utils": "8.13.0", + "@typescript-eslint/utils": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -3256,16 +3189,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.2.tgz", - "integrity": "sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", + "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/typescript-estree": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/typescript-estree": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", "debug": "^4.3.4" }, "engines": { @@ -3285,14 +3218,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.2.tgz", - "integrity": "sha512-gPLpLtrj9aMHOvxJkSbDBmbRuYdtiEbnvO25bCMza3DhMjTQw0u7Y1M+YR5JPbMsXXnSPuCf5hfq0nEkQDL/JQ==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", + "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2" + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3303,14 +3236,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.12.2.tgz", - "integrity": "sha512-bwuU4TAogPI+1q/IJSKuD4shBLc/d2vGcRT588q+jzayQyjVK2X6v/fbR4InY2U2sgf8MEvVCqEWUzYzgBNcGQ==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz", + "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.12.2", - "@typescript-eslint/utils": "8.12.2", + "@typescript-eslint/typescript-estree": "8.13.0", + "@typescript-eslint/utils": "8.13.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -3328,9 +3261,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.12.2.tgz", - "integrity": "sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", + "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", "dev": true, "license": "MIT", "engines": { @@ -3342,14 +3275,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.12.2.tgz", - "integrity": "sha512-mME5MDwGe30Pq9zKPvyduyU86PH7aixwqYR2grTglAdB+AN8xXQ1vFGpYaUSJ5o5P/5znsSBeNcs5g5/2aQwow==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", + "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/visitor-keys": "8.12.2", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -3371,16 +3304,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.12.2.tgz", - "integrity": "sha512-UTTuDIX3fkfAz6iSVa5rTuSfWIYZ6ATtEocQ/umkRSyC9O919lbZ8dcH7mysshrCdrAM03skJOEYaBugxN+M6A==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.13.0.tgz", + "integrity": "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.12.2", - "@typescript-eslint/types": "8.12.2", - "@typescript-eslint/typescript-estree": "8.12.2" + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/typescript-estree": "8.13.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3394,13 +3327,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.12.2.tgz", - "integrity": "sha512-PChz8UaKQAVNHghsHcPyx1OMHoFRUEA7rJSK/mDhdq85bk+PLsUHUBqTQTFt18VJZbmxBovM65fezlheQRsSDA==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", + "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/types": "8.13.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -3424,19 +3357,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "license": "MIT", - "dependencies": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/acorn": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", @@ -3552,12 +3472,6 @@ "dev": true, "license": "Python-2.0" }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", - "license": "MIT" - }, "node_modules/array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", @@ -3589,45 +3503,6 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "license": "MIT" }, - "node_modules/body-parser": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", - "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", - "license": "MIT", - "dependencies": { - "bytes": "3.1.2", - "content-type": "~1.0.5", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.13.0", - "raw-body": "2.5.2", - "type-is": "~1.6.18", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/body-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/body-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, "node_modules/bowser": { "version": "2.11.0", "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", @@ -3671,15 +3546,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/cacheable-lookup": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", @@ -3709,25 +3575,6 @@ "node": ">=14.16" } }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -3913,42 +3760,16 @@ "upper-case": "^2.0.2" } }, - "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "license": "MIT", - "dependencies": { - "safe-buffer": "5.2.1" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/content-type": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" } }, - "node_modules/cookie": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", - "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", - "license": "MIT" - }, "node_modules/create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", @@ -4062,23 +3883,6 @@ "node": ">=10" } }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/define-lazy-prop": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", @@ -4091,25 +3895,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "license": "MIT", - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, "node_modules/detect-indent": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-7.0.1.tgz", @@ -4166,12 +3951,6 @@ "tslib": "^2.0.3" } }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", - "license": "MIT" - }, "node_modules/ejs": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", @@ -4193,15 +3972,6 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, - "node_modules/encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -4212,33 +3982,6 @@ "is-arrayish": "^0.2.1" } }, - "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", - "license": "MIT" - }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -4473,72 +4216,6 @@ "node": ">=0.10.0" } }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/express": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", - "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", - "license": "MIT", - "dependencies": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.3", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.7.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.3.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.3", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", - "proxy-addr": "~2.0.7", - "qs": "6.13.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.19.0", - "serve-static": "1.16.2", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, "node_modules/external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", @@ -4681,39 +4358,6 @@ "node": ">=8" } }, - "node_modules/finalhandler": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", - "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/finalhandler/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -4772,24 +4416,6 @@ "node": ">= 14.17" } }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/fs-extra": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", @@ -4805,15 +4431,6 @@ "node": ">=6 <7 || >=8" } }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/get-east-asian-width": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.0.tgz", @@ -4826,25 +4443,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", @@ -4942,18 +4540,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/got": { "version": "13.0.0", "resolved": "https://registry.npmjs.org/got/-/got-13.0.0.tgz", @@ -5016,54 +4602,6 @@ "node": ">=8" } }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/header-case": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/header-case/-/header-case-2.0.4.tgz", @@ -5113,22 +4651,6 @@ "node": ">=8.0.0" } }, - "node_modules/http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "license": "MIT", - "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/http2-wrapper": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", @@ -5200,12 +4722,6 @@ "node": ">=8" } }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "license": "ISC" - }, "node_modules/ini": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", @@ -5213,15 +4729,6 @@ "dev": true, "license": "ISC" }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "license": "MIT", - "engines": { - "node": ">= 0.10" - } - }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -5633,24 +5140,6 @@ "dev": true, "license": "ISC" }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", - "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -5660,15 +5149,6 @@ "node": ">= 8" } }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/micromatch": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", @@ -5694,39 +5174,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "license": "MIT", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/mimic-function": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", @@ -5790,15 +5237,6 @@ "dev": true, "license": "MIT" }, - "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/no-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", @@ -5838,18 +5276,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/oclif": { "version": "4.15.12", "resolved": "https://registry.npmjs.org/oclif/-/oclif-4.15.12.tgz", @@ -5919,18 +5345,6 @@ "node": ">=8" } }, - "node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "license": "MIT", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/onetime": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", @@ -5990,9 +5404,9 @@ "license": "MIT" }, "node_modules/ora": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-8.1.0.tgz", - "integrity": "sha512-GQEkNkH/GHOhPFXcqZs3IDahXEQcQxsSjEkK4KvEEST4t7eNzoMjxTzef+EZ+JluDEV+Raoi3WQ2CflnRdSVnQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-8.1.1.tgz", + "integrity": "sha512-YWielGi1XzG1UTvOaCFaNgEnuhZVMSHYkW/FQ7UX8O26PtlpdM84c0f7wLPlkvx2RfiQmnzd61d/MGxmpQeJPw==", "license": "MIT", "dependencies": { "chalk": "^5.3.0", @@ -6151,15 +5565,6 @@ "node": ">=4" } }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/pascal-case": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", @@ -6202,12 +5607,6 @@ "node": ">=8" } }, - "node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", - "license": "MIT" - }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -6246,19 +5645,6 @@ "dev": true, "license": "ISC" }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "license": "MIT", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -6269,21 +5655,6 @@ "node": ">=6" } }, - "node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", - "license": "BSD-3-Clause", - "dependencies": { - "side-channel": "^1.0.6" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -6317,30 +5688,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", - "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", - "license": "MIT", - "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/readdirp": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.2.tgz", @@ -6475,6 +5822,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, "funding": [ { "type": "github", @@ -6509,54 +5857,6 @@ "node": ">=10" } }, - "node_modules/send": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", - "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/send/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, - "node_modules/send/node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/sentence-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/sentence-case/-/sentence-case-3.0.4.tgz", @@ -6569,44 +5869,6 @@ "upper-case-first": "^2.0.2" } }, - "node_modules/serve-static": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", - "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", - "license": "MIT", - "dependencies": { - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.19.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "license": "ISC" - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -6630,24 +5892,6 @@ "node": ">=8" } }, - "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/signal-exit": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", @@ -6776,15 +6020,6 @@ "dev": true, "license": "CC0-1.0" }, - "node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/stdin-discarder": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz", @@ -6911,15 +6146,6 @@ "node": ">=8.0" } }, - "node_modules/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "license": "MIT", - "engines": { - "node": ">=0.6" - } - }, "node_modules/ts-api-utils": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.0.tgz", @@ -7022,19 +6248,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "license": "MIT", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/typescript": { "version": "5.6.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", @@ -7050,15 +6263,15 @@ } }, "node_modules/typescript-eslint": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.12.2.tgz", - "integrity": "sha512-UbuVUWSrHVR03q9CWx+JDHeO6B/Hr9p4U5lRH++5tq/EbFq1faYZe50ZSBePptgfIKLEti0aPQ3hFgnPVcd8ZQ==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.13.0.tgz", + "integrity": "sha512-vIMpDRJrQd70au2G8w34mPps0ezFSPMEX4pXkTzUkrNbRX+36ais2ksGWN0esZL+ZMaFJEneOBHzCgSqle7DHw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.12.2", - "@typescript-eslint/parser": "8.12.2", - "@typescript-eslint/utils": "8.12.2" + "@typescript-eslint/eslint-plugin": "8.13.0", + "@typescript-eslint/parser": "8.13.0", + "@typescript-eslint/utils": "8.13.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -7089,15 +6302,6 @@ "node": ">= 4.0.0" } }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/upper-case": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-2.0.2.tgz", @@ -7128,15 +6332,6 @@ "punycode": "^2.1.0" } }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/uuid": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", @@ -7179,15 +6374,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/cli/package.json b/cli/package.json index 0da762317..906f887c8 100644 --- a/cli/package.json +++ b/cli/package.json @@ -29,14 +29,13 @@ "prepack": "npm i && npm run build && oclif manifest" }, "dependencies": { - "@inquirer/prompts": "^7.0.0", + "@inquirer/prompts": "^7.0.1", "@oclif/core": "^4", "chalk": "^5.3.0", "chokidar": "^4.0.1", - "express": "^4.21.1", "gradient-string": "^3.0.0", "open": "^10.1.0", - "ora": "^8.1.0", + "ora": "^8.1.1", "picomatch": "^4.0.2", "semver": "^7.6.3" }, @@ -44,21 +43,19 @@ "@eslint/js": "^9.14.0", "@oclif/test": "^4", "@types/eslint__js": "^8.42.3", - "@types/express": "^5.0.0", "@types/node": "^22", "@types/picomatch": "^3.0.1", "@types/semver": "^7.5.8", - "@typescript-eslint/eslint-plugin": "^8.12.2", - "@typescript-eslint/parser": "^8.12.2", + "@typescript-eslint/eslint-plugin": "^8.13.0", + "@typescript-eslint/parser": "^8.13.0", "eslint": "^9.14.0", "oclif": "^4", "ts-node": "^10", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2" + "typescript-eslint": "^8.13.0" }, "files": [ "/bin", - "/content", "/dist", "/oclif.manifest.json" ], diff --git a/cli/src/commands/dev/index.ts b/cli/src/commands/dev/index.ts index 1d9cddf21..558264130 100644 --- a/cli/src/commands/dev/index.ts +++ b/cli/src/commands/dev/index.ts @@ -26,7 +26,6 @@ import { isOnline, withSpinner } from "../../util/index.js"; import { readHypermodeSettings } from "../../util/hypermode.js"; import BuildCommand from "../build/index.js"; import { BaseCommand } from "../../baseCommand.js"; -import { openApiExplorer } from "../../custom/apiExplorer.js"; const MANIFEST_FILE = "modus.json"; const ENV_FILES = [".env", ".env.local", ".env.development", ".env.dev", ".env.development.local", ".env.dev.local"]; @@ -201,10 +200,6 @@ export default class DevCommand extends BaseCommand { } }); - // TODO: sync the port number with the runtime somehow - const runtimePort = 8686; - await openApiExplorer(appPath, runtimePort); - // Watch for changes in the app directory and rebuild the app when changes are detected if (!flags["no-watch"]) { this.watchForEnvFileChanges(appPath, child.stderr); diff --git a/cli/src/custom/apiExplorer.ts b/cli/src/custom/apiExplorer.ts deleted file mode 100644 index 4cede1fbe..000000000 --- a/cli/src/custom/apiExplorer.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2024 Hypermode Inc. - * Licensed under the terms of the Apache License, Version 2.0 - * See the LICENSE file that accompanied this code for further details. - * - * SPDX-FileCopyrightText: 2024 Hypermode Inc. - * SPDX-License-Identifier: Apache-2.0 - */ - -import * as fs from "../util/fs.js"; -import net from "node:net"; -import path from "node:path"; -import { fileURLToPath } from "node:url"; -import open from "open"; -import express from "express"; -import chalk from "chalk"; - -const MANIFEST_FILE = "modus.json"; -const CONTENT_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../content"); - -export async function openApiExplorer(appPath: string, runtimePort: number) { - const app = express(); - app.use(express.static(CONTENT_DIR)); - - app.get("/api/endpoints", async (_, res) => { - const endpoints = await getGraphQLEndpointsFromManifest(appPath, runtimePort); - res.json(endpoints); - }); - - const port = await findAvailablePort(3000, 3100); - app.listen(port, async () => { - const url = `http://localhost:${port}`; - console.log(chalk.greenBright("Modus API Explorer is running at: ") + chalk.cyanBright(url) + "\n"); - await open(url); - }); -} - -async function findAvailablePort(start: number, end: number): Promise { - for (let port = start; port <= end; port++) { - const isAvailable = await checkPort(port); - if (isAvailable) { - return port; - } - } - throw new Error(`No available port found in range ${start}-${end}`); -} - -function checkPort(port: number): Promise { - return new Promise((resolve) => { - const server = net.createServer(); - - server.once("error", (err: NodeJS.ErrnoException) => { - if (err.code === "EADDRINUSE") { - resolve(false); - } else { - resolve(false); - } - }); - - server.once("listening", () => { - server.close(() => resolve(true)); - }); - - server.listen(port); - }); -} - -async function getGraphQLEndpointsFromManifest(appPath: string, port: number): Promise<{ [key: string]: string }> { - const manifestPath = path.join(appPath, MANIFEST_FILE); - if (!(await fs.exists(manifestPath))) { - throw new Error(`Manifest file not found at ${manifestPath}`); - } - - const manifestContent = await fs.readFile(manifestPath, "utf-8"); - const manifest = JSON.parse(manifestContent); - - if (!manifest.endpoints) { - return {}; - } - - const results: { [key: string]: string } = {}; - for (const key in manifest.endpoints) { - const ep = manifest.endpoints[key]; - results[key] = `http://localhost:${port}${ep.path}`; - } - return results; -} From bd1d2ebc06761330030d420c89c04fe0711c7f17 Mon Sep 17 00:00:00 2001 From: Pine Date: Fri, 8 Nov 2024 19:07:58 +0100 Subject: [PATCH 08/19] fix: implement retry and caching for CLI downloads (#571) Co-authored-by: Matt Johnson-Pint --- CHANGELOG.md | 1 + cli/package-lock.json | 13 ++++++ cli/package.json | 1 + cli/src/commands/new/index.ts | 12 ++++-- cli/src/util/http.ts | 20 +++++++++ cli/src/util/index.ts | 15 ++++--- cli/src/util/versioninfo.ts | 80 ++++++++++++++++++++++++++--------- 7 files changed, 112 insertions(+), 30 deletions(-) create mode 100644 cli/src/util/http.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index dd229f03c..e55806fb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## UNRELEASED - CLI - fix: Make `modus --version` just print modus CLI's version [#563](https://github.com/hypermodeinc/modus/pull/563) +- fix: implement retry and caching for CLI downloads [#571](https://github.com/hypermodeinc/modus/pull/571) ## UNRELEASED - Runtime diff --git a/cli/package-lock.json b/cli/package-lock.json index 153ade93f..43436cd3b 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -12,6 +12,7 @@ "chalk": "^5.3.0", "chokidar": "^4.0.1", "gradient-string": "^3.0.0", + "ky": "^1.7.2", "open": "^10.1.0", "ora": "^8.1.1", "picomatch": "^4.0.2", @@ -5019,6 +5020,18 @@ "json-buffer": "3.0.1" } }, + "node_modules/ky": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/ky/-/ky-1.7.2.tgz", + "integrity": "sha512-OzIvbHKKDpi60TnF9t7UUVAF1B4mcqc02z5PIvrm08Wyb+yOcz63GRvEuVxNT18a9E1SrNouhB4W2NNLeD7Ykg==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sindresorhus/ky?sponsor=1" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", diff --git a/cli/package.json b/cli/package.json index 906f887c8..66ebc148b 100644 --- a/cli/package.json +++ b/cli/package.json @@ -34,6 +34,7 @@ "chalk": "^5.3.0", "chokidar": "^4.0.1", "gradient-string": "^3.0.0", + "ky": "^1.7.2", "open": "^10.1.0", "ora": "^8.1.1", "picomatch": "^4.0.2", diff --git a/cli/src/commands/new/index.ts b/cli/src/commands/new/index.ts index 6ca95a675..7a569027a 100644 --- a/cli/src/commands/new/index.ts +++ b/cli/src/commands/new/index.ts @@ -230,7 +230,8 @@ export default class NewCommand extends BaseCommand { // Verify and/or install the Modus SDK let installedSdkVersion = await vi.getLatestInstalledSdkVersion(sdk, prerelease); - if (await isOnline()) { + const isClientOnline = await isOnline(); + if (isClientOnline) { let latestVersion: string | undefined; await withSpinner(chalk.dim(`Checking to see if you have the latest version of the ${sdkText}.`), async () => { latestVersion = await vi.getLatestSdkVersion(sdk, prerelease); @@ -267,8 +268,13 @@ export default class NewCommand extends BaseCommand { } if (!installedSdkVersion) { - this.logError(`Could not find an installed ${sdkText}.`); - this.exit(1); + if (isClientOnline) { + this.logError(`Could not find an installed ${sdkText}.`); + this.exit(1); + } else { + this.logError(`Could not find a locally installed ${sdkText}. Please connect to the internet and try again.`); + this.exit(1); + } } const sdkVersion = installedSdkVersion; diff --git a/cli/src/util/http.ts b/cli/src/util/http.ts new file mode 100644 index 000000000..688bb44d3 --- /dev/null +++ b/cli/src/util/http.ts @@ -0,0 +1,20 @@ +/* + * Copyright 2024 Hypermode Inc. + * Licensed under the terms of the Apache License, Version 2.0 + * See the LICENSE file that accompanied this code for further details. + * + * SPDX-FileCopyrightText: 2024 Hypermode Inc. + * SPDX-License-Identifier: Apache-2.0 + */ + +import ky from "ky"; + +// All outbound HTTP requests in the CLI should be made through functions in this file, +// to ensure consistent retry and timeout behavior. + +export async function get(url: string, timeout: number | false = 10000) { + return await ky.get(url, { + retry: 10, // retry 10 times, up to the default 10s timeout (unless overridden) + timeout, + }); +} diff --git a/cli/src/util/index.ts b/cli/src/util/index.ts index 2be732291..3e4dfaeec 100644 --- a/cli/src/util/index.ts +++ b/cli/src/util/index.ts @@ -14,7 +14,9 @@ import path from "node:path"; import { Readable } from "node:stream"; import { finished } from "node:stream/promises"; import { createWriteStream } from "node:fs"; +import * as http from "./http.js"; import * as fs from "./fs.js"; +import * as vi from "./versioninfo.js"; export async function withSpinner(text: string, fn: (spinner: Ora) => Promise): Promise { // NOTE: Ora comes with "oraPromise", but it doesn't clear the original text on completion. @@ -32,7 +34,7 @@ export async function withSpinner(text: string, fn: (spinner: Ora) => Promise } export async function downloadFile(url: string, dest: string): Promise { - const res = await fetch(url); + const res = await http.get(url, false); if (!res.ok) { console.log(chalk.red(" ERROR ") + chalk.dim(": Could not download file.")); console.log(chalk.dim(" url : " + url)); @@ -56,16 +58,15 @@ let online: boolean | undefined; export async function isOnline(): Promise { // Cache this, as we only need to check once per use of any CLI command that requires it. if (online !== undefined) return online; - const controller = new AbortController(); - const timeout = setTimeout(() => controller.abort(), 1000); + try { - const response = await fetch(`https://releases.hypermode.com/modus-latest.json`, { signal: controller.signal }); - online = response.ok; + // we don't need the result here, just checking if the request is successful + await vi.fetchModusLatest(); + online = true; } catch { online = false; - } finally { - clearTimeout(timeout); } + return online; } diff --git a/cli/src/util/versioninfo.ts b/cli/src/util/versioninfo.ts index 7d5313353..de744a6b2 100644 --- a/cli/src/util/versioninfo.ts +++ b/cli/src/util/versioninfo.ts @@ -9,6 +9,7 @@ import semver from "semver"; import path from "node:path"; +import * as http from "./http.js"; import * as fs from "./fs.js"; import * as globals from "../custom/globals.js"; @@ -27,44 +28,83 @@ export function isPrerelease(version: string): boolean { return !!semver.prerelease(version); } -export async function fetchFromModusLatest(): Promise<{ [key: string]: string }> { - const response = await fetch(`https://releases.hypermode.com/modus-latest.json`, {}); +const versionData: { + latest?: { [key: string]: string }; + preview?: { [key: string]: string }; + all?: { [key: string]: string[] }; + allPreview?: { [key: string]: string[] }; +} = {}; + +export async function fetchModusLatest() { + if (versionData.latest) return versionData.latest; + + const response = await http.get(`https://releases.hypermode.com/modus-latest.json`); if (!response.ok) { - throw new Error(`Error fetching latest SDK version: ${response.statusText}`); + throw new Error(`Error fetching latest SDK versions: ${response.statusText}`); + } + + const data = (await response.json()) as { [key: string]: string }; + if (!data) { + throw new Error(`Error fetching latest SDK versions: response was empty`); } - return await response.json(); + versionData.latest = data; + return data; } -export async function fetchFromModusPreview(): Promise<{ [key: string]: string }> { - const response = await fetch(`https://releases.hypermode.com/modus-preview.json`, {}); +export async function fetchModusPreview() { + if (versionData.preview) return versionData.preview; + + const response = await http.get(`https://releases.hypermode.com/modus-preview.json`); if (!response.ok) { - throw new Error(`Error fetching latest SDK version: ${response.statusText}`); + throw new Error(`Error fetching latest preview SDK versions: ${response.statusText}`); + } + + const data = (await response.json()) as { [key: string]: string }; + if (!data) { + throw new Error(`Error fetching latest preview SDK versions: response was empty`); } - return await response.json(); + versionData.preview = data; + return data; } -export async function fetchFromModusAll(): Promise<{ [key: string]: string[] }> { - const response = await fetch(`https://releases.hypermode.com/modus-all.json`, {}); +export async function fetchModusAll() { + if (versionData.all) return versionData.all; + + const response = await http.get(`https://releases.hypermode.com/modus-all.json`); if (!response.ok) { throw new Error(`Error fetching all SDK versions: ${response.statusText}`); } - return await response.json(); + const data = (await response.json()) as { [key: string]: string[] }; + if (!data) { + throw new Error(`Error fetching all SDK versions: response was empty`); + } + + versionData.all = data; + return data; } -export async function fetchFromModusPreviewAll(): Promise<{ [key: string]: string[] }> { - const response = await fetch(`https://releases.hypermode.com/modus-preview-all.json`, {}); +export async function fetchModusPreviewAll() { + if (versionData.allPreview) return versionData.allPreview; + + const response = await http.get(`https://releases.hypermode.com/modus-preview-all.json`); if (!response.ok) { - throw new Error(`Error fetching all SDK versions: ${response.statusText}`); + throw new Error(`Error fetching all preview SDK versions: ${response.statusText}`); + } + + const data = (await response.json()) as { [key: string]: string[] }; + if (!data) { + throw new Error(`Error fetching all preview SDK versions: response was empty`); } - return await response.json(); + versionData.allPreview = data; + return data; } export async function fetchItemVersionsFromModusAll(item: string): Promise { - const data = await fetchFromModusAll(); + const data = await fetchModusAll(); if (item.endsWith("/")) { item = item.slice(0, -1); @@ -79,7 +119,7 @@ export async function fetchItemVersionsFromModusAll(item: string): Promise { - const data = await fetchFromModusPreviewAll(); + const data = await fetchModusPreviewAll(); if (item.endsWith("/")) { item = item.slice(0, -1); @@ -94,19 +134,19 @@ export async function fetchItemVersionsFromModusPreviewAll(item: string): Promis } export async function getLatestSdkVersion(sdk: globals.SDK, includePrerelease: boolean): Promise { - const data = includePrerelease ? await fetchFromModusPreview() : await fetchFromModusLatest(); + const data = includePrerelease ? await fetchModusPreview() : await fetchModusLatest(); const version = data["sdk/" + sdk.toLowerCase()]; return version ? version : undefined; } export async function getLatestRuntimeVersion(includePrerelease: boolean): Promise { - const data = includePrerelease ? await fetchFromModusPreview() : await fetchFromModusLatest(); + const data = includePrerelease ? await fetchModusPreview() : await fetchModusLatest(); const version = data["runtime"]; return version ? version : undefined; } export async function getLatestCliVersion(includePrerelease: boolean): Promise { - const data = includePrerelease ? await fetchFromModusPreview() : await fetchFromModusLatest(); + const data = includePrerelease ? await fetchModusPreview() : await fetchModusLatest(); const version = data["cli"]; return version ? version : undefined; } From ca1a96d883d2898937f66fffd3bfcc368ee3bd70 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Fri, 8 Nov 2024 11:43:56 -0800 Subject: [PATCH 09/19] fix: `__typename` should succeed on root fields (#573) --- CHANGELOG.md | 1 + runtime/graphql/datasource/planner.go | 16 +++++++++------- runtime/graphql/datasource/source.go | 5 +++++ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e55806fb8..1bd9972a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - chore: Refactor metadata dependencies [#564](https://github.com/hypermodeinc/modus/pull/564) - chore: Use Go workspace to simplify project dependencies [#565](https://github.com/hypermodeinc/modus/pull/565) - fix: "WASM Host not found in context" error on shutdown [#566](https://github.com/hypermodeinc/modus/pull/566) +- fix: `__typename` should succeed on root fields [#573](https://github.com/hypermodeinc/modus/pull/573) ## 2024-11-06 - AssemblyScript SDK 0.13.4 diff --git a/runtime/graphql/datasource/planner.go b/runtime/graphql/datasource/planner.go index 04dbdd6cc..06b146023 100644 --- a/runtime/graphql/datasource/planner.go +++ b/runtime/graphql/datasource/planner.go @@ -38,13 +38,14 @@ type HypDSPlanner struct { } type fieldInfo struct { - ref int `json:"-"` - Name string `json:"name"` - Alias string `json:"alias,omitempty"` - TypeName string `json:"type,omitempty"` - Fields []fieldInfo `json:"fields,omitempty"` - IsMapType bool `json:"isMapType,omitempty"` - fieldRefs []int `json:"-"` + ref int `json:"-"` + Name string `json:"name"` + Alias string `json:"alias,omitempty"` + TypeName string `json:"type,omitempty"` + ParentType string `json:"parentType,omitempty"` + Fields []fieldInfo `json:"fields,omitempty"` + IsMapType bool `json:"isMapType,omitempty"` + fieldRefs []int `json:"-"` } func (t *fieldInfo) AliasOrName() string { @@ -168,6 +169,7 @@ func (p *HypDSPlanner) captureField(ref int) *fieldInfo { def, ok := walker.FieldDefinition(ref) if ok { f.TypeName = definition.FieldDefinitionTypeNameString(def) + f.ParentType = walker.EnclosingTypeDefinition.NameString(definition) f.IsMapType = slices.Contains(p.config.MapTypes, f.TypeName) } diff --git a/runtime/graphql/datasource/source.go b/runtime/graphql/datasource/source.go index 2183ff206..e56dec6ae 100644 --- a/runtime/graphql/datasource/source.go +++ b/runtime/graphql/datasource/source.go @@ -65,6 +65,11 @@ func (*ModusDataSource) LoadWithFiles(ctx context.Context, input []byte, files [ func (ds *ModusDataSource) callFunction(ctx context.Context, callInfo *callInfo) (any, []resolve.GraphQLError, error) { + // Handle special case for __typename on root Query or Mutation + if callInfo.FieldInfo.Name == "__typename" { + return callInfo.FieldInfo.ParentType, nil, nil + } + // Get the function info fnInfo, err := ds.WasmHost.GetFunctionInfo(callInfo.FunctionName) if err != nil { From 626d82d4f30ba0a9e6f425625f556e0dd905cbd6 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Fri, 8 Nov 2024 12:53:25 -0800 Subject: [PATCH 10/19] fix: Further improve offline / retry (#574) --- CHANGELOG.md | 2 +- cli/src/commands/new/index.ts | 2 +- cli/src/util/http.ts | 4 ++-- cli/src/util/index.ts | 6 ++---- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bd9972a1..eeb0fa3dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## UNRELEASED - CLI - fix: Make `modus --version` just print modus CLI's version [#563](https://github.com/hypermodeinc/modus/pull/563) -- fix: implement retry and caching for CLI downloads [#571](https://github.com/hypermodeinc/modus/pull/571) +- fix: implement retry and caching for CLI downloads [#571](https://github.com/hypermodeinc/modus/pull/571) [#574](https://github.com/hypermodeinc/modus/pull/574) ## UNRELEASED - Runtime diff --git a/cli/src/commands/new/index.ts b/cli/src/commands/new/index.ts index 7a569027a..1e8c1f8be 100644 --- a/cli/src/commands/new/index.ts +++ b/cli/src/commands/new/index.ts @@ -272,7 +272,7 @@ export default class NewCommand extends BaseCommand { this.logError(`Could not find an installed ${sdkText}.`); this.exit(1); } else { - this.logError(`Could not find a locally installed ${sdkText}. Please connect to the internet and try again.`); + this.logError(`Could not find a locally installed ${sdkText}, and you appear to be offline. Please connect to the internet and try again.`); this.exit(1); } } diff --git a/cli/src/util/http.ts b/cli/src/util/http.ts index 688bb44d3..c54e115ad 100644 --- a/cli/src/util/http.ts +++ b/cli/src/util/http.ts @@ -12,9 +12,9 @@ import ky from "ky"; // All outbound HTTP requests in the CLI should be made through functions in this file, // to ensure consistent retry and timeout behavior. -export async function get(url: string, timeout: number | false = 10000) { +export async function get(url: string, timeout: number | false = 5000) { return await ky.get(url, { - retry: 10, // retry 10 times, up to the default 10s timeout (unless overridden) + retry: 4, timeout, }); } diff --git a/cli/src/util/index.ts b/cli/src/util/index.ts index 3e4dfaeec..0775faccf 100644 --- a/cli/src/util/index.ts +++ b/cli/src/util/index.ts @@ -9,14 +9,13 @@ import chalk from "chalk"; import ora, { Ora } from "ora"; - +import dns from "node:dns"; import path from "node:path"; import { Readable } from "node:stream"; import { finished } from "node:stream/promises"; import { createWriteStream } from "node:fs"; import * as http from "./http.js"; import * as fs from "./fs.js"; -import * as vi from "./versioninfo.js"; export async function withSpinner(text: string, fn: (spinner: Ora) => Promise): Promise { // NOTE: Ora comes with "oraPromise", but it doesn't clear the original text on completion. @@ -60,8 +59,7 @@ export async function isOnline(): Promise { if (online !== undefined) return online; try { - // we don't need the result here, just checking if the request is successful - await vi.fetchModusLatest(); + await dns.promises.lookup("releases.hypermode.com"); online = true; } catch { online = false; From ecab858bde0c764c44d6004932c2917acacca391 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Fri, 8 Nov 2024 12:58:25 -0800 Subject: [PATCH 11/19] Release Runtime 0.13.2 and CLI 0.13.8 (#575) --- CHANGELOG.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eeb0fa3dc..8eeb56d43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ # Change Log -## UNRELEASED - CLI +## 2024-11-08 - CLI 0.13.8 - fix: Make `modus --version` just print modus CLI's version [#563](https://github.com/hypermodeinc/modus/pull/563) - fix: implement retry and caching for CLI downloads [#571](https://github.com/hypermodeinc/modus/pull/571) [#574](https://github.com/hypermodeinc/modus/pull/574) -## UNRELEASED - Runtime +## 2024-11-08 - Runtime 0.13.2 - fix: Introspection query should succeed when only mutations exist [#558](https://github.com/hypermodeinc/modus/pull/558) - ci: Add `secrets: inherit` when calling release-info workflow [#555](https://github.com/hypermodeinc/modus/pull/555) @@ -47,7 +47,7 @@ - Fix issue with git info capture [#536](https://github.com/hypermodeinc/modus/pull/536) -## 2024-10-30 - Runtime Version 0.13.1 +## 2024-10-30 - Runtime 0.13.1 - Add env file callback support for auth key reloading [#520](https://github.com/hypermodeinc/modus/pull/520) - Fix timestamp parsing bug [#527](https://github.com/hypermodeinc/modus/pull/527) @@ -56,23 +56,23 @@ - Add env file to default project templates [#530](https://github.com/hypermodeinc/modus/pull/530) -## 2024-10-30 - CLI Version 0.13.5 +## 2024-10-30 - CLI 0.13.5 - Use `-` for default app name. [#528](https://github.com/hypermodeinc/modus/pull/528) -## 2024-10-29 - CLI Version 0.13.4 +## 2024-10-29 - CLI 0.13.4 - `modus build` should install SDK if not already installed [#524](https://github.com/hypermodeinc/modus/pull/524) -## 2024-10-29 - CLI Version 0.13.3 +## 2024-10-29 - CLI 0.13.3 - Fix Go not found on first install [#522](https://github.com/hypermodeinc/modus/pull/522) -## 2024-10-28 - CLI Version 0.13.2 +## 2024-10-28 - CLI 0.13.2 - Fix CLI hang on Linux [#521](https://github.com/hypermodeinc/modus/pull/521) -## 2024-10-28 - CLI Version 0.13.1 +## 2024-10-28 - CLI 0.13.1 - Fix issues with interactive CLI prompts [#517](https://github.com/hypermodeinc/modus/pull/517) From a537d1b89a5a941c6b78efdd029732a0035ad77b Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Fri, 8 Nov 2024 17:59:39 -0800 Subject: [PATCH 12/19] feat: Reduce logger output during development (#576) --- CHANGELOG.md | 4 ++++ runtime/logger/logger.go | 24 +++++++++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8eeb56d43..3c92759b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## UNRELEASED - Runtime + +- feat: Reduce logger output during development [#576](https://github.com/hypermodeinc/modus/pull/576) + ## 2024-11-08 - CLI 0.13.8 - fix: Make `modus --version` just print modus CLI's version [#563](https://github.com/hypermodeinc/modus/pull/563) diff --git a/runtime/logger/logger.go b/runtime/logger/logger.go index 86c8c458c..11257ebc3 100644 --- a/runtime/logger/logger.go +++ b/runtime/logger/logger.go @@ -41,10 +41,28 @@ func Initialize() *zerolog.Logger { // In console mode, we can use local time and be a bit prettier. // We'll still log with millisecond precision. zerolog.TimeFieldFormat = zerolog.TimeFormatUnixMs - writer = zerolog.ConsoleWriter{ - Out: os.Stderr, - TimeFormat: "2006-01-02 15:04:05.000 -07:00", + consoleWriter := zerolog.ConsoleWriter{Out: os.Stderr} + if config.IsDevEnvironment() { + consoleWriter.TimeFormat = "15:04:05.000" + consoleWriter.FieldsExclude = []string{ + "build_id", + "build_ts", + "git_commit", + "git_repo", + "plugin", + "user_visible", + } + consoleWriter.FieldsOrder = []string{ + "detail", + "function", + "execution_id", + "duration_ms", + } + } else { + consoleWriter.TimeFormat = "2006-01-02 15:04:05.000 -07:00" } + + writer = consoleWriter } // Log the runtime version to every log line, except in development. From 41e9379e9b784960ce57f79d1121fa1a499fb442 Mon Sep 17 00:00:00 2001 From: Kevin Mingtarja <69668484+kevinmingtarja@users.noreply.github.com> Date: Mon, 11 Nov 2024 09:24:09 -0800 Subject: [PATCH 13/19] chore: Trigger internal release pipeline at the end of the release-runtime workflow (#577) --- .github/workflows/cd-runtime.yml | 79 -------------------------- .github/workflows/release-runtime.yaml | 7 +++ CHANGELOG.md | 1 + 3 files changed, 8 insertions(+), 79 deletions(-) delete mode 100644 .github/workflows/cd-runtime.yml diff --git a/.github/workflows/cd-runtime.yml b/.github/workflows/cd-runtime.yml deleted file mode 100644 index d425a8110..000000000 --- a/.github/workflows/cd-runtime.yml +++ /dev/null @@ -1,79 +0,0 @@ -name: cd-runtime - -on: - workflow_dispatch: - inputs: - environment: - description: environment - required: true - default: stage - type: choice - options: - - stage - - prod - releasetag: - description: releasetag - required: true - type: string - -permissions: - contents: read # This is required for actions/checkout - id-token: write # This is required for requesting the JWT - -jobs: - runtime-build-workflow-dispatch: - if: ${{ github.event_name == 'workflow_dispatch' }} - environment: "${{ github.event.inputs.environment }}" - runs-on: warp-ubuntu-latest-x64-16x - steps: - - uses: actions/checkout@v4 - with: - ref: "${{ github.event.inputs.releasetag }}" - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version: 1.23 - check-latest: true - cache-dependency-path: runtime/go.sum - - name: Set Runtime Release Version - run: | - #!/bin/bash - GIT_TAG_NAME='${{ github.event.inputs.releasetag }}' - if [[ "$GIT_TAG_NAME" == "v"* ]]; - then - echo "this is a release tag" - else - echo "this is NOT a release tag" - exit 1 - fi - RUNTIME_RELEASE_VERSION=$(echo $GIT_TAG_NAME | sed 's/^runtime\///') - echo "making a new release for runtime "$RUNTIME_RELEASE_VERSION - echo "RUNTIME_RELEASE_VERSION=$RUNTIME_RELEASE_VERSION" >> $GITHUB_ENV - - name: Runtime Git SHA - run: | - RUNTIME_GIT_SHA=$(git rev-parse --short HEAD) - echo "runtime git sha "$RUNTIME_GIT_SHA - echo "RUNTIME_GIT_SHA=$RUNTIME_GIT_SHA" >> $GITHUB_ENV - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 - with: - role-to-assume: "${{ vars.AWS_ROLE }}" - role-session-name: CD_RUNTIME - aws-region: "${{ vars.AWS_REGION }}" - - name: Login to Amazon ECR - uses: aws-actions/amazon-ecr-login@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Build and push runtime docker image - uses: docker/build-push-action@v6 - with: - context: . - cache-from: type=gha - cache-to: type=gha,mode=max - platforms: linux/amd64,linux/arm64 - push: true - # see https://github.com/docker/build-push-action/issues/755 for why provenance=false - provenance: false - tags: ${{ vars.AWS_ACCOUNT_ID }}.dkr.ecr.${{ vars.AWS_REGION }}.amazonaws.com/hypermode/runtime:${{ env.RUNTIME_RELEASE_VERSION }}-${{ env.RUNTIME_GIT_SHA }} - build-args: | - RUNTIME_RELEASE_VERSION=${{ env.RUNTIME_RELEASE_VERSION }} diff --git a/.github/workflows/release-runtime.yaml b/.github/workflows/release-runtime.yaml index a9db78e03..626c597b7 100644 --- a/.github/workflows/release-runtime.yaml +++ b/.github/workflows/release-runtime.yaml @@ -38,6 +38,13 @@ jobs: MACOS_NOTARY_ISSUER_ID: "${{ secrets.MACOS_NOTARY_ISSUER_ID }}" MACOS_NOTARY_KEY_ID: "${{ secrets.MACOS_NOTARY_KEY_ID }}" MACOS_NOTARY_KEY: "${{ secrets.MACOS_NOTARY_KEY }}" + - name: Trigger event on hypermodeinc/hyp-cluster + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.REPO_DISPATCH_TOKEN }} + repository: hypermodeinc/hyp-cluster + event-type: release + client-payload: '{"repo": "${{ github.repository }}", "tag": "${{ github.ref_name }}"}' release-info: needs: release name: Generate Release Info diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c92759b7..981730313 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## UNRELEASED - Runtime - feat: Reduce logger output during development [#576](https://github.com/hypermodeinc/modus/pull/576) +- chore: Trigger internal release pipeline at the end of the release-runtime workflow [#577](https://github.com/hypermodeinc/modus/pull/577) ## 2024-11-08 - CLI 0.13.8 From 7aedfcb8131d3587c151c084706dc8b274b1443a Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Tue, 12 Nov 2024 12:07:46 -0800 Subject: [PATCH 14/19] feat: Add API explorer to runtime (#578) --- CHANGELOG.md | 1 + runtime/explorer/content/index.html | 69 +++++++++++++++++++++++++++++ runtime/explorer/explorer.go | 59 ++++++++++++++++++++++++ runtime/graphql/graphql.go | 9 ++++ runtime/httpserver/dynamicMux.go | 22 ++++++++- runtime/httpserver/server.go | 7 +++ 6 files changed, 165 insertions(+), 2 deletions(-) create mode 100644 runtime/explorer/content/index.html create mode 100644 runtime/explorer/explorer.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 981730313..ca1299695 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - feat: Reduce logger output during development [#576](https://github.com/hypermodeinc/modus/pull/576) - chore: Trigger internal release pipeline at the end of the release-runtime workflow [#577](https://github.com/hypermodeinc/modus/pull/577) +- feat: Add API explorer to runtime [#578](https://github.com/hypermodeinc/modus/pull/578) ## 2024-11-08 - CLI 0.13.8 diff --git a/runtime/explorer/content/index.html b/runtime/explorer/content/index.html new file mode 100644 index 000000000..4565f5843 --- /dev/null +++ b/runtime/explorer/content/index.html @@ -0,0 +1,69 @@ + + + + + + Modus API Explorer + + +

Modus API Explorer

+

+ This is the Modus API Explorer. You can use this tool to explore the API + and test the endpoints. +

+

Note, this works, but will soon be replaced by something much nicer!

+ +

Available Endpoints

+ + +

GraphQL Query

+ + + + +

Response

+ + + + + diff --git a/runtime/explorer/explorer.go b/runtime/explorer/explorer.go new file mode 100644 index 000000000..597f67d9d --- /dev/null +++ b/runtime/explorer/explorer.go @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Hypermode Inc. + * Licensed under the terms of the Apache License, Version 2.0 + * See the LICENSE file that accompanied this code for further details. + * + * SPDX-FileCopyrightText: 2024 Hypermode Inc. + * SPDX-License-Identifier: Apache-2.0 + */ + +package explorer + +import ( + "embed" + "io/fs" + "net/http" + + "github.com/hypermodeinc/modus/lib/manifest" + "github.com/hypermodeinc/modus/runtime/manifestdata" + "github.com/hypermodeinc/modus/runtime/utils" +) + +//go:embed content +var content embed.FS +var contentRoot, _ = fs.Sub(content, "content") + +var ExplorerHandler = http.HandlerFunc(explorerHandler) + +func explorerHandler(w http.ResponseWriter, r *http.Request) { + + mux := http.NewServeMux() + mux.Handle("/explorer/", http.StripPrefix("/explorer/", http.FileServerFS(contentRoot))) + mux.HandleFunc("/explorer/api/endpoints", endpointsHandler) + + mux.ServeHTTP(w, r) +} + +func endpointsHandler(w http.ResponseWriter, r *http.Request) { + + type endpoint struct { + ApiType string `json:"type"` + Name string `json:"name"` + Path string `json:"path"` + } + + m := manifestdata.GetManifest() + + endpoints := make([]endpoint, 0, len(m.Endpoints)) + for name, ep := range m.Endpoints { + switch ep.EndpointType() { + case manifest.EndpointTypeGraphQL: + info := ep.(manifest.GraphqlEndpointInfo) + endpoints = append(endpoints, endpoint{"GraphQL", name, info.Path}) + } + } + + utils.WriteJsonContentHeader(w) + j, _ := utils.JsonSerialize(endpoints) + _, _ = w.Write(j) +} diff --git a/runtime/graphql/graphql.go b/runtime/graphql/graphql.go index 98ae2aae6..4d34b0092 100644 --- a/runtime/graphql/graphql.go +++ b/runtime/graphql/graphql.go @@ -58,6 +58,15 @@ func Initialize() { } func handleGraphQLRequest(w http.ResponseWriter, r *http.Request) { + + // In dev, redirect non-GraphQL requests to the explorer + if config.IsDevEnvironment() && + r.Method == http.MethodGet && + !strings.Contains(r.Header.Get("Accept"), "application/json") { + http.Redirect(w, r, "/explorer", http.StatusTemporaryRedirect) + return + } + ctx := r.Context() // Read the incoming GraphQL request diff --git a/runtime/httpserver/dynamicMux.go b/runtime/httpserver/dynamicMux.go index 5bd07df1a..a844759e8 100644 --- a/runtime/httpserver/dynamicMux.go +++ b/runtime/httpserver/dynamicMux.go @@ -11,6 +11,7 @@ package httpserver import ( "net/http" + "strings" "sync" ) @@ -33,9 +34,26 @@ func (dm *dynamicMux) ServeHTTP(w http.ResponseWriter, r *http.Request) { if handler, ok := dm.routes[r.URL.Path]; ok { handler.ServeHTTP(w, r) - } else { - http.Error(w, "Endpoint not found", http.StatusNotFound) + return } + + path := strings.TrimSuffix(r.URL.Path, "/") + if path != r.URL.Path { + if _, ok := dm.routes[path]; ok { + http.Redirect(w, r, path, http.StatusMovedPermanently) + return + } + } + + for route, handler := range dm.routes { + if len(route) > 1 && strings.HasSuffix(route, "/") && + (strings.HasPrefix(r.URL.Path, route) || route == r.URL.Path+"/") { + handler.ServeHTTP(w, r) + return + } + } + + http.Error(w, "Not Found", http.StatusNotFound) } func (dm *dynamicMux) ReplaceRoutes(routes map[string]http.Handler) { diff --git a/runtime/httpserver/server.go b/runtime/httpserver/server.go index 9b605bc77..e2343dd93 100644 --- a/runtime/httpserver/server.go +++ b/runtime/httpserver/server.go @@ -23,6 +23,7 @@ import ( "github.com/hypermodeinc/modus/lib/manifest" "github.com/hypermodeinc/modus/runtime/app" "github.com/hypermodeinc/modus/runtime/config" + "github.com/hypermodeinc/modus/runtime/explorer" "github.com/hypermodeinc/modus/runtime/graphql" "github.com/hypermodeinc/modus/runtime/logger" "github.com/hypermodeinc/modus/runtime/manifestdata" @@ -132,6 +133,12 @@ func GetMainHandler(options ...func(map[string]http.Handler)) http.Handler { "/health": healthHandler, "/metrics": metrics.MetricsHandler, } + + if config.IsDevEnvironment() { + defaultRoutes["/explorer/"] = explorer.ExplorerHandler + defaultRoutes["/"] = http.RedirectHandler("/explorer/", http.StatusSeeOther) + } + for _, opt := range options { opt(defaultRoutes) } From 8c52269ab79264fa17161dfc6b06bad09ac1c792 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Tue, 12 Nov 2024 16:08:18 -0800 Subject: [PATCH 15/19] chore: fix dependabot.yml (#579) --- .github/dependabot.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 55b010fd9..6d044d1be 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ updates: schedule: interval: weekly day: wednesday - time: 16:00 + time: "16:00" groups: actions: update-types: @@ -31,7 +31,6 @@ updates: update-types: - minor - patch - - digest - package-ecosystem: npm versioning-strategy: increase @@ -42,14 +41,13 @@ updates: schedule: interval: weekly day: wednesday - time: 16:00 + time: "16:00" groups: minor-and-patch: applies-to: version-updates update-types: - minor - patch - - digest ignore: # We target Node.js 22 - dependency-name: "@types/node" From d46858346e6546ac6aec624dca58cb9a7e5dbc94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:15:35 -0800 Subject: [PATCH 16/19] Bump the minor-and-patch group across 10 directories with 3 updates (#580) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../anthropic-functions/package-lock.json | 58 +++++----- .../examples/anthropic-functions/package.json | 2 +- .../examples/classification/package-lock.json | 58 +++++----- .../examples/classification/package.json | 2 +- .../examples/collections/package-lock.json | 58 +++++----- .../examples/collections/package.json | 2 +- .../examples/dgraph/package-lock.json | 58 +++++----- .../examples/dgraph/package.json | 2 +- .../examples/embedding/package-lock.json | 58 +++++----- .../examples/embedding/package.json | 2 +- .../examples/graphql/package-lock.json | 58 +++++----- .../examples/graphql/package.json | 2 +- .../examples/http/package-lock.json | 58 +++++----- sdk/assemblyscript/examples/http/package.json | 2 +- .../examples/postgresql/package-lock.json | 58 +++++----- .../examples/postgresql/package.json | 2 +- .../examples/textgeneration/package-lock.json | 58 +++++----- .../examples/textgeneration/package.json | 2 +- sdk/assemblyscript/src/package-lock.json | 106 +++++++++--------- sdk/assemblyscript/src/package.json | 4 +- 20 files changed, 325 insertions(+), 325 deletions(-) diff --git a/sdk/assemblyscript/examples/anthropic-functions/package-lock.json b/sdk/assemblyscript/examples/anthropic-functions/package-lock.json index ef9abec0c..db629a1eb 100644 --- a/sdk/assemblyscript/examples/anthropic-functions/package-lock.json +++ b/sdk/assemblyscript/examples/anthropic-functions/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", @@ -37,16 +37,16 @@ "modus-as-build": "bin/build-plugin.js" }, "devDependencies": { - "@eslint/js": "^9.13.0", + "@eslint/js": "^9.14.0", "@types/eslint__js": "^8.42.3", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", - "eslint": "^9.13.0", + "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2", + "typescript-eslint": "^8.13.0", "visitor-as": "^0.11.4" }, "engines": { @@ -373,15 +373,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -401,13 +401,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -418,9 +418,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -431,13 +431,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -459,12 +459,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/sdk/assemblyscript/examples/anthropic-functions/package.json b/sdk/assemblyscript/examples/anthropic-functions/package.json index 2dccaf3e8..58fbb1a0d 100644 --- a/sdk/assemblyscript/examples/anthropic-functions/package.json +++ b/sdk/assemblyscript/examples/anthropic-functions/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", diff --git a/sdk/assemblyscript/examples/classification/package-lock.json b/sdk/assemblyscript/examples/classification/package-lock.json index c4b1fda38..c8fd61871 100644 --- a/sdk/assemblyscript/examples/classification/package-lock.json +++ b/sdk/assemblyscript/examples/classification/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", @@ -37,16 +37,16 @@ "modus-as-build": "bin/build-plugin.js" }, "devDependencies": { - "@eslint/js": "^9.13.0", + "@eslint/js": "^9.14.0", "@types/eslint__js": "^8.42.3", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", - "eslint": "^9.13.0", + "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2", + "typescript-eslint": "^8.13.0", "visitor-as": "^0.11.4" }, "engines": { @@ -2225,15 +2225,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -2253,13 +2253,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2270,9 +2270,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2283,13 +2283,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2311,12 +2311,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/sdk/assemblyscript/examples/classification/package.json b/sdk/assemblyscript/examples/classification/package.json index a665cab72..46936b5ff 100644 --- a/sdk/assemblyscript/examples/classification/package.json +++ b/sdk/assemblyscript/examples/classification/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", diff --git a/sdk/assemblyscript/examples/collections/package-lock.json b/sdk/assemblyscript/examples/collections/package-lock.json index 019b29aa8..b4c0d8691 100644 --- a/sdk/assemblyscript/examples/collections/package-lock.json +++ b/sdk/assemblyscript/examples/collections/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", @@ -37,16 +37,16 @@ "modus-as-build": "bin/build-plugin.js" }, "devDependencies": { - "@eslint/js": "^9.13.0", + "@eslint/js": "^9.14.0", "@types/eslint__js": "^8.42.3", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", - "eslint": "^9.13.0", + "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2", + "typescript-eslint": "^8.13.0", "visitor-as": "^0.11.4" }, "engines": { @@ -2225,15 +2225,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -2253,13 +2253,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2270,9 +2270,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2283,13 +2283,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2311,12 +2311,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/sdk/assemblyscript/examples/collections/package.json b/sdk/assemblyscript/examples/collections/package.json index a47f47391..63d3423a0 100644 --- a/sdk/assemblyscript/examples/collections/package.json +++ b/sdk/assemblyscript/examples/collections/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", diff --git a/sdk/assemblyscript/examples/dgraph/package-lock.json b/sdk/assemblyscript/examples/dgraph/package-lock.json index 3bb6d6f7d..7ccd2e151 100644 --- a/sdk/assemblyscript/examples/dgraph/package-lock.json +++ b/sdk/assemblyscript/examples/dgraph/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", @@ -37,16 +37,16 @@ "modus-as-build": "bin/build-plugin.js" }, "devDependencies": { - "@eslint/js": "^9.13.0", + "@eslint/js": "^9.14.0", "@types/eslint__js": "^8.42.3", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", - "eslint": "^9.13.0", + "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2", + "typescript-eslint": "^8.13.0", "visitor-as": "^0.11.4" }, "engines": { @@ -2225,15 +2225,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -2253,13 +2253,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2270,9 +2270,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2283,13 +2283,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2311,12 +2311,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/sdk/assemblyscript/examples/dgraph/package.json b/sdk/assemblyscript/examples/dgraph/package.json index ad4a150c2..31c964750 100644 --- a/sdk/assemblyscript/examples/dgraph/package.json +++ b/sdk/assemblyscript/examples/dgraph/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", diff --git a/sdk/assemblyscript/examples/embedding/package-lock.json b/sdk/assemblyscript/examples/embedding/package-lock.json index fa404cbe5..b90cd68e5 100644 --- a/sdk/assemblyscript/examples/embedding/package-lock.json +++ b/sdk/assemblyscript/examples/embedding/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", @@ -37,16 +37,16 @@ "modus-as-build": "bin/build-plugin.js" }, "devDependencies": { - "@eslint/js": "^9.13.0", + "@eslint/js": "^9.14.0", "@types/eslint__js": "^8.42.3", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", - "eslint": "^9.13.0", + "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2", + "typescript-eslint": "^8.13.0", "visitor-as": "^0.11.4" }, "engines": { @@ -2225,15 +2225,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -2253,13 +2253,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2270,9 +2270,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2283,13 +2283,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2311,12 +2311,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/sdk/assemblyscript/examples/embedding/package.json b/sdk/assemblyscript/examples/embedding/package.json index f7d1e1f8c..c6e8eb670 100644 --- a/sdk/assemblyscript/examples/embedding/package.json +++ b/sdk/assemblyscript/examples/embedding/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", diff --git a/sdk/assemblyscript/examples/graphql/package-lock.json b/sdk/assemblyscript/examples/graphql/package-lock.json index 06c0e3d12..4ddc7edf5 100644 --- a/sdk/assemblyscript/examples/graphql/package-lock.json +++ b/sdk/assemblyscript/examples/graphql/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", @@ -37,16 +37,16 @@ "modus-as-build": "bin/build-plugin.js" }, "devDependencies": { - "@eslint/js": "^9.13.0", + "@eslint/js": "^9.14.0", "@types/eslint__js": "^8.42.3", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", - "eslint": "^9.13.0", + "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2", + "typescript-eslint": "^8.13.0", "visitor-as": "^0.11.4" }, "engines": { @@ -2225,15 +2225,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -2253,13 +2253,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2270,9 +2270,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2283,13 +2283,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2311,12 +2311,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/sdk/assemblyscript/examples/graphql/package.json b/sdk/assemblyscript/examples/graphql/package.json index 6a9e78c52..a549f6b69 100644 --- a/sdk/assemblyscript/examples/graphql/package.json +++ b/sdk/assemblyscript/examples/graphql/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", diff --git a/sdk/assemblyscript/examples/http/package-lock.json b/sdk/assemblyscript/examples/http/package-lock.json index c21018363..436750031 100644 --- a/sdk/assemblyscript/examples/http/package-lock.json +++ b/sdk/assemblyscript/examples/http/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", @@ -37,16 +37,16 @@ "modus-as-build": "bin/build-plugin.js" }, "devDependencies": { - "@eslint/js": "^9.13.0", + "@eslint/js": "^9.14.0", "@types/eslint__js": "^8.42.3", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", - "eslint": "^9.13.0", + "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2", + "typescript-eslint": "^8.13.0", "visitor-as": "^0.11.4" }, "engines": { @@ -2225,15 +2225,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -2253,13 +2253,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2270,9 +2270,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2283,13 +2283,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2311,12 +2311,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/sdk/assemblyscript/examples/http/package.json b/sdk/assemblyscript/examples/http/package.json index 2277277d8..8bf256c37 100644 --- a/sdk/assemblyscript/examples/http/package.json +++ b/sdk/assemblyscript/examples/http/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", diff --git a/sdk/assemblyscript/examples/postgresql/package-lock.json b/sdk/assemblyscript/examples/postgresql/package-lock.json index 386b1b84e..ab03a3586 100644 --- a/sdk/assemblyscript/examples/postgresql/package-lock.json +++ b/sdk/assemblyscript/examples/postgresql/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", @@ -37,16 +37,16 @@ "modus-as-build": "bin/build-plugin.js" }, "devDependencies": { - "@eslint/js": "^9.13.0", + "@eslint/js": "^9.14.0", "@types/eslint__js": "^8.42.3", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", - "eslint": "^9.13.0", + "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2", + "typescript-eslint": "^8.13.0", "visitor-as": "^0.11.4" }, "engines": { @@ -2233,15 +2233,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -2261,13 +2261,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2278,9 +2278,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2291,13 +2291,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2319,12 +2319,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/sdk/assemblyscript/examples/postgresql/package.json b/sdk/assemblyscript/examples/postgresql/package.json index b2183ade0..2c77b2d11 100644 --- a/sdk/assemblyscript/examples/postgresql/package.json +++ b/sdk/assemblyscript/examples/postgresql/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", diff --git a/sdk/assemblyscript/examples/textgeneration/package-lock.json b/sdk/assemblyscript/examples/textgeneration/package-lock.json index a24cf20b3..8933426af 100644 --- a/sdk/assemblyscript/examples/textgeneration/package-lock.json +++ b/sdk/assemblyscript/examples/textgeneration/package-lock.json @@ -13,7 +13,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", @@ -37,16 +37,16 @@ "modus-as-build": "bin/build-plugin.js" }, "devDependencies": { - "@eslint/js": "^9.13.0", + "@eslint/js": "^9.14.0", "@types/eslint__js": "^8.42.3", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "as-test": "^0.3.5", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", - "eslint": "^9.13.0", + "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.12.2", + "typescript-eslint": "^8.13.0", "visitor-as": "^0.11.4" }, "engines": { @@ -2225,15 +2225,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -2253,13 +2253,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2270,9 +2270,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2283,13 +2283,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2311,12 +2311,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { diff --git a/sdk/assemblyscript/examples/textgeneration/package.json b/sdk/assemblyscript/examples/textgeneration/package.json index 768553636..f9e653c77 100644 --- a/sdk/assemblyscript/examples/textgeneration/package.json +++ b/sdk/assemblyscript/examples/textgeneration/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@eslint/js": "^9.13.0", "@types/eslint__js": "^8.42.3", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/parser": "^8.14.0", "assemblyscript": "^0.27.30", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.13.0", diff --git a/sdk/assemblyscript/src/package-lock.json b/sdk/assemblyscript/src/package-lock.json index 4efec7de9..23e140178 100644 --- a/sdk/assemblyscript/src/package-lock.json +++ b/sdk/assemblyscript/src/package-lock.json @@ -22,12 +22,12 @@ "@types/eslint__js": "^8.42.3", "@types/node": "^22.9.0", "as-test": "^0.3.5", - "assemblyscript": "^0.27.30", + "assemblyscript": "^0.27.31", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.13.0", + "typescript-eslint": "^8.14.0", "visitor-as": "^0.11.4" }, "engines": { @@ -342,16 +342,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz", - "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.14.0.tgz", + "integrity": "sha512-tqp8H7UWFaZj0yNO6bycd5YjMwxa6wIHOLZvWPkidwbgLCsBMetQoGj7DPuAlWa2yGO3H48xmPwjhsSPPCGU5w==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/type-utils": "8.13.0", - "@typescript-eslint/utils": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/type-utils": "8.14.0", + "@typescript-eslint/utils": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -375,15 +375,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -403,13 +403,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -420,13 +420,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz", - "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.14.0.tgz", + "integrity": "sha512-Xcz9qOtZuGusVOH5Uk07NGs39wrKkf3AxlkK79RBK6aJC1l03CobXjJbwBPSidetAOV+5rEVuiT1VSBUOAsanQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/utils": "8.13.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/utils": "8.14.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -444,9 +444,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -457,13 +457,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -500,15 +500,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.13.0.tgz", - "integrity": "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.14.0.tgz", + "integrity": "sha512-OGqj6uB8THhrHj0Fk27DcHPojW7zKwKkPmHXHvQ58pLYp4hy8CSUdTKykKeh+5vFqTTVmjz0zCOOPKRovdsgHA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0" + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -522,12 +522,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -696,9 +696,9 @@ "license": "MIT" }, "node_modules/assemblyscript": { - "version": "0.27.30", - "resolved": "https://registry.npmjs.org/assemblyscript/-/assemblyscript-0.27.30.tgz", - "integrity": "sha512-tSlwbLEDM1X+w/6/Y2psc3sEg9/7r+m7xv44G6FI2G/w1MNnnulLxcPo7FN0kVIBoD/oxCiRFGaQAanFY0gPhA==", + "version": "0.27.31", + "resolved": "https://registry.npmjs.org/assemblyscript/-/assemblyscript-0.27.31.tgz", + "integrity": "sha512-Ra8kiGhgJQGZcBxjtMcyVRxOEJZX64kd+XGpjWzjcjgxWJVv+CAQO0aDBk4GQVhjYbOkATarC83mHjAVGtwPBQ==", "dev": true, "dependencies": { "binaryen": "116.0.0-nightly.20240114", @@ -1937,14 +1937,14 @@ } }, "node_modules/typescript-eslint": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.13.0.tgz", - "integrity": "sha512-vIMpDRJrQd70au2G8w34mPps0ezFSPMEX4pXkTzUkrNbRX+36ais2ksGWN0esZL+ZMaFJEneOBHzCgSqle7DHw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.14.0.tgz", + "integrity": "sha512-K8fBJHxVL3kxMmwByvz8hNdBJ8a0YqKzKDX6jRlrjMuNXyd5T2V02HIq37+OiWXvUUOXgOOGiSSOh26Mh8pC3w==", "dev": true, "dependencies": { - "@typescript-eslint/eslint-plugin": "8.13.0", - "@typescript-eslint/parser": "8.13.0", - "@typescript-eslint/utils": "8.13.0" + "@typescript-eslint/eslint-plugin": "8.14.0", + "@typescript-eslint/parser": "8.14.0", + "@typescript-eslint/utils": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" diff --git a/sdk/assemblyscript/src/package.json b/sdk/assemblyscript/src/package.json index ab3c900a8..8ae4c48df 100644 --- a/sdk/assemblyscript/src/package.json +++ b/sdk/assemblyscript/src/package.json @@ -30,12 +30,12 @@ "@types/eslint__js": "^8.42.3", "@types/node": "^22.9.0", "as-test": "^0.3.5", - "assemblyscript": "^0.27.30", + "assemblyscript": "^0.27.31", "assemblyscript-prettier": "^3.0.1", "eslint": "^9.14.0", "prettier": "^3.3.3", "typescript": "^5.6.3", - "typescript-eslint": "^8.13.0", + "typescript-eslint": "^8.14.0", "visitor-as": "^0.11.4" }, "overrides": { From 9f9560fa0de83bcf9e0ff371bc29abf64713bfff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:17:54 -0800 Subject: [PATCH 17/19] Bump the minor-and-patch group across 2 directories with 8 updates (#581) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- runtime/go.mod | 32 ++++++++++++------------ runtime/go.sum | 66 ++++++++++++++++++++++++++------------------------ sdk/go/go.mod | 8 +++--- sdk/go/go.sum | 16 ++++++------ 4 files changed, 62 insertions(+), 60 deletions(-) diff --git a/runtime/go.mod b/runtime/go.mod index f420021bc..e61ff8f7a 100644 --- a/runtime/go.mod +++ b/runtime/go.mod @@ -11,13 +11,13 @@ require ( require ( github.com/OneOfOne/xxhash v1.2.8 github.com/archdx/zerolog-sentry v1.8.5 - github.com/aws/aws-sdk-go-v2 v1.32.3 - github.com/aws/aws-sdk-go-v2/config v1.28.1 - github.com/aws/aws-sdk-go-v2/service/s3 v1.66.2 - github.com/aws/aws-sdk-go-v2/service/sts v1.32.3 + github.com/aws/aws-sdk-go-v2 v1.32.4 + github.com/aws/aws-sdk-go-v2/config v1.28.3 + github.com/aws/aws-sdk-go-v2/service/s3 v1.66.3 + github.com/aws/aws-sdk-go-v2/service/sts v1.32.4 github.com/buger/jsonparser v1.1.1 github.com/chewxy/math32 v1.11.1 - github.com/dgraph-io/dgo/v240 v240.0.0 + github.com/dgraph-io/dgo/v240 v240.0.1 github.com/docker/docker v27.3.1+incompatible github.com/docker/go-connections v0.5.0 github.com/fatih/color v1.18.0 @@ -46,24 +46,24 @@ require ( github.com/wundergraph/graphql-go-tools/execution v1.0.10-0.20241106142005-ef9f492df7ad github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.118 golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c - google.golang.org/grpc v1.67.1 + google.golang.org/grpc v1.68.0 ) require ( github.com/Microsoft/go-winio v0.6.2 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.6 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.42 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.18 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.22 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.22 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.44 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.19 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.23 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.23 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.22 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.23 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.0 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.3 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.3 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.3 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.24.3 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.3 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.4 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.4 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.4 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.24.5 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.4 // indirect github.com/aws/smithy-go v1.22.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect diff --git a/runtime/go.sum b/runtime/go.sum index 790c5ef80..7993ceb93 100644 --- a/runtime/go.sum +++ b/runtime/go.sum @@ -13,40 +13,40 @@ github.com/agnivade/levenshtein v1.1.1 h1:QY8M92nrzkmr798gCo3kmMyqXFzdQVpxLlGPRB github.com/agnivade/levenshtein v1.1.1/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo= github.com/archdx/zerolog-sentry v1.8.5 h1:W24e5+yfZiQ83yd9OjBw+o6ERUzyUlCpoBS97gUlwK8= github.com/archdx/zerolog-sentry v1.8.5/go.mod h1:XrFHGe1CH5DQk/XSySu/IJSi5C9XR6+zpc97zVf/c4c= -github.com/aws/aws-sdk-go-v2 v1.32.3 h1:T0dRlFBKcdaUPGNtkBSwHZxrtis8CQU17UpNBZYd0wk= -github.com/aws/aws-sdk-go-v2 v1.32.3/go.mod h1:2SK5n0a2karNTv5tbP1SjsX0uhttou00v/HpXKM1ZUo= +github.com/aws/aws-sdk-go-v2 v1.32.4 h1:S13INUiTxgrPueTmrm5DZ+MiAo99zYzHEFh1UNkOxNE= +github.com/aws/aws-sdk-go-v2 v1.32.4/go.mod h1:2SK5n0a2karNTv5tbP1SjsX0uhttou00v/HpXKM1ZUo= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.6 h1:pT3hpW0cOHRJx8Y0DfJUEQuqPild8jRGmSFmBgvydr0= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.6/go.mod h1:j/I2++U0xX+cr44QjHay4Cvxj6FUbnxrgmqN3H1jTZA= -github.com/aws/aws-sdk-go-v2/config v1.28.1 h1:oxIvOUXy8x0U3fR//0eq+RdCKimWI900+SV+10xsCBw= -github.com/aws/aws-sdk-go-v2/config v1.28.1/go.mod h1:bRQcttQJiARbd5JZxw6wG0yIK3eLeSCPdg6uqmmlIiI= -github.com/aws/aws-sdk-go-v2/credentials v1.17.42 h1:sBP0RPjBU4neGpIYyx8mkU2QqLPl5u9cmdTWVzIpHkM= -github.com/aws/aws-sdk-go-v2/credentials v1.17.42/go.mod h1:FwZBfU530dJ26rv9saAbxa9Ej3eF/AK0OAY86k13n4M= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.18 h1:68jFVtt3NulEzojFesM/WVarlFpCaXLKaBxDpzkQ9OQ= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.18/go.mod h1:Fjnn5jQVIo6VyedMc0/EhPpfNlPl7dHV916O6B+49aE= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.22 h1:Jw50LwEkVjuVzE1NzkhNKkBf9cRN7MtE1F/b2cOKTUM= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.22/go.mod h1:Y/SmAyPcOTmpeVaWSzSKiILfXTVJwrGmYZhcRbhWuEY= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.22 h1:981MHwBaRZM7+9QSR6XamDzF/o7ouUGxFzr+nVSIhrs= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.22/go.mod h1:1RA1+aBEfn+CAB/Mh0MB6LsdCYCnjZm7tKXtnk499ZQ= +github.com/aws/aws-sdk-go-v2/config v1.28.3 h1:kL5uAptPcPKaJ4q0sDUjUIdueO18Q7JDzl64GpVwdOM= +github.com/aws/aws-sdk-go-v2/config v1.28.3/go.mod h1:SPEn1KA8YbgQnwiJ/OISU4fz7+F6Fe309Jf0QTsRCl4= +github.com/aws/aws-sdk-go-v2/credentials v1.17.44 h1:qqfs5kulLUHUEXlHEZXLJkgGoF3kkUeFUTVA585cFpU= +github.com/aws/aws-sdk-go-v2/credentials v1.17.44/go.mod h1:0Lm2YJ8etJdEdw23s+q/9wTpOeo2HhNE97XcRa7T8MA= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.19 h1:woXadbf0c7enQ2UGCi8gW/WuKmE0xIzxBF/eD94jMKQ= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.19/go.mod h1:zminj5ucw7w0r65bP6nhyOd3xL6veAUMc3ElGMoLVb4= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.23 h1:A2w6m6Tmr+BNXjDsr7M90zkWjsu4JXHwrzPg235STs4= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.23/go.mod h1:35EVp9wyeANdujZruvHiQUAo9E3vbhnIO1mTCAxMlY0= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.23 h1:pgYW9FCabt2M25MoHYCfMrVY2ghiiBKYWUVXfwZs+sU= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.23/go.mod h1:c48kLgzO19wAu3CPkDWC28JbaJ+hfQlsdl7I2+oqIbk= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 h1:VaRN3TlFdd6KxX1x3ILT5ynH6HvKgqdiXoTxAF4HQcQ= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1/go.mod h1:FbtygfRFze9usAadmnGJNc8KsP346kEe+y2/oyhGAGc= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.22 h1:yV+hCAHZZYJQcwAaszoBNwLbPItHvApxT0kVIw6jRgs= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.22/go.mod h1:kbR1TL8llqB1eGnVbybcA4/wgScxdylOdyAd51yxPdw= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.23 h1:1SZBDiRzzs3sNhOMVApyWPduWYGAX0imGy06XiBnCAM= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.23/go.mod h1:i9TkxgbZmHVh2S0La6CAXtnyFhlCX/pJ0JsOvBAS6Mk= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.0 h1:TToQNkvGguu209puTojY/ozlqy2d/SFNcoLIqTFi42g= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.0/go.mod h1:0jp+ltwkf+SwG2fm/PKo8t4y8pJSgOCO4D8Lz3k0aHQ= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.3 h1:kT6BcZsmMtNkP/iYMcRG+mIEA/IbeiUimXtGmqF39y0= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.3/go.mod h1:Z8uGua2k4PPaGOYn66pK02rhMrot3Xk3tpBuUFPomZU= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.3 h1:qcxX0JYlgWH3hpPUnd6U0ikcl6LLA9sLkXE2w1fpMvY= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.3/go.mod h1:cLSNEmI45soc+Ef8K/L+8sEA3A3pYFEYf5B5UI+6bH4= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.3 h1:ZC7Y/XgKUxwqcdhO5LE8P6oGP1eh6xlQReWNKfhvJno= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.3/go.mod h1:WqfO7M9l9yUAw0HcHaikwRd/H6gzYdz7vjejCA5e2oY= -github.com/aws/aws-sdk-go-v2/service/s3 v1.66.2 h1:p9TNFL8bFUMd+38YIpTAXpoxyz0MxC7FlbFEH4P4E1U= -github.com/aws/aws-sdk-go-v2/service/s3 v1.66.2/go.mod h1:fNjyo0Coen9QTwQLWeV6WO2Nytwiu+cCcWaTdKCAqqE= -github.com/aws/aws-sdk-go-v2/service/sso v1.24.3 h1:UTpsIf0loCIWEbrqdLb+0RxnTXfWh2vhw4nQmFi4nPc= -github.com/aws/aws-sdk-go-v2/service/sso v1.24.3/go.mod h1:FZ9j3PFHHAR+w0BSEjK955w5YD2UwB/l/H0yAK3MJvI= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.3 h1:2YCmIXv3tmiItw0LlYf6v7gEHebLY45kBEnPezbUKyU= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.3/go.mod h1:u19stRyNPxGhj6dRm+Cdgu6N75qnbW7+QN0q0dsAk58= -github.com/aws/aws-sdk-go-v2/service/sts v1.32.3 h1:wVnQ6tigGsRqSWDEEyH6lSAJ9OyFUsSnbaUWChuSGzs= -github.com/aws/aws-sdk-go-v2/service/sts v1.32.3/go.mod h1:VZa9yTFyj4o10YGsmDO4gbQJUvvhY72fhumT8W4LqsE= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.4 h1:aaPpoG15S2qHkWm4KlEyF01zovK1nW4BBbyXuHNSE90= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.4/go.mod h1:eD9gS2EARTKgGr/W5xwgY/ik9z/zqpW+m/xOQbVxrMk= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.4 h1:tHxQi/XHPK0ctd/wdOw0t7Xrc2OxcRCnVzv8lwWPu0c= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.4/go.mod h1:4GQbF1vJzG60poZqWatZlhP31y8PGCCVTvIGPdaaYJ0= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.4 h1:E5ZAVOmI2apR8ADb72Q63KqwwwdW1XcMeXIlrZ1Psjg= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.4/go.mod h1:wezzqVUOVVdk+2Z/JzQT4NxAU0NbhRe5W8pIE72jsWI= +github.com/aws/aws-sdk-go-v2/service/s3 v1.66.3 h1:neNOYJl72bHrz9ikAEED4VqWyND/Po0DnEx64RW6YM4= +github.com/aws/aws-sdk-go-v2/service/s3 v1.66.3/go.mod h1:TMhLIyRIyoGVlaEMAt+ITMbwskSTpcGsCPDq91/ihY0= +github.com/aws/aws-sdk-go-v2/service/sso v1.24.5 h1:HJwZwRt2Z2Tdec+m+fPjvdmkq2s9Ra+VR0hjF7V2o40= +github.com/aws/aws-sdk-go-v2/service/sso v1.24.5/go.mod h1:wrMCEwjFPms+V86TCQQeOxQF/If4vT44FGIOFiMC2ck= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.4 h1:zcx9LiGWZ6i6pjdcoE9oXAB6mUdeyC36Ia/QEiIvYdg= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.4/go.mod h1:Tp/ly1cTjRLGBBmNccFumbZ8oqpZlpdhFf80SrRh4is= +github.com/aws/aws-sdk-go-v2/service/sts v1.32.4 h1:yDxvkz3/uOKfxnv8YhzOi9m+2OGIxF+on3KOISbK5IU= +github.com/aws/aws-sdk-go-v2/service/sts v1.32.4/go.mod h1:9XEUty5v5UAsMiFOBJrNibZgwCeOma73jgGwwhgffa8= github.com/aws/smithy-go v1.22.0 h1:uunKnWlcoL3zO7q+gG2Pk53joueEOsnNB28QdMsmiMM= github.com/aws/smithy-go v1.22.0/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= @@ -69,8 +69,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 h1:rpfIENRNNilwHwZeG5+P150SMrnNEcHYvcCuK6dPZSg= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0= -github.com/dgraph-io/dgo/v240 v240.0.0 h1:LgpaQoQuM8YD3/oHjjqzCfORPlw34OnIcA/jMiKuDJc= -github.com/dgraph-io/dgo/v240 v240.0.0/go.mod h1:YrKW6k5cJpG6qP+MtNlXBogNMTupDmnnmiF6heC0Uao= +github.com/dgraph-io/dgo/v240 v240.0.1 h1:R0d9Cao3MOghrC9RVXshw6v8Jr/IjKgU2mK9sR9nclc= +github.com/dgraph-io/dgo/v240 v240.0.1/go.mod h1:urpjhWGdYVSVQAwd000iu4wHyHPpuHpwJ7aILsuGF5A= github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk= github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= github.com/dlclark/regexp2 v1.11.4 h1:rPYF9/LECdNymJufQKmri9gV604RvvABwgOA8un7yAo= @@ -119,6 +119,8 @@ github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17w github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/pprof v0.0.0-20241101162523-b92577c0c142 h1:sAGdeJj0bnMgUNVeUpp6AYlVdCt3/GdI3pGRqsNSQLs= @@ -380,8 +382,8 @@ google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1: google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4= google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE= google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= -google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= -google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= +google.golang.org/grpc v1.68.0 h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0= +google.golang.org/grpc v1.68.0/go.mod h1:fmSPC5AsjSBCK54MyHRx48kpOti1/jRfOlwEWywNjWA= google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/cenkalti/backoff.v1 v1.1.0 h1:Arh75ttbsvlpVA7WtVpH4u9h6Zl46xuptxqLxPiSo4Y= diff --git a/sdk/go/go.mod b/sdk/go/go.mod index 237a75ff3..916a2e318 100644 --- a/sdk/go/go.mod +++ b/sdk/go/go.mod @@ -13,8 +13,8 @@ require ( github.com/rs/xid v1.6.0 github.com/tidwall/sjson v1.2.5 golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c - golang.org/x/mod v0.21.0 - golang.org/x/tools v0.26.0 + golang.org/x/mod v0.22.0 + golang.org/x/tools v0.27.0 ) require ( @@ -25,6 +25,6 @@ require ( github.com/tidwall/jsonc v0.3.2 // indirect github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.1 // indirect - golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.26.0 // indirect + golang.org/x/sync v0.9.0 // indirect + golang.org/x/sys v0.27.0 // indirect ) diff --git a/sdk/go/go.sum b/sdk/go/go.sum index 3835e0e9d..6764bddd0 100644 --- a/sdk/go/go.sum +++ b/sdk/go/go.sum @@ -29,13 +29,13 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBnqWrJc+rq0DPKyvvdbY= golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= -golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= -golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= -golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= -golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= +golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= +golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ= +golang.org/x/sync v0.9.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= -golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ= -golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0= +golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= +golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/tools v0.27.0 h1:qEKojBykQkQ4EynWy4S8Weg69NumxKdn40Fce3uc/8o= +golang.org/x/tools v0.27.0/go.mod h1:sUi0ZgbwW9ZPAq26Ekut+weQPR5eIM6GQLQ1Yjm1H0Q= From 62f222b68c87b16ac27f1f68932e2403421d0e6e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:23:03 -0800 Subject: [PATCH 18/19] Bump github.com/wundergraph/graphql-go-tools/v2 from 2.0.0-rc.118 to 2.0.0-rc.122 in /runtime (#582) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- runtime/go.mod | 4 ++-- runtime/go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/go.mod b/runtime/go.mod index e61ff8f7a..2878d728e 100644 --- a/runtime/go.mod +++ b/runtime/go.mod @@ -44,7 +44,7 @@ require ( github.com/tidwall/sjson v1.2.5 github.com/viterin/vek v0.4.2 github.com/wundergraph/graphql-go-tools/execution v1.0.10-0.20241106142005-ef9f492df7ad - github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.118 + github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.122 golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c google.golang.org/grpc v1.68.0 ) @@ -115,7 +115,7 @@ require ( github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.1 // indirect github.com/viterin/partial v1.1.0 // indirect - github.com/wundergraph/astjson v0.0.0-20241105103047-3b2e8a2b2779 // indirect + github.com/wundergraph/astjson v0.0.0-20241108124845-44485579ffa5 // indirect github.com/wundergraph/cosmo/composition-go v0.0.0-20241106155333-133ea404e4b4 // indirect github.com/wundergraph/cosmo/router v0.0.0-20241106155333-133ea404e4b4 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 // indirect diff --git a/runtime/go.sum b/runtime/go.sum index 7993ceb93..89523335e 100644 --- a/runtime/go.sum +++ b/runtime/go.sum @@ -283,16 +283,16 @@ github.com/viterin/partial v1.1.0 h1:iH1l1xqBlapXsYzADS1dcbizg3iQUKTU1rbwkHv/80E github.com/viterin/partial v1.1.0/go.mod h1:oKGAo7/wylWkJTLrWX8n+f4aDPtQMQ6VG4dd2qur5QA= github.com/viterin/vek v0.4.2 h1:Vyv04UjQT6gcjEFX82AS9ocgNbAJqsHviheIBdPlv5U= github.com/viterin/vek v0.4.2/go.mod h1:A4JRAe8OvbhdzBL5ofzjBS0J29FyUrf95tQogvtHHUc= -github.com/wundergraph/astjson v0.0.0-20241105103047-3b2e8a2b2779 h1:c9pa8s5eOFEOBH9Vs+VsP4EcsdcHzAaDKooHBdUmmK0= -github.com/wundergraph/astjson v0.0.0-20241105103047-3b2e8a2b2779/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE= +github.com/wundergraph/astjson v0.0.0-20241108124845-44485579ffa5 h1:rc+IQxG3rrAXEjBywirkzhKkyCKvXLGQXABVD8GiUtU= +github.com/wundergraph/astjson v0.0.0-20241108124845-44485579ffa5/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE= github.com/wundergraph/cosmo/composition-go v0.0.0-20241106155333-133ea404e4b4 h1:8ZUyqzjdsqG9496b9Q+9m7amUak7mypx/bjK7jdNRcQ= github.com/wundergraph/cosmo/composition-go v0.0.0-20241106155333-133ea404e4b4/go.mod h1:teSdLPh39lkhQ/DZ5G/MPhIAU1xzBIMzKKE8TM0OrCc= github.com/wundergraph/cosmo/router v0.0.0-20241106155333-133ea404e4b4 h1:ejia5BprUyIC+Cs4GbGAWJ/uK5QFS2aYeQ/g8gAJM78= github.com/wundergraph/cosmo/router v0.0.0-20241106155333-133ea404e4b4/go.mod h1:bwgVSN34XUwGgC+cYJZ3fTxjE9IkxxgiovwYQ1uBc7U= github.com/wundergraph/graphql-go-tools/execution v1.0.10-0.20241106142005-ef9f492df7ad h1:Ub/TQLtwkWku7IyNEd+yDdSYMQmXZvgZ7OyBr2YW1cY= github.com/wundergraph/graphql-go-tools/execution v1.0.10-0.20241106142005-ef9f492df7ad/go.mod h1:Q4iYpQk38jFK4Xct0Uq9ekWOUbLFNAKdg7s3RcWFUTM= -github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.118 h1:optJlvvtpsgEzVHxZ+qK3vOyG5opBO19v8BN5GRIbEg= -github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.118/go.mod h1:pHVdSaLkOojjB430etHK1+11QT3buqd2q/0rzWpkBIA= +github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.122 h1:nOjGdtP7LkVUq6TxY06yS28gelS4P4YtFtGPLDRYSYA= +github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.122/go.mod h1:s4r/lhVEU5s0c6tCgpR0hK6FHEmX0cbrKcMU1pMc/ZI= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 h1:UP6IpuHFkUgOQL9FFQFrZ+5LiwhhYRbi7VZSIx6Nj5s= From b2f58309ec11c875ddd977de1f5bd673d02b7db9 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Tue, 12 Nov 2024 21:03:06 -0800 Subject: [PATCH 19/19] chore: fix example (#583) --- sdk/go/examples/http/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/go/examples/http/main.go b/sdk/go/examples/http/main.go index 3a1a8a993..cfa51cae7 100644 --- a/sdk/go/examples/http/main.go +++ b/sdk/go/examples/http/main.go @@ -121,7 +121,7 @@ func CreateGithubIssue(owner, repo, title, body string) (*Issue, error) { } // The response will contain the issue data, including the URL of the issue on GitHub. - var issue *Issue - response.JSON(issue) - return issue, nil + var issue Issue + response.JSON(&issue) + return &issue, nil }