fix(console): pin buf gen versions (#10542)

Fix: Pin buf protoc plugin versions to resolve runtime protobuf
compatibility issues

# Which Problems Are Solved

The console application was experiencing a runtime error "requireUtf8 is
not a function" when the authentication service attempted to deserialize
protobuf messages. This error started occurring recently due to
automatic updates of buf protoc plugins.

# How the Problems Are Solved

pinning of the versions in buf.gen.yml and package.json

(cherry picked from commit cf02c4231a)
This commit is contained in:
Max Peintner
2025-08-21 17:32:15 +02:00
committed by Livio Spring
parent 1df24bebfe
commit e3316354b0
3 changed files with 1953 additions and 1865 deletions

View File

@@ -3,10 +3,10 @@ version: v1
managed:
enabled: true
plugins:
- plugin: buf.build/protocolbuffers/js
- plugin: buf.build/protocolbuffers/js:v3.21.4
out: src/app/proto/generated
opt: import_style=commonjs,binary
- plugin: buf.build/grpc/web
- plugin: buf.build/grpc/web:v1.5.0
out: src/app/proto/generated
opt: import_style=typescript,mode=grpcweb
- plugin: buf.build/grpc-ecosystem/openapiv2

View File

@@ -27,9 +27,9 @@
"@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^16.2.12",
"@angular/service-worker": "^16.2.12",
"@bufbuild/protobuf": "^2.6.1",
"@connectrpc/connect": "^2.0.0",
"@connectrpc/connect-web": "^2.0.0",
"@bufbuild/protobuf": "2.6.3",
"@connectrpc/connect": "~2.0.0",
"@connectrpc/connect-web": "~2.0.0",
"@ctrl/ngx-codemirror": "^6.1.0",
"@fortawesome/angular-fontawesome": "^0.13.0",
"@fortawesome/fontawesome-svg-core": "^6.7.2",
@@ -43,8 +43,8 @@
"codemirror": "^5.65.19",
"file-saver": "^2.0.5",
"flag-icons": "^7.3.2",
"google-protobuf": "^3.21.4",
"grpc-web": "^1.5.0",
"google-protobuf": "~3.21.4",
"grpc-web": "~1.5.0",
"i18n-iso-countries": "^7.14.0",
"libphonenumber-js": "^1.12.6",
"material-design-icons-iconfont": "^6.7.0",
@@ -68,10 +68,10 @@
"@angular/cli": "^16.2.15",
"@angular/compiler-cli": "^16.2.5",
"@angular/language-service": "^18.2.4",
"@bufbuild/buf": "^1.55.1",
"@bufbuild/buf": "~1.55.1",
"@netlify/framework-info": "^9.8.13",
"@types/file-saver": "^2.0.7",
"@types/google-protobuf": "^3.15.3",
"@types/google-protobuf": "~3.15.12",
"@types/jasmine": "~5.1.4",
"@types/jasminewd2": "~2.0.13",
"@types/jsonwebtoken": "^9.0.6",

3800
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff