From 25f9c317b312e735be2bc1429ec1dd33f5557e1a Mon Sep 17 00:00:00 2001 From: sasjs Date: Sun, 4 Oct 2026 20:48:03 +0000 Subject: [PATCH 1/2] fix(deps): bump @sasjs/utils to 3.7.0 3.7.0 renders tables in the logger instead of through cli-table, so cli-table and colors leave the tree wherever utils is the only source. colors is the package Socket flags under "Dynamic require" for its `require(theme)` call. @sasjs/utils 3.6.5 -> 3.7.0 Verified: build exit 0, 0 TS errors; 87 suites / 668 tests, with only the environmental printVersion failing (it needs `npm list -g @sasjs/cli`, and fails identically on main). Coverage 75.67 / 63.38 / 75.44 / 76.24, all above the required 73 / 60.55 / 73.54 / 74. --- package-lock.json | 31 ++++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index aad6291c..fa21d65c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@sasjs/adapter": "4.19.2", "@sasjs/core": "5.3.0", "@sasjs/lint": "4.1.2", - "@sasjs/utils": "3.6.5", + "@sasjs/utils": "3.7.0", "chalk": "4.1.2", "dotenv": "17.4.2", "js-base64": "3.9.3", @@ -3369,22 +3369,30 @@ } }, "node_modules/@sasjs/utils": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/@sasjs/utils/-/utils-3.6.5.tgz", - "integrity": "sha512-2iCy0EmZJCQSG1JsVa1t/ulUb7lfdBnp6wiRPRl9/AaxRu8D30ypqUKn6heos1lxhNxg42JFsry8rlupiajdHg==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@sasjs/utils/-/utils-3.7.0.tgz", + "integrity": "sha512-+apeZbGjgw2IVjcZ5GVkzXq48vMomY9hFLfCVW77mb480Mnp1TF6sJ4FP4EwIsVs2qaYCEnuJf0eDXYvz3cwYA==", "license": "ISC", "dependencies": { - "@fast-csv/format": "4.3.5", + "@fast-csv/format": "5.0.7", "@types/fs-extra": "11.0.4", "@types/prompts": "2.4.9", "chalk": "4.1.1", - "cli-table": "0.3.11", "consola": "3.4.2", "fs-extra": "11.4.1", - "jwt-decode": "3.1.2", + "jwt-decode": "4.0.0", "prompts": "2.4.2" } }, + "node_modules/@sasjs/utils/node_modules/@fast-csv/format": { + "version": "5.0.7", + "resolved": "https://registry.npmjs.org/@fast-csv/format/-/format-5.0.7.tgz", + "integrity": "sha512-VdypoRxv7PF+LsyPouTMKdB0d76hync+gLpgdNqfqVK44MsgW4oiCJSdrki2FisWT7v2QGUYDHjp4L7w5oO6gw==", + "license": "MIT", + "dependencies": { + "lodash.escaperegexp": "^4.1.2" + } + }, "node_modules/@sasjs/utils/node_modules/chalk": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", @@ -3401,6 +3409,15 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/@sasjs/utils/node_modules/jwt-decode": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz", + "integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==", + "license": "MIT", + "engines": { + "node": ">=18" + } + }, "node_modules/@sinclair/typebox": { "version": "0.27.12", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.12.tgz", diff --git a/package.json b/package.json index c6826440..0cda1e2a 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "@sasjs/adapter": "4.19.2", "@sasjs/core": "5.3.0", "@sasjs/lint": "4.1.2", - "@sasjs/utils": "3.6.5", + "@sasjs/utils": "3.7.0", "chalk": "4.1.2", "dotenv": "17.4.2", "js-base64": "3.9.3", From 3b1e91da4f6ad7a77c94e00b5442c0800e5de975 Mon Sep 17 00:00:00 2001 From: sasjs Date: Mon, 5 Oct 2026 01:25:26 +0000 Subject: [PATCH 2/2] fix(deps): bump adapter, core and utils to their released versions @sasjs/adapter 4.19.2 -> 4.19.4 @sasjs/core 5.3.0 -> 5.3.1 @sasjs/utils 3.6.5 -> 3.7.0 4.19.4 carries the socket-alert cleanup: tough-cookie 5.1.2 (dropping psl, punycode, url-parse, querystringify, requires-port) and the utils 3.7.0 bump that removes cli-table and colors from its tree. 5.3.1 carries the ms_runstp / ms_triggerstp / ms_testservice debug parameter fix and the prepare-script removal. 3.7.0 renders tables in the logger without cli-table. Verified: build exit 0, 0 TS errors; 87 suites / 668 tests with only the environmental printVersion failing (needs npm list -g @sasjs/cli, fails identically on main); coverage 75.67 / 63.38 / 75.44 / 76.24, all above thresholds; npm audit --omit=dev clean. --- package-lock.json | 133 ++++++---------------------------------------- package.json | 4 +- 2 files changed, 18 insertions(+), 119 deletions(-) diff --git a/package-lock.json b/package-lock.json index fa21d65c..df02ad6a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,8 @@ "name": "@sasjs/cli", "license": "ISC", "dependencies": { - "@sasjs/adapter": "4.19.2", - "@sasjs/core": "5.3.0", + "@sasjs/adapter": "4.19.4", + "@sasjs/core": "5.3.1", "@sasjs/lint": "4.1.2", "@sasjs/utils": "3.7.0", "chalk": "4.1.2", @@ -3271,55 +3271,25 @@ } }, "node_modules/@sasjs/adapter": { - "version": "4.19.2", - "resolved": "https://registry.npmjs.org/@sasjs/adapter/-/adapter-4.19.2.tgz", - "integrity": "sha512-7uxkpk0kjK4PZ552YK0CsTmEKEurK/1uzloR4rxplbViRkVdaewP5l0hIrGDBVM4z0gmV5pf1jh8uil3/NSAzw==", + "version": "4.19.4", + "resolved": "https://registry.npmjs.org/@sasjs/adapter/-/adapter-4.19.4.tgz", + "integrity": "sha512-0J1tHRz/bW8+1itPTPBiKQ7bHxQFQSOAu2RQD5MJBH5m/KyGn5RN7BxmHPArgiAzISP7rdy+NK3MEVJKQriTtg==", "license": "ISC", "dependencies": { - "@sasjs/utils": "3.6.4", + "@sasjs/utils": "3.7.0", "axios": "1.20.0", "axios-cookiejar-support": "5.0.5", "form-data": "4.0.6", - "tough-cookie": "4.1.3" - } - }, - "node_modules/@sasjs/adapter/node_modules/@sasjs/utils": { - "version": "3.6.4", - "resolved": "https://registry.npmjs.org/@sasjs/utils/-/utils-3.6.4.tgz", - "integrity": "sha512-tLbvIFMRb3KrHW5EapvMS/0tSa6W/SYCuR+fcdavayQ4eaUFayeRN3HKu2gXLtWJjHf/HijPVTsNwkIRwDvJMA==", - "license": "ISC", - "dependencies": { - "@fast-csv/format": "4.3.5", - "@types/fs-extra": "11.0.4", - "@types/prompts": "2.4.9", - "chalk": "4.1.1", - "cli-table": "0.3.11", - "consola": "3.4.2", - "fs-extra": "11.4.1", - "jwt-decode": "3.1.2", - "prompts": "2.4.2" - } - }, - "node_modules/@sasjs/adapter/node_modules/chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "tough-cookie": "5.1.2" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "node": ">=18" } }, "node_modules/@sasjs/core": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-5.3.0.tgz", - "integrity": "sha512-6x1hEPa1pCENyeG0Nro3YcZZ+A8Ns60pO6gDuvG1X6oWdwOKKPpZztQNKE6khFmXXIGl0uUgT9CbappUET+odA==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-5.3.1.tgz", + "integrity": "sha512-qlxDG7lmUzMgAlYFQ4eAQrbVP0LyIl08ZeYYoER2m9A4aVuqSklg8JnLybbPuLgS4qzT7Ay1tk24Ic3//usZMg==", "license": "MIT" }, "node_modules/@sasjs/lint": { @@ -6890,19 +6860,6 @@ } } }, - "node_modules/jest-environment-jsdom/node_modules/tough-cookie": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz", - "integrity": "sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "tldts": "^6.1.32" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/jest-environment-node": { "version": "30.5.1", "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-30.5.1.tgz", @@ -7776,18 +7733,6 @@ "node": ">= 14" } }, - "node_modules/jsdom/node_modules/tough-cookie": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz", - "integrity": "sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==", - "license": "BSD-3-Clause", - "dependencies": { - "tldts": "^6.1.32" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/jsesc": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", @@ -8719,18 +8664,6 @@ "node": ">=10" } }, - "node_modules/psl": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", - "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", - "license": "MIT", - "dependencies": { - "punycode": "^2.3.1" - }, - "funding": { - "url": "https://github.com/sponsors/lupomontero" - } - }, "node_modules/pstree.remy": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", @@ -8764,12 +8697,6 @@ ], "license": "MIT" }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", - "license": "MIT" - }, "node_modules/react-is": { "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", @@ -8870,12 +8797,6 @@ "node": ">=0.10.0" } }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", - "license": "MIT" - }, "node_modules/resolve": { "version": "1.22.12", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz", @@ -9517,27 +9438,15 @@ } }, "node_modules/tough-cookie": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", - "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz", + "integrity": "sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==", "license": "BSD-3-Clause", "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.2.0", - "url-parse": "^1.5.3" + "tldts": "^6.1.32" }, "engines": { - "node": ">=6" - } - }, - "node_modules/tough-cookie/node_modules/universalify": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", - "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", - "license": "MIT", - "engines": { - "node": ">= 4.0.0" + "node": ">=16" } }, "node_modules/tr46": { @@ -9884,16 +9793,6 @@ "browserslist": ">= 4.21.0" } }, - "node_modules/url-parse": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", - "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", - "license": "MIT", - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, "node_modules/util": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", diff --git a/package.json b/package.json index 0cda1e2a..e10ce20d 100644 --- a/package.json +++ b/package.json @@ -71,8 +71,8 @@ "registry": "https://registry.npmjs.org" }, "dependencies": { - "@sasjs/adapter": "4.19.2", - "@sasjs/core": "5.3.0", + "@sasjs/adapter": "4.19.4", + "@sasjs/core": "5.3.1", "@sasjs/lint": "4.1.2", "@sasjs/utils": "3.7.0", "chalk": "4.1.2",