From 37172eb11eeb964f1ecede90eb5711afc130f3f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 5 Dec 2022 17:44:19 +0100 Subject: [PATCH] Apply dependencies update MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- benchmarks/versus-external-pools/bench.sh | 19 ++++++++++++--- package-lock.json | 28 +++++++++++------------ package.json | 4 ++-- 3 files changed, 32 insertions(+), 19 deletions(-) diff --git a/benchmarks/versus-external-pools/bench.sh b/benchmarks/versus-external-pools/bench.sh index 34ebb788..7a1bb6c0 100755 --- a/benchmarks/versus-external-pools/bench.sh +++ b/benchmarks/versus-external-pools/bench.sh @@ -1,8 +1,13 @@ #!/usr/bin/env bash ### The -t argument permit to specify the type of task that you want to benchmark. -### The -s argument permit to specify the size of task that you want to benchmark. ### Supported values are CPU_INTENSIVE, IO_INTENSIVE +### The -s argument permit to specify the size of task that you want to benchmark. + +usage() { + echo "Usage: $0 [-t ] [-s ]" 1>&2 + exit 1 +} taskType='CPU_INTENSIVE' taskSize=5000 @@ -15,9 +20,17 @@ do s) taskSize=${OPTARG} ;; + :) + echo "Error: Missing option argument for '-${OPTARG}'" >&2; + usage + ;; + \?) + # Invalid option + echo "Error: Unknown or invalid option for '-${OPTARG}'" >&2; + usage + ;; *|h) - echo "Usage: $0 [-t taskType] [-s taskSize]" - exit 1 + usage ;; esac done diff --git a/package-lock.json b/package-lock.json index 56069c8f..b823dd53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsdoc": "^39.6.4", - "eslint-plugin-n": "^15.5.1", + "eslint-plugin-n": "^15.6.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-spellcheck": "^0.0.20", "expect": "^29.3.1", @@ -41,7 +41,7 @@ "prettier": "^2.8.0", "prettier-plugin-organize-imports": "^3.2.1", "release-it": "^15.5.1", - "rollup": "^3.5.1", + "rollup": "^3.6.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-command": "^1.1.3", "rollup-plugin-delete": "^2.0.0", @@ -3239,9 +3239,9 @@ } }, "node_modules/eslint-plugin-n": { - "version": "15.5.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.5.1.tgz", - "integrity": "sha512-kAd+xhZm7brHoFLzKLB7/FGRFJNg/srmv67mqb7tto22rpr4wv/LV6RuXzAfv3jbab7+k1wi42PsIhGviywaaw==", + "version": "15.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.6.0.tgz", + "integrity": "sha512-Hd/F7wz4Mj44Jp0H6Jtty13NcE69GNTY0rVlgTIj1XBnGGVI6UTdDrpE6vqu3AHo07bygq/N+7OH/lgz1emUJw==", "dev": true, "dependencies": { "builtins": "^5.0.1", @@ -7824,9 +7824,9 @@ } }, "node_modules/rollup": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.5.1.tgz", - "integrity": "sha512-hdQWTvPeiAbM6SUkxV70HdGUVxsgsc+CLy5fuh4KdgUBJ0SowXiix8gANgXoG3wEuLwfoJhCT2V+WwxfWq9Ikw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.6.0.tgz", + "integrity": "sha512-qCgiBeSu2/AIOKWGFMiRkjPlGlcVwxAjwpGKQZOQYng+83Hip4PjrWHm7EQX1wnrvRqfTytEihRRfLHdX+hR4g==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -12014,9 +12014,9 @@ } }, "eslint-plugin-n": { - "version": "15.5.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.5.1.tgz", - "integrity": "sha512-kAd+xhZm7brHoFLzKLB7/FGRFJNg/srmv67mqb7tto22rpr4wv/LV6RuXzAfv3jbab7+k1wi42PsIhGviywaaw==", + "version": "15.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.6.0.tgz", + "integrity": "sha512-Hd/F7wz4Mj44Jp0H6Jtty13NcE69GNTY0rVlgTIj1XBnGGVI6UTdDrpE6vqu3AHo07bygq/N+7OH/lgz1emUJw==", "dev": true, "requires": { "builtins": "^5.0.1", @@ -15241,9 +15241,9 @@ } }, "rollup": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.5.1.tgz", - "integrity": "sha512-hdQWTvPeiAbM6SUkxV70HdGUVxsgsc+CLy5fuh4KdgUBJ0SowXiix8gANgXoG3wEuLwfoJhCT2V+WwxfWq9Ikw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.6.0.tgz", + "integrity": "sha512-qCgiBeSu2/AIOKWGFMiRkjPlGlcVwxAjwpGKQZOQYng+83Hip4PjrWHm7EQX1wnrvRqfTytEihRRfLHdX+hR4g==", "dev": true, "requires": { "fsevents": "~2.3.2" diff --git a/package.json b/package.json index 2e9c8685..e517509c 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsdoc": "^39.6.4", - "eslint-plugin-n": "^15.5.1", + "eslint-plugin-n": "^15.6.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-spellcheck": "^0.0.20", "expect": "^29.3.1", @@ -110,7 +110,7 @@ "prettier": "^2.8.0", "prettier-plugin-organize-imports": "^3.2.1", "release-it": "^15.5.1", - "rollup": "^3.5.1", + "rollup": "^3.6.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-command": "^1.1.3", "rollup-plugin-delete": "^2.0.0", -- 2.34.1