@apollo/server 5.2.0
Core engine for Apollo GraphQL server
@apollo/server@5.2.0 was published on 2025-11-21. Its manifest declares 20 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.
Deprecated: This version of Apollo Server is vulnerable to a denial of service (DoS) attack. Please update to @apollo/server 5.4.0 or later. For more details, see https://github.com/apollographql/apollo-server/security/advisories/GHSA-mp6q-xf9x-fwf7
All @apollo/server versions · Permanent reference to 5.2.0 · Latest release
Package specifications
| Version | 5.2.0 |
|---|---|
| License declaration | MIT |
| Published | 2025-11-21T23:18:58.951Z |
| Node.js requirement | >=20 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 20 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2163.52 KiB |
| Published file count | 556 |
| Package type | module |
| ES module entry | dist/esm/index.js |
| Default entry | dist/cjs/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 2 |
| Resolved graph dependencies | 109 |
| Repository stars | 13954 |
| Repository forks | 2001 |
Install @apollo/server 5.2.0
npm install @apollo/server@5.2.0 pnpm add @apollo/server@5.2.0 yarn add @apollo/server@5.2.0
Runtime dependencies
- cors ^2.8.5
- uuid ^11.1.0
- loglevel ^1.6.8
- lru-cache ^11.1.0
- negotiator ^1.0.0
- async-retry ^1.2.1
- body-parser ^2.2.0
- finalhandler ^2.1.0
- whatwg-mimetype ^4.0.0
- @apollo/utils.logger ^3.0.0
- @apollo/utils.fetcher ^3.0.0
- @graphql-tools/schema ^10.0.0
- @apollo/utils.createhash ^3.0.0
- @apollo/utils.isnodelike ^3.0.0
- @apollo/utils.withrequired ^3.0.0
- @apollo/cache-control-types ^1.0.3
- @apollo/utils.keyvaluecache ^4.0.0
- @apollo/utils.usagereporting ^2.1.0
- @apollo/server-gateway-interface ^2.0.0
- @apollo/usage-reporting-protobuf ^4.1.1
Peer requirements
- graphql ^16.11.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @apollo/cache-control-types@1.0.3 — direct
- @apollo/protobufjs@1.2.8 — indirect
- @apollo/server-gateway-interface@2.0.0 — direct
- @apollo/usage-reporting-protobuf@4.1.2 — direct
- @apollo/utils.createhash@3.0.1 — direct
- @apollo/utils.dropunuseddefinitions@2.0.1 — indirect
- @apollo/utils.fetcher@3.1.0 — direct
- @apollo/utils.isnodelike@3.0.0 — direct
- @apollo/utils.keyvaluecache@4.0.0 — direct
- @apollo/utils.logger@3.0.0 — direct
- @apollo/utils.printwithreducedwhitespace@2.0.1 — indirect
- @apollo/utils.removealiases@2.0.1 — indirect
- @apollo/utils.sortast@2.0.1 — indirect
- @apollo/utils.stripsensitiveliterals@2.0.1 — indirect
- @apollo/utils.usagereporting@2.1.0 — direct
- @apollo/utils.withrequired@3.0.0 — direct
- @graphql-tools/merge@9.2.8 — indirect
- @graphql-tools/schema@10.1.5 — direct
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-typed-document-node/core@3.2.0 — indirect
- @protobufjs/aspromise@1.1.2 — indirect
- @protobufjs/base64@1.1.2 — indirect
- @protobufjs/codegen@2.0.5 — indirect
- @protobufjs/eventemitter@1.1.1 — indirect
- @protobufjs/fetch@1.1.1 — indirect
- @protobufjs/float@1.0.2 — indirect
- @protobufjs/inquire@1.1.2 — indirect
- @protobufjs/path@1.1.2 — indirect
- @protobufjs/pool@1.1.0 — indirect
- @protobufjs/utf8@1.1.2 — indirect
- @types/long@4.0.2 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- async-function@1.0.0 — indirect
- async-generator-function@1.0.0 — indirect
- async-retry@1.3.3 — direct
- available-typed-arrays@1.0.7 — indirect
- body-parser@2.4.0 — direct
- bytes@3.1.2 — indirect
- call-bind@1.0.9 — indirect
- call-bind-apply-helpers@1.0.2 — indirect
- call-bound@1.0.4 — indirect
- content-type@2.1.0 — indirect
- cors@2.8.6 — direct
- cross-inspect@1.0.1 — indirect
- debug@4.4.3 — indirect
- define-data-property@1.1.4 — indirect
- depd@2.0.0 — indirect
- dunder-proto@1.0.1 — indirect
- ee-first@1.1.1 — indirect
- encodeurl@2.0.0 — indirect
- es-define-property@1.0.1 — indirect
- es-errors@1.3.0 — indirect
- es-object-atoms@1.1.2 — indirect
- escape-html@1.0.3 — indirect
- finalhandler@2.1.1 — direct
- for-each@0.3.5 — indirect
- function-bind@1.1.2 — indirect
- generator-function@2.0.1 — indirect
- get-intrinsic@1.3.1 — indirect
- get-proto@1.0.1 — indirect
- gopd@1.2.0 — indirect
- has-property-descriptors@1.0.2 — indirect
- has-symbols@1.1.0 — indirect
- has-tostringtag@1.0.2 — indirect
- hasown@2.0.4 — indirect
- http-errors@2.0.1 — indirect
- iconv-lite@0.7.3 — indirect
- inherits@2.0.4 — indirect
- is-callable@1.2.7 — indirect
- is-typed-array@1.1.15 — indirect
- isarray@2.0.5 — indirect
- lodash.sortby@4.7.0 — indirect
- loglevel@1.9.2 — direct
- long@4.0.0 — indirect
- lru-cache@11.5.3 — direct
- math-intrinsics@1.1.0 — indirect
- media-typer@1.1.1 — indirect
- mime-db@1.54.0 — indirect
- mime-types@3.0.2 — indirect
- ms@2.1.3 — indirect
- negotiator@1.1.0 — direct
- object-assign@4.1.1 — indirect
- object-inspect@1.13.4 — indirect
- on-finished@2.4.2 — indirect
- parseurl@1.3.3 — indirect
- possible-typed-array-names@1.1.0 — indirect
- qs@6.17.0 — indirect
- raw-body@3.0.2 — indirect
- retry@0.13.1 — indirect
- safe-buffer@5.2.1 — indirect
- safer-buffer@2.1.2 — indirect
- set-function-length@1.2.2 — indirect
- setprototypeof@1.2.0 — indirect
- sha.js@2.4.12 — indirect
- side-channel@1.1.1 — indirect
- side-channel-list@1.0.1 — indirect
- side-channel-map@1.0.1 — indirect
- side-channel-weakmap@1.0.2 — indirect
- statuses@2.0.2 — indirect
- to-buffer@1.2.2 — indirect
- toidentifier@1.0.1 — indirect
- tslib@2.8.1 — indirect
- type-is@2.1.0 — indirect
- typed-array-buffer@1.0.3 — indirect
- unpipe@1.0.0 — indirect
- uuid@11.1.1 — direct
- vary@1.1.2 — indirect
- whatwg-mimetype@4.0.0 — direct
- which-typed-array@1.1.24 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Known direct advisories
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Maintained | 2/10 — 1 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 2 |
| Code-Review | 3/10 — Found 8/21 approved changesets -- score normalized to 3 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 9/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| License | 10/10 — license file detected |
| Security-Policy | 10/10 — security policy file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40apollo%2Fserver/5.2.0 — retrieved 2026-10-29T13:14:52.670Z
- https://api.deps.dev/v3/projects/github.com%2Fapollographql%2Fapollo-server — retrieved 2026-10-29T09:32:16.976Z
- https://api.deps.dev/v3/systems/npm/packages/%40apollo%2Fserver/versions/5.2.0 — retrieved 2026-10-29T13:14:53.174Z
- https://api.deps.dev/v3/systems/npm/packages/%40apollo%2Fserver/versions/5.2.0:dependencies — retrieved 2026-10-29T13:14:53.196Z