diff --git a/test/versioned/elastic/package.json b/test/versioned/elastic/package.json index 2fd1e83fa2..a5f3096cac 100644 --- a/test/versioned/elastic/package.json +++ b/test/versioned/elastic/package.json @@ -22,7 +22,18 @@ "node": ">=16" }, "dependencies": { - "@elastic/elasticsearch": ">=7.16.0" + "@elastic/elasticsearch": ">=7.16.0 <8.5.0" + }, + "files": [ + "elasticsearch.tap.js" + ] + }, + { + "engines": { + "node": ">=18" + }, + "dependencies": { + "@elastic/elasticsearch": ">=8.5.0" }, "files": [ "elasticsearch.tap.js"