From 08ae457f795220698a43220f84ce89ed0c7e0e0b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 19 Aug 2024 10:16:27 +0000 Subject: [PATCH] fix: upgrade @opensearch-project/opensearch from 2.5.0 to 2.11.0 Snyk has created this PR to upgrade @opensearch-project/opensearch from 2.5.0 to 2.11.0. See this package in npm: @opensearch-project/opensearch See this project in Snyk: https://app.snyk.io/org/mcccd-at-pr-fixes/project/be5c5f87-a2b9-4989-a819-a0cb8e6cbc4d?utm_source=github&utm_medium=referral&page=upgrade-pr --- .../common-modules-layer/package-lock.json | 31 ++++++++++++++----- .../lambda/common-modules-layer/package.json | 2 +- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/source/lambda/common-modules-layer/package-lock.json b/source/lambda/common-modules-layer/package-lock.json index 68fa77bb..449a8c19 100644 --- a/source/lambda/common-modules-layer/package-lock.json +++ b/source/lambda/common-modules-layer/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@aws-sdk/credential-providers": "^3.511.0", - "@opensearch-project/opensearch": "^2.5.0", + "@opensearch-project/opensearch": "^2.11.0", "bodybuilder": "^2.4.0", "intercept-stdout": "^0.1.2", "lodash": "^4.17.21" @@ -681,13 +681,15 @@ } }, "node_modules/@opensearch-project/opensearch": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@opensearch-project/opensearch/-/opensearch-2.5.0.tgz", - "integrity": "sha512-RY5J6Jt/Jbbr2F9XByGY9LJr0VNmXJjgVvvntpKE4NtZa/r9ak3o8YtGK1iey1yHgzMzze25598qq7ZYFk42DA==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@opensearch-project/opensearch/-/opensearch-2.11.0.tgz", + "integrity": "sha512-G+SZwtWRDv90IrtTSNnCt0MQjHVyqrcIXcpwN68vjHnfbun2+RHn+ux4K7dnG+s/KwWzVKIpPFoRjg2gfFX0Mw==", + "license": "Apache-2.0", "dependencies": { "aws4": "^1.11.0", "debug": "^4.3.1", "hpagent": "^1.2.0", + "json11": "^1.1.2", "ms": "^2.1.3", "secure-json-parse": "^2.4.0" }, @@ -1284,6 +1286,15 @@ "lodash.toarray": "^3.0.0" } }, + "node_modules/json11": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/json11/-/json11-1.1.2.tgz", + "integrity": "sha512-5r1RHT1/Gr/jsI/XZZj/P6F11BKM8xvTaftRuiLkQI9Z2PFDukM82Ysxw8yDszb3NJP/NKnRlSGmhUdG99rlBw==", + "license": "MIT", + "bin": { + "json11": "dist/cli.mjs" + } + }, "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -1924,13 +1935,14 @@ } }, "@opensearch-project/opensearch": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@opensearch-project/opensearch/-/opensearch-2.5.0.tgz", - "integrity": "sha512-RY5J6Jt/Jbbr2F9XByGY9LJr0VNmXJjgVvvntpKE4NtZa/r9ak3o8YtGK1iey1yHgzMzze25598qq7ZYFk42DA==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@opensearch-project/opensearch/-/opensearch-2.11.0.tgz", + "integrity": "sha512-G+SZwtWRDv90IrtTSNnCt0MQjHVyqrcIXcpwN68vjHnfbun2+RHn+ux4K7dnG+s/KwWzVKIpPFoRjg2gfFX0Mw==", "requires": { "aws4": "^1.11.0", "debug": "^4.3.1", "hpagent": "^1.2.0", + "json11": "^1.1.2", "ms": "^2.1.3", "secure-json-parse": "^2.4.0" } @@ -2396,6 +2408,11 @@ "lodash.toarray": "^3.0.0" } }, + "json11": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/json11/-/json11-1.1.2.tgz", + "integrity": "sha512-5r1RHT1/Gr/jsI/XZZj/P6F11BKM8xvTaftRuiLkQI9Z2PFDukM82Ysxw8yDszb3NJP/NKnRlSGmhUdG99rlBw==" + }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", diff --git a/source/lambda/common-modules-layer/package.json b/source/lambda/common-modules-layer/package.json index 21884e1e..28911690 100644 --- a/source/lambda/common-modules-layer/package.json +++ b/source/lambda/common-modules-layer/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@aws-sdk/credential-providers": "^3.511.0", - "@opensearch-project/opensearch": "^2.5.0", + "@opensearch-project/opensearch": "^2.11.0", "bodybuilder": "^2.4.0", "intercept-stdout": "^0.1.2", "lodash": "^4.17.21"