From 548a976314777eb8a2f7b9cce3ed9cc34f516ba4 Mon Sep 17 00:00:00 2001 From: Vadim Date: Sat, 15 Jun 2024 11:42:44 +0300 Subject: [PATCH] fix(scripts): fix a bug in the elements script, bump throttler (#855) - [x] fix the script that generates the elements bootstrap script; - [x] bump nestjs throttler; --- apps/api/package.json | 2 +- functions/package-lock.json | 9 +++++---- functions/package.json | 2 +- package.json | 2 +- tools/shell/generate-elements-bootstrap-script.sh | 4 ++-- yarn.lock | 9 +++++---- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/apps/api/package.json b/apps/api/package.json index b4cc6a8a..36954213 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -20,7 +20,7 @@ "@nestjs/platform-ws": "10.3.9", "@nestjs/serve-static": "4.0.2", "@nestjs/swagger": "7.3.1", - "@nestjs/throttler": "5.1.2", + "@nestjs/throttler": "5.2.0", "@nestjs/websockets": "10.3.9", "axios": "1.7.2", "cache-manager": "5.6.1", diff --git a/functions/package-lock.json b/functions/package-lock.json index 56c7f06a..e4abce59 100644 --- a/functions/package-lock.json +++ b/functions/package-lock.json @@ -22,7 +22,7 @@ "@nestjs/platform-express": "10.3.9", "@nestjs/platform-ws": "10.3.9", "@nestjs/swagger": "7.3.1", - "@nestjs/throttler": "5.1.2", + "@nestjs/throttler": "5.2.0", "@nestjs/websockets": "10.3.9", "@types/compression": "1.7.5", "@types/express": "4.17.21", @@ -1070,9 +1070,10 @@ } }, "node_modules/@nestjs/throttler": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@nestjs/throttler/-/throttler-5.1.2.tgz", - "integrity": "sha512-60MqhSLYUqWOgc38P6C6f76JIpf6mVjly7gpuPBCKtVd0p5e8Fq855j7bJuO4/v25vgaOo1OdVs0U1qtgYioGw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@nestjs/throttler/-/throttler-5.2.0.tgz", + "integrity": "sha512-G/G/MV3xf6sy1DwmnJsgeL+d2tQ/xGRNa9ZhZjm9Kyxp+3+ylGzwJtcnhWlN82PMEp3TiDQpTt+9waOIg/bpPg==", + "license": "MIT", "peerDependencies": { "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", "@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", diff --git a/functions/package.json b/functions/package.json index 4df85593..b4f6c3b1 100644 --- a/functions/package.json +++ b/functions/package.json @@ -17,7 +17,7 @@ "@grpc/grpc-js": "1.10.9", "@grpc/proto-loader": "0.7.13", "@nestjs/apollo": "12.1.0", - "@nestjs/throttler": "5.1.2", + "@nestjs/throttler": "5.2.0", "@nestjs/axios": "3.0.2", "@nestjs/common": "10.3.9", "@nestjs/config": "3.2.2", diff --git a/package.json b/package.json index 01f6fc5c..cfaa1bcd 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ "@nestjs/platform-ws": "10.3.9", "@nestjs/serve-static": "4.0.2", "@nestjs/swagger": "7.3.1", - "@nestjs/throttler": "5.1.2", + "@nestjs/throttler": "5.2.0", "@nestjs/websockets": "10.3.9", "apollo-angular": "7.0.2", "apollo-upload-client": "18.0.1", diff --git a/tools/shell/generate-elements-bootstrap-script.sh b/tools/shell/generate-elements-bootstrap-script.sh index ab98a022..8c7af13c 100644 --- a/tools/shell/generate-elements-bootstrap-script.sh +++ b/tools/shell/generate-elements-bootstrap-script.sh @@ -37,8 +37,8 @@ generateBootstrapScript() { local BOOTSTRAP_SCRIPT_DIST_PATH="$1/$2" local EMELENT_PROJECT_NAME="$2" - local DIST_INDEX_HTML_PATH="$BOOTSTRAP_SCRIPT_DIST_PATH/index.html" - local BOOTSTRAP_SCRIPT_FILE_PATH="$BOOTSTRAP_SCRIPT_DIST_PATH/bootstrap.js" + local DIST_INDEX_HTML_PATH="$BOOTSTRAP_SCRIPT_DIST_PATH/browser/index.html" + local BOOTSTRAP_SCRIPT_FILE_PATH="$BOOTSTRAP_SCRIPT_DIST_PATH/browser/bootstrap.js" printNameAndValue "boostrap script file path" "$BOOTSTRAP_SCRIPT_FILE_PATH" printGap diff --git a/yarn.lock b/yarn.lock index 1742b611..14194cd2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5461,10 +5461,10 @@ dependencies: tslib "2.6.2" -"@nestjs/throttler@5.1.2": - version "5.1.2" - resolved "https://registry.yarnpkg.com/@nestjs/throttler/-/throttler-5.1.2.tgz#dc65634153c8b887329b1cc6061db2e556517dcb" - integrity sha512-60MqhSLYUqWOgc38P6C6f76JIpf6mVjly7gpuPBCKtVd0p5e8Fq855j7bJuO4/v25vgaOo1OdVs0U1qtgYioGw== +"@nestjs/throttler@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@nestjs/throttler/-/throttler-5.2.0.tgz#9a70f1e13b3015977ed0fe740e23e3c5cba2d49a" + integrity sha512-G/G/MV3xf6sy1DwmnJsgeL+d2tQ/xGRNa9ZhZjm9Kyxp+3+ylGzwJtcnhWlN82PMEp3TiDQpTt+9waOIg/bpPg== "@nestjs/websockets@10.3.9": version "10.3.9" @@ -20167,6 +20167,7 @@ preserve@^0.2.0: integrity sha512-s/46sYeylUfHNjI+sA/78FAHlmIuKqI9wNnzEOGehAlUUYeObv5C2mOinXBjyUyWmJ2SfcS2/ydApH4hTF4WXQ== "prettier-fallback@npm:prettier@^3", prettier@^3.1.1: + name prettier-fallback version "3.3.2" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.2.tgz#03ff86dc7c835f2d2559ee76876a3914cec4a90a" integrity sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==