From 25fe0bd19fac2023bb3812b581089109226dcfcf Mon Sep 17 00:00:00 2001 From: Shkarupa Nick Date: Tue, 11 Apr 2023 10:34:30 +0300 Subject: [PATCH 1/4] new package-lock added json-bigint package --- package-lock.json | 19 ++++++++++++++++++- package.json | 3 ++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index ce906e9..deebe60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,8 @@ "co": "4.6.0", "co-request": "1.0.0", "elasticio-node": "0.0.9", - "elasticio-sailor-nodejs": "2.7.1" + "elasticio-sailor-nodejs": "2.7.1", + "json-bigint": "1.0.0" }, "devDependencies": { "@elastic.io/component-logger": "0.0.1", @@ -1040,6 +1041,14 @@ "node": ">=10.0.0" } }, + "node_modules/bignumber.js": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz", + "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==", + "engines": { + "node": "*" + } + }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -3366,6 +3375,14 @@ "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" }, + "node_modules/json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, "node_modules/json-schema": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", diff --git a/package.json b/package.json index af97127..79e9d2d 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "co": "4.6.0", "co-request": "1.0.0", "elasticio-node": "0.0.9", - "elasticio-sailor-nodejs": "2.7.1" + "elasticio-sailor-nodejs": "2.7.1", + "json-bigint": "1.0.0" }, "devDependencies": { "@elastic.io/component-logger": "0.0.1", From 0f84ffd0ca82105965404d24bffeff4e99dd8210 Mon Sep 17 00:00:00 2001 From: Shkarupa Nick Date: Tue, 11 Apr 2023 10:35:53 +0300 Subject: [PATCH 2/4] 1.2.11 --- component.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component.json b/component.json index 8bd8ab9..b336b6d 100644 --- a/component.json +++ b/component.json @@ -1,6 +1,6 @@ { "title": "Node.js Code", - "version": "1.2.10", + "version": "1.2.11", "description": "You can write your own code and deploy it as part of integration process.", "docsUrl": "http://go2.elastic.io/code-component", "fields": { From cd0ce276e05c052c52d2fc18d7f56fffae72c906 Mon Sep 17 00:00:00 2001 From: Shkarupa Nick Date: Tue, 11 Apr 2023 10:47:42 +0300 Subject: [PATCH 3/4] 1.2.11 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 43e48d1..f0b7712 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apk update && apk add --no-cache \ python3 \ g++ \ make -RUN npm install --production +RUN npm install --omit=dev FROM base AS release COPY --from=dependencies /app/node_modules ./node_modules From dc342e07c60236071440ad9740fc602b0fa43849 Mon Sep 17 00:00:00 2001 From: Shkarupa Nick Date: Fri, 21 Apr 2023 16:59:57 +0300 Subject: [PATCH 4/4] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3629d6a..c8e76d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.2.11 (April 21, 2023) + +* Add json-bigint library + ## 1.2.10 (February 10, 2023) * Get rid of vulnerabilities in dependencies