Skip to content

Commit 7e2b041

Browse files
trentmPeterEinberger
authored andcommitted
test: update Node.js versions with which we test the esclient (elastic#4110)
esclient v8.11.0's min support Node.js is v18 Refs: elastic/elasticsearch-js#2055
1 parent fac784b commit 7e2b041

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.tav.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,19 @@ elasticsearch:
259259
# "8.2.0" because they are stuck with stack version numbers. However,
260260
# semver (and TAV) consider "-patch.N" to be a *prereleases*. This
261261
# leads to some tortured "versions:" ranges below.
262+
# - Version 8.11.0 dropped node v14 and v16 support.
262263
'@elastic/elasticsearch':
263264
- versions: '>=7.0.0 <7.7.0 || >7.7.0 <7.12.0'
264265
commands: node test/instrumentation/modules/@elastic/elasticsearch.test.js
265266
- versions: '>=7.12.0 <8.2'
266267
node: '>=12.0.0'
267268
commands: node test/instrumentation/modules/@elastic/elasticsearch.test.js
268-
- versions: '>=8.2.0-patch.1 <8.2.0 || >8.2.0'
269+
- versions: '>=8.2.0-patch.1 <8.2.0 || >8.2.0 <8.11.0'
269270
node: '>=14.0.0'
270271
commands: node test/instrumentation/modules/@elastic/elasticsearch.test.js
272+
- versions: '>=8.11.0'
273+
node: '>=18.0.0'
274+
commands: node test/instrumentation/modules/@elastic/elasticsearch.test.js
271275

272276
handlebars:
273277
versions:

0 commit comments

Comments
 (0)