From 828847747caa4af04a54d3873d3b268ef8991f27 Mon Sep 17 00:00:00 2001 From: Joseph Soto Date: Mon, 13 May 2024 11:19:58 -0700 Subject: [PATCH] Remove environment variable that disables TLS verification (#1162) * remove NODE_TLS_REJECT_UNAUTHORIZED env variable * bump: (patch) @terascope/elasticsearch-asset-apis@0.11.11, asset@3.5.8 bump: (patch) elasticsearch-assets@3.5.8 --- asset/asset.json | 2 +- asset/package.json | 2 +- package.json | 2 +- packages/elasticsearch-asset-apis/package.json | 2 +- .../src/elasticsearch-reader-api/SpacesReaderClient.ts | 3 --- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/asset/asset.json b/asset/asset.json index 382c4b6a..c5f0df22 100644 --- a/asset/asset.json +++ b/asset/asset.json @@ -1,4 +1,4 @@ { "name": "elasticsearch", - "version": "3.5.7" + "version": "3.5.8" } diff --git a/asset/package.json b/asset/package.json index e4b1f9e6..56cb8a9b 100644 --- a/asset/package.json +++ b/asset/package.json @@ -1,7 +1,7 @@ { "name": "asset", "displayName": "Asset", - "version": "3.5.7", + "version": "3.5.8", "private": true, "description": "", "license": "MIT", diff --git a/package.json b/package.json index b416b4e2..6ddae8de 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "elasticsearch-assets", "displayName": "Elasticsearch Assets", - "version": "3.5.7", + "version": "3.5.8", "private": true, "description": "bundle of processors for teraslice", "homepage": "https://github.com/terascope/elasticsearch-assets#readme", diff --git a/packages/elasticsearch-asset-apis/package.json b/packages/elasticsearch-asset-apis/package.json index 108ba877..8785efed 100644 --- a/packages/elasticsearch-asset-apis/package.json +++ b/packages/elasticsearch-asset-apis/package.json @@ -1,7 +1,7 @@ { "name": "@terascope/elasticsearch-asset-apis", "displayName": "Elasticsearch Asset Apis", - "version": "0.11.10", + "version": "0.11.11", "description": "Elasticsearch reader and sender apis", "homepage": "https://github.com/terascope/elasticsearch-assets", "repository": "git@github.com:terascope/elasticsearch-assets.git", diff --git a/packages/elasticsearch-asset-apis/src/elasticsearch-reader-api/SpacesReaderClient.ts b/packages/elasticsearch-asset-apis/src/elasticsearch-reader-api/SpacesReaderClient.ts index e602bd08..e35d9710 100644 --- a/packages/elasticsearch-asset-apis/src/elasticsearch-reader-api/SpacesReaderClient.ts +++ b/packages/elasticsearch-asset-apis/src/elasticsearch-reader-api/SpacesReaderClient.ts @@ -12,9 +12,6 @@ import { } from './interfaces'; import { throwRequestError } from './throwRequestError'; -// eslint-disable-next-line -process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; - export class SpacesReaderClient implements ReaderClient { // NOTE: currently we are not supporting id based reader queries // NOTE: currently we do no have access to _type or _id of each doc