Skip to content

the "engines" for @elastic/transport and @elastic/elasticsearch says node >=18 is supported, but uses undici@7 #255

@trentm

Description

@trentm
% npm ls undici
[email protected] /Users/trentm/tmp/asdf.20250424T102536
└─┬ @elastic/[email protected]
  └─┬ @elastic/[email protected]
    └── [email protected]

% rg -A1 engines node_modules/@elastic/*/package.json
node_modules/@elastic/elasticsearch/package.json
56:  "engines": {
57-    "node": ">=18"

node_modules/@elastic/transport/package.json
74:  "engines": {
75-    "node": ">=18"

Undici v7 officially dropped support for Node.js v18.
Is the intent that v9 of the JS client raises the min-supported Node.js to v20? If so, the "engines" should be updated.

Thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions