From 5180a76af2e98cf5472eaa36d9abe56d26e4baa6 Mon Sep 17 00:00:00 2001 From: Jeromy Cannon Date: Fri, 10 Jan 2025 17:05:53 +0000 Subject: [PATCH 1/4] fix: file size empty error when throttle file is provided on command line (#1140) Signed-off-by: Jeromy Cannon --- src/core/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/helpers.ts b/src/core/helpers.ts index 719b31921..c4effc803 100644 --- a/src/core/helpers.ts +++ b/src/core/helpers.ts @@ -366,7 +366,7 @@ export function resolveValidJsonFilePath(filePath: string, defaultPath?: string) const throttleInfo = fs.statSync(resolvedFilePath); if (throttleInfo.size === 0 && defaultPath) { return resolveValidJsonFilePath(defaultPath, null); - } else if (!defaultPath) { + } else if (throttleInfo.size === 0) { throw new SoloError(`File is empty: ${filePath}`); } From a4847aa8cc599ac0590412b9d508b60a64007965 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 09:10:42 -0600 Subject: [PATCH 2/4] chore(deps): bump stefanzweifel/git-auto-commit-action from 5.0.1 to 5.1.0 (#1146) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/zxc-update-readme.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/zxc-update-readme.yaml b/.github/workflows/zxc-update-readme.yaml index 6b1db0476..6aa8e2f5d 100644 --- a/.github/workflows/zxc-update-readme.yaml +++ b/.github/workflows/zxc-update-readme.yaml @@ -144,7 +144,7 @@ jobs: - name: Commit docs/content/User/StepByStepGuide.md Changes id: commit-readme if : ${{ github.event.inputs.dry-run-enabled != 'true' && !cancelled() && !failure() && inputs.commit-changes }} - uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 + uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0 with: commit_message: "chore: auto update docs/content/User/StepByStepGuide.md" commit_options: '--no-verify --signoff' From 9ccacd04ac9b57c44cdcf37f89dde9b94ed3aabb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 09:11:30 -0600 Subject: [PATCH 3/4] chore(deps): bump inquirer from 12.3.0 to 12.3.1 (#1145) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 126 +++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 64 insertions(+), 64 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6ecd032cc..fa50fa761 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "figlet": "^1.8.0", "got": "^14.4.5", "http-status-codes": "^2.3.0", - "inquirer": "^12.3.0", + "inquirer": "^12.3.1", "ip": "^2.0.1", "js-base64": "^3.7.7", "listr2": "^8.2.5", @@ -1388,11 +1388,11 @@ } }, "node_modules/@inquirer/checkbox": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.0.4.tgz", - "integrity": "sha512-fYAKCAcGNMdfjL6hZTRUwkIByQ8EIZCXKrIQZH7XjADnN/xvRUhj8UdBbpC4zoUzvChhkSC/zRKaP/tDs3dZpg==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.0.5.tgz", + "integrity": "sha512-H//QP3E8Vy0oYX5lw6WSFnOTiRUNm4+LYRby1/1r6y3doRurnqekAj4pJoUbdL5ESEgLqJFJ5HhNDWTp5Qyz5A==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/figures": "^1.0.9", "@inquirer/type": "^3.0.2", "ansi-escapes": "^4.3.2", @@ -1406,11 +1406,11 @@ } }, "node_modules/@inquirer/confirm": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.1.tgz", - "integrity": "sha512-vVLSbGci+IKQvDOtzpPTCOiEJCNidHcAq9JYVoWTW0svb5FiwSLotkM+JXNXejfjnzVYV9n0DTBythl9+XgTxg==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.2.tgz", + "integrity": "sha512-VKgaKxw2I3cu2smedeMFyxuYyI+HABlFY1Px4j8NueA7xDskKAo9hxEQemTpp1Fu4OiTtOCgU4eK91BVuBKH3g==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/type": "^3.0.2" }, "engines": { @@ -1421,9 +1421,9 @@ } }, "node_modules/@inquirer/core": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.2.tgz", - "integrity": "sha512-bHd96F3ezHg1mf/J0Rb4CV8ndCN0v28kUlrHqP7+ECm1C/A+paB7Xh2lbMk6x+kweQC+rZOxM/YeKikzxco8bQ==", + "version": "10.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.3.tgz", + "integrity": "sha512-+7/dCYwDku2xfcWJWX6Urxb8aRz6d0K+4lRgIBM08ktE84dm++RPROgnVfWq4hLK5FVu/O4rbO9HnJtaz3pt2w==", "dependencies": { "@inquirer/figures": "^1.0.9", "@inquirer/type": "^3.0.2", @@ -1451,11 +1451,11 @@ } }, "node_modules/@inquirer/editor": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.1.tgz", - "integrity": "sha512-xn9aDaiP6nFa432i68JCaL302FyL6y/6EG97nAtfIPnWZ+mWPgCMLGc4XZ2QQMsZtu9q3Jd5AzBPjXh10aX9kA==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.2.tgz", + "integrity": "sha512-BPLJsWxLO6r47wU2qtGG+akQuoSCotDlOu8GTIkJVxJpNNVYnA60xKHkSGbEAALO+D3DFeRXE0JFvFJ53sVbjA==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/type": "^3.0.2", "external-editor": "^3.1.0" }, @@ -1467,11 +1467,11 @@ } }, "node_modules/@inquirer/expand": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.4.tgz", - "integrity": "sha512-GYocr+BPyxKPxQ4UZyNMqZFSGKScSUc0Vk17II3J+0bDcgGsQm0KYQNooN1Q5iBfXsy3x/VWmHGh20QnzsaHwg==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.5.tgz", + "integrity": "sha512-Ff3CqHmc8MuUu9A0LKgftzIdp+D5k/kTYHGmjY7iouO37OuP6Np4UqL0clkjQ2UHph7ORwvi0RMfSNnH3PF0PQ==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/type": "^3.0.2", "yoctocolors-cjs": "^2.1.2" }, @@ -1491,11 +1491,11 @@ } }, "node_modules/@inquirer/input": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.1.1.tgz", - "integrity": "sha512-nAXAHQndZcXB+7CyjIW3XuQZZHbQQ0q8LX6miY6bqAWwDzNa9JUioDBYrFmOUNIsuF08o1WT/m2gbBXvBhYVxg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.1.2.tgz", + "integrity": "sha512-YnnskI/AX92KVU6gjNxdeLNqdJPBEOkL3I6EzZjfByKskjZtJuAX1CBev8AAHJsLaB3X9JCQoB/ag2dyzRPdSg==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/type": "^3.0.2" }, "engines": { @@ -1506,11 +1506,11 @@ } }, "node_modules/@inquirer/number": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.4.tgz", - "integrity": "sha512-DX7a6IXRPU0j8kr2ovf+QaaDiIf+zEKaZVzCWdLOTk7XigqSXvoh4cul7x68xp54WTQrgSnW7P1WBJDbyY3GhA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.5.tgz", + "integrity": "sha512-O/gcUwhS0TzBdBszYues3B4PTwyOLo51RctvXPRGtDfwIftuTTdPnm3K7oiK2OC2CDc7eG4UNa+QtdLlaJxIOA==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/type": "^3.0.2" }, "engines": { @@ -1521,11 +1521,11 @@ } }, "node_modules/@inquirer/password": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.4.tgz", - "integrity": "sha512-wiliQOWdjM8FnBmdIHtQV2Ca3S1+tMBUerhyjkRCv1g+4jSvEweGu9GCcvVEgKDhTBT15nrxvk5/bVrGUqSs1w==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.5.tgz", + "integrity": "sha512-/Undb8fTDSo6LX79OtAsdaaW08x6Xx9zr4z9Xd1VV/N4kDnJ9fWyUHJ287V0XTqMYgH/5SnZBU2e8VzgpGWO8g==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/type": "^3.0.2", "ansi-escapes": "^4.3.2" }, @@ -1537,20 +1537,20 @@ } }, "node_modules/@inquirer/prompts": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.2.1.tgz", - "integrity": "sha512-v2JSGri6/HXSfoGIwuKEn8sNCQK6nsB2BNpy2lSX6QH9bsECrMv93QHnj5+f+1ZWpF/VNioIV2B/PDox8EvGuQ==", - "dependencies": { - "@inquirer/checkbox": "^4.0.4", - "@inquirer/confirm": "^5.1.1", - "@inquirer/editor": "^4.2.1", - "@inquirer/expand": "^4.0.4", - "@inquirer/input": "^4.1.1", - "@inquirer/number": "^3.0.4", - "@inquirer/password": "^4.0.4", - "@inquirer/rawlist": "^4.0.4", - "@inquirer/search": "^3.0.4", - "@inquirer/select": "^4.0.4" + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.2.2.tgz", + "integrity": "sha512-kUd4L1S8huk+2FbIl0UbBqZ6g8mYFtag9Pb8IqzeefIYgRXyS4Oc29ikuSlhfSkEYjG+gBAA5Ip0JvuvSqtfWA==", + "dependencies": { + "@inquirer/checkbox": "^4.0.5", + "@inquirer/confirm": "^5.1.2", + "@inquirer/editor": "^4.2.2", + "@inquirer/expand": "^4.0.5", + "@inquirer/input": "^4.1.2", + "@inquirer/number": "^3.0.5", + "@inquirer/password": "^4.0.5", + "@inquirer/rawlist": "^4.0.5", + "@inquirer/search": "^3.0.5", + "@inquirer/select": "^4.0.5" }, "engines": { "node": ">=18" @@ -1560,11 +1560,11 @@ } }, "node_modules/@inquirer/rawlist": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.0.4.tgz", - "integrity": "sha512-IsVN2EZdNHsmFdKWx9HaXb8T/s3FlR/U1QPt9dwbSyPtjFbMTlW9CRFvnn0bm/QIsrMRD2oMZqrQpSWPQVbXXg==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.0.5.tgz", + "integrity": "sha512-38g3v5/cX3NUv+jcr4sU6phKAthQKv36NYRgahsZIGNIVy8ewtSnolCJ1N64nGwi/sTUz5AE6PV1ZF+NaIThxg==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/type": "^3.0.2", "yoctocolors-cjs": "^2.1.2" }, @@ -1576,11 +1576,11 @@ } }, "node_modules/@inquirer/search": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.4.tgz", - "integrity": "sha512-tSkJk2SDmC2MEdTIjknXWmCnmPr5owTs9/xjfa14ol1Oh95n6xW7SYn5fiPk4/vrJPys0ggSWiISdPze4LTa7A==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.5.tgz", + "integrity": "sha512-INqlGeK85gOmlVY8aosAdOMWgOmpcA7+eDlq5WBdbh8aZbAXX0HItf1GIdDj8zQnh+8Pv0DXU7OvdaLVcV4bWA==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/figures": "^1.0.9", "@inquirer/type": "^3.0.2", "yoctocolors-cjs": "^2.1.2" @@ -1593,11 +1593,11 @@ } }, "node_modules/@inquirer/select": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.0.4.tgz", - "integrity": "sha512-ZzYLuLoUzTIW9EJm++jBpRiTshGqS3Q1o5qOEQqgzaBlmdsjQr6pA4TUNkwu6OBYgM2mIRbCz6mUhFDfl/GF+w==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.0.5.tgz", + "integrity": "sha512-5UAnpWqs0G316MwJdSdgaRcWPIuUPllHa8pdHVi/w9KE/Ff/GzWhPwUn9ETtq/n8GEiWDUrP/LdJN8FJxf7JbA==", "dependencies": { - "@inquirer/core": "^10.1.2", + "@inquirer/core": "^10.1.3", "@inquirer/figures": "^1.0.9", "@inquirer/type": "^3.0.2", "ansi-escapes": "^4.3.2", @@ -6840,12 +6840,12 @@ } }, "node_modules/inquirer": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.3.0.tgz", - "integrity": "sha512-3NixUXq+hM8ezj2wc7wC37b32/rHq1MwNZDYdvx+d6jokOD+r+i8Q4Pkylh9tISYP114A128LCX8RKhopC5RfQ==", + "version": "12.3.1", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.3.1.tgz", + "integrity": "sha512-EEJuhXDogMeu3opiLncf4fvkf25vGxl0cBYv1WIdqV3bvdZraDn0B31zoNqFHe7WndBMctZuYkZ/H/IO1yw8yw==", "dependencies": { - "@inquirer/core": "^10.1.2", - "@inquirer/prompts": "^7.2.1", + "@inquirer/core": "^10.1.3", + "@inquirer/prompts": "^7.2.2", "@inquirer/type": "^3.0.2", "ansi-escapes": "^4.3.2", "mute-stream": "^2.0.0", diff --git a/package.json b/package.json index 50f233c3d..a95bd3269 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "figlet": "^1.8.0", "got": "^14.4.5", "http-status-codes": "^2.3.0", - "inquirer": "^12.3.0", + "inquirer": "^12.3.1", "ip": "^2.0.1", "js-base64": "^3.7.7", "listr2": "^8.2.5", From 2b48f4e910ab936cd2d38d4f5fc2339d5e969f6a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 09:12:19 -0600 Subject: [PATCH 4/4] chore(deps-dev): bump @eslint/js from 9.17.0 to 9.18.0 (#1144) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 17 +++++++++++++---- package.json | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index fa50fa761..c8f7d74e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,7 +49,7 @@ }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "^9.17.0", + "@eslint/js": "^9.18.0", "@types/adm-zip": "^0.5.7", "@types/chai": "^5.0.1", "@types/chai-as-promised": "^8.0.1", @@ -793,9 +793,9 @@ "dev": true }, "node_modules/@eslint/js": { - "version": "9.17.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.17.0.tgz", - "integrity": "sha512-Sxc4hqcs1kTu0iID3kcZDW3JHq2a77HO9P8CP6YEA/FpH3Ll8UXE2r/86Rz9YJLKme39S9vU5OWNjC6Xl0Cr3w==", + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.18.0.tgz", + "integrity": "sha512-fK6L7rxcq6/z+AaQMtiFTkvbHkBLNlwyRxHpKawP0x3u9+NC6MQTnFW+AdpwC6gfHTW0051cokQgtTN2FqlxQA==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5646,6 +5646,15 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/@eslint/js": { + "version": "9.17.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.17.0.tgz", + "integrity": "sha512-Sxc4hqcs1kTu0iID3kcZDW3JHq2a77HO9P8CP6YEA/FpH3Ll8UXE2r/86Rz9YJLKme39S9vU5OWNjC6Xl0Cr3w==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/eslint/node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", diff --git a/package.json b/package.json index a95bd3269..ea0ef32e8 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "^9.17.0", + "@eslint/js": "^9.18.0", "@types/adm-zip": "^0.5.7", "@types/chai": "^5.0.1", "@types/chai-as-promised": "^8.0.1",