From babea9781a5b01f0dcebededcdcffc8bf7562b03 Mon Sep 17 00:00:00 2001 From: sasjs Date: Sun, 4 Oct 2026 11:11:21 +0000 Subject: [PATCH 1/5] fix(deps): bump @sasjs/utils to 3.6.3 Picks up the Logger.warn fix - falsy arguments were passed straight to consola while every other log method dropped them - and drops the install-time script and the redundant dependencies that 3.6.2 carried. Also removes this package's own `prepare` script, which ran `git config core.hooksPath ./.git-hooks` on every install, and the `find` dependency, which has no call site in src. --- package-lock.json | 95 +++++++++++++++++++++++++++++++++++++++-------- package.json | 4 +- 2 files changed, 81 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 717da33b..4cf1bda3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,10 +11,9 @@ "@sasjs/adapter": "4.19.1", "@sasjs/core": "5.2.10", "@sasjs/lint": "4.1.1", - "@sasjs/utils": "3.6.2", + "@sasjs/utils": "3.6.3", "chalk": "4.1.2", "dotenv": "17.4.2", - "find": "0.3.0", "js-base64": "3.9.3", "jsdom": "26.0.0", "jwt-decode": "3.1.2", @@ -3303,7 +3302,7 @@ "node": ">=14" } }, - "node_modules/@sasjs/utils": { + "node_modules/@sasjs/lint/node_modules/@sasjs/utils": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/@sasjs/utils/-/utils-3.6.2.tgz", "integrity": "sha512-AfC5OJuJx3NAbntKq2J8E8NNpRXthYfuqOyp2lOmOkTctL3mAfrA54U/cdPQvrlftXNxpK9P2U0RU10qNjlEzQ==", @@ -3322,7 +3321,7 @@ "valid-url": "1.0.9" } }, - "node_modules/@sasjs/utils/node_modules/chalk": { + "node_modules/@sasjs/lint/node_modules/chalk": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", @@ -3338,7 +3337,38 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/@sasjs/utils/node_modules/prompts": { + "node_modules/@sasjs/lint/node_modules/cli-table": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.6.tgz", + "integrity": "sha512-ZkNZbnZjKERTY5NwC2SeMeLeifSPq/pubeRoTpdr3WchLlnZg6hEgvHkK5zL7KNFdd9PmHN8lxrENUwI3cE8vQ==", + "dependencies": { + "colors": "1.0.3" + }, + "engines": { + "node": ">= 0.2.0" + } + }, + "node_modules/@sasjs/lint/node_modules/consola": { + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.0.tgz", + "integrity": "sha512-vlcSGgdYS26mPf7qNi+dCisbhiyDnrN1zaRbw3CSuc2wGOMEGGPsp46PdRG5gqXwgtJfjxDkxRNAgRPr1B77vQ==", + "license": "MIT" + }, + "node_modules/@sasjs/lint/node_modules/fs-extra": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@sasjs/lint/node_modules/prompts": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.1.tgz", "integrity": "sha512-EQyfIuO2hPDsX1L/blblV+H7I0knhgAd82cVneCwcdND9B8AuCDuRcBH6yIcG4dFzlOUqbazQqwGjx5xmsNLuQ==", @@ -3351,6 +3381,38 @@ "node": ">= 6" } }, + "node_modules/@sasjs/utils": { + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/@sasjs/utils/-/utils-3.6.3.tgz", + "integrity": "sha512-IQk/PZIR2eT5FCrKm6xsXUMzM5ObIjgBD3iKQ/8AH0e+UvDp5Q2ErOApZMVHRqeUCXdL9fEW/lmKmccSwlr2Mg==", + "license": "ISC", + "dependencies": { + "@fast-csv/format": "4.3.5", + "@types/fs-extra": "11.0.4", + "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/utils/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" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/@sinclair/typebox": { "version": "0.27.12", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.12.tgz", @@ -4761,9 +4823,9 @@ } }, "node_modules/cli-table": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.6.tgz", - "integrity": "sha512-ZkNZbnZjKERTY5NwC2SeMeLeifSPq/pubeRoTpdr3WchLlnZg6hEgvHkK5zL7KNFdd9PmHN8lxrENUwI3cE8vQ==", + "version": "0.3.11", + "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.11.tgz", + "integrity": "sha512-IqLQi4lO0nIB4tcdTpN4LCB9FI3uqrJZK7RC515EnhZ6qBaglkIgICb1wjeAqpdoOabm1+SuQtkXIPdYC93jhQ==", "dependencies": { "colors": "1.0.3" }, @@ -4859,10 +4921,13 @@ "license": "MIT" }, "node_modules/consola": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.0.tgz", - "integrity": "sha512-vlcSGgdYS26mPf7qNi+dCisbhiyDnrN1zaRbw3CSuc2wGOMEGGPsp46PdRG5gqXwgtJfjxDkxRNAgRPr1B77vQ==", - "license": "MIT" + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", + "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.10.0" + } }, "node_modules/convert-source-map": { "version": "2.0.0", @@ -5501,9 +5566,9 @@ } }, "node_modules/fs-extra": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", - "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "version": "11.4.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.1.tgz", + "integrity": "sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==", "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", diff --git a/package.json b/package.json index b4789b8b..14ea519b 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "test:mocked": "jest --silent --runInBand --config=jest.config.js --coverage", "lint:fix": "npx prettier --write \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"", "lint": "npx prettier --check \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"", - "prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true", "doc": "npx compodoc -p tsconfig.doc.json --coverageTest 16 --coverageTestThresholdFail" }, "testServerTypes": "sasjs", @@ -75,10 +74,9 @@ "@sasjs/adapter": "4.19.1", "@sasjs/core": "5.2.10", "@sasjs/lint": "4.1.1", - "@sasjs/utils": "3.6.2", + "@sasjs/utils": "3.6.3", "chalk": "4.1.2", "dotenv": "17.4.2", - "find": "0.3.0", "js-base64": "3.9.3", "jsdom": "26.0.0", "jwt-decode": "3.1.2", From 4e9dd4d6dc689ef1b4828df893398c1c9d1247d1 Mon Sep 17 00:00:00 2001 From: sasjs Date: Sun, 4 Oct 2026 12:14:13 +0000 Subject: [PATCH 2/5] fix(deps): bump @sasjs/utils to 3.6.4 3.6.4 restores @types/prompts as a dependency, and 3.6.3 dropped the install-time script and the redundant dependencies that 3.6.2 carried. Also removes this package's own `prepare` script, which ran `git config core.hooksPath ./.git-hooks` on every install, and the `find` dependency, which has no call site in src. --- package-lock.json | 19 +++++++++++++++---- package.json | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4cf1bda3..6493a507 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@sasjs/adapter": "4.19.1", "@sasjs/core": "5.2.10", "@sasjs/lint": "4.1.1", - "@sasjs/utils": "3.6.3", + "@sasjs/utils": "3.6.4", "chalk": "4.1.2", "dotenv": "17.4.2", "js-base64": "3.9.3", @@ -3382,13 +3382,14 @@ } }, "node_modules/@sasjs/utils": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/@sasjs/utils/-/utils-3.6.3.tgz", - "integrity": "sha512-IQk/PZIR2eT5FCrKm6xsXUMzM5ObIjgBD3iKQ/8AH0e+UvDp5Q2ErOApZMVHRqeUCXdL9fEW/lmKmccSwlr2Mg==", + "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", @@ -3397,6 +3398,16 @@ "prompts": "2.4.2" } }, + "node_modules/@sasjs/utils/node_modules/@types/prompts": { + "version": "2.4.9", + "resolved": "https://registry.npmjs.org/@types/prompts/-/prompts-2.4.9.tgz", + "integrity": "sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "kleur": "^3.0.3" + } + }, "node_modules/@sasjs/utils/node_modules/chalk": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", diff --git a/package.json b/package.json index 14ea519b..2d767352 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "@sasjs/adapter": "4.19.1", "@sasjs/core": "5.2.10", "@sasjs/lint": "4.1.1", - "@sasjs/utils": "3.6.3", + "@sasjs/utils": "3.6.4", "chalk": "4.1.2", "dotenv": "17.4.2", "js-base64": "3.9.3", From bf088aa722439c480a970c2ecbefe71ec33beaf5 Mon Sep 17 00:00:00 2001 From: sasjs Date: Sun, 4 Oct 2026 12:22:48 +0000 Subject: [PATCH 3/5] fix(engines): require the Node range the tree actually supports engines.node said >=14, but this package resolves consola 3.4.2 through @sasjs/utils, and consola declares ^14.18.0 || >=16.10.0. A major-only floor admits versions whose own dependencies reject them: 14.0-14.17 and every 15.x. engines.node now states ^14.18.0 || >=16.10.0, and the checkNodeVersion script enforces the same range rather than a bare `parseInt(node) < 14`, so the two cannot drift apart. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2d767352..7057b0f0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@sasjs/cli", "description": "Command line interface for SASjs", "engines": { - "node": ">=14" + "node": "^14.18.0 || >=16.10.0" }, "main": "index.js", "files": [ @@ -10,7 +10,7 @@ ], "scripts": { "nodeVersionMessage": "echo \u001b[33m make sure you are running node lts version \u001b[0m", - "checkNodeVersion": "node -e \"console.log('\u001b[36m', 'Checking your Node.js version...'); if (!process.versions || !process.versions.node) { console.log('\u001b[31m', 'Error determining Node.js version. Exiting...') } if (parseInt(process.versions.node) < 14) { console.log('\u001b[31m', '❌ You must be running at least Node.js 14 to install SASjs CLI.\\nYour current version is ' + process.versions.node + '.\\nPlease install a more recent version and try again.'); process.exit(1); } else { console.log('\u001b[32m', '✅ Node.js version check passed. Continuing...'); } console.log('\u001b[0m', '');\"", + "checkNodeVersion": "node -e \"console.log('\\u001b[36m', 'Checking your Node.js version...'); const v = process.versions && process.versions.node; const ok = v && (() => { const [m, n] = v.split('.').map(Number); if (m === 14) return n >= 18; if (m === 15) return false; if (m === 16) return n >= 10; return m > 16 })(); if (!ok) { console.log('\\u001b[31m', '\\u274c You must be running Node.js ^14.18.0 || >=16.10.0 to install SASjs CLI.\\nYour current version is ' + v + '.\\nPlease install a more recent version and try again.'); process.exit(1) } else { console.log('\\u001b[32m', '\\u2705 Node.js version check passed. Continuing...') } console.log('\\u001b[0m', '');\"", "start:ci": "npm run build && npm run set:permissions", "start": "nodemon --watch \"src/**/*\" --exec \"npm run build && npm run set:permissions\"", "set:permissions": "node -e \"require('fs').chmodSync('build/index.js', '755')\"", From ca275a713c2eec77c50a6c8eecc7e158bf176092 Mon Sep 17 00:00:00 2001 From: sasjs Date: Sun, 4 Oct 2026 12:33:19 +0000 Subject: [PATCH 4/5] fix(deps): bump @sasjs/adapter and @sasjs/core to their latest The three @sasjs runtime dependencies now track the released versions: @sasjs/adapter 4.19.1 -> 4.19.2 install script and redundant `https` removed @sasjs/core 5.2.10 -> 5.3.0 @sasjs/utils 3.6.2 -> 3.6.4 (already in this branch) 4.19.2 is the release that carried the adapter cleanup that had been sitting on master unreleased, because those merges used merge commits and semantic-release only reads the first-parent chain. @sasjs/lint stays at 4.1.1 until sasjs/lint#250 releases. --- package-lock.json | 27 ++++++++++----------------- package.json | 4 ++-- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6493a507..8bd9b617 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,8 @@ "name": "@sasjs/cli", "license": "ISC", "dependencies": { - "@sasjs/adapter": "4.19.1", - "@sasjs/core": "5.2.10", + "@sasjs/adapter": "4.19.2", + "@sasjs/core": "5.3.0", "@sasjs/lint": "4.1.1", "@sasjs/utils": "3.6.4", "chalk": "4.1.2", @@ -63,7 +63,7 @@ "util": "0.12.5" }, "engines": { - "node": ">=14" + "node": "^14.18.0 || >=16.10.0" } }, "node_modules/@asamuzakjp/css-color": { @@ -3270,23 +3270,22 @@ } }, "node_modules/@sasjs/adapter": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/@sasjs/adapter/-/adapter-4.19.1.tgz", - "integrity": "sha512-IpN6UPSdqVb5cAWEBt+jG/i0rhgCubdyp5kxdouuX3ifL313oJW2ZPVUNUvs0+ZGzsXWcGDTNoEzzTrGKiqJlQ==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/@sasjs/adapter/-/adapter-4.19.2.tgz", + "integrity": "sha512-7uxkpk0kjK4PZ552YK0CsTmEKEurK/1uzloR4rxplbViRkVdaewP5l0hIrGDBVM4z0gmV5pf1jh8uil3/NSAzw==", "license": "ISC", "dependencies": { - "@sasjs/utils": "^3.6.0", + "@sasjs/utils": "3.6.4", "axios": "1.20.0", "axios-cookiejar-support": "5.0.5", "form-data": "4.0.6", - "https": "1.0.0", "tough-cookie": "4.1.3" } }, "node_modules/@sasjs/core": { - "version": "5.2.10", - "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-5.2.10.tgz", - "integrity": "sha512-Lk/ENHVuXaeAl8M0+Mjh1rcBSdFt4tIM6OPxPPmk78ZD0gYFqAOUZreqIoV9EN+VwPDqYsUPDqXzh0crW6j8OA==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@sasjs/core/-/core-5.3.0.tgz", + "integrity": "sha512-6x1hEPa1pCENyeG0Nro3YcZZ+A8Ns60pO6gDuvG1X6oWdwOKKPpZztQNKE6khFmXXIGl0uUgT9CbappUET+odA==", "license": "MIT" }, "node_modules/@sasjs/lint": { @@ -5902,12 +5901,6 @@ "node": ">= 14" } }, - "node_modules/https": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https/-/https-1.0.0.tgz", - "integrity": "sha512-4EC57ddXrkaF0x83Oj8sM6SLQHAWXw90Skqu2M4AEWENZ3F02dFJE/GARA8igO79tcgYqGrD7ae4f5L3um2lgg==", - "license": "ISC" - }, "node_modules/https-proxy-agent": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", diff --git a/package.json b/package.json index 7057b0f0..11270ad8 100644 --- a/package.json +++ b/package.json @@ -71,8 +71,8 @@ "registry": "https://registry.npmjs.org" }, "dependencies": { - "@sasjs/adapter": "4.19.1", - "@sasjs/core": "5.2.10", + "@sasjs/adapter": "4.19.2", + "@sasjs/core": "5.3.0", "@sasjs/lint": "4.1.1", "@sasjs/utils": "3.6.4", "chalk": "4.1.2", From 013d3617e3c8f775bf6a551c7a28bb4f5684413f Mon Sep 17 00:00:00 2001 From: sasjs Date: Sun, 4 Oct 2026 12:53:00 +0000 Subject: [PATCH 5/5] fix(deps): bump @sasjs/lint to 4.1.2, and declare @types/prompts @sasjs/lint 4.1.2 carries the engines fix (^14.18.0 || >=16.10.0) and the prepare-script removal, so all four @sasjs dependencies now track the released versions: adapter 4.19.2, core 5.3.0, lint 4.1.2, utils 3.6.4. @types/prompts is added as a devDependency because this package's own source imports 'prompts' (src/commands/auth/login.ts and its spec). It previously resolved only by accident: @types/prompts is a dependency of @sasjs/utils, and npm hoisted it to the root on some installs and nested it under utils on others. TypeScript only auto-resolves @types from the root, so when it nested, the build failed: src/commands/auth/login.ts(1,21): error TS7016: Could not find a declaration file for module 'prompts'. Depending on where another package's transitive types land is not a contract; this package imports prompts, so it declares the types. --- package-lock.json | 131 +++++----------------------------------------- package.json | 3 +- 2 files changed, 14 insertions(+), 120 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8bd9b617..4ecb63be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@sasjs/adapter": "4.19.2", "@sasjs/core": "5.3.0", - "@sasjs/lint": "4.1.1", + "@sasjs/lint": "4.1.2", "@sasjs/utils": "3.6.4", "chalk": "4.1.2", "dotenv": "17.4.2", @@ -44,6 +44,7 @@ "@types/lodash.groupby": "4.6.9", "@types/lodash.uniqby": "4.7.9", "@types/node": "22.10.2", + "@types/prompts": "2.4.9", "@types/url-parse": "1.4.11", "@types/xml": "1.0.11", "@types/yauzl": "3.4.0", @@ -3289,95 +3290,16 @@ "license": "MIT" }, "node_modules/@sasjs/lint": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@sasjs/lint/-/lint-4.1.1.tgz", - "integrity": "sha512-5iPCZRNsE1LcNkEbZI9RYTCPVbbM77PMTFnjUm8H+Er1JJF/l0EWkao3yIyns5L85dWnEo+AbGv1eC9AMq6qMA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@sasjs/lint/-/lint-4.1.2.tgz", + "integrity": "sha512-P7QqeMPnhg/AvqH40dmyY2OArlvAYAp81/ijK/PhmS+x/HslpypdLoNy5iN7SwixUWPde5fPwV/ZBmcjVK0uLA==", "license": "MIT", "dependencies": { - "@sasjs/utils": "3.6.2", + "@sasjs/utils": "3.6.4", "ignore": "7.0.11" }, "engines": { - "node": ">=14" - } - }, - "node_modules/@sasjs/lint/node_modules/@sasjs/utils": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/@sasjs/utils/-/utils-3.6.2.tgz", - "integrity": "sha512-AfC5OJuJx3NAbntKq2J8E8NNpRXthYfuqOyp2lOmOkTctL3mAfrA54U/cdPQvrlftXNxpK9P2U0RU10qNjlEzQ==", - "license": "ISC", - "dependencies": { - "@fast-csv/format": "4.3.5", - "@types/fs-extra": "11.0.4", - "@types/prompts": "2.0.13", - "chalk": "4.1.1", - "cli-table": "0.3.6", - "consola": "2.15.0", - "find": "0.3.0", - "fs-extra": "11.3.0", - "jwt-decode": "3.1.2", - "prompts": "2.4.1", - "valid-url": "1.0.9" - } - }, - "node_modules/@sasjs/lint/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" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/@sasjs/lint/node_modules/cli-table": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.6.tgz", - "integrity": "sha512-ZkNZbnZjKERTY5NwC2SeMeLeifSPq/pubeRoTpdr3WchLlnZg6hEgvHkK5zL7KNFdd9PmHN8lxrENUwI3cE8vQ==", - "dependencies": { - "colors": "1.0.3" - }, - "engines": { - "node": ">= 0.2.0" - } - }, - "node_modules/@sasjs/lint/node_modules/consola": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/consola/-/consola-2.15.0.tgz", - "integrity": "sha512-vlcSGgdYS26mPf7qNi+dCisbhiyDnrN1zaRbw3CSuc2wGOMEGGPsp46PdRG5gqXwgtJfjxDkxRNAgRPr1B77vQ==", - "license": "MIT" - }, - "node_modules/@sasjs/lint/node_modules/fs-extra": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", - "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@sasjs/lint/node_modules/prompts": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.1.tgz", - "integrity": "sha512-EQyfIuO2hPDsX1L/blblV+H7I0knhgAd82cVneCwcdND9B8AuCDuRcBH6yIcG4dFzlOUqbazQqwGjx5xmsNLuQ==", - "license": "MIT", - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" + "node": "^14.18.0 || >=16.10.0" } }, "node_modules/@sasjs/utils": { @@ -3397,16 +3319,6 @@ "prompts": "2.4.2" } }, - "node_modules/@sasjs/utils/node_modules/@types/prompts": { - "version": "2.4.9", - "resolved": "https://registry.npmjs.org/@types/prompts/-/prompts-2.4.9.tgz", - "integrity": "sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==", - "license": "MIT", - "dependencies": { - "@types/node": "*", - "kleur": "^3.0.3" - } - }, "node_modules/@sasjs/utils/node_modules/chalk": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", @@ -3713,12 +3625,13 @@ } }, "node_modules/@types/prompts": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/@types/prompts/-/prompts-2.0.13.tgz", - "integrity": "sha512-jwMOIGy49VruR/gYehhJYgpVzB+EVpEE7t7j9m1oTo4HMpOe7KmsyqdBuoxAzA5B4caUgx0cKrWr7wUEqMXJ7Q==", + "version": "2.4.9", + "resolved": "https://registry.npmjs.org/@types/prompts/-/prompts-2.4.9.tgz", + "integrity": "sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==", "license": "MIT", "dependencies": { - "@types/node": "*" + "@types/node": "*", + "kleur": "^3.0.3" } }, "node_modules/@types/stack-utils": { @@ -5470,15 +5383,6 @@ "node": ">=8" } }, - "node_modules/find": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/find/-/find-0.3.0.tgz", - "integrity": "sha512-iSd+O4OEYV/I36Zl8MdYJO0xD82wH528SaCieTVHhclgiYNe9y+yPKSwK+A7/WsmHL1EZ+pYUJBXWTL5qofksw==", - "license": "MIT", - "dependencies": { - "traverse-chain": "~0.1.0" - } - }, "node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -9565,12 +9469,6 @@ "node": ">=18" } }, - "node_modules/traverse-chain": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/traverse-chain/-/traverse-chain-0.1.0.tgz", - "integrity": "sha512-up6Yvai4PYKhpNp5PkYtx50m3KbwQrqDwbuZP/ItyL64YEWHAvH6Md83LFLV/GRSk/BoUVwwgUzX6SOQSbsfAg==", - "license": "MIT" - }, "node_modules/trim-buffer": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/trim-buffer/-/trim-buffer-5.0.0.tgz", @@ -9955,11 +9853,6 @@ "node": ">=10.12.0" } }, - "node_modules/valid-url": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz", - "integrity": "sha512-QQDsV8OnSf5Uc30CKSwG9lnhMPe6exHtTXLRYX8uMwKENy640pU+2BgBL0LRbDh/eYRahNCS7aewCx0wf3NYVA==" - }, "node_modules/w3c-xmlserializer": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz", diff --git a/package.json b/package.json index 11270ad8..f33a7f23 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "dependencies": { "@sasjs/adapter": "4.19.2", "@sasjs/core": "5.3.0", - "@sasjs/lint": "4.1.1", + "@sasjs/lint": "4.1.2", "@sasjs/utils": "3.6.4", "chalk": "4.1.2", "dotenv": "17.4.2", @@ -104,6 +104,7 @@ "@types/lodash.groupby": "4.6.9", "@types/lodash.uniqby": "4.7.9", "@types/node": "22.10.2", + "@types/prompts": "2.4.9", "@types/url-parse": "1.4.11", "@types/xml": "1.0.11", "@types/yauzl": "3.4.0",