ts-proto 2.12.2 → 2.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -143,11 +143,13 @@ function generateNestjsGrpcServiceMethodsDecorator(ctx, serviceDesc) {
143
143
  for (const method of grpcMethods) {
144
144
  const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
145
145
  ${GrpcMethod}('${serviceDesc.name}', method)(constructor.prototype[method], method, descriptor);
146
+ Object.defineProperty(constructor.prototype, method, descriptor);
146
147
  }
147
148
  const grpcStreamMethods: string[] = [${grpcStreamMethods.join(", ")}];
148
149
  for (const method of grpcStreamMethods) {
149
150
  const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
150
151
  ${GrpcStreamMethod}('${serviceDesc.name}', method)(constructor.prototype[method], method, descriptor);
152
+ Object.defineProperty(constructor.prototype, method, descriptor);
151
153
  }
152
154
  };
153
155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-proto",
3
- "version": "2.12.2",
3
+ "version": "2.12.3",
4
4
  "description": "",
5
5
  "main": "build/src/plugin.js",
6
6
  "repository": "github:stephenh/ts-proto",
@@ -28,46 +28,47 @@
28
28
  "author": "",
29
29
  "license": "ISC",
30
30
  "devDependencies": {
31
- "@grpc/grpc-js": "^1.8.17",
32
- "@grpc/proto-loader": "^0.7.8",
33
- "@improbable-eng/grpc-web": "^0.14.1",
34
- "@improbable-eng/grpc-web-node-http-transport": "^0.14.1",
35
- "@nestjs/common": "^9.4.3",
36
- "@nestjs/core": "^9.4.3",
37
- "@nestjs/microservices": "^9.4.3",
38
- "@semantic-release/changelog": "^6.0.3",
31
+ "@grpc/grpc-js": "^1.14.4",
32
+ "@grpc/proto-loader": "^0.8.1",
33
+ "@improbable-eng/grpc-web": "^0.15.0",
34
+ "@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
35
+ "@nestjs/common": "^11.2.3",
36
+ "@nestjs/core": "^11.2.3",
37
+ "@nestjs/microservices": "^11.2.3",
38
+ "@semantic-release/changelog": "^7.0.0",
39
39
  "@semantic-release/commit-analyzer": "^13.0.1",
40
40
  "@semantic-release/exec": "^7.1.0",
41
- "@semantic-release/git": "^10.0.1",
42
- "@semantic-release/github": "^12.0.2",
43
- "@semantic-release/npm": "^13.1.3",
44
- "@semantic-release/release-notes-generator": "^14.1.0",
45
- "@tsconfig/strictest": "^2.0.1",
46
- "@types/jest": "^29.5.3",
47
- "@types/node": "^16.18.38",
48
- "@types/object-hash": "^3.0.2",
49
- "chokidar": "^3.5.3",
50
- "conventional-changelog-conventionalcommits": "^8.0.0",
51
- "dataloader": "^2.2.2",
52
- "jest": "^29.6.1",
53
- "jest-ts-webcompat-resolver": "^1.0.0",
54
- "mongodb": "^5.7.0",
41
+ "@semantic-release/git": "^11.0.1",
42
+ "@semantic-release/github": "^12.0.9",
43
+ "@semantic-release/npm": "^13.1.5",
44
+ "@semantic-release/release-notes-generator": "^14.1.1",
45
+ "@tsconfig/strictest": "^2.0.8",
46
+ "@types/jest": "^30.0.0",
47
+ "@types/node": "^22.20.1",
48
+ "@types/object-hash": "^3.0.6",
49
+ "chokidar": "^5.0.0",
50
+ "conventional-changelog-conventionalcommits": "^10.4.0",
51
+ "dataloader": "^2.2.3",
52
+ "jest": "^30.5.1",
53
+ "jest-ts-webcompat-resolver": "^1.0.1",
54
+ "long": "^5.3.2",
55
+ "mongodb": "^7.6.0",
55
56
  "nano-date": "^4.1.0",
56
- "nice-grpc": "^2.1.4",
57
+ "nice-grpc": "^2.1.17",
57
58
  "object-hash": "^3.0.0",
58
- "prettier": "^3.5.3",
59
+ "prettier": "^3.9.6",
59
60
  "prettier-legacy": "npm:prettier@2.8.8",
60
- "protobufjs": "^7.2.4",
61
- "protobufjs-cli": "^1.1.1",
62
- "reflect-metadata": "^0.1.13",
63
- "rxjs": "^7.8.1",
64
- "semantic-release": "^25.0.2",
61
+ "protobufjs": "^7.6.6",
62
+ "protobufjs-cli": "^1.3.3",
63
+ "reflect-metadata": "^0.2.2",
64
+ "rxjs": "^7.8.2",
65
+ "semantic-release": "^25.0.9",
65
66
  "temporal-polyfill": "^0.3.0",
66
67
  "temporal-spec": "^0.3.0",
67
- "ts-jest": "^29.3.4",
68
- "tsx": "^4.19.4",
69
- "typescript": "^5.8.3",
70
- "uglify-js": "^3.17.4"
68
+ "ts-jest": "^29.4.12",
69
+ "tsx": "^4.23.13",
70
+ "typescript": "^5.9.0",
71
+ "uglify-js": "^3.19.3"
71
72
  },
72
73
  "dependencies": {
73
74
  "@bufbuild/protobuf": "^2.14.1",