From 883d6fb5f168f426288b68d23f53e72d0b0d4391 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 13 Mar 2024 15:25:05 +0100 Subject: [PATCH] feat(es8): support elasticsearch v8 --- bin/units | 8 ++++++++ package.json | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/bin/units b/bin/units index 5d68b758..47f40780 100755 --- a/bin/units +++ b/bin/units @@ -2,4 +2,12 @@ set -euo pipefail +# ignore any user configuration in tests +echo '{}' > /tmp/__pelias.json +export PELIAS_CONFIG=/tmp/__pelias.json +function cleanup { + rm -f /tmp/__pelias.json +} +trap cleanup EXIT + node test/test.js | npx tap-dot diff --git a/package.json b/package.json index 4e9ff844..c1d99afd 100644 --- a/package.json +++ b/package.json @@ -34,10 +34,10 @@ "iso3166-1": "^0.5.0", "lodash": "^4.5.1", "pelias-blacklist-stream": "^1.0.0", - "pelias-config": "^4.10.0", - "pelias-dbclient": "^2.13.0", + "pelias-config": "^6.0.0", + "pelias-dbclient": "^3.0.0", "pelias-logger": "^1.2.1", - "pelias-model": "^9.1.1", + "pelias-model": "^10.0.0", "through2": "^3.0.0", "through2-filter": "^3.0.0", "through2-map": "^3.0.0",