es-alchemy
Advanced tools
Comparing version 10.5.2 to 10.5.3
export default ({ call }) => call('GET', '_cat', { endpoint: 'indices' }) | ||
.then((r) => [...new Set(r.body.map((idx) => idx.index.split('@')[0]))]); | ||
.then((r) => { | ||
const indices = r.body | ||
.filter(({ index }) => index !== '.opensearch-observability') | ||
.map(({ index }) => index.split('@')[0]); | ||
return [...new Set(indices)]; | ||
}); |
{ | ||
"name": "es-alchemy", | ||
"type": "module", | ||
"version": "10.5.2", | ||
"version": "10.5.3", | ||
"description": "Simplification of Opensearch interactions", | ||
@@ -48,3 +48,3 @@ "main": "lib/index.js", | ||
"@blackflux/eslint-plugin-rules": "2.1.0", | ||
"@blackflux/robo-config-plugin": "7.9.20", | ||
"@blackflux/robo-config-plugin": "7.9.21", | ||
"c8": "7.12.0", | ||
@@ -51,0 +51,0 @@ "chai": "4.3.7", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77612
1856