Connect for ECMAScript 1

Last reviewed Sep 20, 2026

Export as PDF

Prompt Details

Prompt Composition

3prompts
  1. JavaScript ES2026102 lines · 3.1K tokens
  2. Node.js 24101 lines · 5.3K tokens
  3. Connect for ECMAScript 189 lines · 4K tokens
Total292 lines · 12.4K tokens

CWE Coverage

  • 20
  • 22
  • 59
  • 78
  • 79
  • 88
  • 89
  • 95
  • 113
  • 117
  • 203
  • 208
  • 209
  • 214
  • 250
  • 287
  • 295
  • 297
  • 319
  • 323
  • 330
  • 338
  • 346
  • 347
  • 352
  • 354
  • 362
  • 367
  • 377
  • 426
  • 444
  • 459
  • 471
  • 488
  • 494
  • 502
  • 524
  • 532
  • 602
  • 639
  • 653
  • 732
  • 770
  • 772
  • 807
  • 829
  • 837
  • 838
  • 862
  • 863
  • 908
  • 916
  • 918
  • 922
  • 941
  • 942
  • 943
  • 1004
  • 1104
  • 1321
  • 1333

Prompt Preview

Apply the JavaScript ES2026 and Node.js 24 prompts first, using the Node.js rules for server deployments and Node clients. These rules target the Connect-ES 1 packages @connectrpc/connect, connect-node, connect-web, connect-express, connect-fastify, and connect-next, and were checked against 1.7.0. Use the v1 ServiceType and message-class APIs; v2 documentation and Protobuf-ES 2.x generated code are not interchangeable with v1.

Version scope and dependencies

  • Keep @connectrpc/connect, connect-node, connect-web, connect-express, connect-fastify, connect-next, and @connectrpc/protoc-gen-connect-es on one identical v1 release and move them together: each of the others declares an exact peer dependency on @connectrpc/connect, and the Express, Fastify, and Next.js adapters also on @connectrpc/connect-node. Separately versioned @connectrpc projects, such as Connect-Query, follow their own release lines. Use @bufbuild/protobuf and @bufbuild/protoc-gen-es versions satisfying ^1.10.0, and review generated service and message changes.
  • Distinguish compatibility from security support: this tag declares Node.js >=16.0.0 and browser Fetch/Encoding API support; use the maintained Node.js 24 baseline for Node deployments rather than interpreting the old minimum as a deployment recommendation.
  • Check host-framework compatibility separately: connect-fastify declares Fastify ^4.22.1, and connect-next declares Next.js ^13.2.4 || ^14.2.5. Verify host security maintenance and adapter compatibility before deploying or overriding these