From ba48994009f55a05a88743f7a56c3cad39594f7c Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Tue, 28 May 2024 15:58:13 -0400 Subject: [PATCH 01/18] Make initial linter changes Signed-off-by: Andrew W. Harn --- .eslintrc.js | 6 +- .../{test-tsconfig.json => tsconfig.json} | 5 +- npm-shrinkwrap.json | 345 +++++++++++++++++- package.json | 12 +- packages/.madgerc | 7 + ....zowe.daemon.integration.suite.subtest.ts} | 8 +- ...on.ts => cli.zowe.exe.integration.test.ts} | 0 ...cli.daemon.disable.integration.subtest.ts} | 0 ... cli.daemon.enable.integration.subtest.ts} | 0 ...cli.daemon.restart.integration.subtest.ts} | 0 packages/cli/__tests__/tsconfig.json | 28 ++ packages/core/__tests__/tsconfig.json | 12 + packages/imperative/.eslintrc.js | 12 + packages/imperative/__tests__/tsconfig.json | 28 ++ packages/imperative/package.json | 6 +- packages/imperative/tsconfig-tests.json | 7 +- packages/provisioning/__tests__/tsconfig.json | 12 + packages/secrets/package.json | 1 + packages/workflows/__tests__/tsconfig.json | 12 + packages/zosconsole/__tests__/tsconfig.json | 12 + packages/zosfiles/__tests__/tsconfig.json | 12 + packages/zosjobs/__tests__/tsconfig.json | 12 + packages/zoslogs/__tests__/tsconfig.json | 12 + packages/zosmf/__tests__/tsconfig.json | 12 + packages/zostso/__tests__/tsconfig.json | 12 + packages/zosuss/__tests__/tsconfig.json | 12 + 26 files changed, 554 insertions(+), 31 deletions(-) rename __tests__/{test-tsconfig.json => tsconfig.json} (88%) create mode 100644 packages/.madgerc rename packages/cli/__tests__/daemon/__integration__/{cli.zowe.daemon.integration.suite.test.ts => cli.zowe.daemon.integration.suite.subtest.ts} (93%) rename packages/cli/__tests__/daemon/__integration__/{cli.zowe.exe.integration.ts => cli.zowe.exe.integration.test.ts} (100%) rename packages/cli/__tests__/daemon/__integration__/disable/{cli.daemon.disable.integration.ts => cli.daemon.disable.integration.subtest.ts} (100%) rename packages/cli/__tests__/daemon/__integration__/enable/{cli.daemon.enable.integration.ts => cli.daemon.enable.integration.subtest.ts} (100%) rename packages/cli/__tests__/daemon/__integration__/restart/{cli.daemon.restart.integration.ts => cli.daemon.restart.integration.subtest.ts} (100%) create mode 100644 packages/cli/__tests__/tsconfig.json create mode 100644 packages/core/__tests__/tsconfig.json create mode 100644 packages/imperative/.eslintrc.js create mode 100644 packages/imperative/__tests__/tsconfig.json create mode 100644 packages/provisioning/__tests__/tsconfig.json create mode 100644 packages/workflows/__tests__/tsconfig.json create mode 100644 packages/zosconsole/__tests__/tsconfig.json create mode 100644 packages/zosfiles/__tests__/tsconfig.json create mode 100644 packages/zosjobs/__tests__/tsconfig.json create mode 100644 packages/zoslogs/__tests__/tsconfig.json create mode 100644 packages/zosmf/__tests__/tsconfig.json create mode 100644 packages/zostso/__tests__/tsconfig.json create mode 100644 packages/zosuss/__tests__/tsconfig.json diff --git a/.eslintrc.js b/.eslintrc.js index 925a75dbb3..3b4488bdb1 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,7 +5,8 @@ module.exports = { }, "extends": [ "eslint:recommended", - "plugin:@typescript-eslint/recommended" + "plugin:@typescript-eslint/recommended", + "plugin:deprecation/recommended" ], "ignorePatterns": [ "**/*.js", @@ -37,7 +38,8 @@ module.exports = { "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 12, - "sourceType": "module" + "sourceType": "module", + "project": ["./tsconfig.json", "./__tests__/tsconfig.json"] }, "plugins": [ "@typescript-eslint", diff --git a/__tests__/test-tsconfig.json b/__tests__/tsconfig.json similarity index 88% rename from __tests__/test-tsconfig.json rename to __tests__/tsconfig.json index c3a54d9081..d40bd8139b 100644 --- a/__tests__/test-tsconfig.json +++ b/__tests__/tsconfig.json @@ -17,8 +17,9 @@ "newLine": "lf" }, "include": [ - "./**/*.ts", - "../packages/**/__tests__/**/*.ts" + "**/*.test.ts", + "**/*.subtest.ts", + "**/__tests__/**/*" ], "files": [ "../__types__/wontache.d.ts" diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index bbdac367c1..eca5d414b1 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -25,6 +25,7 @@ "chalk": "^4.1.0", "env-cmd": "^10.1.0", "eslint": "^8.22.0", + "eslint-plugin-deprecation": "^2.0.0", "eslint-plugin-jest": "^26.8.0", "eslint-plugin-unused-imports": "^2.0.0", "fancy-log": "^1.3.3", @@ -821,6 +822,33 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/@eslint/eslintrc": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", @@ -5768,9 +5796,9 @@ "dev": true }, "node_modules/@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true }, "node_modules/@types/jsonfile": { @@ -5906,9 +5934,9 @@ } }, "node_modules/@types/semver": { - "version": "7.3.12", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.12.tgz", - "integrity": "sha512-WwA1MW0++RfXmCr12xeYOOC5baSC9mSb0ZqCquFzKhcoF4TvHu5MKOuXsncgZcpVFhB1pXd5hZmM0ryAoCp12A==", + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", + "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", "dev": true }, "node_modules/@types/sizzle": { @@ -10049,6 +10077,163 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint-plugin-deprecation": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-deprecation/-/eslint-plugin-deprecation-2.0.0.tgz", + "integrity": "sha512-OAm9Ohzbj11/ZFyICyR5N6LbOIvQMp7ZU2zI7Ej0jIc8kiGUERXPNMfw2QqqHD1ZHtjMub3yPZILovYEYucgoQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/utils": "^6.0.0", + "tslib": "^2.3.1", + "tsutils": "^3.21.0" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0", + "typescript": "^4.2.4 || ^5.0.0" + } + }, + "node_modules/eslint-plugin-deprecation/node_modules/@typescript-eslint/scope-manager": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz", + "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-deprecation/node_modules/@typescript-eslint/types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz", + "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==", + "dev": true, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-deprecation/node_modules/@typescript-eslint/typescript-estree": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz", + "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "9.0.3", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-deprecation/node_modules/@typescript-eslint/utils": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz", + "integrity": "sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "semver": "^7.5.4" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + } + }, + "node_modules/eslint-plugin-deprecation/node_modules/@typescript-eslint/visitor-keys": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz", + "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "6.21.0", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/eslint-plugin-deprecation/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/eslint-plugin-deprecation/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-deprecation/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/eslint-plugin-deprecation/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true + }, "node_modules/eslint-plugin-jest": { "version": "26.9.0", "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-26.9.0.tgz", @@ -19411,6 +19596,18 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, + "node_modules/ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, "node_modules/ts-jest": { "version": "29.1.1", "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.1.tgz", @@ -21646,6 +21843,23 @@ } } }, + "@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.3.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true + } + } + }, "@eslint/eslintrc": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", @@ -25286,9 +25500,9 @@ "dev": true }, "@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true }, "@types/jsonfile": { @@ -25424,9 +25638,9 @@ } }, "@types/semver": { - "version": "7.3.12", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.12.tgz", - "integrity": "sha512-WwA1MW0++RfXmCr12xeYOOC5baSC9mSb0ZqCquFzKhcoF4TvHu5MKOuXsncgZcpVFhB1pXd5hZmM0ryAoCp12A==", + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", + "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", "dev": true }, "@types/sizzle": { @@ -28862,6 +29076,106 @@ } } }, + "eslint-plugin-deprecation": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-deprecation/-/eslint-plugin-deprecation-2.0.0.tgz", + "integrity": "sha512-OAm9Ohzbj11/ZFyICyR5N6LbOIvQMp7ZU2zI7Ej0jIc8kiGUERXPNMfw2QqqHD1ZHtjMub3yPZILovYEYucgoQ==", + "dev": true, + "requires": { + "@typescript-eslint/utils": "^6.0.0", + "tslib": "^2.3.1", + "tsutils": "^3.21.0" + }, + "dependencies": { + "@typescript-eslint/scope-manager": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz", + "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0" + } + }, + "@typescript-eslint/types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz", + "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz", + "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "9.0.3", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" + } + }, + "@typescript-eslint/utils": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz", + "integrity": "sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "semver": "^7.5.4" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz", + "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==", + "dev": true, + "requires": { + "@typescript-eslint/types": "6.21.0", + "eslint-visitor-keys": "^3.4.1" + } + }, + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true + }, + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true + } + } + }, "eslint-plugin-jest": { "version": "26.9.0", "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-26.9.0.tgz", @@ -35881,6 +36195,13 @@ "integrity": "sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A==", "dev": true }, + "ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "requires": {} + }, "ts-jest": { "version": "29.1.1", "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.1.tgz", diff --git a/package.json b/package.json index ddcc2984df..5352d87e3d 100644 --- a/package.json +++ b/package.json @@ -15,11 +15,12 @@ "clean": "lerna run --parallel clean", "clean:exe": "cd zowex && cargo clean", "installWithBuild": "npm install && npm run build", - "checkTestsCompile": "echo \"Checking that test source compiles...\" && tsc --project __tests__/test-tsconfig.json --noEmit", - "circularDependencyCheck": "lerna run --parallel circularDependencyCheck -- -- --warning --no-spinner", - "lint": "eslint \"packages/**/*.ts\" \"**/__tests__/**/*.ts\"", - "lint:packages": "eslint \"packages/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\"", - "lint:tests": "eslint \"**/__tests__/**/*.ts\"", + "checkTestsCompile": "echo \"Checking that test source compiles...\" && tsc --project __tests__/tsconfig.json --noEmit", + "circularDependencyCheck": "lerna run --parallel circularDependencyCheck -- --warning --no-spinner", + "lint": "lerna run lint --parallel --no-bail", + "lint:packages": "lerna run lint:packages --parallel --no-bail", + "lint:series": "lerna run lint --no-bail", + "lint:tests": "lerna run lint:tests --parallel --no-bail", "test": "npm run test:unit && npm run test:integration && npm run test:system", "test:act": "node scripts/testCliWorkflow.js", "test:cleanResults": "rimraf __tests__/__results__", @@ -56,6 +57,7 @@ "chalk": "^4.1.0", "env-cmd": "^10.1.0", "eslint": "^8.22.0", + "eslint-plugin-deprecation": "^2.0.0", "eslint-plugin-jest": "^26.8.0", "eslint-plugin-unused-imports": "^2.0.0", "fancy-log": "^1.3.3", diff --git a/packages/.madgerc b/packages/.madgerc new file mode 100644 index 0000000000..99ddc7266e --- /dev/null +++ b/packages/.madgerc @@ -0,0 +1,7 @@ +{ + "detectiveOptions": { + "ts": { + "skipTypeImports": true + } + } +} \ No newline at end of file diff --git a/packages/cli/__tests__/daemon/__integration__/cli.zowe.daemon.integration.suite.test.ts b/packages/cli/__tests__/daemon/__integration__/cli.zowe.daemon.integration.suite.subtest.ts similarity index 93% rename from packages/cli/__tests__/daemon/__integration__/cli.zowe.daemon.integration.suite.test.ts rename to packages/cli/__tests__/daemon/__integration__/cli.zowe.daemon.integration.suite.subtest.ts index 586bfbc873..313f1f3a8d 100644 --- a/packages/cli/__tests__/daemon/__integration__/cli.zowe.daemon.integration.suite.test.ts +++ b/packages/cli/__tests__/daemon/__integration__/cli.zowe.daemon.integration.suite.subtest.ts @@ -90,8 +90,8 @@ describe("Zowe daemon suite", () => { }); // run all of our daemon-related tests - require("./cli.zowe.exe.integration"); - require("./enable/cli.daemon.enable.integration"); - require("./disable/cli.daemon.disable.integration"); - require("./restart/cli.daemon.restart.integration"); + require("./cli.zowe.exe.integration.subtest"); + require("./enable/cli.daemon.enable.integration.subtest"); + require("./disable/cli.daemon.disable.integration.subtest"); + require("./restart/cli.daemon.restart.integration.subtest"); }); diff --git a/packages/cli/__tests__/daemon/__integration__/cli.zowe.exe.integration.ts b/packages/cli/__tests__/daemon/__integration__/cli.zowe.exe.integration.test.ts similarity index 100% rename from packages/cli/__tests__/daemon/__integration__/cli.zowe.exe.integration.ts rename to packages/cli/__tests__/daemon/__integration__/cli.zowe.exe.integration.test.ts diff --git a/packages/cli/__tests__/daemon/__integration__/disable/cli.daemon.disable.integration.ts b/packages/cli/__tests__/daemon/__integration__/disable/cli.daemon.disable.integration.subtest.ts similarity index 100% rename from packages/cli/__tests__/daemon/__integration__/disable/cli.daemon.disable.integration.ts rename to packages/cli/__tests__/daemon/__integration__/disable/cli.daemon.disable.integration.subtest.ts diff --git a/packages/cli/__tests__/daemon/__integration__/enable/cli.daemon.enable.integration.ts b/packages/cli/__tests__/daemon/__integration__/enable/cli.daemon.enable.integration.subtest.ts similarity index 100% rename from packages/cli/__tests__/daemon/__integration__/enable/cli.daemon.enable.integration.ts rename to packages/cli/__tests__/daemon/__integration__/enable/cli.daemon.enable.integration.subtest.ts diff --git a/packages/cli/__tests__/daemon/__integration__/restart/cli.daemon.restart.integration.ts b/packages/cli/__tests__/daemon/__integration__/restart/cli.daemon.restart.integration.subtest.ts similarity index 100% rename from packages/cli/__tests__/daemon/__integration__/restart/cli.daemon.restart.integration.ts rename to packages/cli/__tests__/daemon/__integration__/restart/cli.daemon.restart.integration.subtest.ts diff --git a/packages/cli/__tests__/tsconfig.json b/packages/cli/__tests__/tsconfig.json new file mode 100644 index 0000000000..c4d748311b --- /dev/null +++ b/packages/cli/__tests__/tsconfig.json @@ -0,0 +1,28 @@ +{ + // tsconfig for test files // + "compilerOptions": { + "types": ["node", "jest"], + "lib": ["esnext"], + "target": "es2015", + "module": "commonjs", + "declaration": true, + "moduleResolution": "node", + "noImplicitAny": true, + "preserveConstEnums": true, + "experimentalDecorators": true, + "removeComments": false, + "pretty": true, + "sourceMap": true, + "newLine": "lf", + "esModuleInterop": true + }, + "include": [ + "**/*.test.ts", + "**/*.subtest.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/core/__tests__/tsconfig.json b/packages/core/__tests__/tsconfig.json new file mode 100644 index 0000000000..434259e064 --- /dev/null +++ b/packages/core/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} diff --git a/packages/imperative/.eslintrc.js b/packages/imperative/.eslintrc.js new file mode 100644 index 0000000000..fa630b127c --- /dev/null +++ b/packages/imperative/.eslintrc.js @@ -0,0 +1,12 @@ +module.exports = { + ...require("../../.eslintrc.js"), + "parserOptions": { + "ecmaVersion": 12, + "sourceType": "module", + "project": [ + "./tsconfig.json", + "./__tests__/tsconfig.json", + "./tsconfig-tests.json" + ] + } +} \ No newline at end of file diff --git a/packages/imperative/__tests__/tsconfig.json b/packages/imperative/__tests__/tsconfig.json new file mode 100644 index 0000000000..c4d748311b --- /dev/null +++ b/packages/imperative/__tests__/tsconfig.json @@ -0,0 +1,28 @@ +{ + // tsconfig for test files // + "compilerOptions": { + "types": ["node", "jest"], + "lib": ["esnext"], + "target": "es2015", + "module": "commonjs", + "declaration": true, + "moduleResolution": "node", + "noImplicitAny": true, + "preserveConstEnums": true, + "experimentalDecorators": true, + "removeComments": false, + "pretty": true, + "sourceMap": true, + "newLine": "lf", + "esModuleInterop": true + }, + "include": [ + "**/*.test.ts", + "**/*.subtest.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/imperative/package.json b/packages/imperative/package.json index 20feed5dad..cf9ee079c3 100644 --- a/packages/imperative/package.json +++ b/packages/imperative/package.json @@ -30,9 +30,9 @@ "scripts": { "build:packages": "tsc --pretty", "build": "npm run build:packages && npm run build:webHelp", - "lint": "eslint \"packages/**/*.ts\" \"**/__tests__/**/*.ts\"", - "lint:packages": "eslint \"packages/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\"", - "lint:tests": "eslint \"**/__tests__/**/*.ts\"", + "lint": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\"", + "lint:packages": "eslint \"src/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\"", + "lint:tests": "eslint \"./__tests__/**/*.ts\"", "circularDependencyCheck": "madge -c lib", "watch": "concurrently \"tsc --pretty --watch\" \"npm run watch:webHelp\"", "build:webHelp": "cd web-help && npm run build", diff --git a/packages/imperative/tsconfig-tests.json b/packages/imperative/tsconfig-tests.json index 6bd842eb0f..3485999e7b 100644 --- a/packages/imperative/tsconfig-tests.json +++ b/packages/imperative/tsconfig-tests.json @@ -25,12 +25,13 @@ "./node_modules/@types" ], "include": [ - "**/__tests__/*" + "**/__tests__/*", + "**/__tests__/**/*", + "**/__mocks__/*" ], "exclude": [ "lib", - "node_modules", - "**/__mocks__/*" + "node_modules" ], "files": [ "../../__types__/wontache.d.ts" diff --git a/packages/provisioning/__tests__/tsconfig.json b/packages/provisioning/__tests__/tsconfig.json new file mode 100644 index 0000000000..434259e064 --- /dev/null +++ b/packages/provisioning/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} diff --git a/packages/secrets/package.json b/packages/secrets/package.json index 95c57aa814..dfe705f8cc 100644 --- a/packages/secrets/package.json +++ b/packages/secrets/package.json @@ -40,6 +40,7 @@ "build:debug": "cd src/keyring && napi build --config napi.json --js false --platform", "build:ts": "tsc --pretty", "install": "node scripts/prebuildCheck.js || npm run rebuild", + "lint": "echo 'Nothing to Lint'", "prepack": "node ../../scripts/prepareLicenses.js", "prepublishOnly": "bash scripts/prebuildify.sh", "rebuild": "npx --yes --package=@napi-rs/cli@2.16.2 -- napi build --config src/keyring/napi.json --cargo-cwd src/keyring --platform --release --js=false src/keyring", diff --git a/packages/workflows/__tests__/tsconfig.json b/packages/workflows/__tests__/tsconfig.json new file mode 100644 index 0000000000..434259e064 --- /dev/null +++ b/packages/workflows/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} diff --git a/packages/zosconsole/__tests__/tsconfig.json b/packages/zosconsole/__tests__/tsconfig.json new file mode 100644 index 0000000000..d4253ffe43 --- /dev/null +++ b/packages/zosconsole/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/zosfiles/__tests__/tsconfig.json b/packages/zosfiles/__tests__/tsconfig.json new file mode 100644 index 0000000000..434259e064 --- /dev/null +++ b/packages/zosfiles/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} diff --git a/packages/zosjobs/__tests__/tsconfig.json b/packages/zosjobs/__tests__/tsconfig.json new file mode 100644 index 0000000000..d4253ffe43 --- /dev/null +++ b/packages/zosjobs/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/zoslogs/__tests__/tsconfig.json b/packages/zoslogs/__tests__/tsconfig.json new file mode 100644 index 0000000000..434259e064 --- /dev/null +++ b/packages/zoslogs/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} diff --git a/packages/zosmf/__tests__/tsconfig.json b/packages/zosmf/__tests__/tsconfig.json new file mode 100644 index 0000000000..d4253ffe43 --- /dev/null +++ b/packages/zosmf/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/zostso/__tests__/tsconfig.json b/packages/zostso/__tests__/tsconfig.json new file mode 100644 index 0000000000..d4253ffe43 --- /dev/null +++ b/packages/zostso/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/zosuss/__tests__/tsconfig.json b/packages/zosuss/__tests__/tsconfig.json new file mode 100644 index 0000000000..d4253ffe43 --- /dev/null +++ b/packages/zosuss/__tests__/tsconfig.json @@ -0,0 +1,12 @@ +{ + // tsconfig for test files // + "extends": "../../../__tests__/tsconfig.json", + "include": [ + "**/*.test.ts", + "**/__tests__/**/*" + ], + "exclude": [ + "lib", + "node_modules" + ] +} \ No newline at end of file From 2de65e22a5cd70fdb7869823d41f779ef3974640 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Tue, 6 Aug 2024 11:15:49 -0400 Subject: [PATCH 02/18] Fix packages except Imperative Signed-off-by: Andrew W. Harn --- .../cli-test-utils/src/TestUtils.ts | 1 + .../src/environment/TempTestProfiles.ts | 2 +- .../view/uss/View.uss.system.test.ts | 8 ++++---- .../dsclp/TargetProfile.handler.unit.test.ts | 1 + .../cli.zos-jobs.list.jobs.system.test.ts | 2 +- ...s.list.spool-files-by-jobid.system.test.ts | 2 +- .../issue/cli.issue.ssh.system.test.ts | 4 ++-- .../delete/instance/DeleteInstance.handler.ts | 3 +-- .../list/instanceInfo/InstanceInfo.handler.ts | 5 ++--- .../InstanceVariables.handler.ts | 3 +-- .../registry/RegistryInstances.handler.ts | 3 +-- .../perform/action/Action.handler.ts | 3 +-- .../provision/template/Template.handler.ts | 9 ++------- .../issue/command/Command.handler.ts | 7 +++---- .../copy/dsclp/TargetProfile.handler.ts | 1 + .../cli/src/zosfiles/create/Create.options.ts | 1 + .../src/cmd/src/yargs/CommandYargs.ts | 2 +- .../PluginRequireProvider.unit.test.ts | 6 +++--- .../src/plugins/PluginRequireProvider.ts | 2 +- .../utilities/npm-interface/install.ts | 2 +- .../imperative/src/utilities/src/CliUtils.ts | 4 ++-- .../provisioning/src/ListRegistryInstances.ts | 5 ++--- packages/workflows/src/Create.ts | 11 +++++----- packages/workflows/src/Start.ts | 3 +-- packages/zosconsole/src/CollectCommand.ts | 9 ++++----- .../zosconsole/src/ConsoleResponseService.ts | 16 +++++++-------- packages/zosconsole/src/IssueCommand.ts | 9 ++++----- .../methods/download/Download.unit.test.ts | 18 ++++++++--------- .../methods/utilities/Utilities.unit.test.ts | 14 ++++++------- .../src/constants/ZosFiles.messages.ts | 5 +++++ packages/zosfiles/src/methods/mount/Mount.ts | 3 +-- .../zosfiles/src/methods/upload/Upload.ts | 4 ++-- packages/zosfiles/src/utils/ZosFilesUtils.ts | 2 +- .../__system__/DownloadJobs.system.test.ts | 20 ++++++++++++++++--- .../__system__/MonitorJobs.system.test.ts | 4 ++-- packages/zoslogs/src/GetZosLog.ts | 3 +-- packages/zosmf/src/ZosmfBaseHandler.ts | 6 ++++++ packages/zostso/src/SendTso.ts | 3 +-- packages/zosuss/src/SshBaseHandler.ts | 3 +++ 39 files changed, 111 insertions(+), 98 deletions(-) diff --git a/__tests__/__packages__/cli-test-utils/src/TestUtils.ts b/__tests__/__packages__/cli-test-utils/src/TestUtils.ts index 91b6b54034..5b0c702ff6 100644 --- a/__tests__/__packages__/cli-test-utils/src/TestUtils.ts +++ b/__tests__/__packages__/cli-test-utils/src/TestUtils.ts @@ -155,6 +155,7 @@ export function mockHandlerParameters(params: PartialHandlerParameters): IHandle ...(params.arguments || {}) }, positionals: params.positionals || [], + // eslint-disable-next-line deprecation/deprecation profiles: params.profiles || new CommandProfiles(new Map()), definition: params.definition, fullDefinition: params.definition, diff --git a/__tests__/__packages__/cli-test-utils/src/environment/TempTestProfiles.ts b/__tests__/__packages__/cli-test-utils/src/environment/TempTestProfiles.ts index 74cb912ff4..1812f0e8c6 100644 --- a/__tests__/__packages__/cli-test-utils/src/environment/TempTestProfiles.ts +++ b/__tests__/__packages__/cli-test-utils/src/environment/TempTestProfiles.ts @@ -216,7 +216,7 @@ export class TempTestProfiles { config.api.layers.activate(false, true); // Remove profile from config JSON - config.delete(config.api.profiles.expandPath(profileName)); + config.delete(config.api.profiles.getProfilePathFromName(profileName)); if (config.api.layers.get().properties.defaults[profileType] === profileName) { config.delete(`defaults.${profileType}`); } diff --git a/packages/cli/__tests__/zosfiles/__system__/view/uss/View.uss.system.test.ts b/packages/cli/__tests__/zosfiles/__system__/view/uss/View.uss.system.test.ts index 9db8f91935..c36f5ab897 100644 --- a/packages/cli/__tests__/zosfiles/__system__/view/uss/View.uss.system.test.ts +++ b/packages/cli/__tests__/zosfiles/__system__/view/uss/View.uss.system.test.ts @@ -78,7 +78,7 @@ describe("View uss file", () => { await ZosmfRestClient.putExpectString(REAL_SESSION, endpoint, [], data); const shellScript = path.join(__dirname, "__scripts__", "command", "command_view_uss_file.sh"); - const response = runCliScript(shellScript, testEnvironment, [ussname.substr(1, ussname.length)]); + const response = runCliScript(shellScript, testEnvironment, [ussname.substring(1, ussname.length)]); expect(response.stderr.toString()).toBe(""); expect(response.status).toBe(0); @@ -90,7 +90,7 @@ describe("View uss file", () => { await ZosmfRestClient.putExpectString(REAL_SESSION, endpoint, [ZosmfHeaders.X_IBM_BINARY], data); const shellScript = path.join(__dirname, "__scripts__", "command", "command_view_uss_file.sh"); - const response = runCliScript(shellScript, testEnvironment, [ussname.substr(1, ussname.length), "--binary"]); + const response = runCliScript(shellScript, testEnvironment, [ussname.substring(1, ussname.length), "--binary"]); expect(response.stderr.toString()).toBe(""); expect(response.status).toBe(0); @@ -102,7 +102,7 @@ describe("View uss file", () => { await Upload.bufferToUssFile(REAL_SESSION, ussname, Buffer.from(data), { binary: true }); const shellScript = path.join(__dirname, "__scripts__", "command", "command_view_uss_file.sh"); - const response = runCliScript(shellScript, testEnvironment, [ussname.substr(1, ussname.length), "--binary"]); + const response = runCliScript(shellScript, testEnvironment, [ussname.substring(1, ussname.length), "--binary"]); const respdata = response.stdout.toLocaleString(); expect(response.stderr.toString()).toBe(""); @@ -115,7 +115,7 @@ describe("View uss file", () => { await ZosmfRestClient.putExpectString(REAL_SESSION, endpoint, [], data); const shellScript = path.join(__dirname, "__scripts__", "command", "command_view_uss_file.sh"); - const response = runCliScript(shellScript, testEnvironment, [ussname.substr(1, ussname.length), "--range", "0,1"]); + const response = runCliScript(shellScript, testEnvironment, [ussname.substring(1, ussname.length), "--range", "0,1"]); expect(response.stderr.toString()).toBe(""); expect(response.status).toBe(0); diff --git a/packages/cli/__tests__/zosfiles/__unit__/copy/dsclp/TargetProfile.handler.unit.test.ts b/packages/cli/__tests__/zosfiles/__unit__/copy/dsclp/TargetProfile.handler.unit.test.ts index 556f605d23..a31b176399 100644 --- a/packages/cli/__tests__/zosfiles/__unit__/copy/dsclp/TargetProfile.handler.unit.test.ts +++ b/packages/cli/__tests__/zosfiles/__unit__/copy/dsclp/TargetProfile.handler.unit.test.ts @@ -98,6 +98,7 @@ describe("TargetProfileHandler", () => { password: "password2", port: 123 }); + // eslint-disable-next-line deprecation/deprecation commandParameters.profiles.get = getProfileMock; jest.spyOn(ImperativeConfig, "instance", "get").mockReturnValue({ config: { exists: false } diff --git a/packages/cli/__tests__/zosjobs/__system__/list/cli.zos-jobs.list.jobs.system.test.ts b/packages/cli/__tests__/zosjobs/__system__/list/cli.zos-jobs.list.jobs.system.test.ts index 980349b35f..54327bf0da 100644 --- a/packages/cli/__tests__/zosjobs/__system__/list/cli.zos-jobs.list.jobs.system.test.ts +++ b/packages/cli/__tests__/zosjobs/__system__/list/cli.zos-jobs.list.jobs.system.test.ts @@ -45,7 +45,7 @@ describe("zos-jobs list jobs command", () => { ACCOUNT = systemProps.tso.account; const JOB_LENGTH = 6; - JOB_NAME = REAL_SESSION.ISession.user.substr(0, JOB_LENGTH).toUpperCase() + "SF"; + JOB_NAME = REAL_SESSION.ISession.user.substring(0, JOB_LENGTH).toUpperCase() + "SF"; NON_HELD_JOBCLASS = TEST_ENVIRONMENT.systemTestProperties.zosjobs.jobclass; }); diff --git a/packages/cli/__tests__/zosjobs/__system__/list/cli.zos-jobs.list.spool-files-by-jobid.system.test.ts b/packages/cli/__tests__/zosjobs/__system__/list/cli.zos-jobs.list.spool-files-by-jobid.system.test.ts index a65285f780..b13ca31764 100644 --- a/packages/cli/__tests__/zosjobs/__system__/list/cli.zos-jobs.list.spool-files-by-jobid.system.test.ts +++ b/packages/cli/__tests__/zosjobs/__system__/list/cli.zos-jobs.list.spool-files-by-jobid.system.test.ts @@ -49,7 +49,7 @@ describe("zos-jobs list spool-files-by-jobid command", () => { ACCOUNT = defaultSystem.tso.account; const JOB_LENGTH = 6; - JOB_NAME = REAL_SESSION.ISession.user.substr(0, JOB_LENGTH).toUpperCase() + "SF"; + JOB_NAME = REAL_SESSION.ISession.user.substring(0, JOB_LENGTH).toUpperCase() + "SF"; NON_HELD_JOBCLASS = TEST_ENVIRONMENT.systemTestProperties.zosjobs.jobclass; }); diff --git a/packages/cli/__tests__/zosuss/__system__/issue/cli.issue.ssh.system.test.ts b/packages/cli/__tests__/zosuss/__system__/issue/cli.issue.ssh.system.test.ts index bc4a83c0bc..fce953a4e2 100644 --- a/packages/cli/__tests__/zosuss/__system__/issue/cli.issue.ssh.system.test.ts +++ b/packages/cli/__tests__/zosuss/__system__/issue/cli.issue.ssh.system.test.ts @@ -16,7 +16,7 @@ import { TestEnvironment } from "../../../../../../__tests__/__src__/environment import { ITestPropertiesSchema } from "../../../../../../__tests__/__src__/properties/ITestPropertiesSchema"; import { ZosFilesConstants } from "@zowe/zos-files-for-zowe-sdk"; import { ZosmfRestClient } from "@zowe/core-for-zowe-sdk"; -import { startCmdFlag } from "@zowe/zos-uss-for-zowe-sdk"; +import { Shell } from "@zowe/zos-uss-for-zowe-sdk"; // Test environment will be populated in the "beforeAll" @@ -35,7 +35,7 @@ let keyPassphrase: string; function checkResponse(response: any, expectStatus: number) { expect(response.stderr.toString()).toBe(""); expect(response.status).toBe(expectStatus); - expect(response.stdout.toString()).not.toMatch(startCmdFlag); + expect(response.stdout.toString()).not.toMatch(Shell.startCmdFlag); } function generateRandomString(j: number) { diff --git a/packages/cli/src/provisioning/delete/instance/DeleteInstance.handler.ts b/packages/cli/src/provisioning/delete/instance/DeleteInstance.handler.ts index 11ee412517..f283a67b83 100644 --- a/packages/cli/src/provisioning/delete/instance/DeleteInstance.handler.ts +++ b/packages/cli/src/provisioning/delete/instance/DeleteInstance.handler.ts @@ -9,7 +9,6 @@ * */ -import { isNullOrUndefined } from "util"; import { IHandlerParameters } from "@zowe/imperative"; import { IProvisionedInstance, @@ -28,7 +27,7 @@ export default class Handler extends ZosmfBaseHandler { commandParameters.arguments.name ); const instances: IProvisionedInstance[] = registry["scr-list"]; - if (isNullOrUndefined(instances)) { + if (instances == null) { commandParameters.response.console.error( "No instance with name " + commandParameters.arguments.name + diff --git a/packages/cli/src/provisioning/list/instanceInfo/InstanceInfo.handler.ts b/packages/cli/src/provisioning/list/instanceInfo/InstanceInfo.handler.ts index 9b027ef161..1905a19da8 100644 --- a/packages/cli/src/provisioning/list/instanceInfo/InstanceInfo.handler.ts +++ b/packages/cli/src/provisioning/list/instanceInfo/InstanceInfo.handler.ts @@ -21,7 +21,6 @@ import { ProvisioningConstants, ListInstanceInfo } from "@zowe/provisioning-for-zowe-sdk"; -import { isNullOrUndefined } from "util"; import { ZosmfBaseHandler } from "@zowe/zosmf-for-zowe-sdk"; /** @@ -36,7 +35,7 @@ export default class InstanceInfoHandler extends ZosmfBaseHandler { const registry = await ListRegistryInstances.listFilteredRegistry(this.mSession, ProvisioningConstants.ZOSMF_VERSION, null, commandParameters.arguments.name); const instances: IProvisionedInstance[] = registry["scr-list"]; - if (isNullOrUndefined(instances)) { + if (instances == null) { commandParameters.response.console.error("No instance with name " + commandParameters.arguments.name + " was found"); } else if (instances.length === 1) { const id = instances.pop()["object-id"]; @@ -57,7 +56,7 @@ export default class InstanceInfoHandler extends ZosmfBaseHandler { private formatProvisionedInstanceSummaryOutput(instance: IProvisionedInstance, option: string): any[] { let prettifiedInstance: any = {}; - option = isNullOrUndefined(option) ? "ACTIONS" : option.toUpperCase(); + option = option == null ? "ACTIONS" : option.toUpperCase(); // Prettify the output switch (option) { diff --git a/packages/cli/src/provisioning/list/instanceVariables/InstanceVariables.handler.ts b/packages/cli/src/provisioning/list/instanceVariables/InstanceVariables.handler.ts index 79d4218378..0a483b17a1 100644 --- a/packages/cli/src/provisioning/list/instanceVariables/InstanceVariables.handler.ts +++ b/packages/cli/src/provisioning/list/instanceVariables/InstanceVariables.handler.ts @@ -9,7 +9,6 @@ * */ -import { isNullOrUndefined } from "util"; import { IHandlerParameters } from "@zowe/imperative"; import { ListInstanceVariables, @@ -35,7 +34,7 @@ export default class InstanceVariablesHandler extends ZosmfBaseHandler { commandParameters.arguments.name ); const instances: IProvisionedInstance[] = registry["scr-list"]; - if (isNullOrUndefined(instances)) { + if (instances == null) { commandParameters.response.console.error( "No instance with name " + commandParameters.arguments.name + diff --git a/packages/cli/src/provisioning/list/registry/RegistryInstances.handler.ts b/packages/cli/src/provisioning/list/registry/RegistryInstances.handler.ts index 45f1a08c7b..2adec99ffc 100644 --- a/packages/cli/src/provisioning/list/registry/RegistryInstances.handler.ts +++ b/packages/cli/src/provisioning/list/registry/RegistryInstances.handler.ts @@ -18,7 +18,6 @@ import { ProvisioningConstants, ListRegistryInstances } from "@zowe/provisioning-for-zowe-sdk"; -import { isNullOrUndefined } from "util"; import { ZosmfBaseHandler } from "@zowe/zosmf-for-zowe-sdk"; /** @@ -44,7 +43,7 @@ export default class RegistryInstancesHandler extends ZosmfBaseHandler { commandParameters.response.console.log(TextUtils.prettyJson(unique)); } else { commandParameters.response.console.log("z/OSMF Service Registry"); - if (!isNullOrUndefined(commandParameters.arguments.filterByType)) { + if (!(commandParameters.arguments.filterByType == null)) { commandParameters.response.console.log("\nShowing ONLY \"" + commandParameters.arguments.filterByType.toUpperCase() + "\" instance types."); } diff --git a/packages/cli/src/provisioning/perform/action/Action.handler.ts b/packages/cli/src/provisioning/perform/action/Action.handler.ts index 8eb05684d1..33e7480a26 100644 --- a/packages/cli/src/provisioning/perform/action/Action.handler.ts +++ b/packages/cli/src/provisioning/perform/action/Action.handler.ts @@ -17,7 +17,6 @@ import { IProvisionedInstance, ListRegistryInstances } from "@zowe/provisioning-for-zowe-sdk"; -import { isNullOrUndefined } from "util"; import { ZosmfBaseHandler } from "@zowe/zosmf-for-zowe-sdk"; /** @@ -35,7 +34,7 @@ export default class ActionHandler extends ZosmfBaseHandler { commandParameters.arguments.name ); const instances: IProvisionedInstance[] = registry["scr-list"]; - if (isNullOrUndefined(instances)) { + if (instances == null) { commandParameters.response.console.error( "No instance with name " + commandParameters.arguments.name + diff --git a/packages/cli/src/provisioning/provision/template/Template.handler.ts b/packages/cli/src/provisioning/provision/template/Template.handler.ts index a7c5623a58..979c59d0c9 100644 --- a/packages/cli/src/provisioning/provision/template/Template.handler.ts +++ b/packages/cli/src/provisioning/provision/template/Template.handler.ts @@ -9,7 +9,6 @@ * */ -import { isNullOrUndefined } from "util"; import { IHandlerParameters, TextUtils } from "@zowe/imperative"; import { explainProvisionTemplateResponse, @@ -27,7 +26,7 @@ export default class Handler extends ZosmfBaseHandler { let usedOptionalParms: boolean = false; let arrayOfSystemNickNames: string[]; - if (!isNullOrUndefined(commandParameters.arguments.systemNickNames)) { + if (!(commandParameters.arguments.systemNickNames == null)) { arrayOfSystemNickNames = commandParameters.arguments.systemNickNames .split(",") .map((systemName: string) => { @@ -48,11 +47,7 @@ export default class Handler extends ZosmfBaseHandler { for (const property in provisionOptionalParams) { if ( - !isNullOrUndefined( - provisionOptionalParams[ - property as keyof IProvisionOptionals - ] - ) + !(provisionOptionalParams[property as keyof IProvisionOptionals] == null) ) { usedOptionalParms = true; } diff --git a/packages/cli/src/zosconsole/issue/command/Command.handler.ts b/packages/cli/src/zosconsole/issue/command/Command.handler.ts index d442bd45a4..45e8d093d0 100644 --- a/packages/cli/src/zosconsole/issue/command/Command.handler.ts +++ b/packages/cli/src/zosconsole/issue/command/Command.handler.ts @@ -11,7 +11,6 @@ import { IHandlerParameters, TextUtils } from "@zowe/imperative"; import { ICollectParms, IConsoleResponse, IIssueParms, IssueCommand } from "@zowe/zos-console-for-zowe-sdk"; -import { isNullOrUndefined } from "util"; import { ZosmfBaseHandler } from "@zowe/zosmf-for-zowe-sdk"; /** @@ -34,7 +33,7 @@ export default class Handler extends ZosmfBaseHandler { async: commandParameters.arguments["key-only"] === true ? "Y" : "N" }; - if (isNullOrUndefined(commandParameters.arguments["wait-to-collect"])) { + if (commandParameters.arguments["wait-to-collect"] == null) { response = await IssueCommand.issue(this.mSession, issueParms); } else { const collectParms: ICollectParms = { @@ -48,7 +47,7 @@ export default class Handler extends ZosmfBaseHandler { // Print out the response if (commandParameters.arguments["key-only"]) { - if (!isNullOrUndefined(response.lastResponseKey)) { + if (!(response.lastResponseKey == null)) { commandParameters.response.console.log(response.lastResponseKey); } } else { @@ -58,7 +57,7 @@ export default class Handler extends ZosmfBaseHandler { responseKey: response.lastResponseKey, cmdResponseUrl: response.cmdResponseUrl || undefined, keywordDetected: response.keywordDetected || - ((!isNullOrUndefined(commandParameters.arguments["solicited-keyword"])) ? false : undefined) + ((!(commandParameters.arguments["solicited-keyword"] == null)) ? false : undefined) }; commandParameters.response.console.log("Additional details:"); commandParameters.response.console.log("-------------------"); diff --git a/packages/cli/src/zosfiles/copy/dsclp/TargetProfile.handler.ts b/packages/cli/src/zosfiles/copy/dsclp/TargetProfile.handler.ts index 14f16f86fc..601122e863 100644 --- a/packages/cli/src/zosfiles/copy/dsclp/TargetProfile.handler.ts +++ b/packages/cli/src/zosfiles/copy/dsclp/TargetProfile.handler.ts @@ -31,6 +31,7 @@ export default class TargetProfileHandler extends ZosFilesBaseHandler { if (ImperativeConfig.instance.config?.exists) { targetCmdArgs = ImperativeConfig.instance.config.api.profiles.get(targetProfileName); } else { + // eslint-disable-next-line deprecation/deprecation targetCmdArgs = params.profiles.get("zosmf", false, targetProfileName); } } diff --git a/packages/cli/src/zosfiles/create/Create.options.ts b/packages/cli/src/zosfiles/create/Create.options.ts index fbc22b1195..66abe8cde3 100644 --- a/packages/cli/src/zosfiles/create/Create.options.ts +++ b/packages/cli/src/zosfiles/create/Create.options.ts @@ -36,6 +36,7 @@ export const ZosFilesCreateExtraOptions: { [key: string]: ICommandOptionDefiniti * @type {ICommandOptionDefinition} * @deprecated */ + // eslint-disable-next-line deprecation/deprecation showAttributes: { name: "show-attributes", aliases: ["pa"], diff --git a/packages/imperative/src/cmd/src/yargs/CommandYargs.ts b/packages/imperative/src/cmd/src/yargs/CommandYargs.ts index fb5909a284..ea39340989 100644 --- a/packages/imperative/src/cmd/src/yargs/CommandYargs.ts +++ b/packages/imperative/src/cmd/src/yargs/CommandYargs.ts @@ -180,7 +180,7 @@ export class CommandYargs extends AbstractCommandYargs { this.definition.positionals.forEach((positional) => { yargPositionalSyntax += ("[" + positional.name + "] "); }); - const posString: string = yargPositionalSyntax.substr(0, yargPositionalSyntax.lastIndexOf(" ")); + const posString: string = yargPositionalSyntax.substring(0, yargPositionalSyntax.lastIndexOf(" ")); this.log.debug("Positional String: " + posString); return posString; } else { diff --git a/packages/imperative/src/imperative/__tests__/plugins/PluginRequireProvider.unit.test.ts b/packages/imperative/src/imperative/__tests__/plugins/PluginRequireProvider.unit.test.ts index 7a2c307a99..171732b90a 100644 --- a/packages/imperative/src/imperative/__tests__/plugins/PluginRequireProvider.unit.test.ts +++ b/packages/imperative/src/imperative/__tests__/plugins/PluginRequireProvider.unit.test.ts @@ -349,9 +349,9 @@ describe("PluginRequireProvider", () => { modules: randomModuleMaxLength, shouldRequireDirectly: [ "./anything/goes/here", - randomModuleMaxLength[0].substr(15), - randomModuleMaxLength[1].substr(200), - randomModuleMaxLength[2].substr(59) + randomModuleMaxLength[0].substring(15), + randomModuleMaxLength[1].substring(200), + randomModuleMaxLength[2].substring(59) ] }, "1 module with periods": { diff --git a/packages/imperative/src/imperative/src/plugins/PluginRequireProvider.ts b/packages/imperative/src/imperative/src/plugins/PluginRequireProvider.ts index 7bc6b90f29..be062c62dd 100644 --- a/packages/imperative/src/imperative/src/plugins/PluginRequireProvider.ts +++ b/packages/imperative/src/imperative/src/plugins/PluginRequireProvider.ts @@ -175,7 +175,7 @@ export class PluginRequireProvider { if (request === ImperativeConfig.instance.hostPackageName) { args[0] = "./"; } else { - args[0] = `${hostPackageRoot}${request.substr(hostPackageNameLength)}`; + args[0] = `${hostPackageRoot}${request.substring(hostPackageNameLength)}`; } } diff --git a/packages/imperative/src/imperative/src/plugins/utilities/npm-interface/install.ts b/packages/imperative/src/imperative/src/plugins/utilities/npm-interface/install.ts index c627ac4dcc..40f6e95a0e 100644 --- a/packages/imperative/src/imperative/src/plugins/utilities/npm-interface/install.ts +++ b/packages/imperative/src/imperative/src/plugins/utilities/npm-interface/install.ts @@ -142,7 +142,7 @@ export async function install(packageLocation: string, registry: string, install const passedVersionIdx = packageLocation.indexOf("@"); if (passedVersionIdx !== -1) { - packageVersion = packageLocation.substr(passedVersionIdx + 1); + packageVersion = packageLocation.substring(passedVersionIdx + 1); } } diff --git a/packages/imperative/src/utilities/src/CliUtils.ts b/packages/imperative/src/utilities/src/CliUtils.ts index 70820af93d..a3b492c770 100644 --- a/packages/imperative/src/utilities/src/CliUtils.ts +++ b/packages/imperative/src/utilities/src/CliUtils.ts @@ -702,7 +702,7 @@ export class CliUtils { * - hello--------world -> helloWorld * - hello-World- -> helloWorld */ - const returnChar = p1.substr(-1).toUpperCase(); + const returnChar = p1.substring(-1).toUpperCase(); return returnChar !== "-" ? returnChar : ""; }), kebabCase: key.replace(/(-*[A-Z]|-{2,}|-$)/g, (match, p1, offset, inputString) => { @@ -747,7 +747,7 @@ export class CliUtils { return "-" + p1.toLowerCase(); } } else { // 2 - const returnChar = p1.substr(-1); // Get the last character of the sequence + const returnChar = p1.substring(-1); // Get the last character of the sequence if (returnChar === "-") { // 2.1 if (offset + p1.length === inputString.length) { // 2.1.1 diff --git a/packages/provisioning/src/ListRegistryInstances.ts b/packages/provisioning/src/ListRegistryInstances.ts index bccb77c3da..8e08a5b8a7 100644 --- a/packages/provisioning/src/ListRegistryInstances.ts +++ b/packages/provisioning/src/ListRegistryInstances.ts @@ -9,7 +9,6 @@ * */ -import { isNullOrUndefined } from "util"; import { ZosmfRestClient, nozOSMFVersion } from "@zowe/core-for-zowe-sdk"; import { AbstractSession } from "@zowe/imperative"; import { ProvisioningValidator } from "./ProvisioningValidator"; @@ -65,10 +64,10 @@ export class ListRegistryInstances { */ public static getResourcesQuery(zOSMFVersion: string, type?: string, externalName?: string) { let query = `${ProvisioningConstants.RESOURCE}/${zOSMFVersion}/${ProvisioningConstants.INSTANCES_RESOURCE}`; - if (!isNullOrUndefined(type)) { + if (!(type == null)) { query += `?${ProvisioningConstants.RESOURCE_TYPE}=${type}`; } - if (!isNullOrUndefined(externalName)) { + if (!(externalName == null)) { query += type ? "&" : "?"; query += `${ProvisioningConstants.RESOURCE_EXTERNAL_NAME}=${externalName}`; } diff --git a/packages/workflows/src/Create.ts b/packages/workflows/src/Create.ts index f4294311cb..d3edd09072 100644 --- a/packages/workflows/src/Create.ts +++ b/packages/workflows/src/Create.ts @@ -21,7 +21,6 @@ import { wrongOwner } from "./WorkflowConstants"; import { WorkflowValidator } from "./WorkflowValidator"; -import { isNullOrUndefined } from "util"; import { ICreateWorkflow, accessT } from "./doc/ICreateWorkflow"; import { ICreatedWorkflow } from "./doc/ICreatedWorkflow"; import { ICreatedWorkflowLocal } from "./doc/ICreatedWorkflowLocal"; @@ -96,22 +95,22 @@ export class CreateWorkflow{ accessType: AccessType, deleteCompletedJobs: DeleteCompletedJobs }; - if (!isNullOrUndefined(VariableInputFile)){ + if (!(VariableInputFile == null)){ if (VariableInputFile.charAt(0) === "/" && VariableInputFile.charAt(1) === "/") { VariableInputFile = VariableInputFile.substring(1); } data.variableInputFile = VariableInputFile; } - if (!isNullOrUndefined(Variables)){ + if (!(Variables == null)){ data.variables = this.parseProperties(Variables); } - if (isNullOrUndefined(AssignToOwner)){ + if (AssignToOwner == null){ data.assignToOwner = true; } - if (isNullOrUndefined(AccessType)){ + if (AccessType == null){ data.accessType = "Public"; } - if (isNullOrUndefined(DeleteCompletedJobs)){ + if (DeleteCompletedJobs == null){ data.deleteCompletedJobs = false; } diff --git a/packages/workflows/src/Start.ts b/packages/workflows/src/Start.ts index cfa0147afd..e1866c2d58 100644 --- a/packages/workflows/src/Start.ts +++ b/packages/workflows/src/Start.ts @@ -15,7 +15,6 @@ import { ZosmfRestClient, nozOSMFVersion } from "@zowe/core-for-zowe-sdk"; import { WorkflowConstants, noWorkflowKey } from "./WorkflowConstants"; import { WorkflowValidator } from "./WorkflowValidator"; import { IStartWorkflow, startT } from "./doc/IStartWorkflow"; -import { isNullOrUndefined } from "util"; /** * Class to handle starting of zOSMF workflow instance @@ -51,7 +50,7 @@ export class StartWorkflow{ // TODO error if stepName doesn't exist + add to unit and system tests data.stepName = step; } - if (!isNullOrUndefined(subsequent)) { + if (!(subsequent == null)) { data.performSubsequent = subsequent; } diff --git a/packages/zosconsole/src/CollectCommand.ts b/packages/zosconsole/src/CollectCommand.ts index 850e82adcc..47f7ac5d1d 100644 --- a/packages/zosconsole/src/CollectCommand.ts +++ b/packages/zosconsole/src/CollectCommand.ts @@ -12,7 +12,6 @@ import { AbstractSession, Logger, TextUtils } from "@zowe/imperative"; import { ZosmfRestClient } from "@zowe/core-for-zowe-sdk"; -import { isNullOrUndefined } from "util"; import { ConsoleValidator } from "./ConsoleValidator"; import { IZosmfCollectResponse } from "./doc/zosmf/IZosmfCollectResponse"; import { collectProcessingDetails, ConsoleConstants, decreaseCounter, resetCounter } from "./ConsoleConstants"; @@ -70,11 +69,11 @@ export class CollectCommand { public static async collect(session: AbstractSession, parms: ICollectParms, response?: IConsoleResponse) { ConsoleValidator.validateCollectParms(session, parms); - if (isNullOrUndefined(response)) { + if (response == null) { response = ConsoleResponseService.getEmptyConsoleResponse(); } - const consoleName: string = isNullOrUndefined(parms.consoleName) ? ConsoleConstants.RES_DEF_CN : parms.consoleName; + const consoleName: string = parms.consoleName == null ? ConsoleConstants.RES_DEF_CN : parms.consoleName; const maxFollowUpAttempts: number = CollectCommand.getFollowUpAttempts(parms); const timeout = CollectCommand.getTimeout(parms); let collectResponse: IZosmfCollectResponse; @@ -127,7 +126,7 @@ export class CollectCommand { * @return {number} */ private static getFollowUpAttempts(parms: ICollectParms): number { - return isNullOrUndefined(parms) || isNullOrUndefined(parms.followUpAttempts) ? ConsoleConstants.DEFAULT_FOLLOWUP_ATTEMPTS + return parms == null || parms.followUpAttempts == null ? ConsoleConstants.DEFAULT_FOLLOWUP_ATTEMPTS : parms.followUpAttempts; } @@ -138,7 +137,7 @@ export class CollectCommand { * @memberof CollectCommand */ private static getTimeout(parms: ICollectParms): number { - return isNullOrUndefined(parms) || isNullOrUndefined(parms.waitToCollect) ? ConsoleConstants.DEFAULT_TIMEOUT + return parms == null || parms.waitToCollect == null ? ConsoleConstants.DEFAULT_TIMEOUT : parms.waitToCollect * CollectCommand.TO_SECONDS; } diff --git a/packages/zosconsole/src/ConsoleResponseService.ts b/packages/zosconsole/src/ConsoleResponseService.ts index b3a2b1d57f..5318342395 100644 --- a/packages/zosconsole/src/ConsoleResponseService.ts +++ b/packages/zosconsole/src/ConsoleResponseService.ts @@ -10,7 +10,7 @@ */ import { ImperativeError, Logger, TextUtils } from "@zowe/imperative"; -import { inspect, isNullOrUndefined } from "util"; +import { inspect } from "util"; import { IZosmfIssueResponse } from "./doc/zosmf/IZosmfIssueResponse"; import { IConsoleResponse } from "./doc/IConsoleResponse"; import { displayError, displayResponse } from "./ConsoleConstants"; @@ -44,13 +44,13 @@ export class ConsoleResponseService { response.success = true; // If this request specified a solicited keyword, indicate if the keyword was found in the console response. - if (!isNullOrUndefined(zosmfResponse["sol-key-detected"])) { + if (!(zosmfResponse["sol-key-detected"] == null)) { response.keywordDetected = zosmfResponse["sol-key-detected"]; } // Append the command response string to the console response. - if (!isNullOrUndefined(zosmfResponse["cmd-response"]) && zosmfResponse["cmd-response"].length > 0 - && (isNullOrUndefined(processResponses) || processResponses !== false)) { + if (!(zosmfResponse["cmd-response"] == null) && zosmfResponse["cmd-response"].length > 0 + && (processResponses == null || processResponses !== false)) { // the IBM responses sometimes have \r and sometimes \r\n, we will process them our here and hopefully // return them with just \n. response.commandResponse += zosmfResponse["cmd-response"].replace(/\r\n/g, "\n").replace(/\r/g, "\n"); @@ -64,12 +64,12 @@ export class ConsoleResponseService { } // If the response key is present, set the last response key value in the response. - if (!isNullOrUndefined(zosmfResponse["cmd-response-key"])) { + if (!(zosmfResponse["cmd-response-key"] == null)) { response.lastResponseKey = zosmfResponse["cmd-response-key"]; } // Collect the response url. - if (!isNullOrUndefined(zosmfResponse["cmd-response-url"])) { + if (!(zosmfResponse["cmd-response-url"] == null)) { response.cmdResponseUrl = zosmfResponse["cmd-response-url"]; } @@ -120,9 +120,9 @@ export class ConsoleResponseService { */ public static isLastZosmfResponseEmpty(response: IConsoleResponse): boolean { let result: boolean = true; - if (!isNullOrUndefined(response) && response.zosmfResponse.length > 0) { + if (!(response == null) && response.zosmfResponse.length > 0) { const lastResponse: IZosmfIssueResponse = response.zosmfResponse[response.zosmfResponse.length - 1]; - result = isNullOrUndefined(lastResponse["cmd-response"]) || lastResponse["cmd-response"] === ""; + result = lastResponse["cmd-response"] == null || lastResponse["cmd-response"] === ""; } return result; } diff --git a/packages/zosconsole/src/IssueCommand.ts b/packages/zosconsole/src/IssueCommand.ts index 41b8d3d831..bf127664d3 100644 --- a/packages/zosconsole/src/IssueCommand.ts +++ b/packages/zosconsole/src/IssueCommand.ts @@ -12,7 +12,6 @@ import { AbstractSession, Headers } from "@zowe/imperative"; import { ZosmfRestClient } from "@zowe/core-for-zowe-sdk"; -import { isNullOrUndefined } from "util"; import { IZosmfIssueParms } from "./doc/zosmf/IZosmfIssueParms"; import { ConsoleValidator } from "./ConsoleValidator"; import { IZosmfIssueResponse } from "./doc/zosmf/IZosmfIssueResponse"; @@ -70,7 +69,7 @@ export class IssueCommand { public static async issue(session: AbstractSession, parms: IIssueParms) { ConsoleValidator.validateIssueParms(session, parms); - const consoleName: string = isNullOrUndefined(parms.consoleName) ? ConsoleConstants.RES_DEF_CN : parms.consoleName; + const consoleName: string = parms.consoleName == null ? ConsoleConstants.RES_DEF_CN : parms.consoleName; const commandParms: IZosmfIssueParms = IssueCommand.buildZosmfConsoleApiParameters(parms); let response: IConsoleResponse = ConsoleResponseService.getEmptyConsoleResponse(); @@ -146,13 +145,13 @@ export class IssueCommand { ConsoleValidator.validateIssueParm(parms); const zosmfParms: IZosmfIssueParms = {cmd: parms.command}; - if (!isNullOrUndefined(parms.solicitedKeyword)) { + if (!(parms.solicitedKeyword == null)) { zosmfParms["sol-key"] = parms.solicitedKeyword; } - if (!isNullOrUndefined(parms.sysplexSystem)) { + if (!(parms.sysplexSystem == null)) { zosmfParms.system = parms.sysplexSystem; } - if (!isNullOrUndefined(parms.async)) { + if (!(parms.async == null)) { zosmfParms.async = parms.async; } return zosmfParms; diff --git a/packages/zosfiles/__tests__/__unit__/methods/download/Download.unit.test.ts b/packages/zosfiles/__tests__/__unit__/methods/download/Download.unit.test.ts index 671b2a7deb..a7648237dc 100644 --- a/packages/zosfiles/__tests__/__unit__/methods/download/Download.unit.test.ts +++ b/packages/zosfiles/__tests__/__unit__/methods/download/Download.unit.test.ts @@ -1844,7 +1844,7 @@ describe("z/OS Files - Download", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual({ @@ -1878,7 +1878,7 @@ describe("z/OS Files - Download", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual({ @@ -1916,7 +1916,7 @@ describe("z/OS Files - Download", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual({ @@ -1954,7 +1954,7 @@ describe("z/OS Files - Download", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual({ @@ -1995,7 +1995,7 @@ describe("z/OS Files - Download", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual({ @@ -2031,7 +2031,7 @@ describe("z/OS Files - Download", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual({ @@ -2064,7 +2064,7 @@ describe("z/OS Files - Download", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual({ @@ -2100,7 +2100,7 @@ describe("z/OS Files - Download", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual({ @@ -2134,7 +2134,7 @@ describe("z/OS Files - Download", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(ussname.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual({ diff --git a/packages/zosfiles/__tests__/__unit__/methods/utilities/Utilities.unit.test.ts b/packages/zosfiles/__tests__/__unit__/methods/utilities/Utilities.unit.test.ts index ab030d7d1c..d0f65e09f7 100644 --- a/packages/zosfiles/__tests__/__unit__/methods/utilities/Utilities.unit.test.ts +++ b/packages/zosfiles/__tests__/__unit__/methods/utilities/Utilities.unit.test.ts @@ -179,7 +179,7 @@ describe("Utilities.putUSSPayload", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substring(1))); expect(response).toBeUndefined(); expect(caughtError).toBeDefined(); @@ -213,7 +213,7 @@ describe("Utilities.putUSSPayload", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual(content); @@ -273,7 +273,7 @@ describe("Utilities.putUSSPayload", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual(true); @@ -296,7 +296,7 @@ describe("Utilities.putUSSPayload", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual(true); @@ -317,7 +317,7 @@ describe("Utilities.putUSSPayload", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual(true); @@ -338,7 +338,7 @@ describe("Utilities.putUSSPayload", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual(false); @@ -359,7 +359,7 @@ describe("Utilities.putUSSPayload", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substr(1))); + const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substring(1))); expect(caughtError).toBeUndefined(); expect(response).toEqual(false); diff --git a/packages/zosfiles/src/constants/ZosFiles.messages.ts b/packages/zosfiles/src/constants/ZosFiles.messages.ts index 0aae6fb6ab..a6ad5b3e40 100644 --- a/packages/zosfiles/src/constants/ZosFiles.messages.ts +++ b/packages/zosfiles/src/constants/ZosFiles.messages.ts @@ -212,6 +212,7 @@ export const ZosFilesMessages: { [key: string]: IMessageDefinition } = { * @type {IMessageDefinition} * @deprecated */ + // eslint-disable-next-line deprecation/deprecation datasetsDownloadedSuccessfully: { message: "Data sets matching pattern downloaded successfully.\nDestination: %s" }, @@ -413,6 +414,7 @@ export const ZosFilesMessages: { [key: string]: IMessageDefinition } = { * @type {IMessageDefinition} * @deprecated */ + // eslint-disable-next-line deprecation/deprecation allDataSetsArchived: { message: "All data sets matching the selected pattern(s) were archived." }, @@ -422,6 +424,7 @@ export const ZosFilesMessages: { [key: string]: IMessageDefinition } = { * @type {IMessageDefinition} * @deprecated */ + // eslint-disable-next-line deprecation/deprecation noDataSetsInList: { message: "No data sets left after excluded pattern(s) were filtered out." }, @@ -439,6 +442,7 @@ export const ZosFilesMessages: { [key: string]: IMessageDefinition } = { * @type {IMessageDefinition} * @deprecated */ + // eslint-disable-next-line deprecation/deprecation noDataSetsMatchingPatternRemain: { message: "After filtering out the archived files and files that match the exclusion-parameters, no data sets matching" + " the supported organization type remain." @@ -449,6 +453,7 @@ export const ZosFilesMessages: { [key: string]: IMessageDefinition } = { * @type {IMessageDefinition} * @deprecated */ + // eslint-disable-next-line deprecation/deprecation onlyEmptyPartitionedDataSets: { message: "Only empty partitioned data sets match the provided patterns." }, diff --git a/packages/zosfiles/src/methods/mount/Mount.ts b/packages/zosfiles/src/methods/mount/Mount.ts index ea1a565cb5..1bc3acdbd5 100644 --- a/packages/zosfiles/src/methods/mount/Mount.ts +++ b/packages/zosfiles/src/methods/mount/Mount.ts @@ -12,7 +12,6 @@ import { AbstractSession, ImperativeExpect, ImperativeError } from "@zowe/imperative"; import { IMountFsOptions } from "./doc/IMountFsOptions"; -import { isNullOrUndefined } from "util"; import { ZosmfRestClient, ZosmfHeaders } from "@zowe/core-for-zowe-sdk"; import { ZosFilesConstants } from "../../constants/ZosFiles.constants"; import { ZosFilesMessages } from "../../constants/ZosFiles.messages"; @@ -48,7 +47,7 @@ export class Mount { ImperativeExpect.toBeDefinedAndNonBlank(mountPoint, ZosFilesMessages.missingMountPoint.message); // Removes undefined properties - const tempOptions = !isNullOrUndefined(options) ? JSON.parse(JSON.stringify(options)) : {}; + const tempOptions = !(options == null) ? JSON.parse(JSON.stringify(options)) : {}; this.fsValidateOptions(tempOptions); tempOptions.action = "mount"; diff --git a/packages/zosfiles/src/methods/upload/Upload.ts b/packages/zosfiles/src/methods/upload/Upload.ts index 70ff04fc2c..220c0c21bc 100644 --- a/packages/zosfiles/src/methods/upload/Upload.ts +++ b/packages/zosfiles/src/methods/upload/Upload.ts @@ -319,8 +319,8 @@ export class Upload { }); } - memberName = dataSetName.substr(dataSetName.indexOf("(")).replace(/[()]/g, ""); - dataSetName = dataSetName.substr(0, dataSetName.indexOf("(")); + memberName = dataSetName.substring(dataSetName.indexOf("(")).replace(/[()]/g, ""); + dataSetName = dataSetName.substring(0, dataSetName.indexOf("(")); } diff --git a/packages/zosfiles/src/utils/ZosFilesUtils.ts b/packages/zosfiles/src/utils/ZosFilesUtils.ts index eb73f879a4..9397084aba 100644 --- a/packages/zosfiles/src/utils/ZosFilesUtils.ts +++ b/packages/zosfiles/src/utils/ZosFilesUtils.ts @@ -171,7 +171,7 @@ export class ZosFilesUtils { memberName = memberName.replace(/[\d]/gy, ""); // Trunkage lenght to max lenght allowed - memberName = memberName.substr(0, this.MAX_MEMBER_LENGTH); + memberName = memberName.substring(0, this.MAX_MEMBER_LENGTH); return memberName; } diff --git a/packages/zosjobs/__tests__/__system__/DownloadJobs.system.test.ts b/packages/zosjobs/__tests__/__system__/DownloadJobs.system.test.ts index 3f34387884..dbe67218e6 100644 --- a/packages/zosjobs/__tests__/__system__/DownloadJobs.system.test.ts +++ b/packages/zosjobs/__tests__/__system__/DownloadJobs.system.test.ts @@ -68,7 +68,7 @@ describe("Download Jobs - System tests", () => { ACCOUNT = defaultSystem.tso.account; const JOB_LENGTH = 6; - DOWNLOAD_JOB_NAME = REAL_SESSION.ISession.user?.substr(0, JOB_LENGTH).toUpperCase() + "DJ"; + DOWNLOAD_JOB_NAME = REAL_SESSION.ISession.user?.substring(0, JOB_LENGTH).toUpperCase() + "DJ"; JOBCLASS = testEnvironment.systemTestProperties.zosjobs.jobclass; SYSAFF = testEnvironment.systemTestProperties.zosjobs.sysaff; }); @@ -105,7 +105,7 @@ describe("Download Jobs - System tests", () => { ACCOUNT = defaultSystem.tso.account; const JOB_LENGTH = 6; - DOWNLOAD_JOB_NAME = REAL_SESSION.ISession.user?.substr(0, JOB_LENGTH).toUpperCase() + "DJ"; + DOWNLOAD_JOB_NAME = REAL_SESSION.ISession.user?.substring(0, JOB_LENGTH).toUpperCase() + "DJ"; JOBCLASS = testEnvironment.systemTestProperties.zosjobs.jobclass; SYSAFF = testEnvironment.systemTestProperties.zosjobs.sysaff; }); @@ -118,6 +118,7 @@ describe("Download Jobs - System tests", () => { encoding: "IBM-037" }); + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(alteredjesJCLJobFile, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); expect(IO.readFileSync(expectedFile).toString()).toContain("¬"); @@ -134,6 +135,7 @@ describe("Download Jobs - System tests", () => { }); for (const file of alteredjobFiles) { + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(file, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); if (file.ddname === "JESJCL") { @@ -153,6 +155,7 @@ describe("Download Jobs - System tests", () => { jobFile: jesJCLJobFile }); expect(IO.existsSync(downloadDir)).toEqual(true); + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(jesJCLJobFile, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); expect(IO.readFileSync(expectedFile).toString()).toContain("EXEC PGM=IEFBR14"); @@ -162,6 +165,7 @@ describe("Download Jobs - System tests", () => { await DownloadJobs.downloadSpoolContent(REAL_SESSION, jesJCLJobFile ); + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(jesJCLJobFile, false); expect(IO.existsSync(expectedFile)).toEqual(true); expect(IO.readFileSync(expectedFile).toString()).toContain("EXEC PGM=IEFBR14"); @@ -176,6 +180,7 @@ describe("Download Jobs - System tests", () => { }); for (const file of jobFiles) { + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(file, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); } @@ -191,6 +196,7 @@ describe("Download Jobs - System tests", () => { }); for (const file of jobFiles) { + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(file, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); if (file.ddname === "JESJCL") { @@ -212,6 +218,7 @@ describe("Download Jobs - System tests", () => { }); for (const file of jobFiles) { + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(file, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); if (file.ddname === "JESJCL") { @@ -242,6 +249,7 @@ describe("Download Jobs - System tests", () => { const expectedExt = DownloadJobs.DEFAULT_JOBS_OUTPUT_FILE_EXT; for (const file of await GetJobs.getSpoolFilesForJob(REAL_SESSION, job)) { + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(file, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); @@ -350,7 +358,7 @@ describe("Download Jobs - System tests - Encoded", () => { } const JOB_LENGTH = 5; - DOWNLOAD_JOB_NAME = REAL_SESSION.ISession.user?.substr(0, JOB_LENGTH).toUpperCase() + "#DJ"; + DOWNLOAD_JOB_NAME = REAL_SESSION.ISession.user?.substring(0, JOB_LENGTH).toUpperCase() + "#DJ"; JOBCLASS = testEnvironment.systemTestProperties.zosjobs.jobclass; SYSAFF = testEnvironment.systemTestProperties.zosjobs.sysaff; }); @@ -374,6 +382,7 @@ describe("Download Jobs - System tests - Encoded", () => { jobFile: jesJCLJobFile }); expect(IO.existsSync(downloadDir)).toEqual(true); + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(jesJCLJobFile, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); expect(IO.readFileSync(expectedFile).toString()).toContain("EXEC PGM=IEFBR14"); @@ -383,6 +392,7 @@ describe("Download Jobs - System tests - Encoded", () => { await DownloadJobs.downloadSpoolContent(REAL_SESSION, jesJCLJobFile ); + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(jesJCLJobFile, false); expect(IO.existsSync(expectedFile)).toEqual(true); expect(IO.readFileSync(expectedFile).toString()).toContain("EXEC PGM=IEFBR14"); @@ -397,6 +407,7 @@ describe("Download Jobs - System tests - Encoded", () => { }); for (const file of jobFiles) { + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(file, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); } @@ -412,6 +423,7 @@ describe("Download Jobs - System tests - Encoded", () => { }); for (const file of jobFiles) { + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(file, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); if (file.ddname === "JESJCL") { @@ -433,6 +445,7 @@ describe("Download Jobs - System tests - Encoded", () => { }); for (const file of jobFiles) { + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(file, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); if (file.ddname === "JESJCL") { @@ -463,6 +476,7 @@ describe("Download Jobs - System tests - Encoded", () => { const expectedExt = DownloadJobs.DEFAULT_JOBS_OUTPUT_FILE_EXT; for (const file of await GetJobs.getSpoolFilesForJob(REAL_SESSION, job)) { + // eslint-disable-next-line deprecation/deprecation const expectedFile = DownloadJobs.getSpoolDownloadFile(file, false, downloadDir); expect(IO.existsSync(expectedFile)).toEqual(true); diff --git a/packages/zosjobs/__tests__/__system__/MonitorJobs.system.test.ts b/packages/zosjobs/__tests__/__system__/MonitorJobs.system.test.ts index e84c1eb85c..55999d62fa 100644 --- a/packages/zosjobs/__tests__/__system__/MonitorJobs.system.test.ts +++ b/packages/zosjobs/__tests__/__system__/MonitorJobs.system.test.ts @@ -78,7 +78,7 @@ describe("System Tests - Monitor Jobs", () => { ACCOUNT = defaultSystem.tso.account; const JOB_LENGTH = 6; - MONITOR_JOB_NAME = REAL_SESSION.ISession.user.substr(0, JOB_LENGTH).toUpperCase() + "MJ"; + MONITOR_JOB_NAME = REAL_SESSION.ISession.user.substring(0, JOB_LENGTH).toUpperCase() + "MJ"; JOBCLASS = testEnvironment.systemTestProperties.zosjobs.jobclass; SYSAFF = testEnvironment.systemTestProperties.zosjobs.sysaff; @@ -687,7 +687,7 @@ describe("System Tests - Monitor Jobs - Encoded", () => { ACCOUNT = defaultSystem.tso.account; const JOB_LENGTH = 5; - MONITOR_JOB_NAME = REAL_SESSION.ISession.user?.substr(0, JOB_LENGTH).toUpperCase() + "#MJ"; + MONITOR_JOB_NAME = REAL_SESSION.ISession.user?.substring(0, JOB_LENGTH).toUpperCase() + "#MJ"; JOBCLASS = testEnvironment.systemTestProperties.zosjobs.jobclass; SYSAFF = testEnvironment.systemTestProperties.zosjobs.sysaff; diff --git a/packages/zoslogs/src/GetZosLog.ts b/packages/zoslogs/src/GetZosLog.ts index 3cfb362ee2..b003a9a5d5 100644 --- a/packages/zoslogs/src/GetZosLog.ts +++ b/packages/zoslogs/src/GetZosLog.ts @@ -15,7 +15,6 @@ import { IZosLogType } from "./doc/IZosLogType"; import { IZosLogParms } from "./doc/IZosLogParms"; import { GetZosLogValidator } from "./GetZosLogValidator"; import { ZosLogConstants } from "./ZosLogConstants"; -import { isNullOrUndefined } from "util"; /** @@ -37,7 +36,7 @@ export class GetZosLog { let resp: IZosLogType = await ZosmfRestClient.getExpectJSON(session, GetZosLog.getResourcePath(commandParms), [ZosmfHeaders.X_CSRF_ZOSMF_HEADER]); - if (isNullOrUndefined(commandParms.processResponses) || commandParms.processResponses !== false) { + if (commandParms.processResponses == null || commandParms.processResponses !== false) { // the IBM responses sometimes have \r and sometimes \r\n, we will process them our here and hopefully // return them with just \n. resp = JSON.parse(JSON.stringify(resp).replace(/\\r\\n/g, "\\n").replace(/\\r/g, "\\n")); diff --git a/packages/zosmf/src/ZosmfBaseHandler.ts b/packages/zosmf/src/ZosmfBaseHandler.ts index b7a5dcbe3a..2d41100378 100644 --- a/packages/zosmf/src/ZosmfBaseHandler.ts +++ b/packages/zosmf/src/ZosmfBaseHandler.ts @@ -40,11 +40,13 @@ export abstract class ZosmfBaseHandler implements ICommandHandler { /** * Loaded z/OSMF profile if needed + * @deprecated */ protected mZosmfProfile: IProfile; /** * Loaded z/OSMF profile with meta information + * @deprecated */ protected mZosmfLoadedProfile: IProfileLoaded; @@ -69,7 +71,11 @@ export abstract class ZosmfBaseHandler implements ICommandHandler { public async process(commandParameters: IHandlerParameters) { this.mHandlerParams = commandParameters; + // Nothing uses this, but extenders might... -awharn + // eslint-disable-next-line deprecation/deprecation this.mZosmfProfile = commandParameters.profiles.get("zosmf", false); + // This one too... -awharn + // eslint-disable-next-line deprecation/deprecation this.mZosmfLoadedProfile = commandParameters.profiles.getMeta("zosmf", false); const sessCfg: ISession = ZosmfSession.createSessCfgFromArgs( diff --git a/packages/zostso/src/SendTso.ts b/packages/zostso/src/SendTso.ts index fc9a46c7e2..a0b37ce4f0 100644 --- a/packages/zostso/src/SendTso.ts +++ b/packages/zostso/src/SendTso.ts @@ -12,7 +12,6 @@ import { AbstractSession, Headers } from "@zowe/imperative"; import { ZosmfRestClient } from "@zowe/core-for-zowe-sdk"; -import { isNullOrUndefined } from "util"; import { TsoValidator } from "./TsoValidator"; import { noDataInput, noServletKeyInput, TsoConstants } from "./TsoConstants"; import { ISendTsoParms } from "./doc/input/ISendTsoParms"; @@ -88,7 +87,7 @@ export class SendTso { tsos.push(tso); let messages: string = ""; while (!done) { - if (!isNullOrUndefined(tso.tsoData)) { + if (!(tso.tsoData == null)) { tso.tsoData.forEach((data) => { if (data[TsoConstants.TSO_MESSAGE]) { messages += (data[TsoConstants.TSO_MESSAGE].DATA + "\n"); diff --git a/packages/zosuss/src/SshBaseHandler.ts b/packages/zosuss/src/SshBaseHandler.ts index 3028e1b2ab..b824d2a13f 100644 --- a/packages/zosuss/src/SshBaseHandler.ts +++ b/packages/zosuss/src/SshBaseHandler.ts @@ -41,6 +41,7 @@ export abstract class SshBaseHandler implements ICommandHandler { /** * Loaded z/OS SSH profile if needed + * @deprecated */ protected mSshProfile: IProfile; @@ -64,6 +65,8 @@ export abstract class SshBaseHandler implements ICommandHandler { */ public async process(commandParameters: IHandlerParameters) { this.mHandlerParams = commandParameters; + // Why is this here? NOTHING uses it, but I suppose an extender MIGHT be... -awharn + // eslint-disable-next-line deprecation/deprecation this.mSshProfile = commandParameters.profiles.get("ssh", false); const sshSessCfgOverride: IOverridePromptConnProps[] = [{ From 7d10b5948e5715240994637cd85df654667eae57 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Tue, 6 Aug 2024 12:21:01 -0400 Subject: [PATCH 03/18] Implement CLI fixes Signed-off-by: Andrew W. Harn --- ...md.cli.chainedhandlers.integration.test.ts | 3 ++ .../profile-spec/ProfileSpec.handler.ts | 1 + .../src/cli/read/profile/Profile.handler.ts | 1 + ...mentalVariableSettings.integration.test.ts | 3 ++ .../imperative/__tests__/src/TestLogger.ts | 5 +- packages/imperative/__tests__/src/TestUtil.ts | 18 +++---- .../imperative/__tests__/src/UnitTestUtils.ts | 3 +- .../handlers/OptionalProfileCHandler.ts | 1 + .../handlers/UseDependentProfileHandler.ts | 2 + .../handlers/UseProfileAHandler.ts | 1 + .../handlers/UseProfileBHandler.ts | 1 + .../plans/ManyFieldValidationPlan.ts | 3 +- .../SyntaxValidator.integration.test.ts | 6 ++- .../ConfigLoading.integration.test.ts | 3 ++ .../BasicProfileManager.integration.test.ts | 3 ++ .../ProfileCommandExample.integration.test.ts | 3 +- .../profiles/src/handler/SampleHandler.ts | 4 +- .../handlers/DisplayProfileHandler.ts | 1 + .../help/WebHelpGenerator.unit.test.ts | 3 ++ .../help/WebHelpManager.unit.test.ts | 3 ++ .../CommandProfileLoader.unit.test.ts | 13 +++++ .../profiles/CommandProfiles.unit.test.ts | 10 ++++ .../__tests__/utils/CommandUtils.unit.test.ts | 2 +- .../help/abstract/AbstractHelpGenerator.ts | 20 +++---- .../abstract/AbstractHelpGeneratorFactory.ts | 3 +- .../cmd/src/profiles/CommandProfileLoader.ts | 14 ++--- .../src/cmd/src/syntax/SyntaxValidator.ts | 48 ++++++++--------- .../__tests__/SyntaxValidator.unit.test.ts | 4 +- .../src/cmd/src/utils/CommandUtils.ts | 11 ++-- .../src/cmd/src/utils/SharedOptions.ts | 3 +- .../src/cmd/src/yargs/CommandYargs.ts | 8 +-- .../config/__tests__/Config.api.unit.test.ts | 2 + .../imperative/src/config/src/ProfileInfo.ts | 1 + .../src/expect/src/ImperativeExpect.ts | 12 ++--- .../__tests__/Imperative.unit.test.ts | 3 ++ .../__tests__/OverridesLoader.unit.test.ts | 4 ++ .../PluginManagementFacility.unit.test.ts | 2 + .../PluginRequireProvider.unit.test.ts | 4 ++ .../utilities/runValidatePlugin.unit.test.ts | 3 ++ .../imperative/src/ConfigurationValidator.ts | 21 ++++---- .../src/imperative/src/Imperative.ts | 1 + .../src/imperative/src/LoggingConfigurer.ts | 17 +++--- .../src/imperative/src/OverridesLoader.ts | 1 + .../src/auth/handlers/AbstractAuthHandler.ts | 1 + .../src/auth/handlers/BaseAuthHandler.ts | 2 + .../convert-profiles.handler.ts | 2 + .../help/ImperativeHelpGeneratorFactory.ts | 3 +- .../src/plugins/PluginRequireProvider.ts | 1 + .../builders/ProfilesCommandBuilder.ts | 9 ++-- .../builders/ProfilesUpdateCommandBuilder.ts | 7 ++- .../ProfilesValidateCommandBuilder.ts | 3 +- .../handlers/ValidateProfileHandler.ts | 3 +- packages/imperative/src/logger/src/Logger.ts | 14 ++--- .../Operations.integration.spec.ts | 5 +- .../src/operations/src/Operations.ts | 7 ++- .../src/profiles/src/BasicProfileManager.ts | 5 +- .../src/abstract/AbstractProfileManager.ts | 52 +++++++++---------- .../src/profiles/src/utils/ProfileUtils.ts | 5 +- .../src/validation/api/ProfileValidator.ts | 13 +++-- .../client/__model__/CustomRestClient.ts | 3 +- .../__model__/MockHttpRequestResponse.ts | 3 +- .../DefaultCredentialManager.unit.test.ts | 6 +++ .../security/src/DefaultCredentialManager.ts | 2 + .../src/abstract/AbstractCredentialManager.ts | 3 +- .../utilities/__tests__/CliUtils.unit.test.ts | 5 ++ .../__tests__/ProcessUtils.unit.test.ts | 1 + .../diff/WebDiffManager.unit.test.ts | 3 ++ .../imperative/src/utilities/src/CliUtils.ts | 1 + .../imperative/src/utilities/src/JSONUtils.ts | 3 +- .../imperative/src/utilities/src/TextUtils.ts | 16 +++--- 70 files changed, 263 insertions(+), 190 deletions(-) diff --git a/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/chained/Cmd.cli.chainedhandlers.integration.test.ts b/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/chained/Cmd.cli.chainedhandlers.integration.test.ts index 1cc5e5ff90..27f8ce6960 100644 --- a/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/chained/Cmd.cli.chainedhandlers.integration.test.ts +++ b/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/chained/Cmd.cli.chainedhandlers.integration.test.ts @@ -27,15 +27,18 @@ describe("cmd-cli chained handlers", () => { }); }); + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; beforeEach(() => { + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: __filename }; }); afterEach(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; }); diff --git a/packages/imperative/__tests__/__integration__/cmd/src/cli/invalid/profile-spec/ProfileSpec.handler.ts b/packages/imperative/__tests__/__integration__/cmd/src/cli/invalid/profile-spec/ProfileSpec.handler.ts index c5b0d5430e..750248d6c4 100644 --- a/packages/imperative/__tests__/__integration__/cmd/src/cli/invalid/profile-spec/ProfileSpec.handler.ts +++ b/packages/imperative/__tests__/__integration__/cmd/src/cli/invalid/profile-spec/ProfileSpec.handler.ts @@ -13,6 +13,7 @@ import { ICommandHandler, IHandlerParameters } from "../../../../../../../lib"; export default class ProfileSpecHandler implements ICommandHandler { public async process(params: IHandlerParameters): Promise { + // eslint-disable-next-line deprecation/deprecation params.profiles.get("blah"); } } diff --git a/packages/imperative/__tests__/__integration__/cmd/src/cli/read/profile/Profile.handler.ts b/packages/imperative/__tests__/__integration__/cmd/src/cli/read/profile/Profile.handler.ts index b3b229760e..18da0fe758 100644 --- a/packages/imperative/__tests__/__integration__/cmd/src/cli/read/profile/Profile.handler.ts +++ b/packages/imperative/__tests__/__integration__/cmd/src/cli/read/profile/Profile.handler.ts @@ -13,6 +13,7 @@ import { IHandlerParameters, ICommandHandler, TextUtils } from "../../../../../. export default class FirstGroupCommandOneHandler implements ICommandHandler { public async process(params: IHandlerParameters): Promise { + // eslint-disable-next-line deprecation/deprecation const prof = params.profiles.get("insecure"); params.response.console.log(TextUtils.prettyJson(prof)); } diff --git a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/api/env/EnvironmentalVariableSettings.integration.test.ts b/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/api/env/EnvironmentalVariableSettings.integration.test.ts index 64e8e6cd83..cccf8207b3 100644 --- a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/api/env/EnvironmentalVariableSettings.integration.test.ts +++ b/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/api/env/EnvironmentalVariableSettings.integration.test.ts @@ -15,15 +15,18 @@ import { EnvironmentalVariableSettings, Imperative } from "../../../../../../../src"; describe("environmental variable integration", () => { + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; beforeEach(() => { + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: __filename }; }); afterEach(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; }); diff --git a/packages/imperative/__tests__/src/TestLogger.ts b/packages/imperative/__tests__/src/TestLogger.ts index 2654508971..009d3e0366 100644 --- a/packages/imperative/__tests__/src/TestLogger.ts +++ b/packages/imperative/__tests__/src/TestLogger.ts @@ -11,7 +11,6 @@ import { LoggerConfigBuilder } from "../../src/logger/src/LoggerConfigBuilder"; import { Logger } from "../../src/logger/src/Logger"; -import { isNullOrUndefined } from "util"; import { IConfigLogging } from "../../src/logger/src/doc/IConfigLogging"; import * as path from "path"; @@ -82,10 +81,10 @@ export class TestLogger { * @memberof TestLogger */ public static getTestLogger(loggerFileName = TestLogger.getCallersFile()): Logger { - if (!isNullOrUndefined(TestLogger.testLogger)) { + if (!(TestLogger.testLogger == null)) { const categoryLogger: Logger = Logger.getLoggerCategory(loggerFileName); categoryLogger.level = "trace"; - if (isNullOrUndefined(categoryLogger)) { + if (categoryLogger == null) { const logFile: string = TestLogger.constructTestLogFile(loggerFileName); LoggerConfigBuilder.addFileAppender(LoggerConfigBuilder.getDefaultIConfigLogging(), loggerFileName, loggerFileName, logFile); diff --git a/packages/imperative/__tests__/src/TestUtil.ts b/packages/imperative/__tests__/src/TestUtil.ts index d2070b831b..78cb6d909a 100644 --- a/packages/imperative/__tests__/src/TestUtil.ts +++ b/packages/imperative/__tests__/src/TestUtil.ts @@ -18,7 +18,7 @@ * Module imports for TestUtils and testing infrastructure */ import { SpawnSyncReturns } from "child_process"; -import { inspect, isArray, isNullOrUndefined, isString } from "util"; +import { inspect } from "util"; import { Constants } from "../../src/constants"; import { ICommandResponse } from "../../src/cmd"; import { ICompareParms } from "./doc/ICompareParms"; @@ -178,7 +178,7 @@ export function executeTestCLICommand(cliBinModule: string, testContext: any, ar const commandExecutionMessage = "Executing " + nodeCommand + " " + args.join(" "); testLogger.info(commandExecutionMessage); - if (!isNullOrUndefined(testContext)) { + if (!(testContext == null)) { TestLogger.getTestLogger().debug(testContext, commandExecutionMessage); } const childEnv = JSON.parse(JSON.stringify(env)); // copy current env @@ -199,7 +199,7 @@ export function executeTestCLICommand(cliBinModule: string, testContext: any, ar const commandResultMessage = "Command output: \n" + child.output.join(" ") + "\nexit code: " + child.status; - if (!isNullOrUndefined(testContext)) { + if (!(testContext == null)) { TestLogger.getTestLogger().debug(commandResultMessage); } @@ -263,7 +263,7 @@ export function findExpectedOutputInCommand(cliBinModule: string, } dataObjectParser = new DataObjectParser(jsonOutput); // verify the dot-notation object passed in exists in the output JSON - if (isNullOrUndefined(dataObjectParser.get(jsonFieldForContent))) { + if (dataObjectParser.get(jsonFieldForContent) == null) { throw new Error("Requested field " + jsonFieldForContent + " was not available in the JSON response"); } } @@ -303,7 +303,7 @@ export function findExpectedOutputInCommand(cliBinModule: string, expectedContent = expectedContent || ""; - if (!isArray(expectedContent)) { + if (!(Array.isArray(expectedContent))) { // convert single expected content to an array expectedContent = [expectedContent]; } @@ -326,7 +326,7 @@ export function findExpectedOutputInCommand(cliBinModule: string, } if (variationsToRun === CMD_TYPE.ALL || variationsToRun === CMD_TYPE.JSON) { let objectSummary = dataObjectParser.get(jsonFieldForContent); - if (!isString(objectSummary)) { + if (!(typeof objectSummary === 'string')) { objectSummary = inspect(objectSummary); } if (compareOptions.ignoreCase) { @@ -357,8 +357,8 @@ export function compareJsonObjects(actual: any, expected: any, parms?: ICompareP if (parms) { diffs.forEach((difference: any) => { const path = difference.path.join("."); - if (isNullOrUndefined(parms.ignorePaths) || (parms.ignorePaths.indexOf(path) < 0)) { - if (!isNullOrUndefined(parms.pathRegex)) { + if (parms.ignorePaths == null || (parms.ignorePaths.indexOf(path) < 0)) { + if (!(parms.pathRegex == null)) { let regexPathMatch: boolean = false; for (const reg of parms.pathRegex) { if (path === reg.path) { @@ -386,7 +386,7 @@ export function compareJsonObjects(actual: any, expected: any, parms?: ICompareP } }); } else { - if (!isNullOrUndefined(diffs)) { + if (!(diffs == null)) { returnDiffs = returnDiffs.concat(diffs); } } diff --git a/packages/imperative/__tests__/src/UnitTestUtils.ts b/packages/imperative/__tests__/src/UnitTestUtils.ts index 608a9e660e..a1f8033184 100644 --- a/packages/imperative/__tests__/src/UnitTestUtils.ts +++ b/packages/imperative/__tests__/src/UnitTestUtils.ts @@ -10,7 +10,6 @@ */ import { TestLogger } from "./TestLogger"; -import { isNullOrUndefined } from "util"; const fnArgs = require("get-function-arguments"); const cowsay = require("cowsay"); @@ -84,7 +83,7 @@ export class UnitTestUtils { // eslint-disable-next-line no-global-assign (it as any) = function (description: string, testFunc: (done?: any) => void) { const log = TestLogger.getTestLogger(); - if (isNullOrUndefined(testDetailHandler)) { + if (testDetailHandler == null) { testDetailHandler = function (details: any) { log.info("\n" + cowsay.say({ text: (details as any).description, diff --git a/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts b/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts index d1569f9b0b..6122fd06a4 100644 --- a/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts +++ b/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/OptionalProfileCHandler.ts @@ -13,6 +13,7 @@ import { ICommandHandler, IHandlerParameters } from "../../../../../src/cmd"; export default class OptionalProfileCHandler implements ICommandHandler { public async process(params: IHandlerParameters) { + // eslint-disable-next-line deprecation/deprecation const profile = params.profiles.get("profile-c", false); params.response.console.log(`Profile Cs loaded: ${profile}`); } diff --git a/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts b/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts index 6226127a15..94722840a3 100644 --- a/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts +++ b/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseDependentProfileHandler.ts @@ -13,8 +13,10 @@ import { ICommandHandler, IHandlerParameters } from "../../../../../src/cmd"; export default class UseDependentProfile implements ICommandHandler { public async process(params: IHandlerParameters) { + // eslint-disable-next-line deprecation/deprecation const dependencyProfile = params.profiles.get("profile-a"); params.response.console.log("Loaded profile dependency of type profile-a"); + // eslint-disable-next-line deprecation/deprecation const mainProfile = params.profiles.get("profile-with-dependency"); params.response.console.log("Loaded main profile of type profile-with-dependency"); } diff --git a/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseProfileAHandler.ts b/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseProfileAHandler.ts index ac7c8dcc26..1745880c01 100644 --- a/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseProfileAHandler.ts +++ b/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseProfileAHandler.ts @@ -13,6 +13,7 @@ import { ICommandHandler, IHandlerParameters } from "../../../../../src/cmd"; export default class UseProfileAHandler implements ICommandHandler { public async process(params: IHandlerParameters) { + // eslint-disable-next-line deprecation/deprecation const profile = params.profiles.get("profile-a"); params.response.console.log("Loaded profile {{name}} of type {{type}}", {name: profile.name, type: profile.type}); diff --git a/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseProfileBHandler.ts b/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseProfileBHandler.ts index ad65f364e9..246abae3c1 100644 --- a/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseProfileBHandler.ts +++ b/packages/imperative/__tests__/src/example_clis/with_profiles/handlers/UseProfileBHandler.ts @@ -13,6 +13,7 @@ import { ICommandHandler, IHandlerParameters } from "../../../../../src/cmd"; export default class UseProfileAHandler implements ICommandHandler { public async process(params: IHandlerParameters): Promise { + // eslint-disable-next-line deprecation/deprecation const profile = params.profiles.get("profile-b"); params.response.console.log("Loaded profile {{name}} of type {{type}}", {name: profile.name, type: profile.type}); diff --git a/packages/imperative/__tests__/src/example_clis/with_profiles/plans/ManyFieldValidationPlan.ts b/packages/imperative/__tests__/src/example_clis/with_profiles/plans/ManyFieldValidationPlan.ts index 8de8fcc66a..8e8b8d9d74 100644 --- a/packages/imperative/__tests__/src/example_clis/with_profiles/plans/ManyFieldValidationPlan.ts +++ b/packages/imperative/__tests__/src/example_clis/with_profiles/plans/ManyFieldValidationPlan.ts @@ -11,7 +11,6 @@ import { IProfileValidationPlan, IProfileValidationTask } from "../../../../../src/profiles"; import { IProfileValidationTaskResult } from "../../../../../src/profiles/src/validation/doc/IProfileValidationTaskResult"; -import { isNullOrUndefined } from "util"; export = class ManyFieldValidationPlan implements IProfileValidationPlan { @@ -22,7 +21,7 @@ export = class ManyFieldValidationPlan implements IProfileValidationPlan { name: "Tea color", taskFunction: (profile: any, done: (result: IProfileValidationTaskResult) => void) => { let result: IProfileValidationTaskResult; - if (isNullOrUndefined(profile.tea) || profile.tea !== "earl_grey") { + if (profile.tea == null || profile.tea !== "earl_grey") { result = { outcome: "Failed", resultDescription: "Tea was not earl_grey" diff --git a/packages/imperative/__tests__/src/packages/cmd/__integration__/SyntaxValidator.integration.test.ts b/packages/imperative/__tests__/src/packages/cmd/__integration__/SyntaxValidator.integration.test.ts index 1352a30dd7..a88c6a85df 100644 --- a/packages/imperative/__tests__/src/packages/cmd/__integration__/SyntaxValidator.integration.test.ts +++ b/packages/imperative/__tests__/src/packages/cmd/__integration__/SyntaxValidator.integration.test.ts @@ -10,7 +10,6 @@ */ /* eslint-disable jest/expect-expect */ -import { isNullOrUndefined } from "util"; import { CommandProcessor, ICommandDefinition, ICommandResponse } from "../../../../../src/cmd/index"; import { ValidationTestCommand } from "../ValidationTestCommand"; import { Constants } from "../../../../../src/constants/index"; @@ -44,9 +43,11 @@ const DUMMY_PROFILE_TYPE_CONFIG: IProfileTypeConfiguration[] = [ ]; describe("Imperative should provide advanced syntax validation rules", function () { const home = __dirname + "/validationtests"; + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; beforeAll(function () { + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: __filename }; @@ -61,6 +62,7 @@ describe("Imperative should provide advanced syntax validation rules", function }); }); afterAll(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; rimraf(home); }); @@ -106,7 +108,7 @@ describe("Imperative should provide advanced syntax validation rules", function } else { expect(completedResponse.success).toEqual(false); } - if (!isNullOrUndefined(expectedText) && expectedText.length > 0) { + if (!(expectedText == null) && expectedText.length > 0) { (completedResponse.stderr as any) = completedResponse.stderr.toString(); (completedResponse.stdout as any) = completedResponse.stdout.toString(); for (const text of expectedText) { diff --git a/packages/imperative/__tests__/src/packages/imperative/__integration__/ConfigLoading.integration.test.ts b/packages/imperative/__tests__/src/packages/imperative/__integration__/ConfigLoading.integration.test.ts index d6694e4b1f..22044b80cb 100644 --- a/packages/imperative/__tests__/src/packages/imperative/__integration__/ConfigLoading.integration.test.ts +++ b/packages/imperative/__tests__/src/packages/imperative/__integration__/ConfigLoading.integration.test.ts @@ -16,16 +16,19 @@ import { ImperativeConfig } from "../../../../../src/utilities"; describe("Imperative should validate config provided by the consumer", function () { const testDir = T.createUniqueTestDataDir("config-loading"); const packageJsonPath = testDir + "/package.json"; + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; beforeAll(() => { // Temporarily change the main module filename so that the test can work. + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: packageJsonPath }; }); afterAll(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; T.unlinkSync(packageJsonPath); }); diff --git a/packages/imperative/__tests__/src/packages/profiles/__integration__/BasicProfileManager.integration.test.ts b/packages/imperative/__tests__/src/packages/profiles/__integration__/BasicProfileManager.integration.test.ts index 1d629a28cc..20119d45c4 100644 --- a/packages/imperative/__tests__/src/packages/profiles/__integration__/BasicProfileManager.integration.test.ts +++ b/packages/imperative/__tests__/src/packages/profiles/__integration__/BasicProfileManager.integration.test.ts @@ -16,6 +16,7 @@ import { ProfileUtils } from "../../../../../src/profiles"; import { BANANA_AGE, getConfig, PROFILE_TYPE } from "../src/constants/BasicProfileManagerTestConstants"; describe("Imperative should allow CLI implementations to configure their own profiles and types", function () { + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; const loadChangingDependencies = () => { return { @@ -34,12 +35,14 @@ describe("Imperative should allow CLI implementations to configure their own pro }); beforeAll(() => { + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: __filename }; }); afterAll(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; }); diff --git a/packages/imperative/__tests__/src/packages/profiles/__integration__/ProfileCommandExample.integration.test.ts b/packages/imperative/__tests__/src/packages/profiles/__integration__/ProfileCommandExample.integration.test.ts index 3fe4ee4905..287d3fb8f4 100644 --- a/packages/imperative/__tests__/src/packages/profiles/__integration__/ProfileCommandExample.integration.test.ts +++ b/packages/imperative/__tests__/src/packages/profiles/__integration__/ProfileCommandExample.integration.test.ts @@ -15,7 +15,6 @@ import * as yargs from "yargs"; import { Constants } from "../../../../../src/constants"; import { CommandProcessor, ICommandDefinition, ICommandProfileTypeConfiguration, ICommandResponse } from "../../../../../src/cmd"; import { ICommandProcessorParms } from "../../../../../src/cmd/src/doc/processor/ICommandProcessorParms"; -import { isNullOrUndefined } from "util"; import { TestLogger } from "../../../../src/TestLogger"; import { AbstractHelpGenerator } from "../../../../../src/cmd/src/help/abstract/AbstractHelpGenerator"; import { DefaultHelpGenerator } from "../../../../../src/cmd/src/help/DefaultHelpGenerator"; @@ -117,7 +116,7 @@ describe("Imperative should allow CLI implementations to configure their own pro // "Command should have failed" expect(completedResponse.success).toEqual(false); } - if (!isNullOrUndefined(expectedText) && expectedText.length > 0) { + if (!(expectedText == null) && expectedText.length > 0) { const fullText = completedResponse.stdout.toString() + completedResponse.stderr.toString(); for (const text of expectedText) { diff --git a/packages/imperative/__tests__/src/packages/profiles/src/handler/SampleHandler.ts b/packages/imperative/__tests__/src/packages/profiles/src/handler/SampleHandler.ts index b7972b09be..6f5235a569 100644 --- a/packages/imperative/__tests__/src/packages/profiles/src/handler/SampleHandler.ts +++ b/packages/imperative/__tests__/src/packages/profiles/src/handler/SampleHandler.ts @@ -10,13 +10,13 @@ */ import { ICommandHandler, IHandlerParameters } from "../../../../../../src/cmd"; -import { isNullOrUndefined } from "util"; import { ImperativeError } from "../../../../../../src/error"; export default class SampleHandler implements ICommandHandler { public async process(commandParameters: IHandlerParameters) { + // eslint-disable-next-line deprecation/deprecation const profile: any = commandParameters.profiles.get("banana"); - if (isNullOrUndefined(profile)) { + if (profile == null) { const errMsg = commandParameters.response.console.error("Failed to load a profile of type banana"); throw new ImperativeError({msg: errMsg}); } diff --git a/packages/imperative/__tests__/src/packages/profiles/test_cli/handlers/DisplayProfileHandler.ts b/packages/imperative/__tests__/src/packages/profiles/test_cli/handlers/DisplayProfileHandler.ts index 57b88a797b..0f9ab9fce6 100644 --- a/packages/imperative/__tests__/src/packages/profiles/test_cli/handlers/DisplayProfileHandler.ts +++ b/packages/imperative/__tests__/src/packages/profiles/test_cli/handlers/DisplayProfileHandler.ts @@ -13,6 +13,7 @@ import { ICommandHandler, IHandlerParameters } from "../../../../../../src/cmd"; export default class DisplayProfileHandler implements ICommandHandler { public async process(params: IHandlerParameters): Promise { + // eslint-disable-next-line deprecation/deprecation const profile = params.profiles.get("username-password"); params.response.console.log(JSON.stringify(profile)); } diff --git a/packages/imperative/src/cmd/__tests__/help/WebHelpGenerator.unit.test.ts b/packages/imperative/src/cmd/__tests__/help/WebHelpGenerator.unit.test.ts index 18a153e089..07f565ce90 100644 --- a/packages/imperative/src/cmd/__tests__/help/WebHelpGenerator.unit.test.ts +++ b/packages/imperative/src/cmd/__tests__/help/WebHelpGenerator.unit.test.ts @@ -23,6 +23,7 @@ import { ICommandDefinition } from "../../../cmd/src/doc/ICommandDefinition"; describe("WebHelpGenerator", () => { describe("buildHelp", () => { + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; let moduleFileNm: string; let cliHome: string; @@ -104,6 +105,7 @@ describe("WebHelpGenerator", () => { /* process.mainModule.filename was null, so we must give it a value. * mainModule is a getter of a property, so we mock the property. */ + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: moduleFileNm }; @@ -113,6 +115,7 @@ describe("WebHelpGenerator", () => { }); afterAll(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; rimraf.sync(cliHome); }); diff --git a/packages/imperative/src/cmd/__tests__/help/WebHelpManager.unit.test.ts b/packages/imperative/src/cmd/__tests__/help/WebHelpManager.unit.test.ts index c49cbfe41a..111465a9bc 100644 --- a/packages/imperative/src/cmd/__tests__/help/WebHelpManager.unit.test.ts +++ b/packages/imperative/src/cmd/__tests__/help/WebHelpManager.unit.test.ts @@ -41,6 +41,7 @@ describe("WebHelpManager", () => { const webHelpDirNm = path.join(mockCliHome, "web-help"); const impCfg: ImperativeConfig = ImperativeConfig.instance; const cmdReponse = new CommandResponse({ silent: false }); + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; let opener: any; let instPluginsFileNm: string; @@ -55,6 +56,7 @@ describe("WebHelpManager", () => { /* getResolvedCmdTree calls getCallerLocation, and we need it to return some string. * getCallerLocation is a getter of a property, so we mock the property. */ + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: "FakeCli" }; @@ -81,6 +83,7 @@ describe("WebHelpManager", () => { }); afterAll(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; rimraf.sync(mockCliHome); }); diff --git a/packages/imperative/src/cmd/__tests__/profiles/CommandProfileLoader.unit.test.ts b/packages/imperative/src/cmd/__tests__/profiles/CommandProfileLoader.unit.test.ts index 13852e998d..339040e297 100644 --- a/packages/imperative/src/cmd/__tests__/profiles/CommandProfileLoader.unit.test.ts +++ b/packages/imperative/src/cmd/__tests__/profiles/CommandProfileLoader.unit.test.ts @@ -221,6 +221,7 @@ describe("Command Profile Loader", () => { logger: TestLogger.getTestLogger() }) .loadProfiles({ _: undefined as any, $0: undefined as any }); + // eslint-disable-next-line deprecation/deprecation expect(response.get(PROFILE_BANANA_TYPE)).toMatchSnapshot(); }); @@ -333,6 +334,7 @@ describe("Command Profile Loader", () => { logger: TestLogger.getTestLogger() }) .loadProfiles({"_": undefined as any, "$0": undefined as any, "banana-profile": "tasty"}); + // eslint-disable-next-line deprecation/deprecation expect(response.get(PROFILE_BANANA_TYPE)).toMatchSnapshot(); }); @@ -375,7 +377,9 @@ describe("Command Profile Loader", () => { logger: TestLogger.getTestLogger() }) .loadProfiles({"_": undefined as any, "$0": undefined as any, "banana-profile": "tasty"}); + // eslint-disable-next-line deprecation/deprecation expect(response.get(PROFILE_BANANA_TYPE)).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(response.get(STRAWBERRY_PROFILE_TYPE)).toMatchSnapshot(); }); @@ -426,7 +430,9 @@ describe("Command Profile Loader", () => { logger: TestLogger.getTestLogger() }) .loadProfiles({"_": undefined as any, "$0": undefined as any, "banana-profile": "tasty", "strawberry-profile": "red"}); + // eslint-disable-next-line deprecation/deprecation expect(response.get(PROFILE_BANANA_TYPE)).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(response.get(STRAWBERRY_PROFILE_TYPE)).toMatchSnapshot(); }); @@ -535,10 +541,15 @@ describe("Command Profile Loader", () => { profileManagerFactory: manager, logger: TestLogger.getTestLogger() }).loadProfiles({"_": undefined as any, "$0": undefined as any, "banana-profile": "tasty"}); + // eslint-disable-next-line deprecation/deprecation expect(response.getAll(PROFILE_BANANA_TYPE)[0]).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(response.getAll(PROFILE_BANANA_TYPE)[1]).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(response.getAll(PROFILE_BANANA_TYPE)[2]).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(response.get(PROFILE_BANANA_TYPE)).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(response.getAll(PROFILE_BANANA_TYPE)).toMatchSnapshot(); }); @@ -589,7 +600,9 @@ describe("Command Profile Loader", () => { profileManagerFactory: manager, logger: TestLogger.getTestLogger() }).loadProfiles({"_": undefined as any, "$0": undefined as any, "banana-profile": "tasty", "strawberry-profile": "red"}); + // eslint-disable-next-line deprecation/deprecation expect(response.get(PROFILE_BANANA_TYPE)).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(response.get(STRAWBERRY_PROFILE_TYPE)).toMatchSnapshot(); }); }); diff --git a/packages/imperative/src/cmd/__tests__/profiles/CommandProfiles.unit.test.ts b/packages/imperative/src/cmd/__tests__/profiles/CommandProfiles.unit.test.ts index bf683a2eaa..6b681bc2fd 100644 --- a/packages/imperative/src/cmd/__tests__/profiles/CommandProfiles.unit.test.ts +++ b/packages/imperative/src/cmd/__tests__/profiles/CommandProfiles.unit.test.ts @@ -69,9 +69,13 @@ describe("Command Profiles", () => { age: 2 }]); const profiles = new CommandProfiles(map); + // eslint-disable-next-line deprecation/deprecation expect(profiles.getAll(BANANA_PROFILE_TYPE)).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(profiles.getAll(STRAWBERRY_PROFILE_TYPE)).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(profiles.get(STRAWBERRY_PROFILE_TYPE)).toMatchSnapshot(); + // eslint-disable-next-line deprecation/deprecation expect(profiles.get(BANANA_PROFILE_TYPE)).toMatchSnapshot(); }); @@ -85,6 +89,7 @@ describe("Command Profiles", () => { let error; try { const profiles = new CommandProfiles(map); + // eslint-disable-next-line deprecation/deprecation profiles.get(STRAWBERRY_PROFILE_TYPE); } catch (e) { error = e; @@ -106,6 +111,7 @@ describe("Command Profiles", () => { let response; try { const profiles = new CommandProfiles(map); + // eslint-disable-next-line deprecation/deprecation response = profiles.get(STRAWBERRY_PROFILE_TYPE, false); } catch (e) { error = e; @@ -126,6 +132,7 @@ describe("Command Profiles", () => { age: 2 }]); const profiles = new CommandProfiles(map); + // eslint-disable-next-line deprecation/deprecation const awesome = profiles.get(STRAWBERRY_PROFILE_TYPE, true, "awesome"); expect(awesome).toMatchSnapshot(); }); @@ -161,6 +168,7 @@ describe("Command Profiles", () => { failNotFound: false }]); const profiles = new CommandProfiles(map, metaMap); + // eslint-disable-next-line deprecation/deprecation const awesome = profiles.getMeta(STRAWBERRY_PROFILE_TYPE, false, "great"); expect(awesome).toMatchSnapshot(); }); @@ -196,6 +204,7 @@ describe("Command Profiles", () => { failNotFound: false }]); const profiles = new CommandProfiles(map, metaMap); + // eslint-disable-next-line deprecation/deprecation const awesome = profiles.getMeta(STRAWBERRY_PROFILE_TYPE, false, null); expect(awesome).toMatchSnapshot(); }); @@ -234,6 +243,7 @@ describe("Command Profiles", () => { let err; try { + // eslint-disable-next-line deprecation/deprecation const awesome = profiles.getMeta("unknown", true, "tasty"); } catch (thrownError) { err = thrownError; diff --git a/packages/imperative/src/cmd/__tests__/utils/CommandUtils.unit.test.ts b/packages/imperative/src/cmd/__tests__/utils/CommandUtils.unit.test.ts index 37c067546f..c92e854337 100644 --- a/packages/imperative/src/cmd/__tests__/utils/CommandUtils.unit.test.ts +++ b/packages/imperative/src/cmd/__tests__/utils/CommandUtils.unit.test.ts @@ -89,7 +89,7 @@ describe("Command Utils", () => { }); it("We should be able to flatten a nested command tree with aliases for display and searching purposes", () => { - const flatten: ICommandTreeEntry[] = CommandUtils.flattenCommandTreeWithAliases(COMPLEX_COMMAND_WITH_ALIASES); + const flatten: ICommandTreeEntry[] = CommandUtils.flattenCommandTree(COMPLEX_COMMAND_WITH_ALIASES); TestLogger.info("Flattened Command Tree:\n" + inspect(flatten)); expect(flatten).toMatchSnapshot(); }); diff --git a/packages/imperative/src/cmd/src/help/abstract/AbstractHelpGenerator.ts b/packages/imperative/src/cmd/src/help/abstract/AbstractHelpGenerator.ts index e2dc6ead07..f3ca75bf57 100644 --- a/packages/imperative/src/cmd/src/help/abstract/AbstractHelpGenerator.ts +++ b/packages/imperative/src/cmd/src/help/abstract/AbstractHelpGenerator.ts @@ -10,7 +10,7 @@ */ import { TextUtils } from "../../../../utilities"; -import { format, isNullOrUndefined } from "util"; +import { format } from "util"; import { ImperativeError } from "../../../../error/src/ImperativeError"; import { Logger } from "../../../../logger/src/Logger"; import { IHelpGeneratorParms } from "../doc/IHelpGeneratorParms"; @@ -33,7 +33,7 @@ export abstract class AbstractHelpGenerator implements IHelpGenerator { * @returns {string} the formatted/colored header */ public static formatHelpHeader(header: string, indent: string = " ", color: string): string { - if (isNullOrUndefined(header) || header.trim().length === 0) { + if (header == null || header.trim().length === 0) { throw new ImperativeError({ msg: "Null or empty header provided; could not be formatted." }); @@ -102,7 +102,7 @@ export abstract class AbstractHelpGenerator implements IHelpGenerator { // TODO - rework these parameter (and possible the help generator scheme) constructor(defaultParms: IHelpGeneratorFactoryParms, commandParms: IHelpGeneratorParms) { - if (isNullOrUndefined(commandParms.commandDefinition) || isNullOrUndefined(commandParms.fullCommandTree)) { + if (commandParms.commandDefinition == null || commandParms.fullCommandTree == null) { throw new ImperativeError({ msg: "Error initializing help generator. The command definition or command definition tree was null or undefined.", additionalDetails: JSON.stringify(commandParms.commandDefinition) + "\n\n" + JSON.stringify(commandParms.fullCommandTree) @@ -124,13 +124,13 @@ export abstract class AbstractHelpGenerator implements IHelpGenerator { public getOptionAndAliasesString(option: ICommandOptionDefinition, caseSensitive?: boolean): string { let aliasString = ""; - if (!isNullOrUndefined(option.aliases) && option.aliases.length > 0 && + if (!(option.aliases == null) && option.aliases.length > 0 && (option.aliases.join("").trim().length !== 0)) { const formattedOptAliases = []; aliasString += " | "; for (const alias of option.aliases) { - if (!isNullOrUndefined(alias) && alias.length > 0) { + if (!(alias == null) && alias.length > 0) { formattedOptAliases.push("{{codeBegin}}" + (alias.length === 1 ? "-" : "--") + alias + "{{codeEnd}}"); } @@ -160,7 +160,7 @@ export abstract class AbstractHelpGenerator implements IHelpGenerator { this.groupToOption = {}; this.optionToDescription = {}; - if (isNullOrUndefined(this.mCommandDefinition.options)) { + if (this.mCommandDefinition.options == null) { return; } for (const option of this.mCommandDefinition.options.filter(opt => !opt.hidden)) { @@ -188,9 +188,9 @@ export abstract class AbstractHelpGenerator implements IHelpGenerator { } protected getCaseSensitiveFlagByOptionName(optionName: string): boolean { - if (!isNullOrUndefined(this.mCommandDefinition.customize) && - !isNullOrUndefined(this.mCommandDefinition.customize.commandStatement) && - !isNullOrUndefined(this.mCommandDefinition.customize.commandStatement.children)) { + if (!(this.mCommandDefinition.customize == null) && + !(this.mCommandDefinition.customize.commandStatement == null) && + !(this.mCommandDefinition.customize.commandStatement.children == null)) { for (const child of this.mCommandDefinition.customize.commandStatement.children) { if (child.name.toUpperCase() === optionName.toUpperCase()) { return child.caseSensitive; @@ -201,7 +201,7 @@ export abstract class AbstractHelpGenerator implements IHelpGenerator { } protected renderHelp(help: string): string { - if (isNullOrUndefined(help)) { + if (help == null) { throw new ImperativeError({ msg: "Help unable to be rendered - the supplied help text was null or undefined." }); diff --git a/packages/imperative/src/cmd/src/help/abstract/AbstractHelpGeneratorFactory.ts b/packages/imperative/src/cmd/src/help/abstract/AbstractHelpGeneratorFactory.ts index dc522c3367..6d1ae689db 100644 --- a/packages/imperative/src/cmd/src/help/abstract/AbstractHelpGeneratorFactory.ts +++ b/packages/imperative/src/cmd/src/help/abstract/AbstractHelpGeneratorFactory.ts @@ -11,7 +11,6 @@ import { IHelpGeneratorFactoryParms } from "../doc/IHelpGeneratorFactoryParms"; import { IHelpGeneratorFactory } from "../doc/IHelpGeneratorFactory"; -import { isNullOrUndefined } from "util"; import { IHelpGeneratorParms } from "../doc/IHelpGeneratorParms"; import { IHelpGenerator } from "../doc/IHelpGenerator"; import { ImperativeExpect } from "../../../../expect"; @@ -69,7 +68,7 @@ export abstract class AbstractHelpGeneratorFactory implements IHelpGeneratorFact this.mRootCommandName = parms.rootCommandName; // TODO - what is the default color for imperative? this.mPrimaryHighlightColor = parms.primaryHighlightColor || "yellow"; - this.mProduceMarkdown = isNullOrUndefined(parms.produceMarkdown) ? false : parms.produceMarkdown; + this.mProduceMarkdown = parms.produceMarkdown == null ? false : parms.produceMarkdown; } /** diff --git a/packages/imperative/src/cmd/src/profiles/CommandProfileLoader.ts b/packages/imperative/src/cmd/src/profiles/CommandProfileLoader.ts index b990ad8952..df0aee3220 100644 --- a/packages/imperative/src/cmd/src/profiles/CommandProfileLoader.ts +++ b/packages/imperative/src/cmd/src/profiles/CommandProfileLoader.ts @@ -14,7 +14,7 @@ import { ICommandDefinition } from "../doc/ICommandDefinition"; import { IProfile, IProfileLoaded, IProfileManagerFactory, ProfileUtils } from "../../../profiles"; import { ICommandProfileTypeConfiguration } from "../doc/profiles/definition/ICommandProfileTypeConfiguration"; import { CommandProfiles } from "./CommandProfiles"; -import { inspect, isNullOrUndefined } from "util"; +import { inspect } from "util"; import { ICommandLoadProfile } from "../doc/profiles/parms/ICommandLoadProfile"; import { ICommandProfileLoaderParms } from "../doc/profiles/parms/ICommandProfileLoaderParms"; import { Logger } from "../../../logger"; @@ -116,7 +116,7 @@ export class CommandProfileLoader { // If there are no profile specifications on this command definition document node, then // we can immediately exit with an empty map - if (!isNullOrUndefined(this.definition.profile)) { + if (!(this.definition.profile == null)) { this.log.trace(`Loading profiles for command: ${this.definition.name}...`); const loadList: ICommandLoadProfile[] = this.constructLoadList(commandArguments); const responses: IProfileLoaded[] = await this.loadAll(loadList); @@ -141,7 +141,7 @@ export class CommandProfileLoader { private buildCommandMap(responses: IProfileLoaded[], map: Map) { for (const resp of responses) { if (resp.profile) { - if (isNullOrUndefined(map.get(resp.type))) { + if (map.get(resp.type) == null) { this.log.trace(`Adding first profile "${resp.name}" of type "${resp.type}" to the map.`); map.set(resp.type, [resp.profile]); } else { @@ -165,7 +165,7 @@ export class CommandProfileLoader { private buildCommandMetaMap(responses: IProfileLoaded[], map: Map) { for (const resp of responses) { if (resp.profile) { - if (isNullOrUndefined(map.get(resp.type))) { + if (map.get(resp.type) == null) { this.log.trace(`Adding first profile "${resp.name}" of type "${resp.type}" to the map.`); map.set(resp.type, [resp]); } else { @@ -205,7 +205,7 @@ export class CommandProfileLoader { */ private buildLoad(optional: boolean, types: string[], commandArguments: Arguments): ICommandLoadProfile[] { const loadProfiles: ICommandLoadProfile[] = []; - if (!isNullOrUndefined(types)) { + if (!(types == null)) { // Construct the load control parameters for each required type types.forEach((type) => { @@ -221,7 +221,7 @@ export class CommandProfileLoader { // If the argument is specified, indicate that this is a user specified load and if not // assume that the default should be loaded (but still required on the command) const profOpt = ProfileUtils.getProfileOptionAndAlias(type)[0]; - if (!isNullOrUndefined(commandArguments[profOpt])) { + if (!(commandArguments[profOpt] == null)) { load.userSpecified = true; load.name = commandArguments[profOpt] as string; } else { @@ -260,7 +260,7 @@ export class CommandProfileLoader { // This is an exceptional case - the manager did not do it's job properly, but we will ensure // that if a profile was required (not optional), that it was loaded. - if (!load.optional && (isNullOrUndefined(response) || isNullOrUndefined(response.profile))) { + if (!load.optional && (response == null || response.profile == null)) { throw new ImperativeError({ msg: `Unexpected internal load error: The profile ` + `"${(load.loadDefault) ? "default requested" : load.name}" was not loaded by the profile manager.` diff --git a/packages/imperative/src/cmd/src/syntax/SyntaxValidator.ts b/packages/imperative/src/cmd/src/syntax/SyntaxValidator.ts index 448f7b295f..5da6f410a0 100644 --- a/packages/imperative/src/cmd/src/syntax/SyntaxValidator.ts +++ b/packages/imperative/src/cmd/src/syntax/SyntaxValidator.ts @@ -10,7 +10,7 @@ */ import * as fs from "fs"; -import { inspect, isNullOrUndefined } from "util"; +import { inspect } from "util"; import { syntaxErrorHeader } from "../../../messages"; import { CliUtils } from "../../../utilities/src/CliUtils"; import { Constants } from "../../../constants"; @@ -124,9 +124,9 @@ export class SyntaxValidator { * Prevent empty string options, regardless of if they are * required or not e.g. --bright-zosmf-profile (without a value) */ - if (!isNullOrUndefined(this.mCommandDefinition.options)) { + if (!(this.mCommandDefinition.options == null)) { for (const option of this.mCommandDefinition.options) { - if (!isNullOrUndefined(commandArguments[option.name]) && + if (!(commandArguments[option.name] == null) && (option.type !== "stringOrEmpty" && commandArguments[option.name] === "") || (option.type !== "boolean" && commandArguments[option.name] === true)) { valid = false; @@ -143,7 +143,7 @@ export class SyntaxValidator { * Imperative gets a chance to detect them. */ if (this.mCommandDefinition.type === "command" && - !isNullOrUndefined(this.mCommandDefinition.name) && + !(this.mCommandDefinition.name == null) && commandArguments._.length > expectedUnderscoreLength) { valid = false; this.unknownPositionalError(responseObject, commandArguments, expectedUnderscoreLength); @@ -202,7 +202,7 @@ export class SyntaxValidator { * we would like to have more syntax validation and control over the error message. Therefore, the mark them * as "optional" to yargs and enforce the required here. */ - if (!isNullOrUndefined(this.mCommandDefinition.positionals) && this.mCommandDefinition.positionals.length > 0) { + if (!(this.mCommandDefinition.positionals == null) && this.mCommandDefinition.positionals.length > 0) { const missingPositionals: ICommandPositionalDefinition[] = []; for (const positional of this.mCommandDefinition.positionals) { if (positional.required) { @@ -223,10 +223,10 @@ export class SyntaxValidator { * Validate that the positional parameter matches the supplied regex. */ for (const positional of this.mCommandDefinition.positionals) { - if (!isNullOrUndefined(commandArguments[positional.name])) { + if (!(commandArguments[positional.name] == null)) { if (positional.regex) { - if (isNullOrUndefined(commandArguments[positional.name] - .toString().match(new RegExp(positional.regex)))) { + if (commandArguments[positional.name] + .toString().match(new RegExp(positional.regex)) == null) { valid = false; this.positionalParameterInvalid(positional, commandArguments[positional.name], responseObject); @@ -236,9 +236,9 @@ export class SyntaxValidator { valid = this.validateNumeric(commandArguments[positional.name], positional, responseObject, true) && valid; } - if (!isNullOrUndefined(positional.stringLengthRange) && - !isNullOrUndefined(positional.stringLengthRange[0]) && - !isNullOrUndefined(positional.stringLengthRange[1])) { + if (!(positional.stringLengthRange == null) && + !(positional.stringLengthRange[0] == null) && + !(positional.stringLengthRange[1] == null)) { valid = this.validateOptionValueLength(positional, commandArguments[positional.name], responseObject, true) && valid; } } @@ -261,7 +261,7 @@ export class SyntaxValidator { * If omitting an option implies that some other option must be specified, * validate that with any missing options */ - if (!isNullOrUndefined(optionDef.absenceImplications) && optionDef.absenceImplications.length > 0) { + if (!(optionDef.absenceImplications == null) && optionDef.absenceImplications.length > 0) { for (const implication of optionDef.absenceImplications) { if (!util.optionWasSpecified(optionName, this.mCommandDefinition, commandArguments) && !util.optionWasSpecified(implication, this.mCommandDefinition, commandArguments)) { @@ -293,7 +293,7 @@ export class SyntaxValidator { } // check if the value of the option conforms to the allowableValues (if any) - if (!isNullOrUndefined(optionDef.allowableValues)) { + if (!(optionDef.allowableValues == null)) { // Make a copy of optionDef, so that modifications below are only used in this place const optionDefCopy: ICommandOptionDefinition = JSON.parse(JSON.stringify(optionDef)); // Use modified regular expressions for allowable values to check and to generate error @@ -320,7 +320,7 @@ export class SyntaxValidator { }); } - if (!isNullOrUndefined(optionDef.conflictsWith) && optionDef.conflictsWith.length > 0) { + if (!(optionDef.conflictsWith == null) && optionDef.conflictsWith.length > 0) { for (const conflict of optionDef.conflictsWith) { if (util.optionWasSpecified(conflict, this.mCommandDefinition, commandArguments)) { this.optionCombinationInvalidError(optionDef, @@ -333,7 +333,7 @@ export class SyntaxValidator { /** * Check validity of implications */ - if (!isNullOrUndefined(optionDef.implies) && optionDef.implies.length > 0) { + if (!(optionDef.implies == null) && optionDef.implies.length > 0) { for (const implication of optionDef.implies) { if (!util.optionWasSpecified(implication, this.mCommandDefinition, commandArguments)) { this.optionDependencyError(optionDef, this.mOptionDefinitionsMap[implication], @@ -346,7 +346,7 @@ export class SyntaxValidator { /** * Check validity of 'implication alternatives' (.impliesOneOf()) */ - if (!isNullOrUndefined(optionDef.impliesOneOf) && optionDef.impliesOneOf.length > 0) { + if (!(optionDef.impliesOneOf == null) && optionDef.impliesOneOf.length > 0) { let implicationSatisfied = false; for (const implication of optionDef.impliesOneOf) { if (util.optionWasSpecified(implication, this.mCommandDefinition, commandArguments)) { @@ -395,9 +395,9 @@ export class SyntaxValidator { /** * Validate option values */ - if (!isNullOrUndefined(optionDef.numericValueRange) && - !isNullOrUndefined(optionDef.numericValueRange[0]) && - !isNullOrUndefined(optionDef.numericValueRange[1])) { + if (!(optionDef.numericValueRange == null) && + !(optionDef.numericValueRange[0] == null) && + !(optionDef.numericValueRange[1] == null)) { valid = this.validateOptionValueRange(optionDef, commandArguments[optionDef.name], responseObject) && valid; } @@ -405,9 +405,9 @@ export class SyntaxValidator { /** * Validate option lengths */ - if (!isNullOrUndefined(optionDef.stringLengthRange) && - !isNullOrUndefined(optionDef.stringLengthRange[0]) && - !isNullOrUndefined(optionDef.stringLengthRange[1])) { + if (!(optionDef.stringLengthRange == null) && + !(optionDef.stringLengthRange[0] == null) && + !(optionDef.stringLengthRange[1] == null)) { valid = this.validateOptionValueLength(optionDef, commandArguments[optionDef.name], responseObject) && valid; } @@ -422,7 +422,7 @@ export class SyntaxValidator { } } - if (!isNullOrUndefined(optionDef.valueImplications) && Object.keys(optionDef.valueImplications).length > 0) { + if (!(optionDef.valueImplications == null) && Object.keys(optionDef.valueImplications).length > 0) { for (const value of Object.keys(optionDef.valueImplications)) { const implicationObject: ICommandOptionValueImplications = optionDef.valueImplications[value]; @@ -504,7 +504,7 @@ export class SyntaxValidator { if (!isPositional) { const def = optionDefinition as ICommandOptionDefinition; - aliasString = (!isNullOrUndefined(def.aliases) && def.aliases.length > 0) ? + aliasString = (!(def.aliases == null) && def.aliases.length > 0) ? "(" + def.aliases.map((alias: string) => { return this.getDashFormOfOption(alias); }).join(",") + ")" : ""; diff --git a/packages/imperative/src/cmd/src/syntax/__tests__/SyntaxValidator.unit.test.ts b/packages/imperative/src/cmd/src/syntax/__tests__/SyntaxValidator.unit.test.ts index 1619a3fa51..2d8c31330c 100644 --- a/packages/imperative/src/cmd/src/syntax/__tests__/SyntaxValidator.unit.test.ts +++ b/packages/imperative/src/cmd/src/syntax/__tests__/SyntaxValidator.unit.test.ts @@ -13,7 +13,7 @@ import { TextUtils } from "../../../../utilities"; jest.mock("../../../../imperative/src/Imperative"); -import { inspect, isNullOrUndefined } from "util"; +import { inspect } from "util"; import { TestLogger } from "../../../../../__tests__/src/TestLogger"; import { CommandResponse, ICommandDefinition, ICommandValidatorResponse } from "../../../"; import { ValidationTestCommand } from "../../../../../__tests__/src/packages/cmd/ValidationTestCommand"; @@ -52,7 +52,7 @@ describe("Imperative should provide advanced syntax validation rules", () => { } else { expect(validationResponse.valid).toEqual(false); } - if (!isNullOrUndefined(expectedText) && expectedText.length > 0) { + if (!(expectedText == null) && expectedText.length > 0) { const fullText = response.buildJsonResponse().stdout.toString() + response.buildJsonResponse().stderr.toString(); for (const text of expectedText) { expect(fullText).toContain(text); diff --git a/packages/imperative/src/cmd/src/utils/CommandUtils.ts b/packages/imperative/src/cmd/src/utils/CommandUtils.ts index 8b3dbf75f2..d36cac17de 100644 --- a/packages/imperative/src/cmd/src/utils/CommandUtils.ts +++ b/packages/imperative/src/cmd/src/utils/CommandUtils.ts @@ -10,7 +10,6 @@ */ import { Arguments } from "yargs"; -import { isNullOrUndefined } from "util"; import { ICommandDefinition } from "../doc/ICommandDefinition"; import { ICommandOptionDefinition } from "../doc/option/ICommandOptionDefinition"; import { CliUtils } from "../../../utilities/src/CliUtils"; @@ -56,9 +55,9 @@ export class CommandUtils { for (const option of options) { aliases.push(...option.aliases); } - if (!isNullOrUndefined(commandDefinition.positionals)) { + if (!(commandDefinition.positionals == null)) { for (const positional of commandDefinition.positionals) { - if (!isNullOrUndefined(commandArguments[positional.name])) { + if (!(commandArguments[positional.name] == null)) { command += " \"" + commandArguments[positional.name] + "\""; } } @@ -84,7 +83,7 @@ export class CommandUtils { */ public static optionWasSpecified(optionName: string, commandDefinition: ICommandDefinition, args: ICommandArguments["args"]): boolean { const optionDef = CommandUtils.getOptionDefinitionFromName(optionName, commandDefinition); - if (isNullOrUndefined(optionDef)) { + if (optionDef == null) { // if it's not an option, it's not specified return false; } @@ -92,7 +91,7 @@ export class CommandUtils { return args[optionName] !== undefined; } else { - return !isNullOrUndefined(args[optionName]); + return !(args[optionName] == null); } } @@ -106,7 +105,7 @@ export class CommandUtils { public static getOptionDefinitionFromName(optionName: string, commandDefinition: ICommandDefinition) { let optionDef: ICommandOptionDefinition; - if (!isNullOrUndefined(commandDefinition.options)) { + if (!(commandDefinition.options == null)) { for (const option of commandDefinition.options) { if (option.name === optionName) { optionDef = option; diff --git a/packages/imperative/src/cmd/src/utils/SharedOptions.ts b/packages/imperative/src/cmd/src/utils/SharedOptions.ts index 8ef5b81ff5..f23e96696d 100644 --- a/packages/imperative/src/cmd/src/utils/SharedOptions.ts +++ b/packages/imperative/src/cmd/src/utils/SharedOptions.ts @@ -13,7 +13,6 @@ import { Arguments } from "yargs"; import { ICommandNodeType } from "../doc/ICommandDefinition"; import { IImperativeError, ImperativeError } from "../../../error"; import { Constants } from "../../../constants"; -import { isNullOrUndefined } from "util"; import { CommandResponse } from "../response/CommandResponse"; import { Logger } from "../../../logger"; @@ -97,7 +96,7 @@ export class SharedOptions { const stdinReadError: IImperativeError = { msg: "Error encountered while reading from stdin", causeErrors: error, - additionalDetails: (isNullOrUndefined(error)) ? undefined : error.message + additionalDetails: (error == null) ? undefined : error.message }; done(stdinReadError, true); // don't call done, we don't want to continue on an error diff --git a/packages/imperative/src/cmd/src/yargs/CommandYargs.ts b/packages/imperative/src/cmd/src/yargs/CommandYargs.ts index ea39340989..5483a36956 100644 --- a/packages/imperative/src/cmd/src/yargs/CommandYargs.ts +++ b/packages/imperative/src/cmd/src/yargs/CommandYargs.ts @@ -10,7 +10,7 @@ */ import { Arguments, Argv, Options } from "yargs"; -import { isNullOrUndefined, inspect } from "util"; +import { inspect } from "util"; import { Constants } from "../../../constants"; import { IYargsResponse } from "./doc/IYargsResponse"; import { AbstractCommandYargs, YargsCommandCompleted } from "./AbstractCommandYargs"; @@ -32,13 +32,13 @@ export class CommandYargs extends AbstractCommandYargs { * @param {ICommandOptionDefinition[]} brightOptions: The option definition document array. */ public static defineOptionsToYargs(yargsInstance: Argv, brightOptions: ICommandOptionDefinition[]): void { - if (!isNullOrUndefined(brightOptions)) { + if (!(brightOptions == null)) { for (const option of brightOptions) { const definition: Options = { alias: option.aliases, description: option.description }; - if (!isNullOrUndefined(option.type)) { + if (!(option.type == null)) { // don't let yargs handle any types that we are validating ourselves // and don't use custom types as the yargs type since yargs won't understand if (option.type !== "number" && @@ -119,7 +119,7 @@ export class CommandYargs extends AbstractCommandYargs { const handlerDefinition: any[] = []; for (const parent of this.parents) { const definition: any = parent.definition; - if (!isNullOrUndefined(definition.handler)) { + if (!(definition.handler == null)) { handlerDefinition.push(definition); } } diff --git a/packages/imperative/src/config/__tests__/Config.api.unit.test.ts b/packages/imperative/src/config/__tests__/Config.api.unit.test.ts index 120166a7df..d543a981ea 100644 --- a/packages/imperative/src/config/__tests__/Config.api.unit.test.ts +++ b/packages/imperative/src/config/__tests__/Config.api.unit.test.ts @@ -220,11 +220,13 @@ describe("Config API tests", () => { it("should expand a short proeprty path", async () => { const config = await Config.load(MY_APP); const profilePath = "lpar1.zosmf"; + // eslint-disable-next-line deprecation/deprecation expect(config.api.profiles.expandPath(profilePath)).toEqual("profiles.lpar1.profiles.zosmf"); }); it("should expand a path with the keyword profiles", async () => { const config = await Config.load(MY_APP); const profilePath = "profiles.zosmf"; + // eslint-disable-next-line deprecation/deprecation expect(config.api.profiles.expandPath(profilePath)).toEqual("profiles.profiles.profiles.zosmf"); }); }); diff --git a/packages/imperative/src/config/src/ProfileInfo.ts b/packages/imperative/src/config/src/ProfileInfo.ts index 9011272c99..ec35a9f5d6 100644 --- a/packages/imperative/src/config/src/ProfileInfo.ts +++ b/packages/imperative/src/config/src/ProfileInfo.ts @@ -190,6 +190,7 @@ export class ProfileInfo { this.mOverrideWithEnv = profInfoOpts.overrideWithEnv; } + // eslint-disable-next-line deprecation/deprecation this.mCredentials = new ProfileCredentials(this, profInfoOpts?.requireKeytar ?? profInfoOpts); // do enough Imperative stuff to let imperative utilities work diff --git a/packages/imperative/src/expect/src/ImperativeExpect.ts b/packages/imperative/src/expect/src/ImperativeExpect.ts index 4aab004e5b..5e3cdf5e79 100644 --- a/packages/imperative/src/expect/src/ImperativeExpect.ts +++ b/packages/imperative/src/expect/src/ImperativeExpect.ts @@ -10,7 +10,7 @@ */ import { ImperativeError } from "../../error"; -import { inspect, isNullOrUndefined } from "util"; +import { inspect } from "util"; const DataObjectParser = require("dataobject-parser"); @@ -101,7 +101,7 @@ export class ImperativeExpect { * @memberof ImperativeExpect */ public static toNotBeNullOrUndefined(obj: any, msg?: string) { - if (isNullOrUndefined(obj)) { + if (obj == null) { throw new ImperativeError({msg: msg || "Required object must be defined"}, {tag: ImperativeExpect.ERROR_TAG}); } @@ -127,7 +127,7 @@ export class ImperativeExpect { break; } } - if (isNullOrUndefined(foundEntry)) { + if (foundEntry == null) { throw new ImperativeError({ msg: msg || "The required entry was NOT found within the input array: " + arr.map((entry) => inspect(entry)) @@ -182,7 +182,7 @@ export class ImperativeExpect { ImperativeExpect.toNotBeNullOrUndefined(obj, msg); const objParser = new DataObjectParser(obj); keys.forEach((key) => { - if (isNullOrUndefined(objParser.get(key))) { + if (objParser.get(key) == null) { throw new ImperativeError({msg: msg || "Required parameter '" + key + "' must be defined"}, {tag: ImperativeExpect.ERROR_TAG}); } @@ -209,7 +209,7 @@ export class ImperativeExpect { ImperativeExpect.toNotBeNullOrUndefined(obj, msg); const objParser = new DataObjectParser(obj); keys.forEach((key) => { - if (isNullOrUndefined(objParser.get(key))) { + if (objParser.get(key) == null) { throw new ImperativeError({msg: msg || "Required parameter '" + key + "' must be defined"}, {tag: ImperativeExpect.ERROR_TAG}); } @@ -290,7 +290,7 @@ export class ImperativeExpect { public static keysToBeUndefined(obj: { [key: string]: any }, keys: string[], msg?: string) { ImperativeExpect.toNotBeNullOrUndefined(obj, msg); keys.forEach((key) => { - if (!isNullOrUndefined(obj[key])) { + if (!(obj[key] == null)) { throw new ImperativeError({msg: "Required parameter '" + key + "' must be undefined"}, {tag: ImperativeExpect.ERROR_TAG}); } diff --git a/packages/imperative/src/imperative/__tests__/Imperative.unit.test.ts b/packages/imperative/src/imperative/__tests__/Imperative.unit.test.ts index a35f520902..e54322d645 100644 --- a/packages/imperative/src/imperative/__tests__/Imperative.unit.test.ts +++ b/packages/imperative/src/imperative/__tests__/Imperative.unit.test.ts @@ -21,6 +21,7 @@ import * as yargs from "yargs"; import { ImperativeError } from "../../error/src/ImperativeError"; describe("Imperative", () => { + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; const loadImperative = () => { @@ -133,6 +134,7 @@ describe("Imperative", () => { }; beforeEach(() => { + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: __filename }; @@ -151,6 +153,7 @@ describe("Imperative", () => { }); afterEach(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; }); diff --git a/packages/imperative/src/imperative/__tests__/OverridesLoader.unit.test.ts b/packages/imperative/src/imperative/__tests__/OverridesLoader.unit.test.ts index 1bc0f3ae2e..73870fe00a 100644 --- a/packages/imperative/src/imperative/__tests__/OverridesLoader.unit.test.ts +++ b/packages/imperative/src/imperative/__tests__/OverridesLoader.unit.test.ts @@ -23,6 +23,7 @@ import { AppSettings } from "../../settings"; const TEST_MANAGER_NAME = "test manager"; describe("OverridesLoader", () => { + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; const mockCredMgrInitialized = jest.fn().mockReturnValue(false); @@ -33,12 +34,14 @@ describe("OverridesLoader", () => { beforeEach(() => { jest.restoreAllMocks(); jest.resetAllMocks(); + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: __filename }; }); afterEach(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; }); @@ -215,6 +218,7 @@ describe("OverridesLoader", () => { // DON'T YOU EVER DO THIS AFTER THE SPY, IT WILL CAUSE YOU MASSIVE PROBLEMS // I suspect that process.mainModule.filename somehow uses path.resolve (25 times when I ran this) + // eslint-disable-next-line deprecation/deprecation const expectedArgs = [process.mainModule.filename, "../", config.overrides.CredentialManager]; const expectedLocation = "/some/random/dummy/location/DummyFile.ts"; diff --git a/packages/imperative/src/imperative/__tests__/plugins/PluginManagementFacility.unit.test.ts b/packages/imperative/src/imperative/__tests__/plugins/PluginManagementFacility.unit.test.ts index ea9ef295ef..09bf320951 100644 --- a/packages/imperative/src/imperative/__tests__/plugins/PluginManagementFacility.unit.test.ts +++ b/packages/imperative/src/imperative/__tests__/plugins/PluginManagementFacility.unit.test.ts @@ -738,6 +738,7 @@ describe("Plugin Management Facility", () => { it("should not record warning if pluginHealthCheck property does not exist", () => { // remove pluginHealthCheck property from config badPluginConfig = JSON.parse(JSON.stringify(basePluginConfig)); + // eslint-disable-next-line deprecation/deprecation delete badPluginConfig.pluginHealthCheck; badPluginCfgProps = JSON.parse(JSON.stringify(basePluginCfgProps)); badPluginCfgProps.impConfig = badPluginConfig; @@ -759,6 +760,7 @@ describe("Plugin Management Facility", () => { it("should not record error if pluginHealthCheck file does not exist", () => { // set pluginHealthCheck property to a bogus file badPluginConfig = JSON.parse(JSON.stringify(basePluginConfig)); + // eslint-disable-next-line deprecation/deprecation badPluginConfig.pluginHealthCheck = "./This/File/Does/Not/Exist"; badPluginCfgProps = JSON.parse(JSON.stringify(basePluginCfgProps)); badPluginCfgProps.impConfig = badPluginConfig; diff --git a/packages/imperative/src/imperative/__tests__/plugins/PluginRequireProvider.unit.test.ts b/packages/imperative/src/imperative/__tests__/plugins/PluginRequireProvider.unit.test.ts index 171732b90a..a1933be968 100644 --- a/packages/imperative/src/imperative/__tests__/plugins/PluginRequireProvider.unit.test.ts +++ b/packages/imperative/src/imperative/__tests__/plugins/PluginRequireProvider.unit.test.ts @@ -429,6 +429,7 @@ describe("PluginRequireProvider", () => { try { // The return should be the main module as that is what the module loader does. + // eslint-disable-next-line deprecation/deprecation expect(modulePrototype.require.call(thisObject, module, testRequireIndicator)).toBe(process.mainModule); // Expect that the require was just called with the module @@ -442,6 +443,7 @@ describe("PluginRequireProvider", () => { const submodule = `${module}/submodule/import`; expect(modulePrototype.require.call( thisObject, submodule, testRequireIndicator + // eslint-disable-next-line deprecation/deprecation )).toBe(process.mainModule); // Expect that the require was just called with the submodule @@ -475,6 +477,7 @@ describe("PluginRequireProvider", () => { try { expect(modulePrototype.require.call( thisObject, module, testRequireIndicator + // eslint-disable-next-line deprecation/deprecation )).toBe(process.mainModule); expect(mockedRequire).toHaveBeenCalledTimes(1); @@ -506,6 +509,7 @@ describe("PluginRequireProvider", () => { try { expect(modulePrototype.require.call( thisObject, module + submoduleImport, testRequireIndicator + // eslint-disable-next-line deprecation/deprecation )).toBe(process.mainModule); expect(mockedRequire).toHaveBeenCalledTimes(1); diff --git a/packages/imperative/src/imperative/__tests__/plugins/utilities/runValidatePlugin.unit.test.ts b/packages/imperative/src/imperative/__tests__/plugins/utilities/runValidatePlugin.unit.test.ts index 1f5ae7e922..bd05515633 100644 --- a/packages/imperative/src/imperative/__tests__/plugins/utilities/runValidatePlugin.unit.test.ts +++ b/packages/imperative/src/imperative/__tests__/plugins/utilities/runValidatePlugin.unit.test.ts @@ -31,15 +31,18 @@ const spawnSyncOutput = { }; describe("runValidatePlugin", () => { + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; beforeEach(() => { + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: __filename }; }); afterEach(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; mocks.spawnSync.mockReset(); }); diff --git a/packages/imperative/src/imperative/src/ConfigurationValidator.ts b/packages/imperative/src/imperative/src/ConfigurationValidator.ts index e4054d6da3..701d748e96 100644 --- a/packages/imperative/src/imperative/src/ConfigurationValidator.ts +++ b/packages/imperative/src/imperative/src/ConfigurationValidator.ts @@ -10,7 +10,6 @@ */ import { IImperativeConfig } from "./doc/IImperativeConfig"; -import { isNullOrUndefined } from "util"; import { TextUtils } from "../../utilities"; import { ImperativeError } from "../../error"; import { ICommandProfileProperty } from "../../cmd/src/doc/profiles/definition/ICommandProfileProperty"; @@ -34,10 +33,10 @@ export class ConfigurationValidator { + fieldName + ". Please provide this field in order to use Imperative" }); }; - if (isNullOrUndefined(config.productDisplayName)) { + if (config.productDisplayName == null) { throw getMissingFieldError("productDisplayName"); } - if (isNullOrUndefined(config.commandModuleGlobs) && isNullOrUndefined(config.definitions)) { + if (config.commandModuleGlobs == null && config.definitions == null) { throw new ImperativeError({ msg: "Your Imperative configuration had neither \"definitions\"" + " nor \"commandModuleGlobs\". At least one of these fields is required so that the syntax for " + @@ -45,31 +44,31 @@ export class ConfigurationValidator { }); } - if (isNullOrUndefined(config.primaryTextColor)) { + if (config.primaryTextColor == null) { config.primaryTextColor = "yellow"; } else { // if the user specified a color, test to make sure it works ConfigurationValidator.verifyChalkColor(config, "primaryTextColor", "primary text highlighting"); } - if (isNullOrUndefined(config.secondaryTextColor)) { + if (config.secondaryTextColor == null) { config.secondaryTextColor = "blue"; } else { // if the user specified a color, test to make sure it works ConfigurationValidator.verifyChalkColor(config, "secondaryTextColor", "secondary text highlighting"); } - if (isNullOrUndefined(config.allowConfigGroup)) { + if (config.allowConfigGroup == null) { // default allowConfigGroup to true config.allowConfigGroup = true; } - if (isNullOrUndefined(config.allowPlugins)) { + if (config.allowPlugins == null) { // default allowPlugins to true config.allowPlugins = true; } // validate profile configurations - if (!isNullOrUndefined(config.profiles)) { + if (!(config.profiles == null)) { for (const profileConfig of config.profiles) { - if (isNullOrUndefined(profileConfig.schema)) { + if (profileConfig.schema == null) { throw new ImperativeError({ msg: "Your Imperative profile configuration of type \"" + profileConfig.type + "\" has no schema. Please provide a schema for your profile so that it can be used to " + @@ -80,9 +79,9 @@ export class ConfigurationValidator { for (const propertyName of Object.keys(profileConfig.schema.properties)) { const property: ICommandProfileProperty = profileConfig.schema.properties[propertyName]; - if (!isNullOrUndefined(property.optionDefinitions) && + if (!(property.optionDefinitions == null) && property.optionDefinitions.length > 1 && - isNullOrUndefined(profileConfig.createProfileFromArgumentsHandler)) { + profileConfig.createProfileFromArgumentsHandler == null) { throw new ImperativeError({ msg: TextUtils.formatMessage( "Your Imperative profile configuration of type \"{{type}}\"" + diff --git a/packages/imperative/src/imperative/src/Imperative.ts b/packages/imperative/src/imperative/src/Imperative.ts index 4eafe5ee27..673b43c142 100644 --- a/packages/imperative/src/imperative/src/Imperative.ts +++ b/packages/imperative/src/imperative/src/Imperative.ts @@ -133,6 +133,7 @@ export class Imperative { /** * Identify caller's location on the system */ + // eslint-disable-next-line deprecation/deprecation ImperativeConfig.instance.callerLocation = process.mainModule.filename; /** diff --git a/packages/imperative/src/imperative/src/LoggingConfigurer.ts b/packages/imperative/src/imperative/src/LoggingConfigurer.ts index 6e5a1db3c0..bdd526d22c 100644 --- a/packages/imperative/src/imperative/src/LoggingConfigurer.ts +++ b/packages/imperative/src/imperative/src/LoggingConfigurer.ts @@ -14,7 +14,6 @@ import { Logger } from "../../logger/src/Logger"; import { LoggerConfigBuilder } from "../../logger/src/LoggerConfigBuilder"; import { IImperativeConfig } from "./doc/IImperativeConfig"; import { Console } from "../../console"; -import { isNullOrUndefined } from "util"; import { IO } from "../../io/src/IO"; import { IImperativeLoggingConfig } from "./doc/IImperativeLoggingConfig"; import { ImperativeError } from "../../error/src/ImperativeError"; @@ -89,9 +88,9 @@ export class LoggingConfigurer { /** * All remaining logs are created here */ - if (!isNullOrUndefined(imperativeConfig.logging.additionalLogging)) { + if (!(imperativeConfig.logging.additionalLogging == null)) { imperativeConfig.logging.additionalLogging.forEach((logConfig) => { - if (isNullOrUndefined(logConfig.apiName)) { + if (logConfig.apiName == null) { throw new ImperativeError({ msg: "apiName is required for additionalLoggers", }); @@ -160,8 +159,8 @@ export class LoggingConfigurer { */ private static configureLoggerByKey( home: string, imperativeConfig: IImperativeConfig, loggingConfig: IConfigLogging, entryKey: string, configKey: string) { - if (!isNullOrUndefined(imperativeConfig.logging)) { - if (!isNullOrUndefined(imperativeConfig.logging[configKey])) { + if (!(imperativeConfig.logging == null)) { + if (!(imperativeConfig.logging[configKey] == null)) { loggingConfig = LoggingConfigurer.configureLoggerByKeyHelper( home, imperativeConfig.logging[configKey], loggingConfig, entryKey, configKey); } @@ -184,12 +183,12 @@ export class LoggingConfigurer { */ private static configureLoggerByKeyHelper(home: string, impLogConfig: IImperativeLoggingConfig, loggingConfig: IConfigLogging, entryKey: string, configKey: string) { - if (!isNullOrUndefined(impLogConfig.logFile)) { + if (!(impLogConfig.logFile == null)) { const fullLogFilePath = home + LoggingConfigurer.normalizeDir(impLogConfig.logFile); loggingConfig.log4jsConfig.appenders[entryKey].filename = fullLogFilePath as any; } - if (!isNullOrUndefined(impLogConfig.level)) { + if (!(impLogConfig.level == null)) { Console.validateLevel(impLogConfig.level); loggingConfig.log4jsConfig.categories[entryKey].level = impLogConfig.level; } @@ -269,11 +268,11 @@ export class LoggingConfigurer { */ private static buildLoggingDefaultsByKey( imperativeConfig: IImperativeConfig, key: string, apiName: string, category = apiName): IImperativeConfig { - if (isNullOrUndefined(imperativeConfig.logging)) { + if (imperativeConfig.logging == null) { imperativeConfig.logging = {}; imperativeConfig.logging[key] = {apiName, category}; } else { - if (isNullOrUndefined(imperativeConfig.logging[key])) { + if (imperativeConfig.logging[key] == null) { imperativeConfig.logging[key] = {apiName, category}; } else { imperativeConfig.logging[key].apiName = apiName; diff --git a/packages/imperative/src/imperative/src/OverridesLoader.ts b/packages/imperative/src/imperative/src/OverridesLoader.ts index 1e72675441..0cc865bed3 100644 --- a/packages/imperative/src/imperative/src/OverridesLoader.ts +++ b/packages/imperative/src/imperative/src/OverridesLoader.ts @@ -82,6 +82,7 @@ export class OverridesLoader { if (overrides.CredentialManager != null || this.shouldUseKeytar(packageJson, useTeamConfig)) { let Manager = overrides.CredentialManager; if (typeof overrides.CredentialManager === "string" && !isAbsolute(overrides.CredentialManager)) { + // eslint-disable-next-line deprecation/deprecation Manager = resolve(process.mainModule.filename, "../", overrides.CredentialManager); } diff --git a/packages/imperative/src/imperative/src/auth/handlers/AbstractAuthHandler.ts b/packages/imperative/src/imperative/src/auth/handlers/AbstractAuthHandler.ts index 107ebf2bda..9192694a52 100644 --- a/packages/imperative/src/imperative/src/auth/handlers/AbstractAuthHandler.ts +++ b/packages/imperative/src/imperative/src/auth/handlers/AbstractAuthHandler.ts @@ -68,6 +68,7 @@ export abstract class AbstractAuthHandler implements ICommandHandler { * - Options for adding connection properties * - The login handler */ + // eslint-disable-next-line deprecation/deprecation public abstract getPromptParams(): [IOptionsForAddConnProps, (session: AbstractSession) => Promise]; /** diff --git a/packages/imperative/src/imperative/src/auth/handlers/BaseAuthHandler.ts b/packages/imperative/src/imperative/src/auth/handlers/BaseAuthHandler.ts index e0d1ff13fd..d7115b4ad2 100644 --- a/packages/imperative/src/imperative/src/auth/handlers/BaseAuthHandler.ts +++ b/packages/imperative/src/imperative/src/auth/handlers/BaseAuthHandler.ts @@ -288,6 +288,7 @@ export abstract class BaseAuthHandler extends AbstractAuthHandler { /* Methods for old-school profiles below */ private async processLoginOld(params: IHandlerParameters, tokenValue: string) { + // eslint-disable-next-line deprecation/deprecation const loadedProfile = params.profiles.getMeta(this.mProfileType, false); let profileWithToken: string = null; @@ -345,6 +346,7 @@ export abstract class BaseAuthHandler extends AbstractAuthHandler { } private async processLogoutOld(params: IHandlerParameters) { + // eslint-disable-next-line deprecation/deprecation const loadedProfile = params.profiles.getMeta(this.mProfileType, false); // If you specified a token on the command line, then don't delete the one in the profile if it doesn't match diff --git a/packages/imperative/src/imperative/src/config/cmd/convert-profiles/convert-profiles.handler.ts b/packages/imperative/src/imperative/src/config/cmd/convert-profiles/convert-profiles.handler.ts index 966ff24249..df0bf06fcc 100644 --- a/packages/imperative/src/imperative/src/config/cmd/convert-profiles/convert-profiles.handler.ts +++ b/packages/imperative/src/imperative/src/config/cmd/convert-profiles/convert-profiles.handler.ts @@ -259,7 +259,9 @@ export default class ConvertProfilesHandler implements ICommandHandler { private async checkKeytarAvailable(): Promise { let success: boolean = false; const requireOpts: any = {}; + // eslint-disable-next-line deprecation/deprecation if (process.mainModule?.filename != null) { + // eslint-disable-next-line deprecation/deprecation requireOpts.paths = [process.mainModule.filename]; } try { diff --git a/packages/imperative/src/imperative/src/help/ImperativeHelpGeneratorFactory.ts b/packages/imperative/src/imperative/src/help/ImperativeHelpGeneratorFactory.ts index 1443d098ea..3b3d585f30 100644 --- a/packages/imperative/src/imperative/src/help/ImperativeHelpGeneratorFactory.ts +++ b/packages/imperative/src/imperative/src/help/ImperativeHelpGeneratorFactory.ts @@ -9,7 +9,6 @@ * */ -import { isNullOrUndefined } from "util"; import { IHelpGenerator, HelpGeneratorFactory, IHelpGeneratorParms, @@ -57,7 +56,7 @@ export class ImperativeHelpGeneratorFactory extends AbstractHelpGeneratorFactory fullCommandTree: parms.fullCommandTree, experimentalCommandsDescription: parms.experimentalCommandsDescription }; - if (isNullOrUndefined(this.config)) { + if (this.config == null) { return new HelpGeneratorFactory({ produceMarkdown: this.produceMarkdown, primaryHighlightColor: this.primaryHighlightColor, diff --git a/packages/imperative/src/imperative/src/plugins/PluginRequireProvider.ts b/packages/imperative/src/imperative/src/plugins/PluginRequireProvider.ts index be062c62dd..2b756ccd32 100644 --- a/packages/imperative/src/imperative/src/plugins/PluginRequireProvider.ts +++ b/packages/imperative/src/imperative/src/plugins/PluginRequireProvider.ts @@ -180,6 +180,7 @@ export class PluginRequireProvider { } // Inject it from the main module dependencies + // eslint-disable-next-line deprecation/deprecation return origRequire.apply(process.mainModule, args); } else { // Otherwise use the package dependencies diff --git a/packages/imperative/src/imperative/src/profiles/builders/ProfilesCommandBuilder.ts b/packages/imperative/src/imperative/src/profiles/builders/ProfilesCommandBuilder.ts index afe358d5e3..0f2e8ee24e 100644 --- a/packages/imperative/src/imperative/src/profiles/builders/ProfilesCommandBuilder.ts +++ b/packages/imperative/src/imperative/src/profiles/builders/ProfilesCommandBuilder.ts @@ -10,7 +10,6 @@ */ import { AbstractCommandBuilder } from "../../../../cmd/src/builders/AbstractCommandBuilder"; -import { isNullOrUndefined } from "util"; import { ICommandDefinition, ICommandOptionDefinition, ICommandProfileTypeConfiguration } from "../../../../cmd"; import { Logger } from "../../../../logger"; import { IProfileSchema, ProfileUtils } from "../../../../profiles"; @@ -37,7 +36,7 @@ export abstract class ProfilesCommandBuilder implements AbstractCommandBuilder { protected mProfileConfig: ICommandProfileTypeConfiguration) { this.mSchema = mProfileConfig.schema; - if (isNullOrUndefined(this.mSchema)) { + if (this.mSchema == null) { throw new Error(`Profile Builder Error: No profile schema was supplied.`); } } @@ -81,10 +80,10 @@ export abstract class ProfilesCommandBuilder implements AbstractCommandBuilder { // helper to recursively add any nested option definitions const findAndAddOptions = (propertiesObject: any, propertyName: string) => { const field: ICommandProfileProperty = propertiesObject[propertyName]; - if (!isNullOrUndefined(field.optionDefinition)) { + if (!(field.optionDefinition == null)) { options.push(field.optionDefinition); } - if (!isNullOrUndefined(field.optionDefinitions)) { + if (!(field.optionDefinitions == null)) { options = options.concat(field.optionDefinitions); } if (field.properties != null) { @@ -95,7 +94,7 @@ export abstract class ProfilesCommandBuilder implements AbstractCommandBuilder { }; findAndAddOptions(properties, propName); } - if (!isNullOrUndefined(this.mProfileConfig.dependencies)) { + if (!(this.mProfileConfig.dependencies == null)) { for (const dependency of this.mProfileConfig.dependencies) { const description = dependency.description || "The name of a " + dependency.type + " profile to associate with this profile."; diff --git a/packages/imperative/src/imperative/src/profiles/builders/ProfilesUpdateCommandBuilder.ts b/packages/imperative/src/imperative/src/profiles/builders/ProfilesUpdateCommandBuilder.ts index fb4bccd8c7..947fbb5daa 100644 --- a/packages/imperative/src/imperative/src/profiles/builders/ProfilesUpdateCommandBuilder.ts +++ b/packages/imperative/src/imperative/src/profiles/builders/ProfilesUpdateCommandBuilder.ts @@ -10,7 +10,6 @@ */ import { ProfilesCommandBuilder } from "./ProfilesCommandBuilder"; -import { isNullOrUndefined } from "util"; import { Constants } from "../../../../constants"; import { ICommandDefinition } from "../../../../cmd"; import { createProfileOptionDesc, updateProfileCommandDesc } from "../../../../messages"; @@ -55,14 +54,14 @@ export class ProfilesUpdateCommandBuilder extends ProfilesCommandBuilder { // optional in case the user does not wish to update them) const processFieldsForUpdate = (properties: any, propertyName: string) => { const field: ICommandProfileProperty = properties[propertyName]; - if (!isNullOrUndefined(field.optionDefinition)) { + if (!(field.optionDefinition == null)) { field.optionDefinition.required = false; field.optionDefinition.absenceImplications = null; field.optionDefinition.implies = null; } - if (!isNullOrUndefined(field.optionDefinitions)) { + if (!(field.optionDefinitions == null)) { for (const anOption of field.optionDefinitions) { - if (!isNullOrUndefined(anOption.required)) { + if (!(anOption.required == null)) { anOption.required = false; anOption.absenceImplications = null; anOption.implies = null; diff --git a/packages/imperative/src/imperative/src/profiles/builders/ProfilesValidateCommandBuilder.ts b/packages/imperative/src/imperative/src/profiles/builders/ProfilesValidateCommandBuilder.ts index c8f6113f78..871cbc9217 100644 --- a/packages/imperative/src/imperative/src/profiles/builders/ProfilesValidateCommandBuilder.ts +++ b/packages/imperative/src/imperative/src/profiles/builders/ProfilesValidateCommandBuilder.ts @@ -15,7 +15,6 @@ import { Constants } from "../../../../constants"; import { deleteProfileNameDesc, validateProfileCommandDesc } from "../../../../messages"; import { ImperativeConfig, TextUtils } from "../../../../utilities"; import { Logger } from "../../../../logger/index"; -import { isNullOrUndefined } from "util"; import { ProfilesConstants, ProfileUtils, ProfileValidator } from "../../../../profiles"; /** @@ -55,7 +54,7 @@ export class ProfilesValidateCommandBuilder extends ProfilesCommandBuilder { * @return {ICommandDefinition} */ protected buildProfileSegmentFromSchema(): ICommandDefinition { - if (isNullOrUndefined(this.mProfileConfig.validationPlanModule)) { + if (this.mProfileConfig.validationPlanModule == null) { return undefined; } const profileCommand: ICommandDefinition = { diff --git a/packages/imperative/src/imperative/src/profiles/handlers/ValidateProfileHandler.ts b/packages/imperative/src/imperative/src/profiles/handlers/ValidateProfileHandler.ts index 656000fdba..9900f66c9f 100644 --- a/packages/imperative/src/imperative/src/profiles/handlers/ValidateProfileHandler.ts +++ b/packages/imperative/src/imperative/src/profiles/handlers/ValidateProfileHandler.ts @@ -9,7 +9,6 @@ * */ -import { isNullOrUndefined } from "util"; import { CliProfileManager, ICommandHandler, IHandlerParameters } from "../../../../cmd"; import { IImperativeError, ImperativeError } from "../../../../error"; import { Imperative } from "../../../index"; @@ -85,7 +84,7 @@ export default class ValidateProfileHandler implements ICommandHandler { const cleanTaskForJSONOutput = (task: IProfileValidationTask) => { delete task.taskFunction; - if (!isNullOrUndefined(task.dependentTasks)) { + if (!(task.dependentTasks == null)) { for (const dependent of task.dependentTasks) { cleanTaskForJSONOutput(dependent); } diff --git a/packages/imperative/src/logger/src/Logger.ts b/packages/imperative/src/logger/src/Logger.ts index ce34216391..ffa1011896 100644 --- a/packages/imperative/src/logger/src/Logger.ts +++ b/packages/imperative/src/logger/src/Logger.ts @@ -9,7 +9,7 @@ * */ -import { format, inspect, isNullOrUndefined } from "util"; +import { format, inspect } from "util"; import { ImperativeError } from "../../error/src/ImperativeError"; import * as StackTrace from "stack-trace"; import * as path from "path"; @@ -113,15 +113,15 @@ export class Logger { * @return {[type]} [description] */ public static initLogger(loggingConfig: IConfigLogging) { - if (isNullOrUndefined(loggingConfig)) { + if (loggingConfig == null) { throw new ImperativeError({msg: "Input logging config document is required"}); } - if (isNullOrUndefined(loggingConfig.log4jsConfig)) { + if (loggingConfig.log4jsConfig == null) { throw new ImperativeError({msg: "Input logging config is incomplete, does not contain log4jsConfig"}); } - if (isNullOrUndefined(loggingConfig.log4jsConfig.appenders)) { + if (loggingConfig.log4jsConfig.appenders == null) { throw new ImperativeError({msg: "Input logging config is incomplete, does not contain log4jsConfig.appenders"}); } @@ -297,13 +297,13 @@ export class Logger { public logError(err: ImperativeError): void { this.debug("Stack at time of error logging: %s", new Error().stack); - if (!isNullOrUndefined(err.details.additionalDetails)) { + if (!(err.details.additionalDetails == null)) { this.error(err.details.additionalDetails); } - if (!isNullOrUndefined(err.stack)) { + if (!(err.stack == null)) { this.error(err.stack); } - if (!isNullOrUndefined(err.details.causeErrors) && !isNullOrUndefined(err.details.causeErrors.length) + if (!(err.details.causeErrors == null) && !(err.details.causeErrors.length == null) && err.details.causeErrors.length > 0) { for (const cause of err.details.causeErrors) { this.error("Cause error:\n%s", inspect(cause)); diff --git a/packages/imperative/src/operations/__tests__/__integration__/Operations.integration.spec.ts b/packages/imperative/src/operations/__tests__/__integration__/Operations.integration.spec.ts index b5273a15e6..be637f6505 100644 --- a/packages/imperative/src/operations/__tests__/__integration__/Operations.integration.spec.ts +++ b/packages/imperative/src/operations/__tests__/__integration__/Operations.integration.spec.ts @@ -13,7 +13,6 @@ import { TestOperations1 } from "../operation/TestOperations1"; import { TestOperations4 } from "../operation/TestOperations4"; -import { isNullOrUndefined } from "util"; import { TestOperations3 } from "../operation/TestOperations3"; import { IOperationResult, Operation, Operations } from "../../index"; @@ -305,7 +304,7 @@ describe("Operation Infrastructure", () => { function checkResults(operationActualResults: IOperationResult, operationExpectedResults: Array>) { - if (isNullOrUndefined(operationActualResults)) { + if (operationActualResults == null) { expect(0).toEqual(1); let currentOperationResults: IOperationResult = operationActualResults; for (const result of operationExpectedResults) { @@ -327,7 +326,7 @@ function checkResults(operationActualResults: IOperationResult, currentOperationResults = currentOperationResults.nextOperationResult; } - if (!isNullOrUndefined(currentOperationResults)) { + if (!(currentOperationResults == null)) { // more results than expected - fail expect(0).toEqual(1); } diff --git a/packages/imperative/src/operations/src/Operations.ts b/packages/imperative/src/operations/src/Operations.ts index 4ea02bf2a4..c95f30f6ef 100644 --- a/packages/imperative/src/operations/src/Operations.ts +++ b/packages/imperative/src/operations/src/Operations.ts @@ -11,7 +11,6 @@ import { IOperationResultReady, Operation } from "./Operation"; import { IOperationResult } from "./doc/IOperationResult"; -import { isNullOrUndefined } from "util"; import { TextUtils } from "../../utilities"; import { TaskProgress } from "./TaskProgress"; @@ -109,7 +108,7 @@ export abstract class Operations extends Operation { } public get statusMessage(): string { - if (isNullOrUndefined(this.mOverallStatusMessage)) { + if (this.mOverallStatusMessage == null) { return this.mOperationList[this.mCurrentOperation].statusMessage; } else { @@ -124,7 +123,7 @@ export abstract class Operations extends Operation { */ public get percentComplete(): number { const percentPerOp: number = (TaskProgress.ONE_HUNDRED_PERCENT / this.mOperationList.length); - const currentOpPercentComplete = isNullOrUndefined(this.mOperationList[this.mCurrentOperation].percentComplete) + const currentOpPercentComplete = this.mOperationList[this.mCurrentOperation].percentComplete == null ? 0 : this.mOperationList[this.mCurrentOperation].percentComplete; return Math.ceil(percentPerOp * this.mCurrentOperation + // how many operations completed so far (each 100%) @@ -269,7 +268,7 @@ export abstract class Operations extends Operation { private prepareForUndo(): void { this.log.debug("Building list of undo operation actions"); let currentOperationResult: IOperationResult = this.mOperationResults; - while (!isNullOrUndefined(currentOperationResult)) { + while (!(currentOperationResult == null)) { if (currentOperationResult.operationUndoPossible && !currentOperationResult.operationUndoAttempted) { this.log.debug("Adding operation (" + currentOperationResult.operationName + ") to undo list."); diff --git a/packages/imperative/src/profiles/src/BasicProfileManager.ts b/packages/imperative/src/profiles/src/BasicProfileManager.ts index 75859ef234..1a705a1094 100644 --- a/packages/imperative/src/profiles/src/BasicProfileManager.ts +++ b/packages/imperative/src/profiles/src/BasicProfileManager.ts @@ -29,7 +29,6 @@ import { } from "./doc"; import { ImperativeExpect } from "../../expect"; -import { isNullOrUndefined } from "util"; import { ImperativeError } from "../../error"; import { ProfileIO } from "./utils"; @@ -83,7 +82,7 @@ export class BasicProfileManager extends Ab ); // Set any defaults - parms.reinitialize = (isNullOrUndefined(parms.reinitialize)) ? false : parms.reinitialize; + parms.reinitialize = (parms.reinitialize == null) ? false : parms.reinitialize; // Create the profile root directory (if necessary) ProfileIO.createProfileDirs(parms.profileRootDirectory); @@ -190,7 +189,7 @@ export class BasicProfileManager extends Ab // Construct a list of promises to load all profiles const promises: Array> = []; const responses: IProfileLoaded[] = []; - if (!isNullOrUndefined(profile.dependencies)) { + if (!(profile.dependencies == null)) { this.log.debug(`Loading dependencies for profile of "${this.profileType}".`); let list: string = ""; for (const dependency of profile.dependencies) { diff --git a/packages/imperative/src/profiles/src/abstract/AbstractProfileManager.ts b/packages/imperative/src/profiles/src/abstract/AbstractProfileManager.ts index 50eaa93ff9..b1240cfd3c 100644 --- a/packages/imperative/src/profiles/src/abstract/AbstractProfileManager.ts +++ b/packages/imperative/src/profiles/src/abstract/AbstractProfileManager.ts @@ -10,7 +10,7 @@ */ import { ImperativeExpect } from "../../../expect"; -import { inspect, isNullOrUndefined, isString } from "util"; +import { inspect } from "util"; import { Logger } from "../../../logger"; import { ImperativeError } from "../../../error"; import * as nodePath from "path"; @@ -200,12 +200,12 @@ export abstract class AbstractProfileManager 0) { const markForDeletionKey = "markedForDelete"; for (const newDependency of newProfile.dependencies) { @@ -606,16 +606,16 @@ export abstract class AbstractProfileManager { - if (Array.isArray(property) && !isString(property)) { + if (Array.isArray(property) && !(typeof property === 'string')) { const newProfileProperty = new DataObjectParser(newProfile).get(propertyPath); // does the array type property appear on the newer profile - if (!isNullOrUndefined(newProfileProperty)) { + if (!(newProfileProperty == null)) { // if so, wipe out the merged array with the value from the newer profile this.log.debug("Replacing array type profile field \"%s\" with new value", propertyPath); new DataObjectParser(mergedProfile).set(propertyPath, newProfileProperty); } - } else if (!isString(property)) { + } else if (!(typeof property === 'string')) { for (const childPropertyName of Object.keys(property)) { // object.keys returns array indices as well, // so we won't recursively call our helper if @@ -654,13 +654,13 @@ export abstract class AbstractProfileManager 0) { + if (!(loadDependenciesResponse == null) && loadDependenciesResponse.length > 0) { loadResponse.dependenciesLoaded = true; loadResponse.dependencyLoadResponses = loadDependenciesResponse; } @@ -1166,7 +1166,7 @@ export abstract class AbstractProfileManager 0) { + if (!(this.profileTypeConfiguration.dependencies == null) && this.profileTypeConfiguration.dependencies.length > 0) { const specifiedDependencies = profile.dependencies || []; for (const dependencyConfig of this.profileTypeConfiguration.dependencies) { // are required dependencies present in the profile? @@ -1202,7 +1202,7 @@ export abstract class AbstractProfileManager { numTasksToComplete++; - if (!isNullOrUndefined(task.dependentTasks)) { + if (!(task.dependentTasks == null)) { for (const dependent of task.dependentTasks) { countTasks(dependent); } @@ -116,7 +115,7 @@ export class ProfileValidator { }; report.taskResults.push(skippedResult); tasksCompleted++; - if (!isNullOrUndefined(dependentTask.dependentTasks)) { + if (!(dependentTask.dependentTasks == null)) { for (const grandDependent of dependentTask.dependentTasks) { skipDependentTask(grandDependent, result); } @@ -136,7 +135,7 @@ export class ProfileValidator { report.taskResults.push(result); log.debug("Profile validation task result: task name: %s, outcome %s, description %s, associated endpoints: %s", result.taskName, this.outcomeToString(result.outcome), result.resultDescription, - (isNullOrUndefined(result.associatedEndpoints) ? "none" : result.associatedEndpoints.join(", "))); + (result.associatedEndpoints == null ? "none" : result.associatedEndpoints.join(", "))); // set the overall status of the validation based on this outcome // only 100% success is considered a successful validation @@ -147,7 +146,7 @@ export class ProfileValidator { // mark the validation failed if any task fails report.overallResult = "Failed"; } - if (!isNullOrUndefined(currentTask.dependentTasks)) { + if (!(currentTask.dependentTasks == null)) { if (result.outcome === "Failed" || result.outcome === "Warning") { log.warn("Parent task %s failed, skipping dependent tasks", currentTask.name); @@ -277,7 +276,7 @@ export class ProfileValidator { Description: description, Endpoint: taskResult.associatedEndpoints ? taskResult.associatedEndpoints.join(", ") : undefined }; - if (isNullOrUndefined(result.Endpoint)) { + if (result.Endpoint == null) { // this prevents the endpoint column from showing up // if there are no endpoints specified delete result.Endpoint; @@ -337,7 +336,7 @@ export class ProfileValidator { const allTasks: IProfileValidationTask[] = []; const addTasks = (task: IProfileValidationTask) => { allTasks.push(task); - if (!isNullOrUndefined(task.dependentTasks)) { + if (!(task.dependentTasks == null)) { for (const dependent of task.dependentTasks) { addTasks(dependent); } diff --git a/packages/imperative/src/rest/__tests__/client/__model__/CustomRestClient.ts b/packages/imperative/src/rest/__tests__/client/__model__/CustomRestClient.ts index e43dea2642..d76e08f1f2 100644 --- a/packages/imperative/src/rest/__tests__/client/__model__/CustomRestClient.ts +++ b/packages/imperative/src/rest/__tests__/client/__model__/CustomRestClient.ts @@ -9,7 +9,6 @@ * */ -import { isNullOrUndefined } from "util"; import { RestClient } from "../../../src/client/RestClient"; import { Headers } from "../../../src/client/Headers"; @@ -29,7 +28,7 @@ export class CustomRestClient extends RestClient { * @memberof ZosmfRestClient */ protected appendHeaders(headers: any[] | undefined): any[] { - if (isNullOrUndefined(headers)) { + if (headers == null) { return [Headers.APPLICATION_JSON]; } else { headers.push(Headers.APPLICATION_JSON); diff --git a/packages/imperative/src/rest/__tests__/client/__model__/MockHttpRequestResponse.ts b/packages/imperative/src/rest/__tests__/client/__model__/MockHttpRequestResponse.ts index 67181c76e1..defc34175d 100644 --- a/packages/imperative/src/rest/__tests__/client/__model__/MockHttpRequestResponse.ts +++ b/packages/imperative/src/rest/__tests__/client/__model__/MockHttpRequestResponse.ts @@ -10,7 +10,6 @@ */ import { EventEmitter } from "events"; -import { isNullOrUndefined } from "util"; /** * Simulate http(s).clientRequest or http(s).clientRequest callback invoked @@ -48,7 +47,7 @@ export class MockHttpRequestResponse extends EventEmitter { * @memberof RequestOrResponse */ get statusCode() { - if (isNullOrUndefined(this.mStatus)) { + if (this.mStatus == null) { this.mStatus = "200"; } return this.mStatus; diff --git a/packages/imperative/src/security/__tests__/DefaultCredentialManager.unit.test.ts b/packages/imperative/src/security/__tests__/DefaultCredentialManager.unit.test.ts index ea415ba2a2..ca4ad370c7 100644 --- a/packages/imperative/src/security/__tests__/DefaultCredentialManager.unit.test.ts +++ b/packages/imperative/src/security/__tests__/DefaultCredentialManager.unit.test.ts @@ -76,7 +76,9 @@ describe("DefaultCredentialManager", () => { // Jest doesn't let us mock require.resolve, so instead we purposely // fail the import and look for module path in the error message const fakeCliPath = "/root/fakeCli"; + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; + // eslint-disable-next-line deprecation/deprecation process.mainModule = { filename: fakeCliPath } as any; const resolveSpy = jest.spyOn(path, "resolve").mockReturnValue(fakeCliPath); @@ -95,13 +97,16 @@ describe("DefaultCredentialManager", () => { expect(error.message).toContain("Cannot resolve module"); expect(error.message).toContain(fakeCliPath); } finally { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; resolveSpy.mockRestore(); } }); it("should look for keytar in local node_modules folder", async () => { + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; + // eslint-disable-next-line deprecation/deprecation process.mainModule = { filename: "/root/fakeCli" } as any; // Force enter the try catch @@ -118,6 +123,7 @@ describe("DefaultCredentialManager", () => { expect(error).toBeDefined(); expect(error.message).toContain("Cannot assign to read only property"); } finally { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; } }); diff --git a/packages/imperative/src/security/src/DefaultCredentialManager.ts b/packages/imperative/src/security/src/DefaultCredentialManager.ts index 8a2b9e43ea..3d2e511c32 100644 --- a/packages/imperative/src/security/src/DefaultCredentialManager.ts +++ b/packages/imperative/src/security/src/DefaultCredentialManager.ts @@ -120,7 +120,9 @@ export class DefaultCredentialManager extends AbstractCredentialManager { // our calling CLI. Since our caller must supply keytar, we search for keytar // within our caller's path. const requireOpts: any = {}; + // eslint-disable-next-line deprecation/deprecation if (process.mainModule?.filename != null) { + // eslint-disable-next-line deprecation/deprecation requireOpts.paths = [process.mainModule.filename, ...require.resolve.paths("@zowe/secrets-for-zowe-sdk")]; } // use helper function for require.resolve so it can be mocked in jest tests diff --git a/packages/imperative/src/security/src/abstract/AbstractCredentialManager.ts b/packages/imperative/src/security/src/abstract/AbstractCredentialManager.ts index a01ec4af0b..e647e61f9e 100644 --- a/packages/imperative/src/security/src/abstract/AbstractCredentialManager.ts +++ b/packages/imperative/src/security/src/abstract/AbstractCredentialManager.ts @@ -10,7 +10,6 @@ */ import { ImperativeError } from "../../../error"; -import { isNullOrUndefined } from "util"; /** * String credential @@ -121,7 +120,7 @@ export abstract class AbstractCredentialManager { */ public async save(account: string, secureValue: string): Promise { // Check both username and password are set and are not empty strings. Ah, the magic of JavaScript - if (!isNullOrUndefined(secureValue) && secureValue !== "") { + if (!(secureValue == null) && secureValue !== "") { const encodedString = Buffer.from(`${secureValue}`).toString("base64"); await this.saveCredentials(account, encodedString); } else { diff --git a/packages/imperative/src/utilities/__tests__/CliUtils.unit.test.ts b/packages/imperative/src/utilities/__tests__/CliUtils.unit.test.ts index c0b2b6ae22..f31a6dc883 100644 --- a/packages/imperative/src/utilities/__tests__/CliUtils.unit.test.ts +++ b/packages/imperative/src/utilities/__tests__/CliUtils.unit.test.ts @@ -131,6 +131,7 @@ describe("CliUtils", () => { (prompt as any).question = jest.fn(() => { return mockedPromptValue; }); + // eslint-disable-next-line deprecation/deprecation const value = CliUtils.promptForInput("my message goes here:"); expect(value).toEqual(mockedPromptValue); }); @@ -188,17 +189,20 @@ describe("CliUtils", () => { }); it("should return the user's answer", async () => { + // eslint-disable-next-line deprecation/deprecation const answer = await CliUtils.promptWithTimeout("Question to be asked: "); expect(answer).toEqual(mockedAnswer); }); it("should accept a hideText parameter", async () => { + // eslint-disable-next-line deprecation/deprecation const answer = await CliUtils.promptWithTimeout("Should we hide your answer: ", true); expect(answer).toEqual(mockedAnswer); }); it("should accept a secToWait parameter", async () => { const secToWait = 15; + // eslint-disable-next-line deprecation/deprecation const answer = await CliUtils.promptWithTimeout("Should wait your amount of time: ", false, secToWait ); @@ -207,6 +211,7 @@ describe("CliUtils", () => { it("should limit to a max secToWait", async () => { const tooLong = 1000; + // eslint-disable-next-line deprecation/deprecation const answer = await CliUtils.promptWithTimeout("Should wait your amount of time: ", false, tooLong ); diff --git a/packages/imperative/src/utilities/__tests__/ProcessUtils.unit.test.ts b/packages/imperative/src/utilities/__tests__/ProcessUtils.unit.test.ts index c1a68617e7..3db03339f4 100644 --- a/packages/imperative/src/utilities/__tests__/ProcessUtils.unit.test.ts +++ b/packages/imperative/src/utilities/__tests__/ProcessUtils.unit.test.ts @@ -304,6 +304,7 @@ describe("ProcessUtils tests", () => { const options: any = { cwd: __dirname }; const stdoutBuffer = Buffer.from(message + "\n"); const spawnSpy = jest.spyOn(ExecUtils, "spawnAndGetOutput").mockReturnValueOnce(stdoutBuffer as any); + // eslint-disable-next-line deprecation/deprecation const execOutput = ProcessUtils.execAndCheckOutput("echo", [message], options); expect(spawnSpy).toHaveBeenCalledWith("echo", [message], options); expect(execOutput).toBe(stdoutBuffer); diff --git a/packages/imperative/src/utilities/__tests__/diff/WebDiffManager.unit.test.ts b/packages/imperative/src/utilities/__tests__/diff/WebDiffManager.unit.test.ts index 76a1884b5f..397e6169f6 100644 --- a/packages/imperative/src/utilities/__tests__/diff/WebDiffManager.unit.test.ts +++ b/packages/imperative/src/utilities/__tests__/diff/WebDiffManager.unit.test.ts @@ -26,6 +26,7 @@ describe("WebDiffManager", () => { const fakePatchDiff = "test"; const cliHome: string = "packages/__tests__/fakeCliHome"; const webDiffDir: string = path.join(cliHome, 'web-diff'); + // eslint-disable-next-line deprecation/deprecation const mainModule = process.mainModule; beforeAll(async () => { @@ -36,6 +37,7 @@ describe("WebDiffManager", () => { }; + // eslint-disable-next-line deprecation/deprecation (process.mainModule as any) = { filename: "fakeCliCmd" }; @@ -51,6 +53,7 @@ describe("WebDiffManager", () => { await Imperative.init(configs); }); afterAll(() => { + // eslint-disable-next-line deprecation/deprecation process.mainModule = mainModule; // removing test dir generated by the test const rimraf = require('rimraf'); diff --git a/packages/imperative/src/utilities/src/CliUtils.ts b/packages/imperative/src/utilities/src/CliUtils.ts index a3b492c770..ea93754d7b 100644 --- a/packages/imperative/src/utilities/src/CliUtils.ts +++ b/packages/imperative/src/utilities/src/CliUtils.ts @@ -133,6 +133,7 @@ export class CliUtils { profileOrder.forEach((profileType: string) => { // Get the first profile loaded - for now, we won't worry about profiles and double-type loading for dependencies + // eslint-disable-next-line deprecation/deprecation const profile: IProfile = profiles.get(profileType, false); if (profile == null && definitions.required != null && definitions.required.indexOf(profileType) >= 0) { throw new ImperativeError({ diff --git a/packages/imperative/src/utilities/src/JSONUtils.ts b/packages/imperative/src/utilities/src/JSONUtils.ts index e8aa97d7c8..babd013da0 100644 --- a/packages/imperative/src/utilities/src/JSONUtils.ts +++ b/packages/imperative/src/utilities/src/JSONUtils.ts @@ -10,7 +10,6 @@ */ import { ImperativeError } from "../../error"; -import { isNullOrUndefined } from "util"; /** * JSON utility to wrap and throw ImperativeErrors @@ -30,7 +29,7 @@ export class JSONUtils { * @throws {ImperativeError} When there was a failure trying to parse a non-zero length data string. */ public static parse(data: string, failMessage?: string): T { - if (isNullOrUndefined(failMessage)) { + if (failMessage == null) { failMessage = "Parse of " + data + " failed"; } try { diff --git a/packages/imperative/src/utilities/src/TextUtils.ts b/packages/imperative/src/utilities/src/TextUtils.ts index 91af27f12f..3cbbc7c3a4 100644 --- a/packages/imperative/src/utilities/src/TextUtils.ts +++ b/packages/imperative/src/utilities/src/TextUtils.ts @@ -9,7 +9,7 @@ * */ -import { format, isArray, isNullOrUndefined, isNumber, isString } from "util"; +import { format } from "util"; /** * Interface of an explanation map object @@ -39,7 +39,7 @@ export class TextUtils { public static getRecommendedWidth(preferredWidth: number = TextUtils.DEFAULT_WRAP_WIDTH): number { const widthSafeGuard = 8; // prevent partial words from continuing over lines const yargs = require("yargs"); - const maxWidth = !isNullOrUndefined(yargs.terminalWidth() && yargs.terminalWidth() > 0) ? + const maxWidth = !((yargs.terminalWidth() && yargs.terminalWidth() > 0) == null) ? (yargs.terminalWidth() - widthSafeGuard) : preferredWidth; return Math.min(preferredWidth, maxWidth); } @@ -66,11 +66,11 @@ export class TextUtils { includeUnexplainedKeys: boolean = true): any { // no object to explain, return null - if (isNullOrUndefined(original)) { + if (original == null) { return null; } // no explanation map, return original - if (isNullOrUndefined(explanationMap)) { + if (explanationMap == null) { return original; } @@ -163,7 +163,7 @@ export class TextUtils { if (!headers) { headers = this.buildHeaders(objects); } - if (isNullOrUndefined(maxColumnWidth)) { + if (maxColumnWidth == null) { maxColumnWidth = this.getRecommendedWidth() / headers.length; } const borderChars = includeBorders ? @@ -274,7 +274,7 @@ export class TextUtils { * @returns {string} - a formatted string with the variables inserted */ public static formatMessage(message: string, ...values: any[]): string { - if (!isNullOrUndefined(values)) { + if (!(values == null)) { const isPrintfValue = (value: any) => { let isJson = false; try { @@ -283,9 +283,9 @@ export class TextUtils { } catch (e) { // not json } - return isString(value) || isNumber(value) || isJson; + return (typeof value === 'string') || (typeof value === 'number') || isJson; }; - if (isArray(values) && values.filter(isPrintfValue).length === values.length) { + if (Array.isArray(values) && values.filter(isPrintfValue).length === values.length) { message = format.apply(this, [message].concat(values)); } else { From 64f9973d930be9b0e32697b57ef1e97d1b576d15 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Tue, 6 Aug 2024 13:18:25 -0400 Subject: [PATCH 04/18] Fix issues from resolving deprecated functions Signed-off-by: Andrew W. Harn --- .../cli-test-utils/src/environment/TempTestProfiles.ts | 3 ++- .../src/cmd/__tests__/utils/CommandUtils.unit.test.ts | 3 ++- packages/imperative/src/utilities/src/CliUtils.ts | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/__tests__/__packages__/cli-test-utils/src/environment/TempTestProfiles.ts b/__tests__/__packages__/cli-test-utils/src/environment/TempTestProfiles.ts index 1812f0e8c6..8596401a92 100644 --- a/__tests__/__packages__/cli-test-utils/src/environment/TempTestProfiles.ts +++ b/__tests__/__packages__/cli-test-utils/src/environment/TempTestProfiles.ts @@ -216,7 +216,8 @@ export class TempTestProfiles { config.api.layers.activate(false, true); // Remove profile from config JSON - config.delete(config.api.profiles.getProfilePathFromName(profileName)); + // eslint-disable-next-line deprecation/deprecation + config.delete(config.api.profiles.expandPath(profileName)); if (config.api.layers.get().properties.defaults[profileType] === profileName) { config.delete(`defaults.${profileType}`); } diff --git a/packages/imperative/src/cmd/__tests__/utils/CommandUtils.unit.test.ts b/packages/imperative/src/cmd/__tests__/utils/CommandUtils.unit.test.ts index c92e854337..8286d543d4 100644 --- a/packages/imperative/src/cmd/__tests__/utils/CommandUtils.unit.test.ts +++ b/packages/imperative/src/cmd/__tests__/utils/CommandUtils.unit.test.ts @@ -89,7 +89,8 @@ describe("Command Utils", () => { }); it("We should be able to flatten a nested command tree with aliases for display and searching purposes", () => { - const flatten: ICommandTreeEntry[] = CommandUtils.flattenCommandTree(COMPLEX_COMMAND_WITH_ALIASES); + // eslint-disable-next-line deprecation/deprecation + const flatten: ICommandTreeEntry[] = CommandUtils.flattenCommandTreeWithAliases(COMPLEX_COMMAND_WITH_ALIASES); TestLogger.info("Flattened Command Tree:\n" + inspect(flatten)); expect(flatten).toMatchSnapshot(); }); diff --git a/packages/imperative/src/utilities/src/CliUtils.ts b/packages/imperative/src/utilities/src/CliUtils.ts index ea93754d7b..a6cf89c362 100644 --- a/packages/imperative/src/utilities/src/CliUtils.ts +++ b/packages/imperative/src/utilities/src/CliUtils.ts @@ -703,7 +703,7 @@ export class CliUtils { * - hello--------world -> helloWorld * - hello-World- -> helloWorld */ - const returnChar = p1.substring(-1).toUpperCase(); + const returnChar = p1.slice(-1).toUpperCase(); return returnChar !== "-" ? returnChar : ""; }), kebabCase: key.replace(/(-*[A-Z]|-{2,}|-$)/g, (match, p1, offset, inputString) => { @@ -748,7 +748,7 @@ export class CliUtils { return "-" + p1.toLowerCase(); } } else { // 2 - const returnChar = p1.substring(-1); // Get the last character of the sequence + const returnChar = p1.slice(-1); // Get the last character of the sequence if (returnChar === "-") { // 2.1 if (offset + p1.length === inputString.length) { // 2.1.1 From 1ee1b9771acf7cb065224351d61b46749b2f4854 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Tue, 6 Aug 2024 13:52:16 -0400 Subject: [PATCH 05/18] Update changelogs Signed-off-by: Andrew W. Harn --- __tests__/__packages__/cli-test-utils/CHANGELOG.md | 4 ++++ packages/cli/CHANGELOG.md | 4 ++++ packages/imperative/CHANGELOG.md | 4 ++++ packages/provisioning/CHANGELOG.md | 4 ++++ packages/workflows/CHANGELOG.md | 4 ++++ packages/zosconsole/CHANGELOG.md | 4 ++++ packages/zosfiles/CHANGELOG.md | 4 ++++ packages/zoslogs/CHANGELOG.md | 4 ++++ packages/zosmf/CHANGELOG.md | 5 +++++ packages/zostso/CHANGELOG.md | 4 ++++ packages/zosuss/CHANGELOG.md | 4 ++++ 11 files changed, 45 insertions(+) diff --git a/__tests__/__packages__/cli-test-utils/CHANGELOG.md b/__tests__/__packages__/cli-test-utils/CHANGELOG.md index 531be6aef0..509f258bac 100644 --- a/__tests__/__packages__/cli-test-utils/CHANGELOG.md +++ b/__tests__/__packages__/cli-test-utils/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Zowe CLI test utils package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.28.2` - BugFix: Improved the error message shown on Windows when `runCliScript` method cannot find `sh` executable on PATH. [#2208](https://github.com/zowe/zowe-cli/issues/2208) diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 5b9f81d21c..1e10b1d785 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Zowe CLI package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.25.1` - BugFix: Updated `braces` dependency for technical currency. [#2157](https://github.com/zowe/zowe-cli/pull/2157) diff --git a/packages/imperative/CHANGELOG.md b/packages/imperative/CHANGELOG.md index 72e995d43c..8192cdd58f 100644 --- a/packages/imperative/CHANGELOG.md +++ b/packages/imperative/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Imperative package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `5.26.1` - Bugfix: Export new Proxy class from Zowe imperative package. [#2205](https://github.com/zowe/zowe-cli/pull/2205) diff --git a/packages/provisioning/CHANGELOG.md b/packages/provisioning/CHANGELOG.md index c7bb00e438..7293dafc00 100644 --- a/packages/provisioning/CHANGELOG.md +++ b/packages/provisioning/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Zowe provisioning SDK package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.6.2` - BugFix: Updated `js-yaml` dependency for technical currency. diff --git a/packages/workflows/CHANGELOG.md b/packages/workflows/CHANGELOG.md index 7ede439b31..3c9d860628 100644 --- a/packages/workflows/CHANGELOG.md +++ b/packages/workflows/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Zowe z/OS workflows SDK package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.0.0` - Major: Introduced Team Profiles, Daemon mode, and more. See the prerelease items (if any) below for more details. diff --git a/packages/zosconsole/CHANGELOG.md b/packages/zosconsole/CHANGELOG.md index 95886e86fb..f23f07858b 100644 --- a/packages/zosconsole/CHANGELOG.md +++ b/packages/zosconsole/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Zowe z/OS console SDK package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.0.0` - Major: Introduced Team Profiles, Daemon mode, and more. See the prerelease items (if any) below for more details. diff --git a/packages/zosfiles/CHANGELOG.md b/packages/zosfiles/CHANGELOG.md index 5579345ebc..a289c69f48 100644 --- a/packages/zosfiles/CHANGELOG.md +++ b/packages/zosfiles/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Zowe z/OS files SDK package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.26.1` - BugFix: Fixed `Get.dataSet` and `Get.USSFile` methods so that they return an empty buffer instead of null for empty files. [#2173](https://github.com/zowe/zowe-cli/pull/2173) diff --git a/packages/zoslogs/CHANGELOG.md b/packages/zoslogs/CHANGELOG.md index 7e83addfe0..d3bcf891ac 100644 --- a/packages/zoslogs/CHANGELOG.md +++ b/packages/zoslogs/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Zowe z/OS logs SDK package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.0.0` - Major: Introduced Team Profiles, Daemon mode, and more. See the prerelease items (if any) below for more details. diff --git a/packages/zosmf/CHANGELOG.md b/packages/zosmf/CHANGELOG.md index 52cf9c629e..65be7d633c 100644 --- a/packages/zosmf/CHANGELOG.md +++ b/packages/zosmf/CHANGELOG.md @@ -2,7 +2,12 @@ All notable changes to the Zowe z/OSMF SDK package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.6.2` + - BugFix: Updated example for `zowe profiles create zosmf-profile` command. [#1152](https://github.com/zowe/zowe-cli/issues/1152) ## `7.1.0` diff --git a/packages/zostso/CHANGELOG.md b/packages/zostso/CHANGELOG.md index 428c948a96..e6db93235a 100644 --- a/packages/zostso/CHANGELOG.md +++ b/packages/zostso/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Zowe z/OS TSO SDK package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.1.0` - Enhancement: Exposed `tso` profile type configuration. diff --git a/packages/zosuss/CHANGELOG.md b/packages/zosuss/CHANGELOG.md index 41b4cf8810..00fc80bf9a 100644 --- a/packages/zosuss/CHANGELOG.md +++ b/packages/zosuss/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Zowe z/OS USS SDK package will be documented in this file. +## Recent Changes + +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) + ## `7.24.0` - Enhancement: Provide legible errors to users when they are missing user/password credentials while From 5054bcf56e4dbc9998df753d3ce160bb89373980 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Tue, 6 Aug 2024 14:19:42 -0400 Subject: [PATCH 06/18] Try to fix integration tests Signed-off-by: Andrew W. Harn --- ...xe.integration.test.ts => cli.zowe.exe.integration.subtest.ts} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/cli/__tests__/daemon/__integration__/{cli.zowe.exe.integration.test.ts => cli.zowe.exe.integration.subtest.ts} (100%) diff --git a/packages/cli/__tests__/daemon/__integration__/cli.zowe.exe.integration.test.ts b/packages/cli/__tests__/daemon/__integration__/cli.zowe.exe.integration.subtest.ts similarity index 100% rename from packages/cli/__tests__/daemon/__integration__/cli.zowe.exe.integration.test.ts rename to packages/cli/__tests__/daemon/__integration__/cli.zowe.exe.integration.subtest.ts From d413383963d9afebc2cd52c284dd5bb080c84857 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Tue, 6 Aug 2024 14:52:46 -0400 Subject: [PATCH 07/18] Remove unused line in test Signed-off-by: Andrew W. Harn --- .../__tests__/__unit__/methods/utilities/Utilities.unit.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/zosfiles/__tests__/__unit__/methods/utilities/Utilities.unit.test.ts b/packages/zosfiles/__tests__/__unit__/methods/utilities/Utilities.unit.test.ts index d0f65e09f7..b70e440eb6 100644 --- a/packages/zosfiles/__tests__/__unit__/methods/utilities/Utilities.unit.test.ts +++ b/packages/zosfiles/__tests__/__unit__/methods/utilities/Utilities.unit.test.ts @@ -179,8 +179,6 @@ describe("Utilities.putUSSPayload", () => { caughtError = e; } - const endpoint = posix.join(ZosFilesConstants.RESOURCE, ZosFilesConstants.RES_USS_FILES, encodeURIComponent(filename.substring(1))); - expect(response).toBeUndefined(); expect(caughtError).toBeDefined(); From a2106eacf27db58295fa3642169395bd79f9b3e4 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Tue, 6 Aug 2024 16:45:35 -0400 Subject: [PATCH 08/18] Fix error using session with auth type "none" Signed-off-by: Timothy Johnson --- .../client/AbstractRestClient.unit.test.ts | 54 +++++++++++++++++-- .../src/rest/src/client/AbstractRestClient.ts | 2 +- 2 files changed, 50 insertions(+), 6 deletions(-) diff --git a/packages/imperative/src/rest/__tests__/client/AbstractRestClient.unit.test.ts b/packages/imperative/src/rest/__tests__/client/AbstractRestClient.unit.test.ts index 3e480ec45b..b898a3d0ae 100644 --- a/packages/imperative/src/rest/__tests__/client/AbstractRestClient.unit.test.ts +++ b/packages/imperative/src/rest/__tests__/client/AbstractRestClient.unit.test.ts @@ -14,7 +14,7 @@ import * as https from "https"; import * as http from "http"; import { Session } from "../../src/session/Session"; import { - AUTH_TYPE_BASIC, AUTH_TYPE_BEARER, AUTH_TYPE_CERT_PEM, AUTH_TYPE_TOKEN + AUTH_TYPE_BASIC, AUTH_TYPE_BEARER, AUTH_TYPE_CERT_PEM, AUTH_TYPE_NONE, AUTH_TYPE_TOKEN } from "../../src/session/SessConstants"; import { RestClient } from "../../src/client/RestClient"; import { Headers } from "../../src/client/Headers"; @@ -83,15 +83,19 @@ describe("AbstractRestClient tests", () => { expect(error.message).toMatchSnapshot(); }); - it("should throw an error when when no creds are in the session", async () => { + it("should throw an error when session type is basic and no creds are in the session", async () => { // restore setPasswordAuth spy to its original implementation setPasswordAuthSpy.mockRestore(); let caughtError; try { - await RestClient.getExpectString(new Session({ - hostname: "test" - }), "/resource"); + const sessWithoutCreds = new Session({ + hostname: "test", + type: AUTH_TYPE_BASIC, + base64EncodedAuth: "FakeBase64EncodedCred" + }); + delete sessWithoutCreds.ISession.base64EncodedAuth; + await RestClient.getExpectString(sessWithoutCreds, "/resource"); } catch (error) { caughtError = error; } @@ -100,6 +104,46 @@ describe("AbstractRestClient tests", () => { expect(caughtError.message).toContain("No credentials for a BASIC or TOKEN type of session"); }); + it("should not error when session type is none and no creds are in the session", async () => { + const emitter = new MockHttpRequestResponse(); + const requestFnc = jest.fn((options, callback) => { + ProcessUtils.nextTick(async () => { + + const newEmit = new MockHttpRequestResponse(); + callback(newEmit); + + await ProcessUtils.nextTick(() => { + newEmit.emit("data", Buffer.from("{\"newData\":", "utf8")); + }); + + await ProcessUtils.nextTick(() => { + newEmit.emit("data", Buffer.from("\"response data\"}", "utf8")); + }); + + await ProcessUtils.nextTick(() => { + newEmit.emit("end"); + }); + }); + + return emitter; + }); + + (https.request as any) = requestFnc; + + let caughtError; + try { + await RestClient.getExpectString(new Session({ + hostname: "test", + type: AUTH_TYPE_NONE + }), "/resource"); + } catch (error) { + caughtError = error; + } + + expect(caughtError).toBeUndefined(); + expect(requestFnc).toHaveBeenCalledTimes(1); + }); + it("should not error when chunking data and payload data are present in outgoing request", async () => { interface IPayload { diff --git a/packages/imperative/src/rest/src/client/AbstractRestClient.ts b/packages/imperative/src/rest/src/client/AbstractRestClient.ts index b3d37dd2c2..fa1e663d15 100644 --- a/packages/imperative/src/rest/src/client/AbstractRestClient.ts +++ b/packages/imperative/src/rest/src/client/AbstractRestClient.ts @@ -538,7 +538,7 @@ export abstract class AbstractRestClient { /* There is probably a better way report this kind of problem and a better message, * but we do it this way to maintain backward compatibility. */ - if (!credsAreSet) { + if (!credsAreSet && this.session.ISession.type !== SessConstants.AUTH_TYPE_NONE) { throw new ImperativeError({ msg: "No credentials for a BASIC or TOKEN type of session." }); } From bb5b89474ff598cc34e8c9c842d7c41949bc06a0 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Wed, 7 Aug 2024 09:53:04 -0400 Subject: [PATCH 09/18] Remove deprecated buffer slice and replace with subarray Signed-off-by: Andrew W. Harn --- packages/cli/src/daemon/DaemonClient.ts | 6 +++--- .../rest/__tests__/client/AbstractRestClient.unit.test.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli/src/daemon/DaemonClient.ts b/packages/cli/src/daemon/DaemonClient.ts index 04f99dadec..27cc89b7c3 100644 --- a/packages/cli/src/daemon/DaemonClient.ts +++ b/packages/cli/src/daemon/DaemonClient.ts @@ -142,15 +142,15 @@ export class DaemonClient { let stdinData: Buffer; try { - jsonData = JSON.parse((jsonEndIdx !== -1 ? data.slice(0, jsonEndIdx + 1) : data).toString()); - stdinData = jsonEndIdx !== -1 ? data.slice(jsonEndIdx + 2) : undefined; + jsonData = JSON.parse((jsonEndIdx !== -1 ? data.subarray(0, jsonEndIdx + 1) : data).toString()); + stdinData = jsonEndIdx !== -1 ? data.subarray(jsonEndIdx + 2) : undefined; } catch (error) { Imperative.api.appLogger.logError(new ImperativeError({ msg: "Failed to parse data received from daemon client", causeErrors: error })); // eslint-disable-next-line @typescript-eslint/no-magic-numbers - Imperative.api.appLogger.trace("First 1024 bytes of daemon request:\n", data.slice(0, 1024).toString()); + Imperative.api.appLogger.trace("First 1024 bytes of daemon request:\n", data.subarray(0, 1024).toString()); const responsePayload: string = DaemonRequest.create({ stderr: "Failed to parse data received from daemon client:\n" + error.stack, exitCode: 1 diff --git a/packages/imperative/src/rest/__tests__/client/AbstractRestClient.unit.test.ts b/packages/imperative/src/rest/__tests__/client/AbstractRestClient.unit.test.ts index 3e480ec45b..d9f7933188 100644 --- a/packages/imperative/src/rest/__tests__/client/AbstractRestClient.unit.test.ts +++ b/packages/imperative/src/rest/__tests__/client/AbstractRestClient.unit.test.ts @@ -1006,7 +1006,7 @@ describe("AbstractRestClient tests", () => { callback(newEmit); await ProcessUtils.nextTick(() => { - newEmit.emit("data", gzipBuffer.slice(0, -10)); + newEmit.emit("data", gzipBuffer.subarray(0, -10)); }); await ProcessUtils.nextTick(() => { @@ -1114,7 +1114,7 @@ describe("AbstractRestClient tests", () => { callback(newEmit); await ProcessUtils.nextTick(() => { - newEmit.emit("data", gzipBuffer.slice(0, -10)); + newEmit.emit("data", gzipBuffer.subarray(0, -10)); }); await ProcessUtils.nextTick(() => { From 11a1830d52c2fc9516f49cea95dd1aa45e4274eb Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Wed, 7 Aug 2024 10:06:32 -0400 Subject: [PATCH 10/18] Update changelog Signed-off-by: Timothy Johnson --- packages/imperative/CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/imperative/CHANGELOG.md b/packages/imperative/CHANGELOG.md index 72e995d43c..a5f31230bd 100644 --- a/packages/imperative/CHANGELOG.md +++ b/packages/imperative/CHANGELOG.md @@ -2,9 +2,13 @@ All notable changes to the Imperative package will be documented in this file. +## Recent Changes + +- BugFix: Fixed error in REST client when making requests with session type of `SessConstants.AUTH_TYPE_NONE`. [#2219](https://github.com/zowe/zowe-cli/issues/2219) + ## `5.26.1` -- Bugfix: Export new Proxy class from Zowe imperative package. [#2205](https://github.com/zowe/zowe-cli/pull/2205) +- BugFix: Fixed missing export for `Proxy` class in Imperative package. [#2205](https://github.com/zowe/zowe-cli/pull/2205) ## `5.26.0` From ec84fc8c5ea0aa3ac789731bd9fdf0e586195694 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Wed, 7 Aug 2024 13:41:59 -0400 Subject: [PATCH 11/18] Update changelogs Signed-off-by: Andrew W. Harn --- __tests__/__packages__/cli-test-utils/CHANGELOG.md | 2 +- packages/cli/CHANGELOG.md | 2 +- packages/imperative/CHANGELOG.md | 2 +- packages/provisioning/CHANGELOG.md | 2 +- packages/workflows/CHANGELOG.md | 2 +- packages/zosconsole/CHANGELOG.md | 2 +- packages/zosfiles/CHANGELOG.md | 2 +- packages/zoslogs/CHANGELOG.md | 2 +- packages/zosmf/CHANGELOG.md | 2 +- packages/zostso/CHANGELOG.md | 2 +- packages/zosuss/CHANGELOG.md | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/__tests__/__packages__/cli-test-utils/CHANGELOG.md b/__tests__/__packages__/cli-test-utils/CHANGELOG.md index 509f258bac..aad5e27ec1 100644 --- a/__tests__/__packages__/cli-test-utils/CHANGELOG.md +++ b/__tests__/__packages__/cli-test-utils/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe CLI test utils package will be documented in thi ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.28.2` diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 1e10b1d785..99a7897a30 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe CLI package will be documented in this file. ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.25.1` diff --git a/packages/imperative/CHANGELOG.md b/packages/imperative/CHANGELOG.md index 8192cdd58f..b969019d35 100644 --- a/packages/imperative/CHANGELOG.md +++ b/packages/imperative/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Imperative package will be documented in this file. ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `5.26.1` diff --git a/packages/provisioning/CHANGELOG.md b/packages/provisioning/CHANGELOG.md index 7293dafc00..3d997e13b7 100644 --- a/packages/provisioning/CHANGELOG.md +++ b/packages/provisioning/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe provisioning SDK package will be documented in t ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.6.2` diff --git a/packages/workflows/CHANGELOG.md b/packages/workflows/CHANGELOG.md index 3c9d860628..8a7618dbc2 100644 --- a/packages/workflows/CHANGELOG.md +++ b/packages/workflows/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe z/OS workflows SDK package will be documented in ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.0.0` diff --git a/packages/zosconsole/CHANGELOG.md b/packages/zosconsole/CHANGELOG.md index f23f07858b..53d96c9252 100644 --- a/packages/zosconsole/CHANGELOG.md +++ b/packages/zosconsole/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe z/OS console SDK package will be documented in t ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.0.0` diff --git a/packages/zosfiles/CHANGELOG.md b/packages/zosfiles/CHANGELOG.md index a289c69f48..32e557b8ee 100644 --- a/packages/zosfiles/CHANGELOG.md +++ b/packages/zosfiles/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe z/OS files SDK package will be documented in thi ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.26.1` diff --git a/packages/zoslogs/CHANGELOG.md b/packages/zoslogs/CHANGELOG.md index d3bcf891ac..eb9294b1f3 100644 --- a/packages/zoslogs/CHANGELOG.md +++ b/packages/zoslogs/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe z/OS logs SDK package will be documented in this ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.0.0` diff --git a/packages/zosmf/CHANGELOG.md b/packages/zosmf/CHANGELOG.md index 65be7d633c..5475aa5776 100644 --- a/packages/zosmf/CHANGELOG.md +++ b/packages/zosmf/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe z/OSMF SDK package will be documented in this fi ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.6.2` diff --git a/packages/zostso/CHANGELOG.md b/packages/zostso/CHANGELOG.md index e6db93235a..df9360c235 100644 --- a/packages/zostso/CHANGELOG.md +++ b/packages/zostso/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe z/OS TSO SDK package will be documented in this ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.1.0` diff --git a/packages/zosuss/CHANGELOG.md b/packages/zosuss/CHANGELOG.md index 00fc80bf9a..6e3fd74388 100644 --- a/packages/zosuss/CHANGELOG.md +++ b/packages/zosuss/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to the Zowe z/OS USS SDK package will be documented in this ## Recent Changes -- BugFix: Refactored code to reduce the use of deprecated functions to prepare for Node 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) +- BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) ## `7.24.0` From 7919322f9c4c7d559134ae844ec6917135e8a930 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Thu, 8 Aug 2024 09:27:43 -0400 Subject: [PATCH 12/18] Make requested changes Signed-off-by: Andrew W. Harn --- packages/imperative/.eslintrc.js | 3 +- .../__tests__/config/jest.preset.json | 2 +- packages/imperative/__tests__/tsconfig.json | 11 ++++- packages/imperative/package.json | 6 +-- .../imperative/src/utilities/src/TextUtils.ts | 2 +- packages/imperative/tsconfig-tests.json | 40 ------------------- 6 files changed, 15 insertions(+), 49 deletions(-) delete mode 100644 packages/imperative/tsconfig-tests.json diff --git a/packages/imperative/.eslintrc.js b/packages/imperative/.eslintrc.js index fa630b127c..01fe3c5774 100644 --- a/packages/imperative/.eslintrc.js +++ b/packages/imperative/.eslintrc.js @@ -5,8 +5,7 @@ module.exports = { "sourceType": "module", "project": [ "./tsconfig.json", - "./__tests__/tsconfig.json", - "./tsconfig-tests.json" + "./__tests__/tsconfig.json" ] } } \ No newline at end of file diff --git a/packages/imperative/__tests__/config/jest.preset.json b/packages/imperative/__tests__/config/jest.preset.json index 80286a736d..e718090405 100644 --- a/packages/imperative/__tests__/config/jest.preset.json +++ b/packages/imperative/__tests__/config/jest.preset.json @@ -2,7 +2,7 @@ "globals": { "ts-jest": { "diagnostics": false, - "tsconfig": "tsconfig-tests.json" + "tsconfig": "./__tests__/tsconfig.json" } }, "moduleFileExtensions": ["ts","js"], diff --git a/packages/imperative/__tests__/tsconfig.json b/packages/imperative/__tests__/tsconfig.json index c4d748311b..e15ba062f9 100644 --- a/packages/imperative/__tests__/tsconfig.json +++ b/packages/imperative/__tests__/tsconfig.json @@ -19,10 +19,17 @@ "include": [ "**/*.test.ts", "**/*.subtest.ts", - "**/__tests__/**/*" + "**/__tests__/**/*", + "../**/*.test.ts", + "../**/*.subtest.ts", + "../**/__tests__/**/*" ], "exclude": [ "lib", "node_modules" - ] + ], + "files": [ + "../../__types__/wontache.d.ts" + ], + "allowJs": true } \ No newline at end of file diff --git a/packages/imperative/package.json b/packages/imperative/package.json index cf9ee079c3..5da51d73d5 100644 --- a/packages/imperative/package.json +++ b/packages/imperative/package.json @@ -30,9 +30,9 @@ "scripts": { "build:packages": "tsc --pretty", "build": "npm run build:packages && npm run build:webHelp", - "lint": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\"", - "lint:packages": "eslint \"src/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\"", - "lint:tests": "eslint \"./__tests__/**/*.ts\"", + "lint": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\" --ignore-pattern \"**/__mocks__/*.ts\"", + "lint:packages": "eslint \"src/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\" --ignore-pattern \"**/__mocks__/*.ts\"", + "lint:tests": "eslint \"**/__tests__/**/*.ts\"", "circularDependencyCheck": "madge -c lib", "watch": "concurrently \"tsc --pretty --watch\" \"npm run watch:webHelp\"", "build:webHelp": "cd web-help && npm run build", diff --git a/packages/imperative/src/utilities/src/TextUtils.ts b/packages/imperative/src/utilities/src/TextUtils.ts index 3cbbc7c3a4..dd59bc4631 100644 --- a/packages/imperative/src/utilities/src/TextUtils.ts +++ b/packages/imperative/src/utilities/src/TextUtils.ts @@ -39,7 +39,7 @@ export class TextUtils { public static getRecommendedWidth(preferredWidth: number = TextUtils.DEFAULT_WRAP_WIDTH): number { const widthSafeGuard = 8; // prevent partial words from continuing over lines const yargs = require("yargs"); - const maxWidth = !((yargs.terminalWidth() && yargs.terminalWidth() > 0) == null) ? + const maxWidth = (!(yargs.terminalWidth() == null) && yargs.terminalWidth() > 0) ? (yargs.terminalWidth() - widthSafeGuard) : preferredWidth; return Math.min(preferredWidth, maxWidth); } diff --git a/packages/imperative/tsconfig-tests.json b/packages/imperative/tsconfig-tests.json deleted file mode 100644 index 3485999e7b..0000000000 --- a/packages/imperative/tsconfig-tests.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "compilerOptions": { - "types": [ - "node", - "jest" - ], - "lib": [ - "esnext" - ], - "experimentalDecorators": true, - "target": "es2015", - "module": "commonjs", - "noEmit": true, - "declaration": true, - "moduleResolution": "node", - "noImplicitAny": true, - "outDir": "./lib", - "preserveConstEnums": true, - "removeComments": false, - "pretty": true, - "sourceMap": true, - "newLine": "lf" - }, - "typeRoots": [ - "./node_modules/@types" - ], - "include": [ - "**/__tests__/*", - "**/__tests__/**/*", - "**/__mocks__/*" - ], - "exclude": [ - "lib", - "node_modules" - ], - "files": [ - "../../__types__/wontache.d.ts" - ], - "allowJs": true -} From bd6d84c932dc440ae56264c2d6321dc64e362255 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Thu, 8 Aug 2024 09:29:22 -0400 Subject: [PATCH 13/18] Move .madgerc Signed-off-by: Andrew W. Harn --- packages/.madgerc => .madgerc | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/.madgerc => .madgerc (100%) diff --git a/packages/.madgerc b/.madgerc similarity index 100% rename from packages/.madgerc rename to .madgerc From 0eb09332c6ec2c4969530ab9a12c21ca3e5bc237 Mon Sep 17 00:00:00 2001 From: zowe-robot Date: Thu, 8 Aug 2024 17:16:57 +0000 Subject: [PATCH 14/18] Bump version to 7.28.3 [ci skip] Signed-off-by: zowe-robot --- .../__packages__/cli-test-utils/CHANGELOG.md | 2 +- .../__packages__/cli-test-utils/package.json | 4 +- lerna.json | 2 +- npm-shrinkwrap.json | 229 ++++++++++-------- packages/cli/CHANGELOG.md | 2 +- packages/cli/package.json | 26 +- packages/core/package.json | 6 +- packages/imperative/CHANGELOG.md | 2 +- packages/imperative/package.json | 4 +- packages/provisioning/CHANGELOG.md | 2 +- packages/provisioning/package.json | 8 +- packages/secrets/package.json | 2 +- packages/workflows/CHANGELOG.md | 2 +- packages/workflows/package.json | 10 +- packages/zosconsole/CHANGELOG.md | 2 +- packages/zosconsole/package.json | 8 +- packages/zosfiles/CHANGELOG.md | 2 +- packages/zosfiles/package.json | 10 +- packages/zosjobs/package.json | 10 +- packages/zoslogs/CHANGELOG.md | 2 +- packages/zoslogs/package.json | 8 +- packages/zosmf/CHANGELOG.md | 2 +- packages/zosmf/package.json | 8 +- packages/zostso/CHANGELOG.md | 2 +- packages/zostso/package.json | 10 +- packages/zosuss/CHANGELOG.md | 2 +- packages/zosuss/package.json | 6 +- 27 files changed, 195 insertions(+), 178 deletions(-) diff --git a/__tests__/__packages__/cli-test-utils/CHANGELOG.md b/__tests__/__packages__/cli-test-utils/CHANGELOG.md index aad5e27ec1..0ec6f57a65 100644 --- a/__tests__/__packages__/cli-test-utils/CHANGELOG.md +++ b/__tests__/__packages__/cli-test-utils/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe CLI test utils package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/__tests__/__packages__/cli-test-utils/package.json b/__tests__/__packages__/cli-test-utils/package.json index 83e901cdb7..5676a4e4e3 100644 --- a/__tests__/__packages__/cli-test-utils/package.json +++ b/__tests__/__packages__/cli-test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/cli-test-utils", - "version": "7.28.2", + "version": "7.28.3", "description": "Test utilities package for Zowe CLI plug-ins", "author": "Zowe", "license": "EPL-2.0", @@ -43,7 +43,7 @@ "devDependencies": { "@types/js-yaml": "^4.0.0", "@types/uuid": "^8.3.0", - "@zowe/imperative": "5.26.1" + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/imperative": "^5.0.0" diff --git a/lerna.json b/lerna.json index 28bf670e2c..168b9a1770 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "7.28.2", + "version": "7.28.3", "command": { "publish": { "ignoreChanges": [ diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index eca5d414b1..355fcdb3ac 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -54,7 +54,7 @@ }, "__tests__/__packages__/cli-test-utils": { "name": "@zowe/cli-test-utils", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "dependencies": { "find-up": "^5.0.0", @@ -65,7 +65,7 @@ "devDependencies": { "@types/js-yaml": "^4.0.0", "@types/uuid": "^8.3.0", - "@zowe/imperative": "5.26.1" + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/imperative": "^5.0.0" @@ -20648,21 +20648,21 @@ }, "packages/cli": { "name": "@zowe/cli", - "version": "7.28.2", + "version": "7.28.3", "hasInstallScript": true, "license": "EPL-2.0", "dependencies": { - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", - "@zowe/provisioning-for-zowe-sdk": "7.28.2", - "@zowe/zos-console-for-zowe-sdk": "7.28.2", - "@zowe/zos-files-for-zowe-sdk": "7.28.2", - "@zowe/zos-jobs-for-zowe-sdk": "7.28.2", - "@zowe/zos-logs-for-zowe-sdk": "7.28.2", - "@zowe/zos-tso-for-zowe-sdk": "7.28.2", - "@zowe/zos-uss-for-zowe-sdk": "7.28.2", - "@zowe/zos-workflows-for-zowe-sdk": "7.28.2", - "@zowe/zosmf-for-zowe-sdk": "7.28.2", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", + "@zowe/provisioning-for-zowe-sdk": "7.28.3", + "@zowe/zos-console-for-zowe-sdk": "7.28.3", + "@zowe/zos-files-for-zowe-sdk": "7.28.3", + "@zowe/zos-jobs-for-zowe-sdk": "7.28.3", + "@zowe/zos-logs-for-zowe-sdk": "7.28.3", + "@zowe/zos-tso-for-zowe-sdk": "7.28.3", + "@zowe/zos-uss-for-zowe-sdk": "7.28.3", + "@zowe/zos-workflows-for-zowe-sdk": "7.28.3", + "@zowe/zosmf-for-zowe-sdk": "7.28.3", "find-process": "1.4.7", "get-stream": "6.0.1", "lodash": "4.17.21", @@ -20677,7 +20677,7 @@ "@types/diff": "^5.0.2", "@types/lodash": "^4.14.175", "@types/tar": "^6.1.2", - "@zowe/cli-test-utils": "7.28.2", + "@zowe/cli-test-utils": "7.28.3", "comment-json": "^4.1.1", "strip-ansi": "^6.0.1", "which": "^2.0.2" @@ -20689,6 +20689,17 @@ "@zowe/secrets-for-zowe-sdk": "7.18.6" } }, + "packages/cli/node_modules/@zowe/secrets-for-zowe-sdk": { + "version": "7.18.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-local-release/@zowe/secrets-for-zowe-sdk/-/@zowe/secrets-for-zowe-sdk-7.18.6.tgz", + "integrity": "sha512-3ElVUd5VYWUxVjXRCeM/jmXh9u1rnWtxobQEpgEZ2iNt+PTt3QajIxUH9MxriELVCp7u39AeAG4lfxs3wnrGzA==", + "hasInstallScript": true, + "license": "EPL-2.0", + "optional": true, + "engines": { + "node": ">= 14" + } + }, "packages/cli/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -20710,15 +20721,15 @@ }, "packages/core": { "name": "@zowe/core-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "dependencies": { "comment-json": "4.1.1", "string-width": "4.2.3" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/imperative": "^5.0.0" @@ -20726,7 +20737,7 @@ }, "packages/imperative": { "name": "@zowe/imperative", - "version": "5.26.1", + "version": "5.26.2", "license": "EPL-2.0", "dependencies": { "@types/yargs": "13.0.4", @@ -20784,7 +20795,7 @@ "@types/readline-sync": "^1.4.3", "@types/rimraf": "^3.0.2", "@types/stack-trace": "^0.0.29", - "@zowe/secrets-for-zowe-sdk": "^7.18.0", + "@zowe/secrets-for-zowe-sdk": "^7.28.3", "concurrently": "^7.5.0", "cowsay": "^1.2.1", "deep-diff": "^0.3.8", @@ -21108,16 +21119,16 @@ }, "packages/provisioning": { "name": "@zowe/provisioning-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "dependencies": { "js-yaml": "4.1.0" }, "devDependencies": { "@types/js-yaml": "^4.0.5", - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", @@ -21126,7 +21137,7 @@ }, "packages/secrets": { "name": "@zowe/secrets-for-zowe-sdk", - "version": "7.18.6", + "version": "7.28.3", "hasInstallScript": true, "license": "EPL-2.0", "devDependencies": { @@ -21139,15 +21150,15 @@ }, "packages/workflows": { "name": "@zowe/zos-workflows-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "7.28.2" + "@zowe/zos-files-for-zowe-sdk": "7.28.3" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", @@ -21156,12 +21167,12 @@ }, "packages/zosconsole": { "name": "@zowe/zos-console-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", @@ -21170,16 +21181,16 @@ }, "packages/zosfiles": { "name": "@zowe/zos-files-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "dependencies": { "minimatch": "5.0.1" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", - "@zowe/zos-uss-for-zowe-sdk": "7.28.2" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", + "@zowe/zos-uss-for-zowe-sdk": "7.28.3" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", @@ -21207,15 +21218,15 @@ }, "packages/zosjobs": { "name": "@zowe/zos-jobs-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "7.28.2" + "@zowe/zos-files-for-zowe-sdk": "7.28.3" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", @@ -21224,12 +21235,12 @@ }, "packages/zoslogs": { "name": "@zowe/zos-logs-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", @@ -21238,12 +21249,12 @@ }, "packages/zosmf": { "name": "@zowe/zosmf-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", @@ -21252,15 +21263,15 @@ }, "packages/zostso": { "name": "@zowe/zos-tso-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "dependencies": { - "@zowe/zosmf-for-zowe-sdk": "7.28.2" + "@zowe/zosmf-for-zowe-sdk": "7.28.3" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", @@ -21269,15 +21280,15 @@ }, "packages/zosuss": { "name": "@zowe/zos-uss-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "license": "EPL-2.0", "dependencies": { "ssh2": "1.15.0" }, "devDependencies": { "@types/ssh2": "^1.11.0", - "@zowe/cli-test-utils": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/imperative": "^5.2.0" @@ -25984,19 +25995,19 @@ "@types/diff": "^5.0.2", "@types/lodash": "^4.14.175", "@types/tar": "^6.1.2", - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", - "@zowe/provisioning-for-zowe-sdk": "7.28.2", + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", + "@zowe/provisioning-for-zowe-sdk": "7.28.3", "@zowe/secrets-for-zowe-sdk": "7.18.6", - "@zowe/zos-console-for-zowe-sdk": "7.28.2", - "@zowe/zos-files-for-zowe-sdk": "7.28.2", - "@zowe/zos-jobs-for-zowe-sdk": "7.28.2", - "@zowe/zos-logs-for-zowe-sdk": "7.28.2", - "@zowe/zos-tso-for-zowe-sdk": "7.28.2", - "@zowe/zos-uss-for-zowe-sdk": "7.28.2", - "@zowe/zos-workflows-for-zowe-sdk": "7.28.2", - "@zowe/zosmf-for-zowe-sdk": "7.28.2", + "@zowe/zos-console-for-zowe-sdk": "7.28.3", + "@zowe/zos-files-for-zowe-sdk": "7.28.3", + "@zowe/zos-jobs-for-zowe-sdk": "7.28.3", + "@zowe/zos-logs-for-zowe-sdk": "7.28.3", + "@zowe/zos-tso-for-zowe-sdk": "7.28.3", + "@zowe/zos-uss-for-zowe-sdk": "7.28.3", + "@zowe/zos-workflows-for-zowe-sdk": "7.28.3", + "@zowe/zosmf-for-zowe-sdk": "7.28.3", "comment-json": "^4.1.1", "find-process": "1.4.7", "get-stream": "6.0.1", @@ -26007,6 +26018,12 @@ "which": "^2.0.2" }, "dependencies": { + "@zowe/secrets-for-zowe-sdk": { + "version": "7.18.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-local-release/@zowe/secrets-for-zowe-sdk/-/@zowe/secrets-for-zowe-sdk-7.18.6.tgz", + "integrity": "sha512-3ElVUd5VYWUxVjXRCeM/jmXh9u1rnWtxobQEpgEZ2iNt+PTt3QajIxUH9MxriELVCp7u39AeAG4lfxs3wnrGzA==", + "optional": true + }, "brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -26030,7 +26047,7 @@ "requires": { "@types/js-yaml": "^4.0.0", "@types/uuid": "^8.3.0", - "@zowe/imperative": "5.26.1", + "@zowe/imperative": "5.26.2", "find-up": "^5.0.0", "js-yaml": "^4.0.0", "rimraf": "^3.0.2", @@ -26050,8 +26067,8 @@ "@zowe/core-for-zowe-sdk": { "version": "file:packages/core", "requires": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/imperative": "5.26.1", + "@zowe/cli-test-utils": "7.28.3", + "@zowe/imperative": "5.26.2", "comment-json": "4.1.1", "string-width": "4.2.3" } @@ -26075,7 +26092,7 @@ "@types/rimraf": "^3.0.2", "@types/stack-trace": "^0.0.29", "@types/yargs": "13.0.4", - "@zowe/secrets-for-zowe-sdk": "^7.18.0", + "@zowe/secrets-for-zowe-sdk": "^7.28.3", "chalk": "2.4.2", "cli-table3": "0.6.2", "comment-json": "4.1.1", @@ -26338,9 +26355,9 @@ "version": "file:packages/provisioning", "requires": { "@types/js-yaml": "^4.0.5", - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", "js-yaml": "4.1.0" } }, @@ -26354,18 +26371,18 @@ "@zowe/zos-console-for-zowe-sdk": { "version": "file:packages/zosconsole", "requires": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" } }, "@zowe/zos-files-for-zowe-sdk": { "version": "file:packages/zosfiles", "requires": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", - "@zowe/zos-uss-for-zowe-sdk": "7.28.2", + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", + "@zowe/zos-uss-for-zowe-sdk": "7.28.3", "minimatch": "5.0.1" }, "dependencies": { @@ -26390,53 +26407,53 @@ "@zowe/zos-jobs-for-zowe-sdk": { "version": "file:packages/zosjobs", "requires": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", - "@zowe/zos-files-for-zowe-sdk": "7.28.2" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", + "@zowe/zos-files-for-zowe-sdk": "7.28.3" } }, "@zowe/zos-logs-for-zowe-sdk": { "version": "file:packages/zoslogs", "requires": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" } }, "@zowe/zos-tso-for-zowe-sdk": { "version": "file:packages/zostso", "requires": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", - "@zowe/zosmf-for-zowe-sdk": "7.28.2" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", + "@zowe/zosmf-for-zowe-sdk": "7.28.3" } }, "@zowe/zos-uss-for-zowe-sdk": { "version": "file:packages/zosuss", "requires": { "@types/ssh2": "^1.11.0", - "@zowe/cli-test-utils": "7.28.2", - "@zowe/imperative": "5.26.1", + "@zowe/cli-test-utils": "7.28.3", + "@zowe/imperative": "5.26.2", "ssh2": "1.15.0" } }, "@zowe/zos-workflows-for-zowe-sdk": { "version": "file:packages/workflows", "requires": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", - "@zowe/zos-files-for-zowe-sdk": "7.28.2" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", + "@zowe/zos-files-for-zowe-sdk": "7.28.3" } }, "@zowe/zosmf-for-zowe-sdk": { "version": "file:packages/zosmf", "requires": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" } }, "abbrev": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 99a7897a30..e265fbf4ee 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe CLI package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/packages/cli/package.json b/packages/cli/package.json index aeae52f39e..79f315dab9 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/cli", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe CLI is a command line interface (CLI) that provides a simple and streamlined way to interact with IBM z/OS.", "author": "Zowe", "license": "EPL-2.0", @@ -58,17 +58,17 @@ "preshrinkwrap": "node ../../scripts/rewriteShrinkwrap.js" }, "dependencies": { - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", - "@zowe/provisioning-for-zowe-sdk": "7.28.2", - "@zowe/zos-console-for-zowe-sdk": "7.28.2", - "@zowe/zos-files-for-zowe-sdk": "7.28.2", - "@zowe/zos-jobs-for-zowe-sdk": "7.28.2", - "@zowe/zos-logs-for-zowe-sdk": "7.28.2", - "@zowe/zos-tso-for-zowe-sdk": "7.28.2", - "@zowe/zos-uss-for-zowe-sdk": "7.28.2", - "@zowe/zos-workflows-for-zowe-sdk": "7.28.2", - "@zowe/zosmf-for-zowe-sdk": "7.28.2", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", + "@zowe/provisioning-for-zowe-sdk": "7.28.3", + "@zowe/zos-console-for-zowe-sdk": "7.28.3", + "@zowe/zos-files-for-zowe-sdk": "7.28.3", + "@zowe/zos-jobs-for-zowe-sdk": "7.28.3", + "@zowe/zos-logs-for-zowe-sdk": "7.28.3", + "@zowe/zos-tso-for-zowe-sdk": "7.28.3", + "@zowe/zos-uss-for-zowe-sdk": "7.28.3", + "@zowe/zos-workflows-for-zowe-sdk": "7.28.3", + "@zowe/zosmf-for-zowe-sdk": "7.28.3", "find-process": "1.4.7", "get-stream": "6.0.1", "lodash": "4.17.21", @@ -79,7 +79,7 @@ "@types/diff": "^5.0.2", "@types/lodash": "^4.14.175", "@types/tar": "^6.1.2", - "@zowe/cli-test-utils": "7.28.2", + "@zowe/cli-test-utils": "7.28.3", "comment-json": "^4.1.1", "strip-ansi": "^6.0.1", "which": "^2.0.2" diff --git a/packages/core/package.json b/packages/core/package.json index 178f3f2ccb..7357687166 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/core-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Core libraries shared by Zowe SDK packages", "author": "Zowe", "license": "EPL-2.0", @@ -49,8 +49,8 @@ "string-width": "4.2.3" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/imperative": "^5.0.0" diff --git a/packages/imperative/CHANGELOG.md b/packages/imperative/CHANGELOG.md index 60660a6cc4..33ae7bfd6f 100644 --- a/packages/imperative/CHANGELOG.md +++ b/packages/imperative/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Imperative package will be documented in this file. -## Recent Changes +## `5.26.2` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) - BugFix: Fixed error in REST client when making requests with session type of `SessConstants.AUTH_TYPE_NONE`. [#2219](https://github.com/zowe/zowe-cli/issues/2219) diff --git a/packages/imperative/package.json b/packages/imperative/package.json index 5da51d73d5..df7441b17e 100644 --- a/packages/imperative/package.json +++ b/packages/imperative/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/imperative", - "version": "5.26.1", + "version": "5.26.2", "description": "framework for building configurable CLIs", "author": "Zowe", "license": "EPL-2.0", @@ -98,7 +98,7 @@ "@types/readline-sync": "^1.4.3", "@types/rimraf": "^3.0.2", "@types/stack-trace": "^0.0.29", - "@zowe/secrets-for-zowe-sdk": "^7.18.0", + "@zowe/secrets-for-zowe-sdk": "^7.28.3", "concurrently": "^7.5.0", "cowsay": "^1.2.1", "deep-diff": "^0.3.8", diff --git a/packages/provisioning/CHANGELOG.md b/packages/provisioning/CHANGELOG.md index 3d997e13b7..da89c6c8ef 100644 --- a/packages/provisioning/CHANGELOG.md +++ b/packages/provisioning/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe provisioning SDK package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/packages/provisioning/package.json b/packages/provisioning/package.json index 8a4b2e43da..b9e6a7ff85 100644 --- a/packages/provisioning/package.json +++ b/packages/provisioning/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/provisioning-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe SDK to interact with the z/OS provisioning APIs", "author": "Zowe", "license": "EPL-2.0", @@ -49,9 +49,9 @@ }, "devDependencies": { "@types/js-yaml": "^4.0.5", - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", diff --git a/packages/secrets/package.json b/packages/secrets/package.json index dfe705f8cc..efcebdbbcc 100644 --- a/packages/secrets/package.json +++ b/packages/secrets/package.json @@ -3,7 +3,7 @@ "description": "Credential management facilities for Imperative, Zowe CLI, and extenders.", "repository": "https://github.com/zowe/zowe-cli.git", "author": "Zowe", - "version": "7.18.6", + "version": "7.28.3", "homepage": "https://github.com/zowe/zowe-cli/tree/master/packages/secrets#readme", "bugs": { "url": "https://github.com/zowe/zowe-cli/issues" diff --git a/packages/workflows/CHANGELOG.md b/packages/workflows/CHANGELOG.md index 8a7618dbc2..a7aa3f2085 100644 --- a/packages/workflows/CHANGELOG.md +++ b/packages/workflows/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe z/OS workflows SDK package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/packages/workflows/package.json b/packages/workflows/package.json index 81b9fce498..25f2f61495 100644 --- a/packages/workflows/package.json +++ b/packages/workflows/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/zos-workflows-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe SDK to interact with the z/OS workflows APIs", "author": "Zowe", "license": "EPL-2.0", @@ -45,12 +45,12 @@ "prepack": "node ../../scripts/prepareLicenses.js" }, "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "7.28.2" + "@zowe/zos-files-for-zowe-sdk": "7.28.3" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", diff --git a/packages/zosconsole/CHANGELOG.md b/packages/zosconsole/CHANGELOG.md index 53d96c9252..7a98994933 100644 --- a/packages/zosconsole/CHANGELOG.md +++ b/packages/zosconsole/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe z/OS console SDK package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/packages/zosconsole/package.json b/packages/zosconsole/package.json index 0c7cd6d689..2e79a9d287 100644 --- a/packages/zosconsole/package.json +++ b/packages/zosconsole/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/zos-console-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe SDK to interact with the z/OS console", "author": "Zowe", "license": "EPL-2.0", @@ -45,9 +45,9 @@ "prepack": "node ../../scripts/prepareLicenses.js" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", diff --git a/packages/zosfiles/CHANGELOG.md b/packages/zosfiles/CHANGELOG.md index 32e557b8ee..fe59a322f8 100644 --- a/packages/zosfiles/CHANGELOG.md +++ b/packages/zosfiles/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe z/OS files SDK package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/packages/zosfiles/package.json b/packages/zosfiles/package.json index a57258e5ff..0c413b82a5 100644 --- a/packages/zosfiles/package.json +++ b/packages/zosfiles/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/zos-files-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe SDK to interact with files and data sets on z/OS", "author": "Zowe", "license": "EPL-2.0", @@ -49,10 +49,10 @@ "minimatch": "5.0.1" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1", - "@zowe/zos-uss-for-zowe-sdk": "7.28.2" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2", + "@zowe/zos-uss-for-zowe-sdk": "7.28.3" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", diff --git a/packages/zosjobs/package.json b/packages/zosjobs/package.json index 7d879b9cb7..fe50c2eba6 100644 --- a/packages/zosjobs/package.json +++ b/packages/zosjobs/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/zos-jobs-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe SDK to interact with jobs on z/OS", "author": "Zowe", "license": "EPL-2.0", @@ -46,12 +46,12 @@ "prepack": "node ../../scripts/prepareLicenses.js" }, "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "7.28.2" + "@zowe/zos-files-for-zowe-sdk": "7.28.3" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", diff --git a/packages/zoslogs/CHANGELOG.md b/packages/zoslogs/CHANGELOG.md index eb9294b1f3..9b46e411ae 100644 --- a/packages/zoslogs/CHANGELOG.md +++ b/packages/zoslogs/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe z/OS logs SDK package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/packages/zoslogs/package.json b/packages/zoslogs/package.json index b9ba5d5a67..0b5197caca 100644 --- a/packages/zoslogs/package.json +++ b/packages/zoslogs/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/zos-logs-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe SDK to interact with the z/OS logs", "author": "Zowe", "license": "EPL-2.0", @@ -45,9 +45,9 @@ "prepack": "node ../../scripts/prepareLicenses.js" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", diff --git a/packages/zosmf/CHANGELOG.md b/packages/zosmf/CHANGELOG.md index 5475aa5776..9ac9cfa48c 100644 --- a/packages/zosmf/CHANGELOG.md +++ b/packages/zosmf/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe z/OSMF SDK package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/packages/zosmf/package.json b/packages/zosmf/package.json index c460dece8f..a6953dc90b 100644 --- a/packages/zosmf/package.json +++ b/packages/zosmf/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/zosmf-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe SDK to interact with the z/OS Management Facility", "author": "Zowe", "license": "EPL-2.0", @@ -44,9 +44,9 @@ "prepack": "node ../../scripts/prepareLicenses.js" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", diff --git a/packages/zostso/CHANGELOG.md b/packages/zostso/CHANGELOG.md index df9360c235..a36471796b 100644 --- a/packages/zostso/CHANGELOG.md +++ b/packages/zostso/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe z/OS TSO SDK package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/packages/zostso/package.json b/packages/zostso/package.json index df9c88d588..491d846e55 100644 --- a/packages/zostso/package.json +++ b/packages/zostso/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/zos-tso-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe SDK to interact with TSO on z/OS", "author": "Zowe", "license": "EPL-2.0", @@ -45,12 +45,12 @@ "prepack": "node ../../scripts/prepareLicenses.js" }, "dependencies": { - "@zowe/zosmf-for-zowe-sdk": "7.28.2" + "@zowe/zosmf-for-zowe-sdk": "7.28.3" }, "devDependencies": { - "@zowe/cli-test-utils": "7.28.2", - "@zowe/core-for-zowe-sdk": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/core-for-zowe-sdk": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^7.0.0", diff --git a/packages/zosuss/CHANGELOG.md b/packages/zosuss/CHANGELOG.md index 6e3fd74388..f302fecf37 100644 --- a/packages/zosuss/CHANGELOG.md +++ b/packages/zosuss/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Zowe z/OS USS SDK package will be documented in this file. -## Recent Changes +## `7.28.3` - BugFix: Refactored code to reduce the use of deprecated functions to prepare for upcoming Node.js 22 support. [#2191](https://github.com/zowe/zowe-cli/issues/2191) diff --git a/packages/zosuss/package.json b/packages/zosuss/package.json index 1ab17781ab..685f05bdc1 100644 --- a/packages/zosuss/package.json +++ b/packages/zosuss/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/zos-uss-for-zowe-sdk", - "version": "7.28.2", + "version": "7.28.3", "description": "Zowe SDK to interact with USS on z/OS", "author": "Zowe", "license": "EPL-2.0", @@ -49,8 +49,8 @@ }, "devDependencies": { "@types/ssh2": "^1.11.0", - "@zowe/cli-test-utils": "7.28.2", - "@zowe/imperative": "5.26.1" + "@zowe/cli-test-utils": "7.28.3", + "@zowe/imperative": "5.26.2" }, "peerDependencies": { "@zowe/imperative": "^5.2.0" From 2fc38194f2af7971df3b28c855b0d6d442f433e2 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Thu, 8 Aug 2024 15:57:52 -0400 Subject: [PATCH 15/18] Update handler and changelog Signed-off-by: Andrew W. Harn --- packages/zosmf/CHANGELOG.md | 3 +++ packages/zosmf/src/ZosmfBaseHandler.ts | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/packages/zosmf/CHANGELOG.md b/packages/zosmf/CHANGELOG.md index caeeeededd..b31634044e 100644 --- a/packages/zosmf/CHANGELOG.md +++ b/packages/zosmf/CHANGELOG.md @@ -5,6 +5,9 @@ All notable changes to the Zowe z/OSMF SDK package will be documented in this fi ## Recent Changes - Update: See `7.28.3` for details +- LTS Breaking: Removed the following obsolete V1 profile attributes from ZosmfBaseHandler: + - mZosmfProfile + - mZosmfLoadedProfile ## `8.0.0-next.202403041352` diff --git a/packages/zosmf/src/ZosmfBaseHandler.ts b/packages/zosmf/src/ZosmfBaseHandler.ts index a2c2b387f4..b1fa8af61e 100644 --- a/packages/zosmf/src/ZosmfBaseHandler.ts +++ b/packages/zosmf/src/ZosmfBaseHandler.ts @@ -38,18 +38,6 @@ export abstract class ZosmfBaseHandler implements ICommandHandler { */ protected mSession: AbstractSession; - /** - * Loaded z/OSMF profile if needed - * @deprecated - */ - protected mZosmfProfile: IProfile; - - /** - * Loaded z/OSMF profile with meta information - * @deprecated - */ - protected mZosmfLoadedProfile: IProfileLoaded; - /** * Command line arguments passed */ From 21691cf68953e4c322067c637b667478d571b130 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Fri, 9 Aug 2024 11:26:34 -0400 Subject: [PATCH 16/18] Fix Local MacOS Test Failures Signed-off-by: Andrew W. Harn --- ...imperative.secure.integration.test.ts.snap | 109 +++++++++++++++++- .../imperative.secure.integration.test.ts | 17 +-- ...Cmd.cli.auth.fruit.integration.subtest.ts} | 7 +- ...imperative-test-cli.integration.subtest.ts | 30 +++++ ...st-cli.config.edit.integration.subtest.ts} | 0 ...cli.config.import.integration.test.ts.snap | 17 --- ...-cli.config.import.integration.subtest.ts} | 0 ...t-cli.config.list.integration.test.ts.snap | 92 --------------- ...st-cli.config.list.integration.subtest.ts} | 0 9 files changed, 147 insertions(+), 125 deletions(-) rename packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/{Cmd.cli.auth.fruit.integration.test.ts => Cmd.cli.auth.fruit.integration.subtest.ts} (64%) create mode 100644 packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/cli.imperative-test-cli.integration.subtest.ts rename packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/edit/{cli.imperative-test-cli.config.edit.integration.test.ts => cli.imperative-test-cli.config.edit.integration.subtest.ts} (100%) delete mode 100644 packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/import/__snapshots__/cli.imperative-test-cli.config.import.integration.test.ts.snap rename packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/import/{cli.imperative-test-cli.config.import.integration.test.ts => cli.imperative-test-cli.config.import.integration.subtest.ts} (100%) delete mode 100644 packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/list/__snapshots__/cli.imperative-test-cli.config.list.integration.test.ts.snap rename packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/list/{cli.imperative-test-cli.config.list.integration.test.ts => cli.imperative-test-cli.config.list.integration.subtest.ts} (100%) diff --git a/__tests__/__integration__/__snapshots__/imperative.secure.integration.test.ts.snap b/__tests__/__integration__/__snapshots__/imperative.secure.integration.test.ts.snap index bf7ee4dda4..1500ca567e 100644 --- a/__tests__/__integration__/__snapshots__/imperative.secure.integration.test.ts.snap +++ b/__tests__/__integration__/__snapshots__/imperative.secure.integration.test.ts.snap @@ -1,6 +1,113 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Imperative Secure Tests imperative-test-cli config profiles should list profiles 1`] = ` +exports[`Imperative Secure Tests Imperative Test CLI Secure Tests imperative-test-cli config import failure scenarios should fail to import if location is not specified 1`] = ` +" +Syntax Error: +Missing Positional Argument: location +Argument Description: File path or URL to import from. + +Example: + + - Import config from local file on disk: + + $ imperative-test-cli config import ~/Downloads/zowe.config.json + +Use \\"imperative-test-cli config import --help\\" to view command description, usage, and options. +" +`; + +exports[`Imperative Secure Tests Imperative Test CLI Secure Tests imperative-test-cli config list should list the configuration 1`] = ` +"profiles: + secured: + type: secured + properties: + info: + secure: + (empty array) + project_base: + type: base + properties: + secure: + - secret + global_base: + type: base + properties: + secure: + - secret +defaults: + secured: secured + base: project_base +autoStore: true +" +`; + +exports[`Imperative Secure Tests Imperative Test CLI Secure Tests imperative-test-cli config list should list the configuration without showing secure values 1`] = ` +"profiles: + secured: + type: secured + properties: + info: + secure: + (empty array) + project_base: + type: base + properties: + secret: (secure value) + secure: + - secret + global_base: + type: base + properties: + secure: + - secret +defaults: + secured: secured + base: project_base +autoStore: true +" +`; + +exports[`Imperative Secure Tests Imperative Test CLI Secure Tests imperative-test-cli config list should list the defaults configuration property 1`] = ` +"secured: secured +base: project_base +" +`; + +exports[`Imperative Secure Tests Imperative Test CLI Secure Tests imperative-test-cli config list should list the profiles configuration property 1`] = ` +"secured: + type: secured + properties: + info: + secure: + (empty array) +project_base: + type: base + properties: + secure: + - secret +global_base: + type: base + properties: + secure: + - secret +" +`; + +exports[`Imperative Secure Tests Imperative Test CLI Secure Tests imperative-test-cli config list should list the root level property names only 1 1`] = ` +"profiles +defaults +autoStore +" +`; + +exports[`Imperative Secure Tests Imperative Test CLI Secure Tests imperative-test-cli config list should list the root level property names only 2 1`] = ` +"profiles +defaults +autoStore +" +`; + +exports[`Imperative Secure Tests Imperative Test CLI Secure Tests imperative-test-cli config profiles should list profiles 1`] = ` "secured project_base global_base diff --git a/__tests__/__integration__/imperative.secure.integration.test.ts b/__tests__/__integration__/imperative.secure.integration.test.ts index 6866c29d31..7091c85c7b 100644 --- a/__tests__/__integration__/imperative.secure.integration.test.ts +++ b/__tests__/__integration__/imperative.secure.integration.test.ts @@ -11,19 +11,12 @@ // These tests require access to the same values on the keyring, therefore they cannot run in parallel // The test order is important - some tests depend on other tests not running first - do not change it +// All tests that mess with the keyring must go here - the MacOS Keyring is NOT thread safe, and cannot run anything in parallel /* eslint-disable max-len */ describe("Imperative Secure Tests", () => { - require("./../../packages/imperative/__tests__/src/packages/imperative/__integration__/ConfigLoading.integration.subtest"); - require("./../../packages/imperative/__tests__/src/packages/imperative/__integration__/PluginManagementFacility.integration.subtest"); - require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/init/cli.imperative-test-cli.config.init.integration.subtest"); - require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/auto-init/imperative.test.cli.config.auto-init.fruit.integration.subtest"); - require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/convert-profiles/cli.imperative-test-cli.config.convert-profiles.integration.subtest"); - require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/profiles/cli.imperative-test-cli.config.profiles.integration.subtest"); - require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/secure/cli.imperative-test-cli.config.secure.integration.subtest"); - require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/set/cli.imperative-test-cli.config.set.integration.subtest"); - require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/test/cli.imperative-test-cli.test.config-auto-store.integration.subtest"); - require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/test/cli.imperative-test-cli.test.config-override.integration.subtest"); + require("./../../packages/imperative/__tests__/src/packages/imperative/__integration__/ConfigLoading.integration.subtest"); + require("./../../packages/imperative/__tests__/src/packages/imperative/__integration__/PluginManagementFacility.integration.subtest"); + require("../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/cli.imperative-test-cli.integration.subtest"); + require("../../packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.subtest"); }); - - diff --git a/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.test.ts b/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.subtest.ts similarity index 64% rename from packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.test.ts rename to packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.subtest.ts index f8fed6e38f..e1290b2b04 100644 --- a/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.test.ts +++ b/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.subtest.ts @@ -8,6 +8,7 @@ * Copyright Contributors to the Zowe Project. * */ - -require("./Cmd.cli.auth.login.fruit.integration.subtest"); -require("./Cmd.cli.auth.logout.fruit.integration.subtest"); +describe("Cmd CLI Secure Tests", () => { + require("./Cmd.cli.auth.login.fruit.integration.subtest"); + require("./Cmd.cli.auth.logout.fruit.integration.subtest"); +}); \ No newline at end of file diff --git a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/cli.imperative-test-cli.integration.subtest.ts b/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/cli.imperative-test-cli.integration.subtest.ts new file mode 100644 index 0000000000..3ecf113291 --- /dev/null +++ b/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/cli.imperative-test-cli.integration.subtest.ts @@ -0,0 +1,30 @@ +/* +* This program and the accompanying materials are made available under the terms of the +* Eclipse Public License v2.0 which accompanies this distribution, and is available at +* https://www.eclipse.org/legal/epl-v20.html +* +* SPDX-License-Identifier: EPL-2.0 +* +* Copyright Contributors to the Zowe Project. +* +*/ + +// These tests require access to the same values on the keyring, therefore they cannot run in parallel +// The test order is important - some tests depend on other tests not running first - do not change it +/* eslint-disable max-len */ + +describe("Imperative Test CLI Secure Tests", () => { + // require("./auth/imperative.test.cli.auth.login.fruit.integration.subtest"); + // require("./auth/imperative.test.cli.auth.logout.fruit.integration.subtest"); + require("./config/auto-init/imperative.test.cli.config.auto-init.fruit.integration.subtest"); + require("./config/convert-profiles/cli.imperative-test-cli.config.convert-profiles.integration.subtest"); + require("./config/edit/cli.imperative-test-cli.config.edit.integration.subtest"); + require("./config/import/cli.imperative-test-cli.config.import.integration.subtest"); + require("./config/init/cli.imperative-test-cli.config.init.integration.subtest"); + require("./config/list/cli.imperative-test-cli.config.list.integration.subtest"); + require("./config/profiles/cli.imperative-test-cli.config.profiles.integration.subtest"); + require("./config/secure/cli.imperative-test-cli.config.secure.integration.subtest"); + require("./config/set/cli.imperative-test-cli.config.set.integration.subtest"); + require("./test/cli.imperative-test-cli.test.config-auto-store.integration.subtest"); + require("./test/cli.imperative-test-cli.test.config-override.integration.subtest"); +}); diff --git a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/edit/cli.imperative-test-cli.config.edit.integration.test.ts b/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/edit/cli.imperative-test-cli.config.edit.integration.subtest.ts similarity index 100% rename from packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/edit/cli.imperative-test-cli.config.edit.integration.test.ts rename to packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/edit/cli.imperative-test-cli.config.edit.integration.subtest.ts diff --git a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/import/__snapshots__/cli.imperative-test-cli.config.import.integration.test.ts.snap b/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/import/__snapshots__/cli.imperative-test-cli.config.import.integration.test.ts.snap deleted file mode 100644 index 015d0c0d8e..0000000000 --- a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/import/__snapshots__/cli.imperative-test-cli.config.import.integration.test.ts.snap +++ /dev/null @@ -1,17 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`imperative-test-cli config import failure scenarios should fail to import if location is not specified 1`] = ` -" -Syntax Error: -Missing Positional Argument: location -Argument Description: File path or URL to import from. - -Example: - - - Import config from local file on disk: - - $ imperative-test-cli config import ~/Downloads/zowe.config.json - -Use \\"imperative-test-cli config import --help\\" to view command description, usage, and options. -" -`; diff --git a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/import/cli.imperative-test-cli.config.import.integration.test.ts b/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/import/cli.imperative-test-cli.config.import.integration.subtest.ts similarity index 100% rename from packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/import/cli.imperative-test-cli.config.import.integration.test.ts rename to packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/import/cli.imperative-test-cli.config.import.integration.subtest.ts diff --git a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/list/__snapshots__/cli.imperative-test-cli.config.list.integration.test.ts.snap b/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/list/__snapshots__/cli.imperative-test-cli.config.list.integration.test.ts.snap deleted file mode 100644 index 58b90e28c6..0000000000 --- a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/list/__snapshots__/cli.imperative-test-cli.config.list.integration.test.ts.snap +++ /dev/null @@ -1,92 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`imperative-test-cli config list should list the configuration 1`] = ` -"profiles: - secured: - type: secured - properties: - info: - secure: - (empty array) - project_base: - type: base - properties: - secure: - - secret - global_base: - type: base - properties: - secure: - - secret -defaults: - secured: secured - base: project_base -autoStore: true -" -`; - -exports[`imperative-test-cli config list should list the configuration without showing secure values 1`] = ` -"profiles: - secured: - type: secured - properties: - info: - secure: - (empty array) - project_base: - type: base - properties: - secret: (secure value) - secure: - - secret - global_base: - type: base - properties: - secure: - - secret -defaults: - secured: secured - base: project_base -autoStore: true -" -`; - -exports[`imperative-test-cli config list should list the defaults configuration property 1`] = ` -"secured: secured -base: project_base -" -`; - -exports[`imperative-test-cli config list should list the profiles configuration property 1`] = ` -"secured: - type: secured - properties: - info: - secure: - (empty array) -project_base: - type: base - properties: - secure: - - secret -global_base: - type: base - properties: - secure: - - secret -" -`; - -exports[`imperative-test-cli config list should list the root level property names only 1 1`] = ` -"profiles -defaults -autoStore -" -`; - -exports[`imperative-test-cli config list should list the root level property names only 2 1`] = ` -"profiles -defaults -autoStore -" -`; diff --git a/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/list/cli.imperative-test-cli.config.list.integration.test.ts b/packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/list/cli.imperative-test-cli.config.list.integration.subtest.ts similarity index 100% rename from packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/list/cli.imperative-test-cli.config.list.integration.test.ts rename to packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/list/cli.imperative-test-cli.config.list.integration.subtest.ts From 409341a5f548b57a11a0e6ad2dc4651fd5bf4e35 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Fri, 9 Aug 2024 11:37:20 -0400 Subject: [PATCH 17/18] Fix unused imports Signed-off-by: Andrew W. Harn --- .../cli/auth/Cmd.cli.auth.fruit.integration.subtest.ts | 1 + packages/zosmf/src/ZosmfBaseHandler.ts | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.subtest.ts b/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.subtest.ts index e1290b2b04..059acf1bd7 100644 --- a/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.subtest.ts +++ b/packages/imperative/__tests__/__integration__/cmd/__tests__/integration/cli/auth/Cmd.cli.auth.fruit.integration.subtest.ts @@ -8,6 +8,7 @@ * Copyright Contributors to the Zowe Project. * */ + describe("Cmd CLI Secure Tests", () => { require("./Cmd.cli.auth.login.fruit.integration.subtest"); require("./Cmd.cli.auth.logout.fruit.integration.subtest"); diff --git a/packages/zosmf/src/ZosmfBaseHandler.ts b/packages/zosmf/src/ZosmfBaseHandler.ts index b1fa8af61e..67d3c56d5a 100644 --- a/packages/zosmf/src/ZosmfBaseHandler.ts +++ b/packages/zosmf/src/ZosmfBaseHandler.ts @@ -14,14 +14,12 @@ import { ICommandArguments, ICommandHandler, IHandlerParameters, - IProfile, IHandlerResponseConsoleApi, IHandlerFormatOutputApi, IHandlerResponseDataApi, IHandlerProgressApi, IImperativeError, ImperativeError, - IProfileLoaded, ISession, Session, ConnectionPropsForSessCfg From cadf0b50bfe1c4624ef3d9d975012717ab4625b0 Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Fri, 9 Aug 2024 11:55:20 -0400 Subject: [PATCH 18/18] Fix bad shrinkwrap after merge Signed-off-by: Andrew W. Harn --- npm-shrinkwrap.json | 3296 ++++++++++++++++--------------------------- 1 file changed, 1214 insertions(+), 2082 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 979b25b7d9..e139b22c6a 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -71,12 +71,11 @@ }, "__tests__/__packages__/cli-test-utils/node_modules/uuid": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -746,9 +745,8 @@ }, "node_modules/@dependents/detective-less": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@dependents/detective-less/-/detective-less-4.1.0.tgz", - "integrity": "sha512-KrkT6qO5NxqNfy68sBl6CTSoJ4SNDIS5iQArkibhlbGU4LaDukZ3q2HIkh8aUKDio6o4itU4xDR7t82Y2eP1Bg==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^6.0.1" @@ -771,31 +769,18 @@ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, - "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "version": "4.10.0", "dev": true, + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, "node_modules/@eslint/eslintrc": { "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -816,9 +801,8 @@ }, "node_modules/@eslint/js": { "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -830,10 +814,8 @@ }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", - "deprecated": "Use @eslint/config-array instead", "dev": true, + "license": "Apache-2.0", "dependencies": { "@humanwhocodes/object-schema": "^2.0.2", "debug": "^4.3.1", @@ -857,136 +839,13 @@ }, "node_modules/@humanwhocodes/object-schema": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", - "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", - "deprecated": "Use @eslint/object-schema instead", - "dev": true - }, - "node_modules/@inquirer/core": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.10.tgz", - "integrity": "sha512-TdESOKSVwf6+YWDz8GhS6nKscwzkIyakEzCLJ5Vh6O3Co2ClhCJ0A4MG909MUWfaWdpJm7DE45ii51/2Kat9tA==", - "dev": true, - "dependencies": { - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "@types/mute-stream": "^0.0.4", - "@types/node": "^22.1.0", - "@types/wrap-ansi": "^3.0.0", - "ansi-escapes": "^4.3.2", - "cli-spinners": "^2.9.2", - "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", - "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/core/node_modules/@types/node": { - "version": "22.1.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.1.0.tgz", - "integrity": "sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw==", - "dev": true, - "dependencies": { - "undici-types": "~6.13.0" - } - }, - "node_modules/@inquirer/core/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@inquirer/core/node_modules/undici-types": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz", - "integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==", - "dev": true - }, - "node_modules/@inquirer/core/node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@inquirer/expand": { - "version": "2.1.22", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-2.1.22.tgz", - "integrity": "sha512-wTZOBkzH+ItPuZ3ZPa9lynBsdMp6kQ9zbjVPYEtSBG7UulGjg2kQiAnUjgyG4SlntpTce5bOmXAPvE4sguXjpA==", "dev": true, - "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/type": "^1.5.2", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } + "license": "BSD-3-Clause" }, "node_modules/@inquirer/figures": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.5.tgz", - "integrity": "sha512-79hP/VWdZ2UVc9bFGJnoQ/lQMpL74mGgzSYX1xUqCVk7/v73vJCMw1VuyWN1jGkZ9B3z7THAbySqGbCNefcjfA==", - "dev": true, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/input": { - "version": "2.2.9", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-2.2.9.tgz", - "integrity": "sha512-7Z6N+uzkWM7+xsE+3rJdhdG/+mQgejOVqspoW+w0AbSZnL6nq5tGMEVASaYVWbkoSzecABWwmludO2evU3d31g==", - "dev": true, - "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/type": "^1.5.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/select": { - "version": "2.4.7", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-2.4.7.tgz", - "integrity": "sha512-JH7XqPEkBpNWp3gPCqWqY8ECbyMoFcCZANlL6pV9hf59qK6dGmkOlx1ydyhY+KZ0c5X74+W6Mtp+nm2QX0/MAQ==", - "dev": true, - "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "ansi-escapes": "^4.3.2", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/type": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.5.2.tgz", - "integrity": "sha512-w9qFkumYDCNyDZmNQjf/n6qQuvQ4dMC3BJesY4oF+yr0CxR5vxujflAVeIcS6U336uzi9GM0kAfZlLrZ9UTkpA==", + "version": "1.0.3", "dev": true, - "dependencies": { - "mute-stream": "^1.0.0" - }, + "license": "MIT", "engines": { "node": ">=18" } @@ -1739,8 +1598,7 @@ }, "node_modules/@jest/schemas": { "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", + "license": "MIT", "dependencies": { "@sinclair/typebox": "^0.27.8" }, @@ -1761,6 +1619,14 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/@jest/source-map/node_modules/callsites": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/@jest/test-result": { "version": "29.7.0", "dev": true, @@ -1926,37 +1792,34 @@ }, "node_modules/@kurkle/color": { "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.2.tgz", - "integrity": "sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@lerna-lite/changed": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/changed/-/changed-3.8.0.tgz", - "integrity": "sha512-nx5zzXxzNbQ6ks7NdO48oGS/0nzSLHAuGNoqX2papUHEpepAIhGUYAbOFOIfTtNQgcrvVuuKWzVF7m9v/0Hnlw==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@lerna-lite/cli": "3.8.0", - "@lerna-lite/core": "3.8.0", - "@lerna-lite/list": "3.8.0", - "@lerna-lite/listable": "3.8.0" + "@lerna-lite/cli": "3.6.0", + "@lerna-lite/core": "3.6.0", + "@lerna-lite/list": "3.6.0", + "@lerna-lite/listable": "3.6.0" }, "engines": { "node": "^18.0.0 || >=20.0.0" } }, "node_modules/@lerna-lite/cli": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/cli/-/cli-3.8.0.tgz", - "integrity": "sha512-Flv2ITNfS4dTXG8I44P3R2kuY8x6i5rN9uGxkLY0lnNzjlMy0FU0CXchUrGlzfmP+e7bzhDRmvV7dQMeYoZ1mg==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@lerna-lite/core": "3.8.0", - "@lerna-lite/init": "3.8.0", - "@lerna-lite/npmlog": "3.8.0", + "@lerna-lite/core": "3.6.0", + "@lerna-lite/init": "3.6.0", + "@lerna-lite/npmlog": "3.6.0", "dedent": "^1.5.3", "dotenv": "^16.4.5", - "import-local": "^3.2.0", + "import-local": "^3.1.0", "load-json-file": "^7.0.1", "yargs": "^17.7.2" }, @@ -1999,15 +1862,11 @@ } }, "node_modules/@lerna-lite/core": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/core/-/core-3.8.0.tgz", - "integrity": "sha512-0ObizEznKsABbEFGKnt6wyfB1+IGFShMF4nmUfLsYHFw9OXZ0J3HZPPScS/kLBCzti3QfP79OWh+X0FrxacAGA==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@inquirer/expand": "^2.1.22", - "@inquirer/input": "^2.2.9", - "@inquirer/select": "^2.4.7", - "@lerna-lite/npmlog": "^3.8.0", + "@lerna-lite/npmlog": "^3.6.0", "@npmcli/run-script": "^8.1.0", "chalk": "^5.3.0", "clone-deep": "^4.0.1", @@ -2017,21 +1876,22 @@ "execa": "^8.0.1", "fs-extra": "^11.2.0", "glob-parent": "^6.0.2", - "globby": "^14.0.2", + "globby": "^14.0.1", + "inquirer": "^9.3.0", "is-ci": "^3.0.1", "json5": "^2.2.3", "load-json-file": "^7.0.1", "minimatch": "^9.0.5", - "npm-package-arg": "^11.0.3", + "npm-package-arg": "^11.0.2", "p-map": "^7.0.2", "p-queue": "^8.0.1", "resolve-from": "^5.0.0", - "semver": "^7.6.3", + "semver": "^7.6.2", "slash": "^5.1.0", "strong-log-transformer": "^2.1.0", "write-file-atomic": "^5.0.1", - "write-json-file": "^6.0.0", - "write-package": "^7.1.0" + "write-json-file": "^5.0.0", + "write-package": "^7.0.1" }, "engines": { "node": "^18.0.0 || >=20.0.0" @@ -2043,9 +1903,8 @@ }, "node_modules/@lerna-lite/core/node_modules/@npmcli/fs": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", - "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", "dev": true, + "license": "ISC", "dependencies": { "semver": "^7.3.5" }, @@ -2055,18 +1914,16 @@ }, "node_modules/@lerna-lite/core/node_modules/@npmcli/node-gyp": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", - "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", "dev": true, + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@lerna-lite/core/node_modules/@npmcli/package-json": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-5.2.0.tgz", - "integrity": "sha512-qe/kiqqkW0AGtvBjL8TJKZk/eBBSpnJkUWvHdQ9jM2lKHXRYYJuyNpJPlJw3c8QjC2ow6NZYiLExhUaeJelbxQ==", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/git": "^5.0.0", "glob": "^10.2.2", @@ -2082,9 +1939,8 @@ }, "node_modules/@lerna-lite/core/node_modules/@npmcli/run-script": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-8.1.0.tgz", - "integrity": "sha512-y7efHHwghQfk28G2z3tlZ67pLG0XdfYbcVG26r7YIXALRsrVQcTq4/tdenSmdOrEsNahIYA/eh8aEVROWGFUDg==", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/node-gyp": "^3.0.0", "@npmcli/package-json": "^5.0.0", @@ -2099,27 +1955,24 @@ }, "node_modules/@lerna-lite/core/node_modules/abbrev": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", - "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", "dev": true, + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@lerna-lite/core/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/@lerna-lite/core/node_modules/cacache": { - "version": "18.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.4.tgz", - "integrity": "sha512-B+L5iIa9mgcjLbliir2th36yEwPftrzteHYujzsx3dFP/31GCHcIeS8f5MGd80odLOjaOvSpU3EEAmRQptkxLQ==", + "version": "18.0.3", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/fs": "^3.1.0", "fs-minipass": "^3.0.0", @@ -2140,9 +1993,8 @@ }, "node_modules/@lerna-lite/core/node_modules/cacache/node_modules/p-map": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, + "license": "MIT", "dependencies": { "aggregate-error": "^3.0.0" }, @@ -2155,9 +2007,8 @@ }, "node_modules/@lerna-lite/core/node_modules/chalk": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", "dev": true, + "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -2167,9 +2018,8 @@ }, "node_modules/@lerna-lite/core/node_modules/execa": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^8.0.1", @@ -2190,9 +2040,8 @@ }, "node_modules/@lerna-lite/core/node_modules/fs-minipass": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", - "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", "dev": true, + "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, @@ -2202,9 +2051,8 @@ }, "node_modules/@lerna-lite/core/node_modules/get-stream": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", "dev": true, + "license": "MIT", "engines": { "node": ">=16" }, @@ -2213,10 +2061,9 @@ } }, "node_modules/@lerna-lite/core/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.4.2", "dev": true, + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", @@ -2228,15 +2075,17 @@ "bin": { "glob": "dist/esm/bin.mjs" }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/@lerna-lite/core/node_modules/glob-parent": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -2246,9 +2095,8 @@ }, "node_modules/@lerna-lite/core/node_modules/globby": { "version": "14.0.2", - "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", - "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", "dev": true, + "license": "MIT", "dependencies": { "@sindresorhus/merge-streams": "^2.1.0", "fast-glob": "^3.3.2", @@ -2266,18 +2114,16 @@ }, "node_modules/@lerna-lite/core/node_modules/human-signals": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=16.17.0" } }, "node_modules/@lerna-lite/core/node_modules/is-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -2287,21 +2133,22 @@ }, "node_modules/@lerna-lite/core/node_modules/isexe": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", "dev": true, + "license": "ISC", "engines": { "node": ">=16" } }, "node_modules/@lerna-lite/core/node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "version": "3.4.0", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, + "engines": { + "node": ">=14" + }, "funding": { "url": "https://github.com/sponsors/isaacs" }, @@ -2311,18 +2158,16 @@ }, "node_modules/@lerna-lite/core/node_modules/json-parse-even-better-errors": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", - "integrity": "sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==", "dev": true, + "license": "MIT", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@lerna-lite/core/node_modules/make-fetch-happen": { "version": "13.0.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-13.0.1.tgz", - "integrity": "sha512-cKTUFc/rbKUd/9meOvgrpJ2WrNzymt6jfRDdwg5UCnVzv9dTpEj9JS5m3wtziXVCjluIXyL8pcaukYqezIzZQA==", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/agent": "^2.0.0", "cacache": "^18.0.0", @@ -2343,9 +2188,8 @@ }, "node_modules/@lerna-lite/core/node_modules/mimic-fn": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -2355,9 +2199,8 @@ }, "node_modules/@lerna-lite/core/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -2370,18 +2213,16 @@ }, "node_modules/@lerna-lite/core/node_modules/minipass": { "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } }, "node_modules/@lerna-lite/core/node_modules/minipass-collect": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", - "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", "dev": true, + "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, @@ -2391,9 +2232,8 @@ }, "node_modules/@lerna-lite/core/node_modules/minipass-fetch": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", - "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", "dev": true, + "license": "MIT", "dependencies": { "minipass": "^7.0.3", "minipass-sized": "^1.0.3", @@ -2407,10 +2247,9 @@ } }, "node_modules/@lerna-lite/core/node_modules/node-gyp": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.2.0.tgz", - "integrity": "sha512-sp3FonBAaFe4aYTcFdZUn2NYkbP7xroPGYvQmP4Nl5PxamznItBnNCgjrVTKrEfQynInMsJvZrdmqUnysCJ8rw==", + "version": "10.1.0", "dev": true, + "license": "MIT", "dependencies": { "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", @@ -2418,9 +2257,9 @@ "graceful-fs": "^4.2.6", "make-fetch-happen": "^13.0.0", "nopt": "^7.0.0", - "proc-log": "^4.1.0", + "proc-log": "^3.0.0", "semver": "^7.3.5", - "tar": "^6.2.1", + "tar": "^6.1.2", "which": "^4.0.0" }, "bin": { @@ -2430,11 +2269,18 @@ "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/@lerna-lite/core/node_modules/node-gyp/node_modules/proc-log": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/@lerna-lite/core/node_modules/nopt": { "version": "7.2.1", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.1.tgz", - "integrity": "sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==", "dev": true, + "license": "ISC", "dependencies": { "abbrev": "^2.0.0" }, @@ -2447,9 +2293,8 @@ }, "node_modules/@lerna-lite/core/node_modules/npm-run-path": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^4.0.0" }, @@ -2462,9 +2307,8 @@ }, "node_modules/@lerna-lite/core/node_modules/onetime": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", "dev": true, + "license": "MIT", "dependencies": { "mimic-fn": "^4.0.0" }, @@ -2477,9 +2321,8 @@ }, "node_modules/@lerna-lite/core/node_modules/p-map": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.2.tgz", - "integrity": "sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -2489,9 +2332,8 @@ }, "node_modules/@lerna-lite/core/node_modules/path-key": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -2501,9 +2343,8 @@ }, "node_modules/@lerna-lite/core/node_modules/path-type": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", - "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -2513,18 +2354,16 @@ }, "node_modules/@lerna-lite/core/node_modules/proc-log": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.2.0.tgz", - "integrity": "sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==", "dev": true, + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@lerna-lite/core/node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, + "license": "ISC", "engines": { "node": ">=14" }, @@ -2534,9 +2373,8 @@ }, "node_modules/@lerna-lite/core/node_modules/slash": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", - "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -2546,9 +2384,8 @@ }, "node_modules/@lerna-lite/core/node_modules/ssri": { "version": "10.0.6", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", - "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", "dev": true, + "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, @@ -2558,9 +2395,8 @@ }, "node_modules/@lerna-lite/core/node_modules/strip-final-newline": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -2570,9 +2406,8 @@ }, "node_modules/@lerna-lite/core/node_modules/unique-filename": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", - "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", "dev": true, + "license": "ISC", "dependencies": { "unique-slug": "^4.0.0" }, @@ -2582,9 +2417,8 @@ }, "node_modules/@lerna-lite/core/node_modules/unique-slug": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", - "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4" }, @@ -2594,9 +2428,8 @@ }, "node_modules/@lerna-lite/core/node_modules/which": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^3.1.1" }, @@ -2609,9 +2442,8 @@ }, "node_modules/@lerna-lite/core/node_modules/write-file-atomic": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", - "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "signal-exit": "^4.0.1" @@ -2621,13 +2453,12 @@ } }, "node_modules/@lerna-lite/filter-packages": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/filter-packages/-/filter-packages-3.8.0.tgz", - "integrity": "sha512-08It2bnyYDCGgIu9yTBxLxJhRnd0Mr19I5ImjTeyh+FnF2RFKHj55Z97ngmMPK7ALtNLk6b1sIM9+kBqq2BcXA==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@lerna-lite/core": "3.8.0", - "@lerna-lite/npmlog": "^3.8.0", + "@lerna-lite/core": "3.6.0", + "@lerna-lite/npmlog": "^3.6.0", "multimatch": "^7.0.0" }, "engines": { @@ -2635,15 +2466,14 @@ } }, "node_modules/@lerna-lite/init": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/init/-/init-3.8.0.tgz", - "integrity": "sha512-TPOitzDHXlrzfKLo4ZdvMdCHsupb4DsqgniVioq+09mduGW1lIh+BYp9C2TyXEWBqnaMQkf4uIZ3oFwye/rDiA==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@lerna-lite/core": "3.8.0", + "@lerna-lite/core": "3.6.0", "fs-extra": "^11.2.0", "p-map": "^7.0.2", - "write-json-file": "^6.0.0" + "write-json-file": "^5.0.0" }, "engines": { "node": "^18.0.0 || >=20.0.0" @@ -2651,9 +2481,8 @@ }, "node_modules/@lerna-lite/init/node_modules/p-map": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.2.tgz", - "integrity": "sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -2662,27 +2491,25 @@ } }, "node_modules/@lerna-lite/list": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/list/-/list-3.8.0.tgz", - "integrity": "sha512-7AP4gXXyGu9XTyXMj0nARR1ako5Wfy6lm9dEwxm5sL9DfR+t7yoYnTBYhKii0Dm8f/N/sD7OjN4Fdby7+vUC3w==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@lerna-lite/cli": "3.8.0", - "@lerna-lite/core": "3.8.0", - "@lerna-lite/filter-packages": "3.8.0", - "@lerna-lite/listable": "3.8.0" + "@lerna-lite/cli": "3.6.0", + "@lerna-lite/core": "3.6.0", + "@lerna-lite/filter-packages": "3.6.0", + "@lerna-lite/listable": "3.6.0" }, "engines": { "node": "^18.0.0 || >=20.0.0" } }, "node_modules/@lerna-lite/listable": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/listable/-/listable-3.8.0.tgz", - "integrity": "sha512-7gnvN2XujDjGXZLbvmdEr2inuZJXAvOboy+abhjEjwKV5GLPZK/yG0onAcCrnx3Ao91TyZbaniDNM2CTIDdoGg==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@lerna-lite/core": "3.8.0", + "@lerna-lite/core": "3.6.0", "chalk": "^5.3.0", "columnify": "^1.6.0" }, @@ -2692,9 +2519,8 @@ }, "node_modules/@lerna-lite/listable/node_modules/chalk": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", "dev": true, + "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -2703,10 +2529,9 @@ } }, "node_modules/@lerna-lite/npmlog": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/npmlog/-/npmlog-3.8.0.tgz", - "integrity": "sha512-ny8vueqyhWZtNRsoOVUybdOK6KcGDpLzFD01Ae4k/NjEw1ap3v6sUS0k7h/U2/HmZgiR0bU+XRJShuoUZf6E/g==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { "aproba": "^2.0.0", "color-support": "^1.1.3", @@ -2714,7 +2539,7 @@ "has-unicode": "^2.0.1", "set-blocking": "^2.0.0", "signal-exit": "^4.1.0", - "string-width": "^7.2.0", + "string-width": "^7.1.0", "strip-ansi": "^7.1.0", "wide-align": "^1.1.5" }, @@ -2724,15 +2549,13 @@ }, "node_modules/@lerna-lite/npmlog/node_modules/emoji-regex": { "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@lerna-lite/npmlog/node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, + "license": "ISC", "engines": { "node": ">=14" }, @@ -2742,9 +2565,8 @@ }, "node_modules/@lerna-lite/npmlog/node_modules/string-width": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", @@ -2759,9 +2581,8 @@ }, "node_modules/@lerna-lite/npmlog/node_modules/strip-ansi": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -2773,13 +2594,12 @@ } }, "node_modules/@lerna-lite/profiler": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/profiler/-/profiler-3.8.0.tgz", - "integrity": "sha512-QXqzSMSAnm7bM4W+iQadac7iJjvXtjaOf+TIGcVxsTQLKL97tHpi//8D+7AmEMX2Yt9mnCwoZhXP7feHrSEAAg==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@lerna-lite/core": "3.8.0", - "@lerna-lite/npmlog": "3.8.0", + "@lerna-lite/core": "3.6.0", + "@lerna-lite/npmlog": "3.6.0", "fs-extra": "^11.2.0", "upath": "^2.0.1" }, @@ -2788,16 +2608,15 @@ } }, "node_modules/@lerna-lite/run": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/run/-/run-3.8.0.tgz", - "integrity": "sha512-DeJy+It42MjyR9EtmUnPMYrg7yFcUzi44CpOauyxw+CHpviQEu003uaRnqTgIvZVuvETH7PAcYEuQGffqC5esg==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@lerna-lite/cli": "3.8.0", - "@lerna-lite/core": "3.8.0", - "@lerna-lite/filter-packages": "3.8.0", - "@lerna-lite/npmlog": "3.8.0", - "@lerna-lite/profiler": "3.8.0", + "@lerna-lite/cli": "3.6.0", + "@lerna-lite/core": "3.6.0", + "@lerna-lite/filter-packages": "3.6.0", + "@lerna-lite/npmlog": "3.6.0", + "@lerna-lite/profiler": "3.6.0", "chalk": "^5.3.0", "fs-extra": "^11.2.0", "p-map": "^7.0.2" @@ -2819,9 +2638,8 @@ }, "node_modules/@lerna-lite/run/node_modules/p-map": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.2.tgz", - "integrity": "sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -2830,16 +2648,15 @@ } }, "node_modules/@lerna-lite/version": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@lerna-lite/version/-/version-3.8.0.tgz", - "integrity": "sha512-G395hZQQdzUHeIeGrYet8FuvZofahmukbhrKadlMal1Xz25kpzYG0yNPSXu2VKKjwip2KZixfmIDB35vRyFcHQ==", + "version": "3.6.0", "dev": true, + "license": "MIT", "dependencies": { - "@lerna-lite/cli": "3.8.0", - "@lerna-lite/core": "3.8.0", - "@lerna-lite/npmlog": "^3.8.0", + "@lerna-lite/cli": "3.6.0", + "@lerna-lite/core": "3.6.0", + "@lerna-lite/npmlog": "^3.6.0", "@octokit/plugin-enterprise-rest": "^6.0.1", - "@octokit/rest": "^21.0.1", + "@octokit/rest": "^21.0.0", "chalk": "^5.3.0", "conventional-changelog-angular": "^7.0.0", "conventional-changelog-core": "^7.0.0", @@ -2849,7 +2666,7 @@ "dedent": "^1.5.3", "fs-extra": "^11.2.0", "get-stream": "^9.0.1", - "git-url-parse": "^14.1.0", + "git-url-parse": "^14.0.0", "graceful-fs": "^4.2.11", "is-stream": "^4.0.1", "load-json-file": "^7.0.1", @@ -2857,17 +2674,17 @@ "minimatch": "^9.0.5", "new-github-release-url": "^2.0.0", "node-fetch": "^3.3.2", - "npm-package-arg": "^11.0.3", - "p-limit": "^6.1.0", + "npm-package-arg": "^11.0.2", + "p-limit": "^5.0.0", "p-map": "^7.0.2", "p-pipe": "^4.0.0", "p-reduce": "^3.0.0", "pify": "^6.1.0", - "semver": "^7.6.3", + "semver": "^7.6.2", "slash": "^5.1.0", "temp-dir": "^3.0.0", "uuid": "^10.0.0", - "write-json-file": "^6.0.0" + "write-json-file": "^5.0.0" }, "engines": { "node": "^18.0.0 || >=20.0.0" @@ -2883,9 +2700,8 @@ }, "node_modules/@lerna-lite/version/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -3031,9 +2847,8 @@ }, "node_modules/@lerna-lite/version/node_modules/get-stream": { "version": "9.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", - "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", "dev": true, + "license": "MIT", "dependencies": { "@sec-ant/readable-stream": "^0.4.1", "is-stream": "^4.0.1" @@ -3076,6 +2891,14 @@ "node": ">=16" } }, + "node_modules/@lerna-lite/version/node_modules/git-url-parse": { + "version": "14.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "git-up": "^7.0.0" + } + }, "node_modules/@lerna-lite/version/node_modules/is-stream": { "version": "4.0.1", "dev": true, @@ -3130,9 +2953,8 @@ }, "node_modules/@lerna-lite/version/node_modules/make-dir": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-5.0.0.tgz", - "integrity": "sha512-G0yBotnlWVonPClw+tq+xi4K7DZC9n96HjGTBDdHkstAVsDkfZhi1sTvZypXLpyQTbISBkDtK0E5XlUqDsShQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -3153,9 +2975,8 @@ }, "node_modules/@lerna-lite/version/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -3184,12 +3005,11 @@ } }, "node_modules/@lerna-lite/version/node_modules/p-limit": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-6.1.0.tgz", - "integrity": "sha512-H0jc0q1vOzlEk0TqAKXKZxdl7kX3OFUzCnNVUnq5Pc3DGo0kpeaMuPqxQn235HibwBEb0/pm9dgKTjXy66fBkg==", + "version": "5.0.0", "dev": true, + "license": "MIT", "dependencies": { - "yocto-queue": "^1.1.1" + "yocto-queue": "^1.0.0" }, "engines": { "node": ">=18" @@ -3214,9 +3034,8 @@ }, "node_modules/@lerna-lite/version/node_modules/p-locate/node_modules/p-limit": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", - "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", "dev": true, + "license": "MIT", "dependencies": { "yocto-queue": "^1.0.0" }, @@ -3229,9 +3048,8 @@ }, "node_modules/@lerna-lite/version/node_modules/p-map": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.2.tgz", - "integrity": "sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -3385,22 +3203,20 @@ }, "node_modules/@lerna-lite/version/node_modules/uuid": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", "dev": true, "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/@lerna-lite/version/node_modules/yocto-queue": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.1.1.tgz", - "integrity": "sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==", + "version": "1.0.0", "dev": true, + "license": "MIT", "engines": { "node": ">=12.20" }, @@ -3410,9 +3226,8 @@ }, "node_modules/@mapbox/node-pre-gyp": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz", - "integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "detect-libc": "^2.0.0", "https-proxy-agent": "^5.0.0", @@ -3428,11 +3243,41 @@ "node-pre-gyp": "bin/node-pre-gyp" } }, + "node_modules/@mapbox/node-pre-gyp/node_modules/are-we-there-yet": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@mapbox/node-pre-gyp/node_modules/gauge": { + "version": "3.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", + "signal-exit": "^3.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.2" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@mapbox/node-pre-gyp/node_modules/nopt": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", "dev": true, + "license": "ISC", "dependencies": { "abbrev": "1" }, @@ -3443,12 +3288,21 @@ "node": ">=6" } }, + "node_modules/@mapbox/node-pre-gyp/node_modules/npmlog": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" + } + }, "node_modules/@mapbox/node-pre-gyp/node_modules/rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -3461,9 +3315,8 @@ }, "node_modules/@napi-rs/cli": { "version": "2.18.4", - "resolved": "https://registry.npmjs.org/@napi-rs/cli/-/cli-2.18.4.tgz", - "integrity": "sha512-SgJeA4df9DE2iAEpr3M2H0OKl/yjtg1BnRI5/JyowS71tUWhrfSu2LT0V3vlHET+g1hBVlrO60PmEXwUEKp8Mg==", "dev": true, + "license": "MIT", "bin": { "napi": "scripts/index.js" }, @@ -3575,15 +3428,13 @@ } }, "node_modules/@npmcli/git": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.8.tgz", - "integrity": "sha512-liASfw5cqhjNW9UFd+ruwwdEf/lbOAQjLL2XY2dFW/bkJheXDYZgOyul/4gVvEV4BWkTXjYGmDqMw9uegdbJNQ==", + "version": "5.0.4", + "license": "ISC", "dependencies": { "@npmcli/promise-spawn": "^7.0.0", - "ini": "^4.1.3", "lru-cache": "^10.0.1", "npm-pick-manifest": "^9.0.0", - "proc-log": "^4.0.0", + "proc-log": "^3.0.0", "promise-inflight": "^1.0.1", "promise-retry": "^2.0.1", "semver": "^7.3.5", @@ -3593,34 +3444,23 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/@npmcli/git/node_modules/ini": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz", - "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/@npmcli/git/node_modules/isexe": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "license": "ISC", "engines": { "node": ">=16" } }, "node_modules/@npmcli/git/node_modules/npm-normalize-package-bin": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", - "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/git/node_modules/npm-pick-manifest": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.1.0.tgz", - "integrity": "sha512-nkc+3pIIhqHVQr085X9d2JzPzLyjzQS96zbruppqC9aZRm/x8xx6xhI98gHtsfELP2bE+loHq8ZaHFHhe+NauA==", + "version": "9.0.0", + "license": "ISC", "dependencies": { "npm-install-checks": "^6.0.0", "npm-normalize-package-bin": "^3.0.0", @@ -3632,17 +3472,15 @@ } }, "node_modules/@npmcli/git/node_modules/proc-log": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.2.0.tgz", - "integrity": "sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==", + "version": "3.0.0", + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/git/node_modules/which": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "license": "ISC", "dependencies": { "isexe": "^3.1.1" }, @@ -3984,8 +3822,7 @@ }, "node_modules/@npmcli/redact": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/redact/-/redact-2.0.1.tgz", - "integrity": "sha512-YgsR5jCQZhVmTJvjduTOIHph0L73pK8xwMVaDY0PatySqVM9AZj93jpoXYSJqfHFxFkN9dmqTw6OiqExsS3LPw==", + "license": "ISC", "engines": { "node": "^16.14.0 || >=18.0.0" } @@ -4030,18 +3867,16 @@ }, "node_modules/@octokit/auth-token": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.1.tgz", - "integrity": "sha512-rh3G3wDO8J9wSjfI436JUKzHIxq8NaiL0tVeB2aXmG6p/9859aUOAjA9pmSPNGGZxfwmaJ9ozOJImuNVJdpvbA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 18" } }, "node_modules/@octokit/core": { "version": "6.1.2", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.2.tgz", - "integrity": "sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/auth-token": "^5.0.0", "@octokit/graphql": "^8.0.0", @@ -4057,9 +3892,8 @@ }, "node_modules/@octokit/endpoint": { "version": "10.1.1", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.1.tgz", - "integrity": "sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/types": "^13.0.0", "universal-user-agent": "^7.0.2" @@ -4070,9 +3904,8 @@ }, "node_modules/@octokit/graphql": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.1.1.tgz", - "integrity": "sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/request": "^9.0.0", "@octokit/types": "^13.0.0", @@ -4084,9 +3917,8 @@ }, "node_modules/@octokit/openapi-types": { "version": "22.2.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", - "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@octokit/plugin-enterprise-rest": { "version": "6.0.1", @@ -4094,10 +3926,9 @@ "license": "MIT" }, "node_modules/@octokit/plugin-paginate-rest": { - "version": "11.3.3", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.3.3.tgz", - "integrity": "sha512-o4WRoOJZlKqEEgj+i9CpcmnByvtzoUYC6I8PD2SA95M+BJ2x8h7oLcVOg9qcowWXBOdcTRsMZiwvM3EyLm9AfA==", + "version": "11.3.0", "dev": true, + "license": "MIT", "dependencies": { "@octokit/types": "^13.5.0" }, @@ -4109,10 +3940,9 @@ } }, "node_modules/@octokit/plugin-request-log": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-5.3.1.tgz", - "integrity": "sha512-n/lNeCtq+9ofhC15xzmJCNKP2BWTv8Ih2TTy+jatNCCq/gQP/V7rK3fjIfuz0pDWDALO/o/4QY4hyOF6TQQFUw==", + "version": "5.3.0", "dev": true, + "license": "MIT", "engines": { "node": ">= 18" }, @@ -4121,10 +3951,9 @@ } }, "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "13.2.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.2.4.tgz", - "integrity": "sha512-gusyAVgTrPiuXOdfqOySMDztQHv6928PQ3E4dqVGEtOvRXAKRbJR4b1zQyniIT9waqaWk/UDaoJ2dyPr7Bk7Iw==", + "version": "13.2.1", "dev": true, + "license": "MIT", "dependencies": { "@octokit/types": "^13.5.0" }, @@ -4136,10 +3965,9 @@ } }, "node_modules/@octokit/request": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.3.tgz", - "integrity": "sha512-V+TFhu5fdF3K58rs1pGUJIDH5RZLbZm5BI+MNF+6o/ssFNT4vWlCh/tVpF3NxGtP15HUxTTMUbsG5llAuU2CZA==", + "version": "9.1.1", "dev": true, + "license": "MIT", "dependencies": { "@octokit/endpoint": "^10.0.0", "@octokit/request-error": "^6.0.1", @@ -4151,10 +3979,9 @@ } }, "node_modules/@octokit/request-error": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.4.tgz", - "integrity": "sha512-VpAhIUxwhWZQImo/dWAN/NpPqqojR6PSLgLYAituLM6U+ddx9hCioFGwBr5Mi+oi5CLeJkcAs3gJ0PYYzU6wUg==", + "version": "6.1.1", "dev": true, + "license": "MIT", "dependencies": { "@octokit/types": "^13.0.0" }, @@ -4163,14 +3990,13 @@ } }, "node_modules/@octokit/rest": { - "version": "21.0.1", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-21.0.1.tgz", - "integrity": "sha512-RWA6YU4CqK0h0J6tfYlUFnH3+YgBADlxaHXaKSG+BVr2y4PTfbU2tlKuaQoQZ83qaTbi4CUxLNAmbAqR93A6mQ==", + "version": "21.0.0", "dev": true, + "license": "MIT", "dependencies": { "@octokit/core": "^6.1.2", "@octokit/plugin-paginate-rest": "^11.0.0", - "@octokit/plugin-request-log": "^5.3.1", + "@octokit/plugin-request-log": "^5.1.0", "@octokit/plugin-rest-endpoint-methods": "^13.0.0" }, "engines": { @@ -4179,9 +4005,8 @@ }, "node_modules/@octokit/types": { "version": "13.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.0.tgz", - "integrity": "sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/openapi-types": "^22.2.0" } @@ -4196,9 +4021,8 @@ }, "node_modules/@popperjs/core": { "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", - "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", "dev": true, + "license": "MIT", "peer": true, "funding": { "type": "opencollective", @@ -4207,9 +4031,8 @@ }, "node_modules/@rollup/pluginutils": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", - "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", "dev": true, + "license": "MIT", "dependencies": { "estree-walker": "^2.0.1", "picomatch": "^2.2.2" @@ -4220,18 +4043,13 @@ }, "node_modules/@sec-ant/readable-stream": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", - "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@shikijs/core": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.12.1.tgz", - "integrity": "sha512-biCz/mnkMktImI6hMfMX3H9kOeqsInxWEyCHbSlL8C/2TR1FqfmGxTLRNwYCKsyCyxWLbB8rEqXRVZuyxuLFmA==", + "version": "1.10.0", "dev": true, - "dependencies": { - "@types/hast": "^3.0.4" - } + "license": "MIT" }, "node_modules/@sigstore/bundle": { "version": "2.2.0", @@ -4458,14 +4276,12 @@ }, "node_modules/@sinclair/typebox": { "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==" + "license": "MIT" }, "node_modules/@sindresorhus/merge-streams": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", - "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -4602,24 +4418,21 @@ }, "node_modules/@types/cross-spawn": { "version": "6.0.6", - "resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.6.tgz", - "integrity": "sha512-fXRhhUkG4H3TQk5dBhQ7m/JDdSNHKwR2BBia62lhwEIq9xGiQKLxd6LymNhn47SjXhsUEPmxi+PKw2OkW4LLjA==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } }, "node_modules/@types/diff": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/@types/diff/-/diff-5.2.1.tgz", - "integrity": "sha512-uxpcuwWJGhe2AR1g8hD9F5OYGCqjqWnBUQFD8gMZsDbv8oPHzxJF6iMO6n8Tk0AdzlxoaaoQhOYlIg/PukVU8g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/fs-extra": { "version": "11.0.4", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-11.0.4.tgz", - "integrity": "sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/jsonfile": "*", "@types/node": "*" @@ -4627,9 +4440,8 @@ }, "node_modules/@types/glob": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w==", "dev": true, + "license": "MIT", "dependencies": { "@types/minimatch": "^5.1.2", "@types/node": "*" @@ -4643,15 +4455,6 @@ "@types/node": "*" } }, - "node_modules/@types/hast": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", - "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", - "dev": true, - "dependencies": { - "@types/unist": "*" - } - }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.4", "dev": true, @@ -4675,19 +4478,25 @@ }, "node_modules/@types/jest": { "version": "29.5.12", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", - "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", "dev": true, + "license": "MIT", "dependencies": { "expect": "^29.0.0", "pretty-format": "^29.0.0" } }, + "node_modules/@types/jquery": { + "version": "3.5.19", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/sizzle": "*" + } + }, "node_modules/@types/js-yaml": { "version": "4.0.9", - "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz", - "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/json-schema": { "version": "7.0.15", @@ -4696,54 +4505,47 @@ }, "node_modules/@types/jsonfile": { "version": "6.1.4", - "resolved": "https://registry.npmjs.org/@types/jsonfile/-/jsonfile-6.1.4.tgz", - "integrity": "sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } }, + "node_modules/@types/jstree": { + "version": "3.3.44", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/jquery": "*" + } + }, "node_modules/@types/lodash": { - "version": "4.17.7", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.7.tgz", - "integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==", - "dev": true + "version": "4.17.6", + "dev": true, + "license": "MIT" }, "node_modules/@types/lodash-deep": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/lodash-deep/-/lodash-deep-2.0.4.tgz", - "integrity": "sha512-M/iGoZ6ChXBVyTQG301M8R6noYwnUfZm9IW1NNNUeeCYkYcbLSVqUNR/H8FJ39cRikiqhhzPpCJJv6mwbFSOdA==", "dev": true, + "license": "MIT", "dependencies": { "@types/lodash": "*" } }, "node_modules/@types/minimatch": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", - "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/mustache": { "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@types/mustache/-/mustache-4.2.5.tgz", - "integrity": "sha512-PLwiVvTBg59tGFL/8VpcGvqOu3L4OuveNvPi0EYbWchRdEVP++yRUXJPFl+CApKEq13017/4Nf7aQ5lTtHUNsA==", - "dev": true - }, - "node_modules/@types/mute-stream": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/@types/mute-stream/-/mute-stream-0.0.4.tgz", - "integrity": "sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==", "dev": true, - "dependencies": { - "@types/node": "*" - } + "license": "MIT" }, "node_modules/@types/node": { - "version": "18.19.43", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.43.tgz", - "integrity": "sha512-Mw/YlgXnyJdEwLoFv2dpuJaDFriX+Pc+0qOBJ57jC1H6cDxIj2xc5yUrdtArDVG0m+KV6622a4p2tenEqB3C/g==", + "version": "18.19.33", "dev": true, + "license": "MIT", "dependencies": { "undici-types": "~5.26.4" } @@ -4759,15 +4561,13 @@ }, "node_modules/@types/normalize-package-data": { "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", - "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/npm-package-arg": { "version": "6.1.4", - "resolved": "https://registry.npmjs.org/@types/npm-package-arg/-/npm-package-arg-6.1.4.tgz", - "integrity": "sha512-vDgdbMy2QXHnAruzlv68pUtXCjmqUk3WrBAsRboRovsOmxbfn/WiYCjmecyKjGztnMps5dWp4Uq2prp+Ilo17Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/npm-registry-fetch": { "version": "8.0.7", @@ -4802,9 +4602,8 @@ }, "node_modules/@types/progress": { "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@types/progress/-/progress-2.0.7.tgz", - "integrity": "sha512-iadjw02vte8qWx7U0YM++EybBha2CQLPGu9iJ97whVgJUT5Zq9MjAPYUnbfRI2Kpehimf1QjFJYxD0t8nqzu5w==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } @@ -4814,11 +4613,15 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/sizzle": { + "version": "2.3.4", + "dev": true, + "license": "MIT" + }, "node_modules/@types/ssh2": { "version": "1.15.0", - "resolved": "https://registry.npmjs.org/@types/ssh2/-/ssh2-1.15.0.tgz", - "integrity": "sha512-YcT8jP5F8NzWeevWvcyrrLB3zcneVjzYY9ZDSMAMboI+2zR1qYWFhwsyOFVzT7Jorn67vqxC0FRiw8YyG9P1ww==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "^18.11.18" } @@ -4833,9 +4636,8 @@ }, "node_modules/@types/stack-trace": { "version": "0.0.33", - "resolved": "https://registry.npmjs.org/@types/stack-trace/-/stack-trace-0.0.33.tgz", - "integrity": "sha512-O7in6531Bbvlb2KEsJ0dq0CHZvc3iWSR5ZYMtvGgnHA56VgriAN/AU2LorfmcvAl2xc9N5fbCTRyMRRl8nd74g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/stack-utils": { "version": "2.0.1", @@ -4844,9 +4646,8 @@ }, "node_modules/@types/tar": { "version": "6.1.13", - "resolved": "https://registry.npmjs.org/@types/tar/-/tar-6.1.13.tgz", - "integrity": "sha512-IznnlmU5f4WcGTh2ltRu/Ijpmk8wiWXfF0VA4s+HPjHZgvFggk1YaIkbo5krX/zUCzWF8N/l4+W/LNxnvAJ8nw==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*", "minipass": "^4.0.0" @@ -4854,41 +4655,25 @@ }, "node_modules/@types/tar/node_modules/minipass": { "version": "4.2.8", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", - "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==", "dev": true, + "license": "ISC", "engines": { "node": ">=8" } }, - "node_modules/@types/unist": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.2.tgz", - "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==", - "dev": true - }, "node_modules/@types/uuid": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/which": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/which/-/which-3.0.4.tgz", - "integrity": "sha512-liyfuo/106JdlgSchJzXEQCVArk0CvevqPote8F8HgWgJ3dRCcTHgJIsLDuee0kxk/mhbInzIZk3QWSZJ8R+2w==", - "dev": true - }, - "node_modules/@types/wrap-ansi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz", - "integrity": "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/yargs": { - "version": "17.0.33", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz", - "integrity": "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==", + "version": "17.0.32", + "license": "MIT", "dependencies": { "@types/yargs-parser": "*" } @@ -4898,16 +4683,15 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz", - "integrity": "sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==", + "version": "7.15.0", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.18.0", - "@typescript-eslint/type-utils": "7.18.0", - "@typescript-eslint/utils": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0", + "@typescript-eslint/scope-manager": "7.15.0", + "@typescript-eslint/type-utils": "7.15.0", + "@typescript-eslint/utils": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -4930,55 +4714,15 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", - "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz", - "integrity": "sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.18.0", - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/typescript-estree": "7.18.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" - } - }, "node_modules/@typescript-eslint/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==", + "version": "7.15.0", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "7.18.0", - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/typescript-estree": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0", + "@typescript-eslint/scope-manager": "7.15.0", + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/typescript-estree": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0", "debug": "^4.3.4" }, "engines": { @@ -4997,83 +4741,29 @@ } } }, - "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", - "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.40.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "5.40.1", - "@typescript-eslint/visitor-keys": "5.40.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint/types": { - "version": "5.40.1", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.40.1", + "version": "7.15.0", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.40.1", - "eslint-visitor-keys": "^3.3.0" + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/scope-manager/node_modules/eslint-visitor-keys": { - "version": "3.3.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, "node_modules/@typescript-eslint/type-utils": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz", - "integrity": "sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==", + "version": "7.15.0", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "7.18.0", - "@typescript-eslint/utils": "7.18.0", + "@typescript-eslint/typescript-estree": "7.15.0", + "@typescript-eslint/utils": "7.15.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -5093,50 +4783,10 @@ } } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", - "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz", - "integrity": "sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.18.0", - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/typescript-estree": "7.18.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" - } - }, "node_modules/@typescript-eslint/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.18.0.tgz", - "integrity": "sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==", + "version": "7.15.0", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || >=20.0.0" }, @@ -5146,13 +4796,12 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz", - "integrity": "sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==", + "version": "7.15.0", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0", + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5175,18 +4824,16 @@ }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -5198,132 +4845,51 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.40.1", + "version": "7.15.0", "dev": true, "license": "MIT", "dependencies": { - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.40.1", - "@typescript-eslint/types": "5.40.1", - "@typescript-eslint/typescript-estree": "5.40.1", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0", - "semver": "^7.3.7" + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.15.0", + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/typescript-estree": "7.15.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "eslint": "^8.56.0" } }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": { - "version": "5.40.1", + "node_modules/@typescript-eslint/visitor-keys": { + "version": "7.15.0", "dev": true, "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.40.1", - "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "5.40.1", - "@typescript-eslint/visitor-keys": "5.40.1", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "@typescript-eslint/types": "7.15.0", + "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || >=20.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } } }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.40.1", + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "5.40.1", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/eslint-visitor-keys": { - "version": "3.3.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz", - "integrity": "sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "7.18.0", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true + "license": "ISC" }, "node_modules/@vercel/nft": { "version": "0.26.5", - "resolved": "https://registry.npmjs.org/@vercel/nft/-/nft-0.26.5.tgz", - "integrity": "sha512-NHxohEqad6Ra/r4lGknO52uc/GrWILXAMs1BB4401GTqww0fw1bAqzpG1XHuDO+dprg4GvsD9ZLLSsdo78p9hQ==", "dev": true, + "license": "MIT", "dependencies": { "@mapbox/node-pre-gyp": "^1.0.5", "@rollup/pluginutils": "^4.0.0", @@ -5347,17 +4913,32 @@ }, "node_modules/@zeit/schemas": { "version": "2.36.0", - "resolved": "https://registry.npmjs.org/@zeit/schemas/-/schemas-2.36.0.tgz", - "integrity": "sha512-7kjMwcChYEzMKjeex9ZFXkt1AyNov9R5HZtjBKVsmVpw7pa7ZtlCGvCBC2vnnXctaYN+aRI61HjIqeetZW5ROg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@zkochan/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@zkochan/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-GBf4ua7ogWTr7fATnzk/JLowZDBnBJMm8RkMaC/KcvxZ9gxbMWix0/jImd815LmqKyIHZ7h7lADRddGMdGBuCA==", + "version": "2.1.3", "dev": true, + "license": "MIT", + "dependencies": { + "rimraf": "^3.0.2" + }, "engines": { - "node": ">=18.12" + "node": ">=12.10" + } + }, + "node_modules/@zkochan/rimraf/node_modules/rimraf": { + "version": "3.0.2", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/@zowe/cli": { @@ -5434,10 +5015,9 @@ } }, "node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.11.3", "dev": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -5447,30 +5027,24 @@ }, "node_modules/acorn-import-attributes": { "version": "1.9.5", - "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", - "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^8" } }, "node_modules/acorn-jsx": { "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "node_modules/acorn-walk": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", - "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", + "version": "8.3.2", "dev": true, - "dependencies": { - "acorn": "^8.11.0" - }, + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -5517,9 +5091,8 @@ }, "node_modules/ajv": { "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -5541,9 +5114,8 @@ }, "node_modules/ansi-colors": { "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -5580,8 +5152,7 @@ }, "node_modules/ansi-regex": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "license": "MIT", "engines": { "node": ">=12" }, @@ -5604,9 +5175,8 @@ }, "node_modules/any-promise": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/anymatch": { "version": "3.1.3", @@ -5622,9 +5192,8 @@ }, "node_modules/app-module-path": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/app-module-path/-/app-module-path-2.2.0.tgz", - "integrity": "sha512-gkco+qxENJV+8vFcDiiFhuoSvRXb2a/QPqpSoWhVz829VNJfOTnELbBmPmNKFxf3xdNnw4DWCkzkDaavcX/1YQ==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/aproba": { "version": "2.0.0", @@ -5650,20 +5219,6 @@ ], "license": "MIT" }, - "node_modules/are-we-there-yet": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", - "deprecated": "This package is no longer supported.", - "dev": true, - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/arg": { "version": "4.1.3", "dev": true, @@ -5677,9 +5232,8 @@ }, "node_modules/array-differ": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-4.0.0.tgz", - "integrity": "sha512-Q6VPTLMsmXZ47ENG3V+wQyZS1ZxXMxFyYzA+Z/GMrJ6yIutAIEf9wTyroTzmGjNfox9/h3GdGBCVh43GVFx4Uw==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -5742,24 +5296,16 @@ }, "node_modules/ast-module-types": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-5.0.0.tgz", - "integrity": "sha512-JvqziE0Wc0rXQfma0HZC/aY7URXHFuZV84fJRtP8u+lhp0JYCNd5wJzVXP45t0PH0Mej3ynlzvdyITYIu0G4LQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } }, - "node_modules/async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", - "dev": true - }, "node_modules/async-sema": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/async-sema/-/async-sema-3.1.1.tgz", - "integrity": "sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", @@ -5768,9 +5314,8 @@ }, "node_modules/ava": { "version": "6.1.3", - "resolved": "https://registry.npmjs.org/ava/-/ava-6.1.3.tgz", - "integrity": "sha512-tkKbpF1pIiC+q09wNU9OfyTDYZa8yuWvU2up3+lFJ3lr1RmnYh2GBpPwzYUEB0wvTPIUysGjcZLNZr7STDviRA==", "dev": true, + "license": "MIT", "dependencies": { "@vercel/nft": "^0.26.2", "acorn": "^8.11.3", @@ -5850,18 +5395,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ava/node_modules/callsites": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-4.2.0.tgz", - "integrity": "sha512-kfzR4zzQtAE9PC7CzZsjl3aBNbXWuXiSeOCdLcPpBfGW8YuCqQHcRPFDbr/BPVmd3EEPVpuFzLyuT/cUhPr4OQ==", - "dev": true, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ava/node_modules/chalk": { "version": "5.3.0", "dev": true, @@ -5875,8 +5408,6 @@ }, "node_modules/ava/node_modules/ci-info": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.0.0.tgz", - "integrity": "sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==", "dev": true, "funding": [ { @@ -5884,15 +5415,15 @@ "url": "https://github.com/sponsors/sibiraj-s" } ], + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/ava/node_modules/emittery": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-1.0.3.tgz", - "integrity": "sha512-tJdCJitoy2lrC2ldJcqN4vkqJ00lT+tOWNT1hBJjO/3FDMJa5TTIiYGCKGkn/WfCyOzUMObeohbVTj00fhiLiA==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -5900,11 +5431,24 @@ "url": "https://github.com/sindresorhus/emittery?sponsor=1" } }, + "node_modules/ava/node_modules/figures": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-unicode-supported": "^2.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/ava/node_modules/globby": { - "version": "14.0.2", - "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", - "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", + "version": "14.0.1", "dev": true, + "license": "MIT", "dependencies": { "@sindresorhus/merge-streams": "^2.1.0", "fast-glob": "^3.3.2", @@ -5922,9 +5466,8 @@ }, "node_modules/ava/node_modules/indent-string": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -5932,6 +5475,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/ava/node_modules/is-unicode-supported": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/ava/node_modules/ms": { "version": "2.1.3", "dev": true, @@ -5939,9 +5493,8 @@ }, "node_modules/ava/node_modules/p-map": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.2.tgz", - "integrity": "sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -5951,9 +5504,8 @@ }, "node_modules/ava/node_modules/parse-ms": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", - "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -5963,9 +5515,8 @@ }, "node_modules/ava/node_modules/path-type": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", - "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -5975,9 +5526,8 @@ }, "node_modules/ava/node_modules/picomatch": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.1.tgz", - "integrity": "sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -5986,10 +5536,9 @@ } }, "node_modules/ava/node_modules/pretty-ms": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.1.0.tgz", - "integrity": "sha512-o1piW0n3tgKIKCwk2vpM/vOV13zjJzvP37Ioze54YlTHE06m4tjEbzg9WsKkvTuyYln2DHjo5pY4qrZGI0otpw==", + "version": "9.0.0", "dev": true, + "license": "MIT", "dependencies": { "parse-ms": "^4.0.0" }, @@ -6002,9 +5551,8 @@ }, "node_modules/ava/node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, + "license": "ISC", "engines": { "node": ">=14" }, @@ -6014,9 +5562,8 @@ }, "node_modules/ava/node_modules/slash": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", - "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -6040,9 +5587,8 @@ }, "node_modules/ava/node_modules/write-file-atomic": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", - "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "signal-exit": "^4.0.1" @@ -6247,6 +5793,11 @@ "version": "1.0.2", "license": "MIT" }, + "node_modules/balloon-css": { + "version": "1.2.0", + "dev": true, + "license": "MIT" + }, "node_modules/base64-js": { "version": "1.5.1", "dev": true, @@ -6275,9 +5826,8 @@ }, "node_modules/before-after-hook": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", - "integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/better-path-resolve": { "version": "1.0.0", @@ -6330,9 +5880,8 @@ }, "node_modules/bindings": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", "dev": true, + "license": "MIT", "dependencies": { "file-uri-to-path": "1.0.0" } @@ -6353,22 +5902,16 @@ "license": "MIT" }, "node_modules/bootstrap": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.3.tgz", - "integrity": "sha512-8HLCdWgyoMguSO9o+aH+iuZ+aht+mzW0u3HIMzVu7Srrpv7EBBxTnrFlSCskwdY1+EOFQSm7uMJhNQHkdPcmjg==", + "version": "4.6.1", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/twbs" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/bootstrap" - } - ], + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + }, "peerDependencies": { - "@popperjs/core": "^2.11.8" + "jquery": "1.9.1 - 3", + "popper.js": "^1.16.1" } }, "node_modules/boxen": { @@ -6584,6 +6127,13 @@ "dev": true, "license": "MIT" }, + "node_modules/buildcheck": { + "version": "0.0.6", + "optional": true, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/bytes": { "version": "3.0.0", "dev": true, @@ -6773,12 +6323,14 @@ } }, "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "version": "4.1.0", "dev": true, + "license": "MIT", "engines": { - "node": ">=6" + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/camelcase": { @@ -6810,9 +6362,8 @@ }, "node_modules/cbor": { "version": "9.0.2", - "resolved": "https://registry.npmjs.org/cbor/-/cbor-9.0.2.tgz", - "integrity": "sha512-JPypkxsB10s9QOWwa6zwPzqE1Md3vqpPc+cai4sAecuCsRyAtAl/pMyhPlMbT/xtPnm2dznJZYRLui57qiRhaQ==", "dev": true, + "license": "MIT", "dependencies": { "nofilter": "^3.1.0" }, @@ -6856,11 +6407,15 @@ "node": ">=10" } }, + "node_modules/chardet": { + "version": "0.7.0", + "dev": true, + "license": "MIT" + }, "node_modules/chart.js": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.3.tgz", - "integrity": "sha512-qK1gkGSRYcJzqrrzdR6a+I0vQ4/R+SoODXyAjscQ/4mzuNzySaMCd+hyVxitSY1+L2fjPD1Gbn+ibNqRmwQeLw==", + "version": "4.4.2", "dev": true, + "license": "MIT", "dependencies": { "@kurkle/color": "^0.3.0" }, @@ -6918,10 +6473,9 @@ } }, "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "version": "2.6.1", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -6931,8 +6485,7 @@ }, "node_modules/cli-table3": { "version": "0.6.5", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", - "integrity": "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==", + "license": "MIT", "dependencies": { "string-width": "^4.2.0" }, @@ -6945,9 +6498,8 @@ }, "node_modules/cli-truncate": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", - "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", "dev": true, + "license": "MIT", "dependencies": { "slice-ansi": "^5.0.0", "string-width": "^7.0.0" @@ -6961,15 +6513,13 @@ }, "node_modules/cli-truncate/node_modules/emoji-regex": { "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cli-truncate/node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "version": "7.1.0", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", @@ -6984,9 +6534,8 @@ }, "node_modules/cli-truncate/node_modules/strip-ansi": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -6999,13 +6548,22 @@ }, "node_modules/cli-width": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", - "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", "dev": true, + "license": "ISC", "engines": { "node": ">= 12" } }, + "node_modules/clipboard": { + "version": "2.0.11", + "dev": true, + "license": "MIT", + "dependencies": { + "good-listener": "^1.2.2", + "select": "^1.1.2", + "tiny-emitter": "^2.0.0" + } + }, "node_modules/clipboardy": { "version": "3.0.0", "dev": true, @@ -7047,9 +6605,8 @@ }, "node_modules/clone-deep": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", "dev": true, + "license": "MIT", "dependencies": { "is-plain-object": "^2.0.4", "kind-of": "^6.0.2", @@ -7061,9 +6618,8 @@ }, "node_modules/clone-deep/node_modules/is-plain-object": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, + "license": "MIT", "dependencies": { "isobject": "^3.0.1" }, @@ -7138,9 +6694,8 @@ }, "node_modules/columnify": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz", - "integrity": "sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q==", "dev": true, + "license": "MIT", "dependencies": { "strip-ansi": "^6.0.1", "wcwidth": "^1.0.0" @@ -7168,9 +6723,8 @@ } }, "node_modules/comment-json": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-4.2.4.tgz", - "integrity": "sha512-E5AjpSW+O+N5T2GsOQMHLLsJvrYw6G/AFt9GvU6NguEAfzKShh7hRiLtVo6S9KbRpFMGqE5ojo0/hE+sdteWvQ==", + "version": "4.2.3", + "license": "MIT", "dependencies": { "array-timsort": "^1.0.3", "core-util-is": "^1.0.3", @@ -7266,6 +6820,11 @@ "dev": true, "license": "MIT" }, + "node_modules/compute-scroll-into-view": { + "version": "1.0.20", + "dev": true, + "license": "MIT" + }, "node_modules/concat-map": { "version": "0.0.1", "dev": true, @@ -7291,9 +6850,8 @@ }, "node_modules/concurrently": { "version": "8.2.2", - "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-8.2.2.tgz", - "integrity": "sha512-1dP4gpXFhei8IOtlXRE/T/4H88ElHgTiUzh71YUmtjTEHMSRS2Z/fgOxHSxxusGHogsRfxNq1vyAwxSC+EVyDg==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.2", "date-fns": "^2.30.0", @@ -7332,9 +6890,8 @@ }, "node_modules/config-chain": { "version": "1.1.13", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", "dev": true, + "license": "MIT", "dependencies": { "ini": "^1.3.4", "proto-list": "~1.2.1" @@ -7367,9 +6924,8 @@ }, "node_modules/cosmiconfig": { "version": "9.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", - "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", "dev": true, + "license": "MIT", "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", @@ -7393,9 +6949,8 @@ }, "node_modules/cowsay": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/cowsay/-/cowsay-1.6.0.tgz", - "integrity": "sha512-8C4H1jdrgNusTQr3Yu4SCm+ZKsAlDFbpa0KS0Z3im8ueag+9pGOf3CrioruvmeaW/A5oqg9L0ar6qeftAh03jw==", "dev": true, + "license": "MIT", "dependencies": { "get-stdin": "8.0.0", "string-width": "~2.1.1", @@ -7570,6 +7125,18 @@ "node": ">=8" } }, + "node_modules/cpu-features": { + "version": "0.0.9", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "buildcheck": "~0.0.6", + "nan": "^2.17.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/create-jest": { "version": "29.7.0", "dev": true, @@ -7768,6 +7335,11 @@ "node": ">= 8" } }, + "node_modules/cuint": { + "version": "0.2.2", + "dev": true, + "license": "MIT" + }, "node_modules/currently-unhandled": { "version": "0.4.1", "dev": true, @@ -7789,8 +7361,7 @@ }, "node_modules/dataobject-parser": { "version": "1.2.25", - "resolved": "https://registry.npmjs.org/dataobject-parser/-/dataobject-parser-1.2.25.tgz", - "integrity": "sha512-BmHeQBJsyWNKrBtwAzdZYrbnToPJb2zDfB4l/rwXp7bzMY596cGkrZ3qiIhuK+PeWopVKdKMp6nG/CtKKr8wHg==", + "license": "MIT", "engines": { "node": ">= 0.8.0" } @@ -7812,8 +7383,7 @@ }, "node_modules/date-format": { "version": "4.0.14", - "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.14.tgz", - "integrity": "sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==", + "license": "MIT", "engines": { "node": ">=4.0" } @@ -7862,9 +7432,8 @@ }, "node_modules/dedent": { "version": "1.5.3", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", - "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", "dev": true, + "license": "MIT", "peerDependencies": { "babel-plugin-macros": "^3.1.0" }, @@ -7876,9 +7445,8 @@ }, "node_modules/deep-diff": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/deep-diff/-/deep-diff-1.0.2.tgz", - "integrity": "sha512-aWS3UIVH+NPGCD1kki+DCU9Dua032iSsO43LqQpcs4R3+dVv7tX0qBGjiVHJHjplsoUM2XRO/KB92glqc68awg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deep-extend": { "version": "0.6.0", @@ -7890,23 +7458,20 @@ }, "node_modules/deep-is": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deepmerge": { "version": "4.3.1", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", - "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/deepmerge-ts": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/deepmerge-ts/-/deepmerge-ts-7.1.0.tgz", - "integrity": "sha512-q6bNsfNBtgr8ZOQqmZbl94MmYWm+QcDNIkqCxVWiw1vKvf+y/N2dZQKdnDXn4c5Ygt/y63tDof6OCN+2YwWVEg==", + "version": "5.1.0", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=16.0.0" } @@ -7935,6 +7500,11 @@ "node": ">=0.4.0" } }, + "node_modules/delegate": { + "version": "3.2.0", + "dev": true, + "license": "MIT" + }, "node_modules/delegates": { "version": "1.0.0", "dev": true, @@ -7950,9 +7520,8 @@ }, "node_modules/dependency-tree": { "version": "10.0.9", - "resolved": "https://registry.npmjs.org/dependency-tree/-/dependency-tree-10.0.9.tgz", - "integrity": "sha512-dwc59FRIsht+HfnTVM0BCjJaEWxdq2YAvEDy4/Hn6CwS3CBWMtFnL3aZGAkQn3XCYxk/YcTDE4jX2Q7bFTwCjA==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^10.0.1", "filing-cabinet": "^4.1.6", @@ -7968,27 +7537,24 @@ }, "node_modules/dependency-tree/node_modules/commander": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } }, "node_modules/detect-indent": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-7.0.1.tgz", - "integrity": "sha512-Mc7QhQ8s+cLrnUfU/Ji94vG/r8M26m8f++vyres4ZoojaRDpZ1eSIh/EpzLNwlWuvzSZ3UbDFspjFvTDXe6e/g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.20" } }, "node_modules/detect-libc": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", - "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=8" } @@ -8003,9 +7569,8 @@ }, "node_modules/detective-amd": { "version": "5.0.2", - "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-5.0.2.tgz", - "integrity": "sha512-XFd/VEQ76HSpym80zxM68ieB77unNuoMwopU2TFT/ErUk5n4KvUTwW4beafAVUugrjV48l4BmmR0rh2MglBaiA==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^5.0.0", "escodegen": "^2.0.0", @@ -8021,9 +7586,8 @@ }, "node_modules/detective-cjs": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/detective-cjs/-/detective-cjs-5.0.1.tgz", - "integrity": "sha512-6nTvAZtpomyz/2pmEmGX1sXNjaqgMplhQkskq2MLrar0ZAIkHMrDhLXkRiK2mvbu9wSWr0V5/IfiTrZqAQMrmQ==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^5.0.0", "node-source-walk": "^6.0.0" @@ -8034,9 +7598,8 @@ }, "node_modules/detective-es6": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/detective-es6/-/detective-es6-4.0.1.tgz", - "integrity": "sha512-k3Z5tB4LQ8UVHkuMrFOlvb3GgFWdJ9NqAa2YLUU/jTaWJIm+JJnEh4PsMc+6dfT223Y8ACKOaC0qcj7diIhBKw==", "dev": true, + "license": "MIT", "dependencies": { "node-source-walk": "^6.0.1" }, @@ -8046,9 +7609,8 @@ }, "node_modules/detective-postcss": { "version": "6.1.3", - "resolved": "https://registry.npmjs.org/detective-postcss/-/detective-postcss-6.1.3.tgz", - "integrity": "sha512-7BRVvE5pPEvk2ukUWNQ+H2XOq43xENWbH0LcdCE14mwgTBEAMoAx+Fc1rdp76SmyZ4Sp48HlV7VedUnP6GA1Tw==", "dev": true, + "license": "MIT", "dependencies": { "is-url": "^1.2.4", "postcss": "^8.4.23", @@ -8060,9 +7622,8 @@ }, "node_modules/detective-sass": { "version": "5.0.3", - "resolved": "https://registry.npmjs.org/detective-sass/-/detective-sass-5.0.3.tgz", - "integrity": "sha512-YsYT2WuA8YIafp2RVF5CEfGhhyIVdPzlwQgxSjK+TUm3JoHP+Tcorbk3SfG0cNZ7D7+cYWa0ZBcvOaR0O8+LlA==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^6.0.1" @@ -8073,9 +7634,8 @@ }, "node_modules/detective-scss": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/detective-scss/-/detective-scss-4.0.3.tgz", - "integrity": "sha512-VYI6cHcD0fLokwqqPFFtDQhhSnlFWvU614J42eY6G0s8c+MBhi9QAWycLwIOGxlmD8I/XvGSOUV1kIDhJ70ZPg==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^6.0.1" @@ -8086,18 +7646,16 @@ }, "node_modules/detective-stylus": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-4.0.0.tgz", - "integrity": "sha512-TfPotjhszKLgFBzBhTOxNHDsutIxx9GTWjrL5Wh7Qx/ydxKhwUrlSFeLIn+ZaHPF+h0siVBkAQSuy6CADyTxgQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } }, "node_modules/detective-typescript": { "version": "11.2.0", - "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-11.2.0.tgz", - "integrity": "sha512-ARFxjzizOhPqs1fYC/2NMC3N4jrQ6HvVflnXBTRqNEqJuXwyKLRr9CrJwkRcV/SnZt1sNXgsF6FPm0x57Tq0rw==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/typescript-estree": "^5.62.0", "ast-module-types": "^5.0.0", @@ -8110,9 +7668,8 @@ }, "node_modules/detective-typescript/node_modules/@typescript-eslint/types": { "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", - "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -8123,9 +7680,8 @@ }, "node_modules/detective-typescript/node_modules/@typescript-eslint/typescript-estree": { "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", - "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/types": "5.62.0", "@typescript-eslint/visitor-keys": "5.62.0", @@ -8150,9 +7706,8 @@ }, "node_modules/detective-typescript/node_modules/@typescript-eslint/visitor-keys": { "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", - "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.62.0", "eslint-visitor-keys": "^3.3.0" @@ -8165,18 +7720,6 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/detective-typescript/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, "node_modules/dezalgo": { "version": "1.0.4", "dev": true, @@ -8188,26 +7731,23 @@ }, "node_modules/diff": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", - "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } }, "node_modules/diff-sequences": { "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/diff2html": { "version": "3.4.48", - "resolved": "https://registry.npmjs.org/diff2html/-/diff2html-3.4.48.tgz", - "integrity": "sha512-1lzNSg0G0VPKZPTyi4knzV2nAWTXBy/QaWCKzDto6iEIlcuOJEG0li4bElJfpHNz+pBqPu4AcC1i9ZCo9KMUOg==", "dev": true, + "license": "MIT", "dependencies": { "diff": "5.1.0", "hogan.js": "3.0.2" @@ -8250,21 +7790,6 @@ "version": "0.2.0", "license": "MIT" }, - "node_modules/ejs": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", - "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", - "dev": true, - "dependencies": { - "jake": "^10.8.5" - }, - "bin": { - "ejs": "bin/cli.js" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/electron-to-chromium": { "version": "1.4.692", "dev": true, @@ -8305,10 +7830,9 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.17.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", - "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", + "version": "5.17.0", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -8389,9 +7913,8 @@ }, "node_modules/escodegen": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", - "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esprima": "^4.0.1", "estraverse": "^5.2.0", @@ -8410,18 +7933,16 @@ }, "node_modules/escodegen/node_modules/estraverse": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } }, "node_modules/eslint": { "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -8474,9 +7995,8 @@ }, "node_modules/eslint-plugin-deprecation": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-deprecation/-/eslint-plugin-deprecation-3.0.0.tgz", - "integrity": "sha512-JuVLdNg/uf0Adjg2tpTyYoYaMbwQNn/c78P1HcccokvhtRphgnRjZDKmhlxbxYptppex03zO76f97DD/yQHv7A==", "dev": true, + "license": "LGPL-3.0-or-later", "dependencies": { "@typescript-eslint/utils": "^7.0.0", "ts-api-utils": "^1.3.0", @@ -8487,80 +8007,134 @@ "typescript": "^4.2.4 || ^5.0.0" } }, - "node_modules/eslint-plugin-deprecation/node_modules/@typescript-eslint/scope-manager": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", - "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", + "node_modules/eslint-plugin-deprecation/node_modules/tslib": { + "version": "2.6.2", + "dev": true, + "license": "0BSD" + }, + "node_modules/eslint-plugin-jest": { + "version": "27.9.0", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/visitor-keys": "7.18.0" + "@typescript-eslint/utils": "^5.10.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "peerDependencies": { + "@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0 || ^7.0.0", + "eslint": "^7.0.0 || ^8.0.0", + "jest": "*" + }, + "peerDependenciesMeta": { + "@typescript-eslint/eslint-plugin": { + "optional": true + }, + "jest": { + "optional": true + } } }, - "node_modules/eslint-plugin-deprecation/node_modules/@typescript-eslint/utils": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz", - "integrity": "sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==", + "node_modules/eslint-plugin-jest/node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", "dev": true, + "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.18.0", - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/typescript-estree": "7.18.0" + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" } }, - "node_modules/eslint-plugin-deprecation/node_modules/tslib": { - "version": "2.6.2", + "node_modules/eslint-plugin-jest/node_modules/@typescript-eslint/types": { + "version": "5.62.0", "dev": true, - "license": "0BSD" + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } }, - "node_modules/eslint-plugin-jest": { - "version": "27.9.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.9.0.tgz", - "integrity": "sha512-QIT7FH7fNmd9n4se7FFKHbsLKGQiw885Ds6Y/sxKgCZ6natwCsXdgPOADnYVxN2QrRweF0FZWbJ6S7Rsn7llug==", + "node_modules/eslint-plugin-jest/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/utils": "^5.10.0" + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, - "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0 || ^7.0.0", - "eslint": "^7.0.0 || ^8.0.0", - "jest": "*" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" }, "peerDependenciesMeta": { - "@typescript-eslint/eslint-plugin": { - "optional": true - }, - "jest": { + "typescript": { "optional": true } } }, + "node_modules/eslint-plugin-jest/node_modules/@typescript-eslint/utils": { + "version": "5.62.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "eslint-scope": "^5.1.1", + "semver": "^7.3.7" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/eslint-plugin-jest/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/eslint-plugin-unused-imports": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-3.2.0.tgz", - "integrity": "sha512-6uXyn6xdINEpxE1MtDjxQsyXB37lfyO2yKGVVgtD7WEWQGORSOZjgrD6hBhvGv4/SO+TOlS+UnC6JppRqbuwGQ==", "dev": true, + "license": "MIT", "dependencies": { "eslint-rule-composer": "^0.3.0" }, @@ -8597,36 +8171,21 @@ "node": ">=8.0.0" } }, - "node_modules/eslint-utils": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^2.0.0" - }, - "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=5" - } - }, "node_modules/eslint-visitor-keys": { - "version": "2.1.0", + "version": "3.4.3", "dev": true, "license": "Apache-2.0", "engines": { - "node": ">=10" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/eslint/node_modules/eslint-scope": { "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -8638,23 +8197,10 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, "node_modules/eslint/node_modules/estraverse": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -8672,9 +8218,8 @@ }, "node_modules/espree": { "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", @@ -8687,18 +8232,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/espree/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, "node_modules/esprima": { "version": "4.0.1", "license": "BSD-2-Clause", @@ -8711,10 +8244,9 @@ } }, "node_modules/esquery": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", - "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "version": "1.5.0", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -8724,9 +8256,8 @@ }, "node_modules/esquery/node_modules/estraverse": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -8760,9 +8291,8 @@ }, "node_modules/estree-walker": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/esutils": { "version": "2.0.3", @@ -8774,9 +8304,8 @@ }, "node_modules/eventemitter3": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/execa": { "version": "5.1.1", @@ -8840,14 +8369,25 @@ }, "node_modules/exponential-backoff": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", - "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==" + "license": "Apache-2.0" + }, + "node_modules/external-editor": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" + } }, "node_modules/fancy-log": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-2.0.0.tgz", - "integrity": "sha512-9CzxZbACXMUXW13tS0tI8XsGGmxWzO2DmYrGuBJOJ8k8q2K7hwfJA5qHjuPPe8wtsco33YR9wc+Rlr5wYFvhSA==", "dev": true, + "license": "MIT", "dependencies": { "color-support": "^1.1.3" }, @@ -8867,8 +8407,7 @@ }, "node_modules/fast-glob": { "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -8887,9 +8426,8 @@ }, "node_modules/fast-levenshtein": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-url-parser": { "version": "1.1.3", @@ -8906,8 +8444,7 @@ }, "node_modules/fastest-levenshtein": { "version": "1.0.16", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", - "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "license": "MIT", "engines": { "node": ">= 4.9.1" } @@ -8949,33 +8486,6 @@ "node": "^12.20 || >= 14.13" } }, - "node_modules/figures": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", - "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", - "dev": true, - "dependencies": { - "is-unicode-supported": "^2.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/figures/node_modules/is-unicode-supported": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.0.0.tgz", - "integrity": "sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==", - "dev": true, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/file-entry-cache": { "version": "6.0.1", "dev": true, @@ -8989,45 +8499,13 @@ }, "node_modules/file-uri-to-path": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "dev": true - }, - "node_modules/filelist": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", - "dev": true, - "dependencies": { - "minimatch": "^5.0.1" - } - }, - "node_modules/filelist/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/filelist/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } + "license": "MIT" }, "node_modules/filing-cabinet": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/filing-cabinet/-/filing-cabinet-4.2.0.tgz", - "integrity": "sha512-YZ21ryzRcyqxpyKggdYSoXx//d3sCJzM3lsYoaeg/FyXdADGJrUl+BW1KIglaVLJN5BBcMtWylkygY8zBp2MrQ==", "dev": true, + "license": "MIT", "dependencies": { "app-module-path": "^2.2.0", "commander": "^10.0.1", @@ -9051,9 +8529,8 @@ }, "node_modules/filing-cabinet/node_modules/commander": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } @@ -9101,9 +8578,8 @@ }, "node_modules/find-up-simple": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz", - "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -9139,8 +8615,7 @@ }, "node_modules/flatted": { "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==" + "license": "ISC" }, "node_modules/foreground-child": { "version": "3.1.1", @@ -9192,8 +8667,7 @@ }, "node_modules/fs-extra": { "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -9218,18 +8692,6 @@ "dev": true, "license": "ISC" }, - "node_modules/fsevents": { - "version": "2.3.2", - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-arguments": { "version": "1.0.9", "dev": true, @@ -9240,34 +8702,12 @@ }, "node_modules/function-bind": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/gauge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", - "deprecated": "This package is no longer supported.", - "dev": true, - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "object-assign": "^4.1.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/gensync": { "version": "1.0.0-beta.2", "dev": true, @@ -9278,9 +8718,8 @@ }, "node_modules/get-amd-module-type": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/get-amd-module-type/-/get-amd-module-type-5.0.1.tgz", - "integrity": "sha512-jb65zDeHyDjFR1loOVk0HQGM5WNwoGB8aLWy3LKCieMKol0/ProHkhO2X1JxojuN10vbz1qNn09MJ7tNp7qMzw==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^5.0.0", "node-source-walk": "^6.0.1" @@ -9298,9 +8737,8 @@ }, "node_modules/get-east-asian-width": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz", - "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -9318,9 +8756,8 @@ }, "node_modules/get-own-enumerable-property-symbols": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", - "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/get-package-type": { "version": "0.1.0", @@ -9354,21 +8791,19 @@ }, "node_modules/git-up": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/git-up/-/git-up-7.0.0.tgz", - "integrity": "sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==", "dev": true, + "license": "MIT", "dependencies": { "is-ssh": "^1.4.0", "parse-url": "^8.1.0" } }, - "node_modules/git-url-parse": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-14.1.0.tgz", - "integrity": "sha512-8xg65dTxGHST3+zGpycMMFZcoTzAdZ2dOtu4vmgIfkTFnVHBxHMzBC2L1k8To7EmrSiHesT8JgPLT91VKw1B5g==", + "node_modules/github-markdown-css": { + "version": "5.2.0", "dev": true, - "dependencies": { - "git-up": "^7.0.0" + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/glob": { @@ -9402,9 +8837,8 @@ }, "node_modules/globals": { "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -9436,9 +8870,8 @@ }, "node_modules/gonzales-pe": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gonzales-pe/-/gonzales-pe-4.3.0.tgz", - "integrity": "sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.5" }, @@ -9449,15 +8882,22 @@ "node": ">=0.6.0" } }, + "node_modules/good-listener": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "delegate": "^3.1.2" + } + }, "node_modules/graceful-fs": { "version": "4.2.11", "license": "ISC" }, "node_modules/graphemer": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/handlebars": { "version": "4.7.7", @@ -9500,9 +8940,8 @@ }, "node_modules/hasown": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dev": true, + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -9512,9 +8951,8 @@ }, "node_modules/highlight.js": { "version": "11.9.0", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.9.0.tgz", - "integrity": "sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==", "dev": true, + "license": "BSD-3-Clause", "optional": true, "engines": { "node": ">=12.0.0" @@ -9522,8 +8960,6 @@ }, "node_modules/hogan.js": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/hogan.js/-/hogan.js-3.0.2.tgz", - "integrity": "sha512-RqGs4wavGYJWE07t35JQccByczmNUXQT0E12ZYV1VKYu5UiAU9lsos/yBAcf840+zrUQQxgVduCR5/B8nNtibg==", "dev": true, "dependencies": { "mkdirp": "0.3.0", @@ -9535,10 +8971,8 @@ }, "node_modules/hogan.js/node_modules/mkdirp": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz", - "integrity": "sha512-OHsdUcVAQ6pOtg5JYWpCBo9W/GySVuwvP9hueRMW7UqshC0tbfzLv8wjySTPm3tfUZ/21CE9E1pJagOA91Pxew==", - "deprecated": "Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)", "dev": true, + "license": "MIT/X11", "engines": { "node": "*" } @@ -9550,8 +8984,7 @@ }, "node_modules/hosted-git-info": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", - "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", + "license": "ISC", "dependencies": { "lru-cache": "^10.0.1" }, @@ -9618,12 +9051,11 @@ } }, "node_modules/husky": { - "version": "9.1.4", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.4.tgz", - "integrity": "sha512-bho94YyReb4JV7LYWRWxZ/xr6TtOTt8cMfmQ39MQYJ7f/YE268s3GdghGwi+y4zAeqewE5zYLvuhV0M0ijsDEA==", + "version": "9.0.11", "dev": true, + "license": "MIT", "bin": { - "husky": "bin.js" + "husky": "bin.mjs" }, "engines": { "node": ">=18" @@ -9632,6 +9064,17 @@ "url": "https://github.com/sponsors/typicode" } }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/ieee754": { "version": "1.2.1", "dev": true, @@ -9653,9 +9096,8 @@ }, "node_modules/ignore": { "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } @@ -9700,9 +9142,8 @@ }, "node_modules/import-fresh": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, + "license": "MIT", "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -9716,18 +9157,16 @@ }, "node_modules/import-fresh/node_modules/resolve-from": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/import-local": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", - "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", + "version": "3.1.0", "dev": true, + "license": "MIT", "dependencies": { "pkg-dir": "^4.2.0", "resolve-cwd": "^3.0.0" @@ -9758,9 +9197,8 @@ }, "node_modules/index-to-position": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-0.1.2.tgz", - "integrity": "sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -9792,6 +9230,41 @@ "dev": true, "license": "ISC" }, + "node_modules/inquirer": { + "version": "9.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/figures": "^1.0.3", + "ansi-escapes": "^4.3.2", + "cli-width": "^4.1.0", + "external-editor": "^3.1.0", + "mute-stream": "1.0.0", + "ora": "^5.4.1", + "run-async": "^3.0.0", + "rxjs": "^7.8.1", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^6.2.0", + "yoctocolors-cjs": "^2.1.1" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/inquirer/node_modules/wrap-ansi": { + "version": "6.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/ip-address": { "version": "9.0.5", "license": "MIT", @@ -9822,9 +9295,8 @@ }, "node_modules/is-ci": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz", - "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==", "dev": true, + "license": "MIT", "dependencies": { "ci-info": "^3.2.0" }, @@ -9833,10 +9305,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", - "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", + "version": "2.14.0", "dev": true, + "license": "MIT", "dependencies": { "hasown": "^2.0.2" }, @@ -9914,9 +9385,8 @@ }, "node_modules/is-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -9931,9 +9401,8 @@ }, "node_modules/is-plain-obj": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -9967,24 +9436,21 @@ }, "node_modules/is-regexp": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-relative-path": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-relative-path/-/is-relative-path-1.0.2.tgz", - "integrity": "sha512-i1h+y50g+0hRbBD+dbnInl3JlJ702aar58snAeX+MxBAPvzXGej7sYoPMhlnykabt0ZzCJNBEyzMlekuQZN7fA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-ssh": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz", - "integrity": "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==", "dev": true, + "license": "MIT", "dependencies": { "protocols": "^2.0.1" } @@ -10000,6 +9466,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, "node_modules/is-unicode-supported": { "version": "0.1.0", "dev": true, @@ -10013,15 +9484,13 @@ }, "node_modules/is-url": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", - "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-url-superb": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-url-superb/-/is-url-superb-4.0.0.tgz", - "integrity": "sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -10054,9 +9523,8 @@ }, "node_modules/isobject": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -10146,24 +9614,6 @@ "@pkgjs/parseargs": "^0.11.0" } }, - "node_modules/jake": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.2.tgz", - "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==", - "dev": true, - "dependencies": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.4", - "minimatch": "^3.1.2" - }, - "bin": { - "jake": "bin/cli.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/jest": { "version": "29.7.0", "dev": true, @@ -10457,8 +9907,7 @@ }, "node_modules/jest-diff": { "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "diff-sequences": "^29.6.3", @@ -10549,8 +9998,7 @@ }, "node_modules/jest-get-type": { "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } @@ -10585,9 +10033,8 @@ }, "node_modules/jest-junit": { "version": "16.0.0", - "resolved": "https://registry.npmjs.org/jest-junit/-/jest-junit-16.0.0.tgz", - "integrity": "sha512-A94mmw6NfJab4Fg/BlvVOUXzXgF0XIH6EmTgJ5NDPp4xoKq0Kr7sErb+4Xs9nZvu58pJojz5RFGpqnZYJTrRfQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "mkdirp": "^1.0.4", "strip-ansi": "^6.0.1", @@ -11270,10 +10717,9 @@ } }, "node_modules/jest-stare": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jest-stare/-/jest-stare-2.5.2.tgz", - "integrity": "sha512-dvxHXOsiJlvBi0n2dK9pz6RWFTdPB6njc2ZoMpyjmWI+aIL+X1W8OW5mTm1pkv/quy2ocKO/G+GsTe7Bv07xkQ==", + "version": "2.5.1", "dev": true, + "license": "MIT", "dependencies": { "@jest/reporters": "^29.0.0", "@jest/test-result": "^29.0.0", @@ -11299,6 +10745,24 @@ "node": ">=6.0.0" } }, + "node_modules/jest-stare/node_modules/bootstrap": { + "version": "5.3.3", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT", + "peerDependencies": { + "@popperjs/core": "^2.11.8" + } + }, "node_modules/jest-stare/node_modules/find-up": { "version": "3.0.0", "dev": true, @@ -11450,9 +10914,8 @@ }, "node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -11485,8 +10948,7 @@ }, "node_modules/jsonfile": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "license": "MIT", "dependencies": { "universalify": "^2.0.0" }, @@ -11523,6 +10985,14 @@ "node": "*" } }, + "node_modules/jstree": { + "version": "3.3.16", + "dev": true, + "license": "MIT", + "dependencies": { + "jquery": "^3.5.0" + } + }, "node_modules/just-diff": { "version": "5.1.1", "dev": true, @@ -11535,9 +11005,8 @@ }, "node_modules/kind-of": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -11560,9 +11029,8 @@ }, "node_modules/levn": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" @@ -11585,9 +11053,8 @@ }, "node_modules/load-json-file": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-7.0.1.tgz", - "integrity": "sha512-Gnxj3ev3mB5TkVBGad0JM6dmLiQL+o0t23JPBZ9sd+yvSLk05mFoqKBw5N8gbbkU4TNXyqCgIrl/VM17OgUIgQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -11650,8 +11117,7 @@ }, "node_modules/log4js": { "version": "6.9.1", - "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.9.1.tgz", - "integrity": "sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==", + "license": "Apache-2.0", "dependencies": { "date-format": "^4.0.14", "debug": "^4.3.4", @@ -11677,9 +11143,8 @@ }, "node_modules/madge": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/madge/-/madge-7.0.0.tgz", - "integrity": "sha512-x9eHkBWoCJ2B8yGesWf8LRucarkbH5P3lazqgvmxe4xn5U2Meyfu906iG9mBB1RnY/f4D+gtELWdiz1k6+jAZA==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.2", "commander": "^7.2.0", @@ -11716,9 +11181,8 @@ }, "node_modules/madge/node_modules/commander": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 10" } @@ -11865,9 +11329,8 @@ }, "node_modules/memoize": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/memoize/-/memoize-10.0.0.tgz", - "integrity": "sha512-H6cBLgsi6vMWOcCpvVCdFFnl3kerEXbrYh9q+lY6VXvQSmM6CkmV08VOwT+WE2tzIEqRPFfAq3fm4v/UIW6mSA==", "dev": true, + "license": "MIT", "dependencies": { "mimic-function": "^5.0.0" }, @@ -11901,6 +11364,17 @@ "node": ">=8.6" } }, + "node_modules/mime": { + "version": "2.5.2", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4.0.0" + } + }, "node_modules/mime-db": { "version": "1.52.0", "dev": true, @@ -11930,9 +11404,8 @@ }, "node_modules/mimic-function": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", - "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -12083,9 +11556,8 @@ }, "node_modules/module-definition": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/module-definition/-/module-definition-5.0.1.tgz", - "integrity": "sha512-kvw3B4G19IXk+BOXnYq/D/VeO9qfHaapMeuS7w7sNUqmGaA6hywdFHMi+VWeR9wUScXM7XjoryTffCZ5B0/8IA==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^5.0.0", "node-source-walk": "^6.0.1" @@ -12099,9 +11571,8 @@ }, "node_modules/module-lookup-amd": { "version": "8.0.5", - "resolved": "https://registry.npmjs.org/module-lookup-amd/-/module-lookup-amd-8.0.5.tgz", - "integrity": "sha512-vc3rYLjDo5Frjox8NZpiyLXsNWJ5BWshztc/5KSOMzpg9k5cHH652YsJ7VKKmtM4SvaxuE9RkrYGhiSjH3Ehow==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^10.0.1", "glob": "^7.2.3", @@ -12117,9 +11588,8 @@ }, "node_modules/module-lookup-amd/node_modules/commander": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } @@ -12138,9 +11608,8 @@ }, "node_modules/multimatch": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-7.0.0.tgz", - "integrity": "sha512-SYU3HBAdF4psHEL/+jXDKHO95/m5P2RvboHT2Y0WtTttvJLP4H/2WS9WlQPFvF6C8d6SpLw8vjCnQOnVIVOSJQ==", "dev": true, + "license": "MIT", "dependencies": { "array-differ": "^4.0.0", "array-union": "^3.0.1", @@ -12155,9 +11624,8 @@ }, "node_modules/multimatch/node_modules/array-union": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz", - "integrity": "sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -12167,18 +11635,16 @@ }, "node_modules/multimatch/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/multimatch/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -12198,12 +11664,16 @@ }, "node_modules/mute-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", - "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/nan": { + "version": "2.18.0", + "license": "MIT", + "optional": true + }, "node_modules/nanoid": { "version": "3.3.7", "dev": true, @@ -12283,9 +11753,8 @@ }, "node_modules/node-fetch": { "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dev": true, + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -12326,9 +11795,8 @@ }, "node_modules/node-gyp-build": { "version": "4.8.1", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.1.tgz", - "integrity": "sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw==", "dev": true, + "license": "MIT", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -12419,9 +11887,8 @@ }, "node_modules/node-source-walk": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-6.0.2.tgz", - "integrity": "sha512-jn9vOIK/nfqoFCcpK89/VCVaLg1IHE6UVfDOzvqmANaJ/rWCTEdH8RZ1V278nv2jr36BJdyQXIAavBLXpzdlag==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.21.8" }, @@ -12431,32 +11898,26 @@ }, "node_modules/nofilter": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-3.1.0.tgz", - "integrity": "sha512-l2NNj07e9afPnhAhvgVrCD/oy2Ai1yfLpuo3EpiO1jFTsB4sFz6oIfAfSZyQzVpkZQ9xS8ZS5g1jCBgq4Hwo0g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.19" } }, "node_modules/nopt": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", "dev": true, + "license": "MIT", "dependencies": { "abbrev": "1" }, "bin": { "nopt": "bin/nopt.js" - }, - "engines": { - "node": "*" } }, "node_modules/normalize-package-data": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", - "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^7.0.0", "semver": "^7.3.5", @@ -12494,9 +11955,8 @@ }, "node_modules/npm-lockfile": { "version": "3.0.7", - "resolved": "https://registry.npmjs.org/npm-lockfile/-/npm-lockfile-3.0.7.tgz", - "integrity": "sha512-BknVLh/7VGIwNUeL5GBlbBvHubMbhg8scgDJxhIUIxAUJvLw4buCcF/6wApL42iBkWtblflW8yIJDwOyDmWSkA==", "dev": true, + "license": "MIT", "dependencies": { "@npmcli/arborist": "=5.2.1", "colors": "=1.4.0", @@ -12895,9 +12355,8 @@ }, "node_modules/npm-lockfile/node_modules/pacote": { "version": "13.6.0", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-13.6.0.tgz", - "integrity": "sha512-zHmuCwG4+QKnj47LFlW3LmArwKoglx2k5xtADiMCivVWPgNRP5QyLDGOIjGjwOe61lhl1rO63m/VxT16pEHLWg==", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/git": "^3.0.0", "@npmcli/installed-package-contents": "^1.0.7", @@ -12989,9 +12448,8 @@ "license": "ISC" }, "node_modules/npm-package-arg": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.3.tgz", - "integrity": "sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw==", + "version": "11.0.2", + "license": "ISC", "dependencies": { "hosted-git-info": "^7.0.0", "proc-log": "^4.0.0", @@ -13004,8 +12462,7 @@ }, "node_modules/npm-package-arg/node_modules/proc-log": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.2.0.tgz", - "integrity": "sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==", + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -13181,8 +12638,7 @@ }, "node_modules/npm-registry-fetch": { "version": "17.1.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-17.1.0.tgz", - "integrity": "sha512-5+bKQRH0J1xG1uZ1zMNvxW0VEyoNWgJpY9UDuluPFLKDfJ9u2JmmjmTJV1srBGQOROfdBMiVvnH2Zvpbm+xkVA==", + "license": "ISC", "dependencies": { "@npmcli/redact": "^2.0.0", "jsonparse": "^1.3.1", @@ -13199,8 +12655,7 @@ }, "node_modules/npm-registry-fetch/node_modules/@npmcli/fs": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", - "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", + "license": "ISC", "dependencies": { "semver": "^7.3.5" }, @@ -13210,16 +12665,14 @@ }, "node_modules/npm-registry-fetch/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/npm-registry-fetch/node_modules/cacache": { - "version": "18.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.4.tgz", - "integrity": "sha512-B+L5iIa9mgcjLbliir2th36yEwPftrzteHYujzsx3dFP/31GCHcIeS8f5MGd80odLOjaOvSpU3EEAmRQptkxLQ==", + "version": "18.0.3", + "license": "ISC", "dependencies": { "@npmcli/fs": "^3.1.0", "fs-minipass": "^3.0.0", @@ -13240,8 +12693,7 @@ }, "node_modules/npm-registry-fetch/node_modules/fs-minipass": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", - "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, @@ -13250,9 +12702,8 @@ } }, "node_modules/npm-registry-fetch/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.4.2", + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", @@ -13264,17 +12715,22 @@ "bin": { "glob": "dist/esm/bin.mjs" }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/npm-registry-fetch/node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "version": "3.4.0", + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, + "engines": { + "node": ">=14" + }, "funding": { "url": "https://github.com/sponsors/isaacs" }, @@ -13284,8 +12740,7 @@ }, "node_modules/npm-registry-fetch/node_modules/make-fetch-happen": { "version": "13.0.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-13.0.1.tgz", - "integrity": "sha512-cKTUFc/rbKUd/9meOvgrpJ2WrNzymt6jfRDdwg5UCnVzv9dTpEj9JS5m3wtziXVCjluIXyL8pcaukYqezIzZQA==", + "license": "ISC", "dependencies": { "@npmcli/agent": "^2.0.0", "cacache": "^18.0.0", @@ -13306,8 +12761,7 @@ }, "node_modules/npm-registry-fetch/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -13320,16 +12774,14 @@ }, "node_modules/npm-registry-fetch/node_modules/minipass": { "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } }, "node_modules/npm-registry-fetch/node_modules/minipass-collect": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", - "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", + "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, @@ -13339,8 +12791,7 @@ }, "node_modules/npm-registry-fetch/node_modules/minipass-fetch": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", - "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", + "license": "MIT", "dependencies": { "minipass": "^7.0.3", "minipass-sized": "^1.0.3", @@ -13355,16 +12806,14 @@ }, "node_modules/npm-registry-fetch/node_modules/proc-log": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.2.0.tgz", - "integrity": "sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==", + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/npm-registry-fetch/node_modules/ssri": { "version": "10.0.6", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", - "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, @@ -13374,8 +12823,7 @@ }, "node_modules/npm-registry-fetch/node_modules/unique-filename": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", - "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "license": "ISC", "dependencies": { "unique-slug": "^4.0.0" }, @@ -13385,8 +12833,7 @@ }, "node_modules/npm-registry-fetch/node_modules/unique-slug": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", - "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4" }, @@ -13405,24 +12852,10 @@ "node": ">=8" } }, - "node_modules/npmlog": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", - "deprecated": "This package is no longer supported.", - "dev": true, - "dependencies": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^3.0.0", - "set-blocking": "^2.0.0" - } - }, "node_modules/object-assign": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -13474,9 +12907,8 @@ }, "node_modules/optionator": { "version": "0.9.4", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", - "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, + "license": "MIT", "dependencies": { "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", @@ -13511,6 +12943,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/p-limit": { "version": "3.1.0", "license": "MIT", @@ -13552,9 +12992,8 @@ }, "node_modules/p-queue": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-8.0.1.tgz", - "integrity": "sha512-NXzu9aQJTAzbBqOt2hwsR63ea7yvxJc0PwN/zobNAudYfb1B7R08SzB4TsLeSbUCuG467NhnoT0oO6w1qRO+BA==", "dev": true, + "license": "MIT", "dependencies": { "eventemitter3": "^5.0.1", "p-timeout": "^6.1.2" @@ -13568,9 +13007,8 @@ }, "node_modules/p-timeout": { "version": "6.1.2", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.1.2.tgz", - "integrity": "sha512-UbD77BuZ9Bc9aABo74gfXhNvzC9Tx7SxtHSh1fxvx3jTLLYvmVhiQZZrJzqqU0jKbN32kb5VOKiLEQI/3bIjgQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -13588,9 +13026,8 @@ }, "node_modules/package-config": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/package-config/-/package-config-5.0.0.tgz", - "integrity": "sha512-GYTTew2slBcYdvRHqjhwaaydVMvn/qrGC323+nKclYioNSLTDUM/lGgtGTgyHVtYcozb+XkE8CNhwcraOmZ9Mg==", "dev": true, + "license": "MIT", "dependencies": { "find-up-simple": "^1.0.0", "load-json-file": "^7.0.1" @@ -13604,13 +13041,11 @@ }, "node_modules/package-json-from-dist": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", - "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==" + "license": "BlueOak-1.0.0" }, "node_modules/pacote": { "version": "18.0.6", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-18.0.6.tgz", - "integrity": "sha512-+eK3G27SMwsB8kLIuj4h1FUhHtwiEUo21Tw8wNjmvdlpOEr613edv+8FUsTj/4F/VN5ywGE19X18N7CC2EJk6A==", + "license": "ISC", "dependencies": { "@npmcli/git": "^5.0.0", "@npmcli/installed-package-contents": "^2.0.1", @@ -13639,8 +13074,7 @@ }, "node_modules/pacote/node_modules/@npmcli/fs": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", - "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", + "license": "ISC", "dependencies": { "semver": "^7.3.5" }, @@ -13664,16 +13098,14 @@ }, "node_modules/pacote/node_modules/@npmcli/node-gyp": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", - "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/pacote/node_modules/@npmcli/package-json": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-5.2.0.tgz", - "integrity": "sha512-qe/kiqqkW0AGtvBjL8TJKZk/eBBSpnJkUWvHdQ9jM2lKHXRYYJuyNpJPlJw3c8QjC2ow6NZYiLExhUaeJelbxQ==", + "license": "ISC", "dependencies": { "@npmcli/git": "^5.0.0", "glob": "^10.2.2", @@ -13689,8 +13121,7 @@ }, "node_modules/pacote/node_modules/@npmcli/run-script": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-8.1.0.tgz", - "integrity": "sha512-y7efHHwghQfk28G2z3tlZ67pLG0XdfYbcVG26r7YIXALRsrVQcTq4/tdenSmdOrEsNahIYA/eh8aEVROWGFUDg==", + "license": "ISC", "dependencies": { "@npmcli/node-gyp": "^3.0.0", "@npmcli/package-json": "^5.0.0", @@ -13705,24 +13136,21 @@ }, "node_modules/pacote/node_modules/abbrev": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", - "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/pacote/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/pacote/node_modules/cacache": { - "version": "18.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.4.tgz", - "integrity": "sha512-B+L5iIa9mgcjLbliir2th36yEwPftrzteHYujzsx3dFP/31GCHcIeS8f5MGd80odLOjaOvSpU3EEAmRQptkxLQ==", + "version": "18.0.3", + "license": "ISC", "dependencies": { "@npmcli/fs": "^3.1.0", "fs-minipass": "^3.0.0", @@ -13743,8 +13171,7 @@ }, "node_modules/pacote/node_modules/fs-minipass": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", - "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, @@ -13753,9 +13180,8 @@ } }, "node_modules/pacote/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.4.2", + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", @@ -13767,25 +13193,29 @@ "bin": { "glob": "dist/esm/bin.mjs" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/pacote/node_modules/isexe": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", + "license": "ISC", "engines": { "node": ">=16" } }, "node_modules/pacote/node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "version": "3.4.0", + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, + "engines": { + "node": ">=14" + }, "funding": { "url": "https://github.com/sponsors/isaacs" }, @@ -13795,16 +13225,14 @@ }, "node_modules/pacote/node_modules/json-parse-even-better-errors": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", - "integrity": "sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==", + "license": "MIT", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/pacote/node_modules/make-fetch-happen": { "version": "13.0.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-13.0.1.tgz", - "integrity": "sha512-cKTUFc/rbKUd/9meOvgrpJ2WrNzymt6jfRDdwg5UCnVzv9dTpEj9JS5m3wtziXVCjluIXyL8pcaukYqezIzZQA==", + "license": "ISC", "dependencies": { "@npmcli/agent": "^2.0.0", "cacache": "^18.0.0", @@ -13825,8 +13253,7 @@ }, "node_modules/pacote/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -13839,16 +13266,14 @@ }, "node_modules/pacote/node_modules/minipass": { "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } }, "node_modules/pacote/node_modules/minipass-collect": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", - "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", + "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, @@ -13858,8 +13283,7 @@ }, "node_modules/pacote/node_modules/minipass-fetch": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", - "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", + "license": "MIT", "dependencies": { "minipass": "^7.0.3", "minipass-sized": "^1.0.3", @@ -13873,9 +13297,8 @@ } }, "node_modules/pacote/node_modules/node-gyp": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.2.0.tgz", - "integrity": "sha512-sp3FonBAaFe4aYTcFdZUn2NYkbP7xroPGYvQmP4Nl5PxamznItBnNCgjrVTKrEfQynInMsJvZrdmqUnysCJ8rw==", + "version": "10.1.0", + "license": "MIT", "dependencies": { "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", @@ -13883,9 +13306,9 @@ "graceful-fs": "^4.2.6", "make-fetch-happen": "^13.0.0", "nopt": "^7.0.0", - "proc-log": "^4.1.0", + "proc-log": "^3.0.0", "semver": "^7.3.5", - "tar": "^6.2.1", + "tar": "^6.1.2", "which": "^4.0.0" }, "bin": { @@ -13895,10 +13318,16 @@ "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/pacote/node_modules/node-gyp/node_modules/proc-log": { + "version": "3.0.0", + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/pacote/node_modules/nopt": { "version": "7.2.1", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.1.tgz", - "integrity": "sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==", + "license": "ISC", "dependencies": { "abbrev": "^2.0.0" }, @@ -13951,16 +13380,14 @@ }, "node_modules/pacote/node_modules/proc-log": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.2.0.tgz", - "integrity": "sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==", + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/pacote/node_modules/ssri": { "version": "10.0.6", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", - "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "license": "ISC", "dependencies": { "minipass": "^7.0.3" }, @@ -13970,8 +13397,7 @@ }, "node_modules/pacote/node_modules/unique-filename": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", - "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "license": "ISC", "dependencies": { "unique-slug": "^4.0.0" }, @@ -13981,8 +13407,7 @@ }, "node_modules/pacote/node_modules/unique-slug": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", - "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4" }, @@ -13992,8 +13417,7 @@ }, "node_modules/pacote/node_modules/which": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", + "license": "ISC", "dependencies": { "isexe": "^3.1.1" }, @@ -14006,9 +13430,8 @@ }, "node_modules/parent-module": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, + "license": "MIT", "dependencies": { "callsites": "^3.0.0" }, @@ -14016,6 +13439,14 @@ "node": ">=6" } }, + "node_modules/parent-module/node_modules/callsites": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/parse-conflict-json": { "version": "2.0.2", "dev": true, @@ -14056,18 +13487,16 @@ }, "node_modules/parse-path": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.0.0.tgz", - "integrity": "sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==", "dev": true, + "license": "MIT", "dependencies": { "protocols": "^2.0.0" } }, "node_modules/parse-url": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-8.1.0.tgz", - "integrity": "sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==", "dev": true, + "license": "MIT", "dependencies": { "parse-path": "^7.0.0" } @@ -14106,8 +13535,7 @@ }, "node_modules/path-scurry": { "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^10.2.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" @@ -14245,10 +13673,8 @@ }, "node_modules/popper.js": { "version": "1.16.1", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", - "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", - "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", "dev": true, + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/popperjs" @@ -14281,11 +13707,38 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/postcss-url": { + "version": "10.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "make-dir": "~3.1.0", + "mime": "~2.5.2", + "minimatch": "~3.0.4", + "xxhashjs": "~0.2.2" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-url/node_modules/minimatch": { + "version": "3.0.8", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/postcss-values-parser": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/postcss-values-parser/-/postcss-values-parser-6.0.2.tgz", - "integrity": "sha512-YLJpK0N1brcNJrs9WatuJFtHaV9q5aAOj+S4DI5S7jgHlRfm0PIbDCAFRYMQD5SHq7Fy6xsDhyutgS0QOAs0qw==", "dev": true, + "license": "MPL-2.0", "dependencies": { "color-name": "^1.1.4", "is-url-superb": "^4.0.0", @@ -14300,9 +13753,8 @@ }, "node_modules/precinct": { "version": "11.0.5", - "resolved": "https://registry.npmjs.org/precinct/-/precinct-11.0.5.tgz", - "integrity": "sha512-oHSWLC8cL/0znFhvln26D14KfCQFFn4KOLSw6hmLhd+LQ2SKt9Ljm89but76Pc7flM9Ty1TnXyrA2u16MfRV3w==", "dev": true, + "license": "MIT", "dependencies": { "@dependents/detective-less": "^4.1.0", "commander": "^10.0.1", @@ -14326,26 +13778,23 @@ }, "node_modules/precinct/node_modules/commander": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } }, "node_modules/prelude-ls": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/pretty-format": { "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -14357,8 +13806,7 @@ }, "node_modules/pretty-format/node_modules/ansi-styles": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -14382,8 +13830,7 @@ }, "node_modules/prettyjson": { "version": "1.2.5", - "resolved": "https://registry.npmjs.org/prettyjson/-/prettyjson-1.2.5.tgz", - "integrity": "sha512-rksPWtoZb2ZpT5OVgtmy0KHVM+Dca3iVwWY9ifwhcexfjebtgjg3wmrUt9PvJ59XIYBcknQeYHD8IAnVlh9lAw==", + "license": "MIT", "dependencies": { "colors": "1.4.0", "minimist": "^1.2.0" @@ -14457,15 +13904,13 @@ }, "node_modules/proto-list": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/protocols": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz", - "integrity": "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/punycode": { "version": "2.1.1", @@ -14517,9 +13962,8 @@ }, "node_modules/quote-unquote": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/quote-unquote/-/quote-unquote-1.0.0.tgz", - "integrity": "sha512-twwRO/ilhlG/FIgYeKGFqyHhoEhqgnKVkcmqMKi2r524gz3ZbDTcyFt38E9xjJI2vT+KbRNHVbnJ/e0I25Azwg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/range-parser": { "version": "1.2.0", @@ -14553,13 +13997,11 @@ }, "node_modules/react-is": { "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==" + "license": "MIT" }, "node_modules/read": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/read/-/read-3.0.1.tgz", - "integrity": "sha512-SLBrDU/Srs/9EoWhU5GdbAoxG1GzpQHo/6qiGItaoLJ1thmYpcNIM1qISEUvyHBzfGlWIyd6p2DNi1oV1VmAuw==", + "license": "ISC", "dependencies": { "mute-stream": "^1.0.0" }, @@ -14669,9 +14111,8 @@ }, "node_modules/read-pkg": { "version": "9.0.1", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-9.0.1.tgz", - "integrity": "sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==", "dev": true, + "license": "MIT", "dependencies": { "@types/normalize-package-data": "^2.4.3", "normalize-package-data": "^6.0.0", @@ -14688,9 +14129,8 @@ }, "node_modules/read-pkg/node_modules/parse-json": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.1.0.tgz", - "integrity": "sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.22.13", "index-to-position": "^0.1.2", @@ -14704,10 +14144,9 @@ } }, "node_modules/read-pkg/node_modules/type-fest": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.24.0.tgz", - "integrity": "sha512-spAaHzc6qre0TlZQQ2aA/nGMe+2Z/wyGk5Z+Ru2VUfdNwT6kWO6TjevOlpebsATEG1EIQ2sOiDszud3lO5mt/Q==", + "version": "4.20.1", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" }, @@ -14717,9 +14156,8 @@ }, "node_modules/readable-stream": { "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -14766,23 +14204,21 @@ } }, "node_modules/rename-overwrite": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/rename-overwrite/-/rename-overwrite-6.0.0.tgz", - "integrity": "sha512-njyKyIyxYix8yklXAd5Jrp2otBFZdzD8069W/LaqhRpXqpdQpIb0ZEcheX25IdpX2LBpsGl3Qk+NRD/M7S27wg==", + "version": "5.0.0", "dev": true, + "license": "MIT", "dependencies": { - "@zkochan/rimraf": "^3.0.2", + "@zkochan/rimraf": "^2.1.2", "fs-extra": "10.1.0" }, "engines": { - "node": ">=18" + "node": ">=12.10" } }, "node_modules/rename-overwrite/node_modules/fs-extra": { "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -14808,9 +14244,8 @@ }, "node_modules/require-from-string": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -14825,6 +14260,7 @@ "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.7.tgz", "integrity": "sha512-DouTG8T1WanGok6Qjg2SXuCMzszOo0eHeH9hDZ5Y4x8Je+9JB38HdTLT4/VA8OaUhBa0JPVHJ0pyBkM1z+pDsw==", "dev": true, + "license": "MIT", "bin": { "r_js": "bin/r.js", "r.js": "bin/r.js" @@ -14835,9 +14271,8 @@ }, "node_modules/requirejs-config-file": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/requirejs-config-file/-/requirejs-config-file-4.0.0.tgz", - "integrity": "sha512-jnIre8cbWOyvr8a5F2KuqBnY+SDA4NXr/hzEZJG79Mxm2WiFQz2dzhC8ibtPJS7zkmBEl1mxSwp5HhC1W4qpxw==", "dev": true, + "license": "MIT", "dependencies": { "esprima": "^4.0.0", "stringify-object": "^3.2.1" @@ -14848,9 +14283,8 @@ }, "node_modules/resolve": { "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, + "license": "MIT", "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -14876,9 +14310,8 @@ }, "node_modules/resolve-dependency-path": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/resolve-dependency-path/-/resolve-dependency-path-3.0.2.tgz", - "integrity": "sha512-Tz7zfjhLfsvR39ADOSk9us4421J/1ztVBo4rWUkF38hgHK5m0OCZ3NxFVpqHRkjctnwVa15igEUHFJp8MCS7vA==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } @@ -14923,64 +14356,51 @@ "license": "MIT" }, "node_modules/rimraf": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", - "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", + "version": "5.0.7", + "license": "ISC", "dependencies": { "glob": "^10.3.7" }, "bin": { "rimraf": "dist/esm/bin.mjs" }, + "engines": { + "node": ">=14.18" + }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/rimraf/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.3.15", + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" + "jackspeak": "^2.3.6", + "minimatch": "^9.0.1", + "minipass": "^7.0.4", + "path-scurry": "^1.11.0" }, "bin": { "glob": "dist/esm/bin.mjs" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", - "dependencies": { - "@isaacs/cliui": "^8.0.2" + "engines": { + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" } }, "node_modules/rimraf/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "9.0.4", + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -14992,13 +14412,20 @@ } }, "node_modules/rimraf/node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "version": "7.1.1", + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } }, + "node_modules/run-async": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, "node_modules/run-parallel": { "version": "1.2.0", "funding": [ @@ -15044,9 +14471,8 @@ }, "node_modules/sass-lookup": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/sass-lookup/-/sass-lookup-5.0.1.tgz", - "integrity": "sha512-t0X5PaizPc2H4+rCwszAqHZRtr4bugo4pgiCvrBFvIX0XFxnr29g77LJcpyj9A0DcKf7gXMLcgvRjsonYI6x4g==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^10.0.1" }, @@ -15059,17 +14485,20 @@ }, "node_modules/sass-lookup/node_modules/commander": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } }, + "node_modules/select": { + "version": "1.1.2", + "dev": true, + "license": "MIT" + }, "node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.6.2", + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -15104,9 +14533,8 @@ }, "node_modules/serve": { "version": "14.2.3", - "resolved": "https://registry.npmjs.org/serve/-/serve-14.2.3.tgz", - "integrity": "sha512-VqUFMC7K3LDGeGnJM9h56D3XGKb6KGgOw0cVNtA26yYXHCcpxf3xwCTUaQoWlVS7i8Jdh3GjQkOB23qsXyjoyQ==", "dev": true, + "license": "MIT", "dependencies": { "@zeit/schemas": "2.36.0", "ajv": "8.12.0", @@ -15163,9 +14591,8 @@ }, "node_modules/serve/node_modules/ajv": { "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -15195,9 +14622,8 @@ }, "node_modules/serve/node_modules/json-schema-traverse": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/set-blocking": { "version": "2.0.0", @@ -15206,9 +14632,8 @@ }, "node_modules/shallow-clone": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", "dev": true, + "license": "MIT", "dependencies": { "kind-of": "^6.0.2" }, @@ -15242,13 +14667,11 @@ } }, "node_modules/shiki": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.12.1.tgz", - "integrity": "sha512-nwmjbHKnOYYAe1aaQyEBHvQymJgfm86ZSS7fT8OaPRr4sbAcBNz7PbfAikMEFSDQ6se2j2zobkXvVKcBOm0ysg==", + "version": "1.10.0", "dev": true, + "license": "MIT", "dependencies": { - "@shikijs/core": "1.12.1", - "@types/hast": "^3.0.4" + "@shikijs/core": "1.10.0" } }, "node_modules/signal-exit": { @@ -15286,9 +14709,8 @@ }, "node_modules/slice-ansi": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.0.0", "is-fullwidth-code-point": "^4.0.0" @@ -15302,9 +14724,8 @@ }, "node_modules/slice-ansi/node_modules/ansi-styles": { "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -15314,9 +14735,8 @@ }, "node_modules/slice-ansi/node_modules/is-fullwidth-code-point": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -15359,9 +14779,8 @@ }, "node_modules/sort-keys": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-5.0.0.tgz", - "integrity": "sha512-Pdz01AvCAottHTPQGzndktFNdbRA75BgOfeT1hH+AMnJFv8lynkPi42rfeEhpx1saTEI3YNMWxfqu0sFD1G8pw==", "dev": true, + "license": "MIT", "dependencies": { "is-plain-obj": "^4.0.0" }, @@ -15399,8 +14818,6 @@ }, "node_modules/spawn-command": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2.tgz", - "integrity": "sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ==", "dev": true }, "node_modules/spdx-correct": { @@ -15427,6 +14844,11 @@ "version": "3.0.11", "license": "CC0-1.0" }, + "node_modules/split.js": { + "version": "1.6.5", + "dev": true, + "license": "MIT" + }, "node_modules/sprintf-js": { "version": "1.0.3", "dev": true, @@ -15467,9 +14889,8 @@ }, "node_modules/stack-utils": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^2.0.0" }, @@ -15487,9 +14908,8 @@ }, "node_modules/stream-to-array": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/stream-to-array/-/stream-to-array-2.3.0.tgz", - "integrity": "sha512-UsZtOYEn4tWU2RGLOXr/o/xjRBftZRlG3dEWoaHr8j4GuypJ3isitGbVyjQKAuMu+xbiop8q224TjiZWc4XTZA==", "dev": true, + "license": "MIT", "dependencies": { "any-promise": "^1.1.0" } @@ -15504,8 +14924,7 @@ }, "node_modules/streamroller": { "version": "3.1.5", - "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.1.5.tgz", - "integrity": "sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw==", + "license": "MIT", "dependencies": { "date-format": "^4.0.14", "debug": "^4.3.4", @@ -15517,8 +14936,7 @@ }, "node_modules/streamroller/node_modules/fs-extra": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^4.0.0", @@ -15530,16 +14948,14 @@ }, "node_modules/streamroller/node_modules/jsonfile": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "license": "MIT", "optionalDependencies": { "graceful-fs": "^4.1.6" } }, "node_modules/streamroller/node_modules/universalify": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "license": "MIT", "engines": { "node": ">= 4.0.0" } @@ -15591,9 +15007,8 @@ }, "node_modules/stringify-object": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", - "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "get-own-enumerable-property-symbols": "^3.0.0", "is-obj": "^1.0.1", @@ -15667,9 +15082,8 @@ }, "node_modules/strong-log-transformer": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", - "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "duplexer": "^0.1.1", "minimist": "^1.2.0", @@ -15684,9 +15098,8 @@ }, "node_modules/stylus-lookup": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/stylus-lookup/-/stylus-lookup-5.0.1.tgz", - "integrity": "sha512-tLtJEd5AGvnVy4f9UHQMw4bkJJtaAcmo54N+ovQBjDY3DuWyK9Eltxzr5+KG0q4ew6v2EHyuWWNnHeiw/Eo7rQ==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^10.0.1" }, @@ -15699,9 +15112,8 @@ }, "node_modules/stylus-lookup/node_modules/commander": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } @@ -15787,13 +15199,12 @@ } }, "node_modules/symlink-dir": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/symlink-dir/-/symlink-dir-6.0.1.tgz", - "integrity": "sha512-R9HTWD5jyZSBEASmWNTWQRQ8qXO11eMjPzHiN5nVoIIvIoxXwVvZws2Z/0AO5oo+i/gsRjPUk9e3etKiWu8i/w==", + "version": "6.0.0", "dev": true, + "license": "MIT", "dependencies": { "better-path-resolve": "^1.0.0", - "rename-overwrite": "^6.0.0" + "rename-overwrite": "^5.0.0" }, "bin": { "symlink-dir": "dist/cli.js" @@ -15804,9 +15215,8 @@ }, "node_modules/tapable": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -15846,9 +15256,8 @@ }, "node_modules/temp-dir": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", - "integrity": "sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" } @@ -15884,6 +15293,22 @@ "node": ">=4" } }, + "node_modules/tiny-emitter": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/tmp": { + "version": "0.0.33", + "dev": true, + "license": "MIT", + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, "node_modules/tmpl": { "version": "1.0.5", "dev": true, @@ -15909,9 +15334,8 @@ }, "node_modules/tr46": { "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/tree-kill": { "version": "1.2.2", @@ -15942,9 +15366,8 @@ }, "node_modules/ts-graphviz": { "version": "1.8.2", - "resolved": "https://registry.npmjs.org/ts-graphviz/-/ts-graphviz-1.8.2.tgz", - "integrity": "sha512-5YhbFoHmjxa7pgQLkB07MtGnGJ/yhvjmc9uhsnDBEICME6gkPf83SBwLDQqGDoCa3XzUMWLk1AU2Wn1u1naDtA==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -15954,13 +15377,11 @@ } }, "node_modules/ts-jest": { - "version": "29.2.4", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.4.tgz", - "integrity": "sha512-3d6tgDyhCI29HlpwIq87sNuI+3Q6GLTTCeYRHCs7vDz+/3GCMwEtV9jezLyl4ZtnBgx00I7hm8PCP8cTksMGrw==", + "version": "29.1.5", "dev": true, + "license": "MIT", "dependencies": { "bs-logger": "0.x", - "ejs": "^3.1.10", "fast-json-stable-stringify": "2.x", "jest-util": "^29.0.0", "json5": "^2.2.3", @@ -16059,9 +15480,8 @@ }, "node_modules/tsconfig-paths": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", - "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", "dev": true, + "license": "MIT", "dependencies": { "json5": "^2.2.2", "minimist": "^1.2.6", @@ -16073,9 +15493,8 @@ }, "node_modules/tsconfig-paths/node_modules/strip-bom": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -16280,9 +15699,8 @@ }, "node_modules/type-check": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -16300,9 +15718,8 @@ }, "node_modules/type-fest": { "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -16310,11 +15727,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, "node_modules/typedoc": { - "version": "0.26.5", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.5.tgz", - "integrity": "sha512-Vn9YKdjKtDZqSk+by7beZ+xzkkr8T8CYoiasqyt4TTRFy5+UHzL/mF/o4wGBjRF+rlWQHDb0t6xCpA3JNL5phg==", + "version": "0.26.3", "dev": true, + "license": "Apache-2.0", "dependencies": { "lunr": "^2.3.9", "markdown-it": "^14.1.0", @@ -16334,18 +15758,16 @@ }, "node_modules/typedoc/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/typedoc/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -16357,10 +15779,9 @@ } }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.5.3", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -16391,15 +15812,13 @@ }, "node_modules/undici-types": { "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/unicorn-magic": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", - "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -16425,9 +15844,8 @@ }, "node_modules/universal-user-agent": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", - "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/universalify": { "version": "2.0.0", @@ -16438,9 +15856,8 @@ }, "node_modules/upath": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", - "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", "dev": true, + "license": "MIT", "engines": { "node": ">=4", "yarn": "*" @@ -16492,6 +15909,11 @@ "punycode": "^2.1.0" } }, + "node_modules/url-search-params-polyfill": { + "version": "8.2.5", + "dev": true, + "license": "MIT" + }, "node_modules/util-deprecate": { "version": "1.0.2", "dev": true, @@ -16522,8 +15944,7 @@ }, "node_modules/validate-npm-package-name": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz", - "integrity": "sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==", + "license": "ISC", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -16579,9 +16000,8 @@ }, "node_modules/webidl-conversions": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/well-known-symbols": { "version": "2.0.0", @@ -16593,9 +16013,8 @@ }, "node_modules/whatwg-url": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "dev": true, + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -16685,9 +16104,8 @@ }, "node_modules/word-wrap": { "version": "1.2.5", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", - "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -16746,59 +16164,43 @@ } }, "node_modules/write-json-file": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-6.0.0.tgz", - "integrity": "sha512-MNHcU3f9WxnNyR6MxsYSj64Jz0+dwIpisWKWq9gqLj/GwmA9INg3BZ3vt70/HB3GEwrnDQWr4RPrywnhNzmUFA==", + "version": "5.0.0", "dev": true, + "license": "MIT", "dependencies": { - "detect-indent": "^7.0.1", - "is-plain-obj": "^4.1.0", + "detect-indent": "^7.0.0", + "is-plain-obj": "^4.0.0", "sort-keys": "^5.0.0", - "write-file-atomic": "^5.0.1" + "write-file-atomic": "^3.0.3" }, "engines": { - "node": ">=18" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/write-json-file/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/write-json-file/node_modules/write-file-atomic": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", - "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "version": "3.0.3", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", - "signal-exit": "^4.0.1" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" } }, "node_modules/write-package": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/write-package/-/write-package-7.1.0.tgz", - "integrity": "sha512-DqUx8GI3r9BFWwU2DPKddL1E7xWfbFED82mLVhGXKlFEPe8IkBftzO7WfNwHtk7oGDHDeuH/o8VMpzzfMwmLUA==", + "version": "7.0.1", "dev": true, + "license": "MIT", "dependencies": { - "deepmerge-ts": "^7.1.0", - "read-pkg": "^9.0.1", + "deepmerge-ts": "^5.1.0", + "read-pkg": "^9.0.0", "sort-keys": "^5.0.0", - "type-fest": "^4.23.0", - "write-json-file": "^6.0.0" + "type-fest": "^4.6.0", + "write-json-file": "^5.0.0" }, "engines": { "node": ">=18" @@ -16808,10 +16210,9 @@ } }, "node_modules/write-package/node_modules/type-fest": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.24.0.tgz", - "integrity": "sha512-spAaHzc6qre0TlZQQ2aA/nGMe+2Z/wyGk5Z+Ru2VUfdNwT6kWO6TjevOlpebsATEG1EIQ2sOiDszud3lO5mt/Q==", + "version": "4.20.1", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" }, @@ -16832,21 +16233,28 @@ "node": ">=8.0" } }, - "node_modules/y18n": { - "version": "4.0.3", + "node_modules/xxhashjs": { + "version": "0.2.2", "dev": true, - "license": "ISC" - }, + "license": "MIT", + "dependencies": { + "cuint": "^0.2.2" + } + }, + "node_modules/y18n": { + "version": "4.0.3", + "dev": true, + "license": "ISC" + }, "node_modules/yallist": { "version": "3.1.1", "dev": true, "license": "ISC" }, "node_modules/yaml": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz", - "integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==", + "version": "2.4.5", "dev": true, + "license": "ISC", "bin": { "yaml": "bin.mjs" }, @@ -16856,8 +16264,7 @@ }, "node_modules/yargs": { "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "license": "MIT", "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", @@ -16873,16 +16280,14 @@ }, "node_modules/yargs-parser": { "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/yargs/node_modules/cliui": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", @@ -16894,8 +16299,7 @@ }, "node_modules/yargs/node_modules/y18n": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", "engines": { "node": ">=10" } @@ -16919,10 +16323,9 @@ } }, "node_modules/yoctocolors-cjs": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz", - "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==", + "version": "2.1.1", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -16980,17 +16383,15 @@ }, "packages/cli/node_modules/isexe": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", - "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", "dev": true, + "license": "ISC", "engines": { "node": ">=16" } }, "packages/cli/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -17003,9 +16404,8 @@ }, "packages/cli/node_modules/which": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^3.1.1" }, @@ -17107,7 +16507,8 @@ }, "packages/imperative/node_modules/agent-base": { "version": "7.1.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", "dependencies": { "debug": "^4.3.4" }, @@ -17117,8 +16518,7 @@ }, "packages/imperative/node_modules/diff": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", - "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } @@ -17139,8 +16539,7 @@ }, "packages/imperative/node_modules/diff2html/node_modules/diff": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", - "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } @@ -17155,7 +16554,8 @@ }, "packages/imperative/node_modules/http-proxy-agent": { "version": "7.0.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" @@ -17166,7 +16566,8 @@ }, "packages/imperative/node_modules/https-proxy-agent": { "version": "7.0.4", - "license": "MIT", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", + "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", "dependencies": { "agent-base": "^7.0.2", "debug": "4" @@ -17182,15 +16583,22 @@ "node": ">=16" } }, + "packages/imperative/node_modules/scroll-into-view-if-needed": { + "version": "2.2.22", + "dev": true, + "license": "MIT", + "dependencies": { + "compute-scroll-into-view": "^1.0.12" + } + }, "packages/imperative/node_modules/uuid": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", "dev": true, "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -17229,281 +16637,6 @@ "postcss-url": "^10.1.3" } }, - "packages/imperative/web-help/node_modules/@types/jquery": { - "version": "3.5.30", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/sizzle": "*" - } - }, - "packages/imperative/web-help/node_modules/@types/jstree": { - "version": "3.3.46", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/jquery": "*" - } - }, - "packages/imperative/web-help/node_modules/@types/sizzle": { - "version": "2.3.8", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/balloon-css": { - "version": "1.2.0", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/bootstrap": { - "version": "4.6.2", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/twbs" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/bootstrap" - } - ], - "license": "MIT", - "peerDependencies": { - "jquery": "1.9.1 - 3", - "popper.js": "^1.16.1" - } - }, - "packages/imperative/web-help/node_modules/brace-expansion": { - "version": "1.1.11", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "packages/imperative/web-help/node_modules/clipboard": { - "version": "2.0.11", - "dev": true, - "license": "MIT", - "dependencies": { - "good-listener": "^1.2.2", - "select": "^1.1.2", - "tiny-emitter": "^2.0.0" - } - }, - "packages/imperative/web-help/node_modules/compute-scroll-into-view": { - "version": "1.0.20", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/concat-map": { - "version": "0.0.1", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/cuint": { - "version": "0.2.2", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/delegate": { - "version": "3.2.0", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/github-markdown-css": { - "version": "5.6.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/imperative/web-help/node_modules/good-listener": { - "version": "1.2.2", - "dev": true, - "license": "MIT", - "dependencies": { - "delegate": "^3.1.2" - } - }, - "packages/imperative/web-help/node_modules/jquery": { - "version": "3.7.1", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/jstree": { - "version": "3.3.16", - "dev": true, - "license": "MIT", - "dependencies": { - "jquery": "^3.5.0" - } - }, - "packages/imperative/web-help/node_modules/make-dir": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/imperative/web-help/node_modules/mime": { - "version": "2.5.2", - "dev": true, - "license": "MIT", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "packages/imperative/web-help/node_modules/minimatch": { - "version": "3.0.8", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "packages/imperative/web-help/node_modules/nanoid": { - "version": "3.3.7", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "packages/imperative/web-help/node_modules/picocolors": { - "version": "1.0.1", - "dev": true, - "license": "ISC" - }, - "packages/imperative/web-help/node_modules/postcss": { - "version": "8.4.41", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.0.1", - "source-map-js": "^1.2.0" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "packages/imperative/web-help/node_modules/postcss-url": { - "version": "10.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "make-dir": "~3.1.0", - "mime": "~2.5.2", - "minimatch": "~3.0.4", - "xxhashjs": "~0.2.2" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "postcss": "^8.0.0" - } - }, - "packages/imperative/web-help/node_modules/scroll-into-view-if-needed": { - "version": "2.2.22", - "dev": true, - "license": "MIT", - "dependencies": { - "compute-scroll-into-view": "^1.0.12" - } - }, - "packages/imperative/web-help/node_modules/select": { - "version": "1.1.2", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "packages/imperative/web-help/node_modules/source-map-js": { - "version": "1.2.0", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "packages/imperative/web-help/node_modules/split.js": { - "version": "1.6.5", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/tiny-emitter": { - "version": "2.1.0", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/url-search-params-polyfill": { - "version": "8.2.5", - "dev": true, - "license": "MIT" - }, - "packages/imperative/web-help/node_modules/xxhashjs": { - "version": "0.2.2", - "dev": true, - "license": "MIT", - "dependencies": { - "cuint": "^0.2.2" - } - }, "packages/provisioning": { "name": "@zowe/provisioning-for-zowe-sdk", "version": "8.0.0-next.202407311544", @@ -17605,8 +16738,7 @@ }, "packages/zosfiles/node_modules/minimatch": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" },