From 086fc126e8ba7b17b832a4eb4046158063724cd9 Mon Sep 17 00:00:00 2001 From: Santese Smith <43831817+santese@users.noreply.github.com> Date: Mon, 3 Oct 2022 17:46:14 -0700 Subject: [PATCH] feat: switch to oclif core (#30) --- package.json | 29 ++--- src/commands/find-replace.ts | 12 +- src/commands/find.ts | 8 +- src/commands/login.ts | 6 +- src/commands/verify-all.ts | 8 +- src/commands/verify-by-title.ts | 12 +- src/commands/verify-expired.ts | 8 +- yarn.lock | 187 ++++++++++---------------------- 8 files changed, 97 insertions(+), 173 deletions(-) diff --git a/package.json b/package.json index d9d04a0..e016322 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "guru-cli", - "version": "1.0.2", + "version": "1.1.1", "description": "CLI tools for Guru KB (getguru.com)", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -43,23 +43,23 @@ "url": "https://github.com/pliancy/guru-cli" }, "devDependencies": { - "@digitalroute/cz-conventional-changelog-for-jira": "^7.4.0", + "@digitalroute/cz-conventional-changelog-for-jira": "7.4.0", "@pliancy/eslint-config-ts": "0.1.0", - "@pliancy/semantic-release-config-npm": "^2.2.0", - "@semantic-release/git": "^10.0.1", - "@semantic-release/github": "^8.0.6", - "@semantic-release/npm": "^9.0.1", + "@pliancy/semantic-release-config-npm": "2.2.0", + "@semantic-release/git": "10.0.1", + "@semantic-release/github": "8.0.6", + "@semantic-release/npm": "9.0.1", "@types/cli-progress": "3.9.0", - "@types/jest": "^29.1.0", + "@types/jest": "29.1.0", "@types/node": "17.0.21", - "commitizen": "^4.2.5", - "cz-conventional-changelog": "^3.3.0", + "commitizen": "4.2.5", + "cz-conventional-changelog": "3.3.0", "husky": "8.0.1", - "jest": "^29.1.1", + "jest": "29.1.1", "lint-staged": "13.0.3", - "npm-run-all": "^4.1.5", + "npm-run-all": "4.1.5", "rimraf": "3.0.2", - "semantic-release": "^19.0.5", + "semantic-release": "19.0.5", "ts-jest": "29.0.3", "ts-node": "10.9.1", "typescript": "4.8.4" @@ -71,13 +71,14 @@ "node": "14.20.1" }, "dependencies": { + "@oclif/core": "1.16.4", "axios": "0.27.2", "cac": "6.7.2", "chalk": "4.1.2", "cli-progress": "3.9.0", - "cli-ux": "6.0.9", "conf": "10.2.0", - "search-query-parser": "1.5.5" + "search-query-parser": "1.5.5", + "tslib": "2.4.0" }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ diff --git a/src/commands/find-replace.ts b/src/commands/find-replace.ts index 8f0c553..6384b02 100644 --- a/src/commands/find-replace.ts +++ b/src/commands/find-replace.ts @@ -1,5 +1,5 @@ import chalk from 'chalk' -import cliux from 'cli-ux' +import { CliUx } from '@oclif/core' import guru from '../lib/guruClient' import { GuruCardRaw } from '../lib/guru' @@ -22,7 +22,7 @@ export default async (cli: any): Promise => { ) .action(async (find: string, replace: string, filter: string, options: any) => { checkAuth() - cliux.action.start('Finding cards based on filter') + CliUx.ux.action.start('Finding cards based on filter') const cardsRaw = await guru.getAllCardsRaw() const filteredCards = handleCardsFilter(filter, cardsRaw, options, { raw: true, @@ -34,10 +34,10 @@ export default async (cli: any): Promise => { ) if (!matchedCards.length) { - cliux.action.stop(`❌ ${matchedCards.length} cards found matching "${find}"`) + CliUx.ux.action.stop(`❌ ${matchedCards.length} cards found matching "${find}"`) return } - cliux.action.stop(`✅ ${matchedCards.length} cards found matching "${find}"`) + CliUx.ux.action.stop(`✅ ${matchedCards.length} cards found matching "${find}"`) if (!options.confirm) { console.log('Preview:\n------------------------') @@ -81,14 +81,14 @@ export default async (cli: any): Promise => { } if (!options.force) { - const backup = await cliux.confirm( + const backup = await CliUx.ux.confirm( 'Would you like to backup card data before making changes? (RECOMMENDED) (Y/n)', ) if (backup) { await backupCards('./') } - const confirm = await cliux.confirm( + const confirm = await CliUx.ux.confirm( `This will replace all instances matching "${chalk.bold.redBright( find, )}" with ${chalk.bold.green(replace)} in ${ diff --git a/src/commands/find.ts b/src/commands/find.ts index 5d1ff30..bac5314 100644 --- a/src/commands/find.ts +++ b/src/commands/find.ts @@ -1,4 +1,4 @@ -import cliux from 'cli-ux' +import { CliUx } from '@oclif/core' import chalk from 'chalk' import guru from '../lib/guruClient' @@ -28,15 +28,15 @@ guru-cli find 'verifier:"^bob@example\\\\.com$"' .option('-i, --ignore-case', 'Ignore case in the finding regex string') .action(async (filter: string, options: any) => { checkAuth() - cliux.action.start('Searching for cards') + CliUx.ux.action.start('Searching for cards') const cardsRaw = await guru.getAllCardsRaw() const filteredCards = handleCardsFilter(filter, cardsRaw, options) as GuruCard[] if (!filteredCards.length) { - cliux.action.stop(`❌ ${filteredCards.length} cards found matching your filter`) + CliUx.ux.action.stop(`❌ ${filteredCards.length} cards found matching your filter`) return } - cliux.action.stop( + CliUx.ux.action.stop( `✅ ${filteredCards.length} cards matching your filter\n---------------------------`, ) filteredCards.map((card) => diff --git a/src/commands/login.ts b/src/commands/login.ts index d8ba84e..2d7a48a 100644 --- a/src/commands/login.ts +++ b/src/commands/login.ts @@ -1,4 +1,4 @@ -import cliux from 'cli-ux' +import { CliUx } from '@oclif/core' import config from '../config' import { Guru } from '../lib/guru' @@ -7,8 +7,8 @@ export default async (cli: any): Promise => { cli.command('login', 'login and save credentials for guru cli').action(async () => { config.clear() console.log('Login to Guru API\n------------------------') - const email = await cliux.prompt('Guru Admin Email') - const token = await cliux.prompt('Admin API Token') + const email = await CliUx.ux.prompt('Guru Admin Email') + const token = await CliUx.ux.prompt('Admin API Token') const g = new Guru({ email, token, diff --git a/src/commands/verify-all.ts b/src/commands/verify-all.ts index cb3ad04..7e4fc07 100644 --- a/src/commands/verify-all.ts +++ b/src/commands/verify-all.ts @@ -1,6 +1,6 @@ import chalk from 'chalk' import Progress from 'cli-progress' -import cliux from 'cli-ux' +import { CliUx } from '@oclif/core' import guru from '../lib/guruClient' import { GuruCard } from '../lib/guru' @@ -20,10 +20,10 @@ export default async (cli: any): Promise => { .option('-f, --force', 'Skip confirmation, BE CAREFUL WITH THIS OPTION!') .action(async (filter: string, options: any) => { checkAuth() - cliux.action.start('Gathering all unverified cards') + CliUx.ux.action.start('Gathering all unverified cards') const unverifiedCards = await guru.getAllUnverifiedCardsRaw() const filteredCards = handleCardsFilter(filter, unverifiedCards, options) as GuruCard[] - cliux.action.stop(`✅ ${filteredCards.length} unverified cards found.`) + CliUx.ux.action.stop(`✅ ${filteredCards.length} unverified cards found.`) if (!filteredCards.length) { console.log('You have no unverified cards currently!') @@ -36,7 +36,7 @@ export default async (cli: any): Promise => { } if (!options.force) { - const confirm = await cliux.confirm( + const confirm = await CliUx.ux.confirm( `This will verify ${filteredCards.length} cards currently in an unverified state. Continue? (Y/n)`, ) if (!confirm) return diff --git a/src/commands/verify-by-title.ts b/src/commands/verify-by-title.ts index 28d21ef..8c481e4 100644 --- a/src/commands/verify-by-title.ts +++ b/src/commands/verify-by-title.ts @@ -1,5 +1,5 @@ import chalk from 'chalk' -import cliux from 'cli-ux' +import { CliUx } from '@oclif/core' import guru from '../lib/guruClient' import { GuruCard } from '../lib/guru' @@ -12,7 +12,7 @@ export default async (cli: any): Promise => { .action(async (title: string, options?: any) => { checkAuth() - cliux.action.start('Searching for cards') + CliUx.ux.action.start('Searching for cards') const cardsRaw = await guru.getAllCardsRaw() let filteredCards = handleCardsFilter( `title:"^${title}$"`, @@ -27,11 +27,11 @@ export default async (cli: any): Promise => { } if (!filteredCards.length) { - cliux.action.stop(`❌ ${filteredCards.length} cards found matching your title`) + CliUx.ux.action.stop(`❌ ${filteredCards.length} cards found matching your title`) return } - cliux.action.stop( + CliUx.ux.action.stop( `✅ ${filteredCards.length} card${filteredCards.length > 1 ? 's' : ''} match${ filteredCards.length > 1 ? '' : 'es' } your collection and title\n---------------------------`, @@ -45,12 +45,12 @@ export default async (cli: any): Promise => { ), ) - const confirm = await cliux.confirm( + const confirm = await CliUx.ux.confirm( 'Do you wish to verify the identified card(s)? (Y/n)', ) if (!confirm) return - cliux.action.start(`Verifying ${title}`) + CliUx.ux.action.start(`Verifying ${title}`) for (const card of filteredCards) { await guru.verifyCardByID(card) diff --git a/src/commands/verify-expired.ts b/src/commands/verify-expired.ts index 41dd969..fe95f51 100644 --- a/src/commands/verify-expired.ts +++ b/src/commands/verify-expired.ts @@ -1,6 +1,6 @@ import chalk from 'chalk' import Progress from 'cli-progress' -import cliux from 'cli-ux' +import { CliUx } from '@oclif/core' import guru from '../lib/guruClient' import { GuruCard } from '../lib/guru' @@ -15,10 +15,10 @@ export default async (cli: any): Promise => { .option('-f, --force', 'Skip confirmation, BE CAREFUL WITH THIS OPTION!') .action(async (filter: string, options: any) => { checkAuth() - cliux.action.start('Gathering all expired cards') + CliUx.ux.action.start('Gathering all expired cards') const expiredCards = await guru.getAllExpiredCardsRaw() const filteredCards = handleCardsFilter(filter, expiredCards, options) as GuruCard[] - cliux.action.stop(`✅ ${filteredCards.length} expired cards found.`) + CliUx.ux.action.stop(`✅ ${filteredCards.length} expired cards found.`) if (!filteredCards.length) { console.log('You have no expired cards currently!') @@ -31,7 +31,7 @@ export default async (cli: any): Promise => { } if (!options.force) { - const confirm = await cliux.confirm( + const confirm = await CliUx.ux.confirm( `This will verify ${filteredCards.length} cards currently in expired state. Continue? (Y/n)`, ) if (!confirm) return diff --git a/yarn.lock b/yarn.lock index dabf479..b12d8e3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -359,9 +359,9 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@digitalroute/cz-conventional-changelog-for-jira@^7.4.0": +"@digitalroute/cz-conventional-changelog-for-jira@7.4.0": version "7.4.0" - resolved "https://registry.npmjs.org/@digitalroute/cz-conventional-changelog-for-jira/-/cz-conventional-changelog-for-jira-7.4.0.tgz" + resolved "https://registry.yarnpkg.com/@digitalroute/cz-conventional-changelog-for-jira/-/cz-conventional-changelog-for-jira-7.4.0.tgz#44175a74f7570f92f5cdb74674c19de7041518c0" integrity sha512-U6YWqLH2ki/opq3h50ASriBLwZUj6s6E5cuijIWtuEZHJFSRTHVebfGwy+l/pGM4EJLDLoWo2C7JxQjxuJZJHw== dependencies: "@ryansonshine/commitizen" "^4.2.8" @@ -453,9 +453,9 @@ jest-util "^29.1.2" slash "^3.0.0" -"@jest/core@^29.1.2": +"@jest/core@^29.1.1", "@jest/core@^29.1.2": version "29.1.2" - resolved "https://registry.npmjs.org/@jest/core/-/core-29.1.2.tgz" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.1.2.tgz#e5ce7a71e7da45156a96fb5eeed11d18b67bd112" integrity sha512-sCO2Va1gikvQU2ynDN8V4+6wB7iVrD2CvT0zaRst4rglf56yLly0NQ9nuRRAWFeimRf+tCdFsb1Vk1N9LrrMPA== dependencies: "@jest/console" "^29.1.2" @@ -622,7 +622,7 @@ slash "^3.0.0" write-file-atomic "^4.0.1" -"@jest/types@^29.1.2": +"@jest/types@^29.1.0", "@jest/types@^29.1.2": version "29.1.2" resolved "https://registry.npmjs.org/@jest/types/-/types-29.1.2.tgz" integrity sha512-DcXGtoTykQB5jiwCmVr8H4vdg2OJhQex3qPkG+ISyDO7xQXbt/4R6dowcRyPemRnkH7JoHvZuxPBdlq+9JxFCg== @@ -1013,9 +1013,9 @@ read-package-json-fast "^2.0.3" which "^2.0.2" -"@oclif/core@^1.1.1": +"@oclif/core@1.16.4": version "1.16.4" - resolved "https://registry.npmjs.org/@oclif/core/-/core-1.16.4.tgz" + resolved "https://registry.yarnpkg.com/@oclif/core/-/core-1.16.4.tgz#fafa338ada0624d7f1adac036302b05a37cd96d0" integrity sha512-l+xHtVMteJWeTZZ+f2yLyNjf69X0mhAH8GILXnmoAGAemXbc1DVstvloxOouarvm9xyHHhquzO1Qg5l6xa1VIw== dependencies: "@oclif/linewrap" "^1.0.0" @@ -1052,11 +1052,6 @@ resolved "https://registry.npmjs.org/@oclif/linewrap/-/linewrap-1.0.0.tgz" integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw== -"@oclif/screen@^1.0.4 ": - version "1.0.4" - resolved "https://registry.npmjs.org/@oclif/screen/-/screen-1.0.4.tgz" - integrity sha512-60CHpq+eqnTxLZQ4PGHYNwUX572hgpMHGPtTWMjdTMsAvlm69lZV/4ly6O3sAYkomo4NggGcomrDpBe34rxUqw== - "@oclif/screen@^3.0.2": version "3.0.2" resolved "https://registry.npmjs.org/@oclif/screen/-/screen-3.0.2.tgz" @@ -1273,9 +1268,9 @@ prettier "2.7.1" typescript "4.8.3" -"@pliancy/semantic-release-config-npm@^2.2.0": +"@pliancy/semantic-release-config-npm@2.2.0": version "2.2.0" - resolved "https://registry.npmjs.org/@pliancy/semantic-release-config-npm/-/semantic-release-config-npm-2.2.0.tgz" + resolved "https://registry.yarnpkg.com/@pliancy/semantic-release-config-npm/-/semantic-release-config-npm-2.2.0.tgz#c4a6b6c0f586e9c32db66f9b5e7440d5c5f08c47" integrity sha512-7U7YuY1dd6YcOcPt6WQURJKU+6ZgSz9a8UMecN/jC++Nc2+d6QCJlaUiDoRCnqmxBNrGz5TUG4ogCtQYAzVz2w== dependencies: "@semantic-release/git" "9.0.0" @@ -1353,30 +1348,30 @@ resolved "https://registry.yarnpkg.com/@semantic-release/error/-/error-3.0.0.tgz#30a3b97bbb5844d695eb22f9d3aa40f6a92770c2" integrity sha512-5hiM4Un+tpl4cKw3lV4UgzJj+SmfNIDCLLw0TepzQxz9ZGV5ixnqkzIVF+3tp0ZHgcMKE+VNGHJjEeyFG2dcSw== -"@semantic-release/git@9.0.0": - version "9.0.0" - resolved "https://registry.npmjs.org/@semantic-release/git/-/git-9.0.0.tgz" - integrity sha512-AZ4Zha5NAPAciIJH3ipzw/WU9qLAn8ENaoVAhD6srRPxTpTzuV3NhNh14rcAo8Paj9dO+5u4rTKcpetOBluYVw== +"@semantic-release/git@10.0.1": + version "10.0.1" + resolved "https://registry.yarnpkg.com/@semantic-release/git/-/git-10.0.1.tgz#c646e55d67fae623875bf3a06a634dd434904498" + integrity sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w== dependencies: - "@semantic-release/error" "^2.1.0" + "@semantic-release/error" "^3.0.0" aggregate-error "^3.0.0" debug "^4.0.0" dir-glob "^3.0.0" - execa "^4.0.0" + execa "^5.0.0" lodash "^4.17.4" micromatch "^4.0.0" p-reduce "^2.0.0" -"@semantic-release/git@^10.0.1": - version "10.0.1" - resolved "https://registry.yarnpkg.com/@semantic-release/git/-/git-10.0.1.tgz#c646e55d67fae623875bf3a06a634dd434904498" - integrity sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w== +"@semantic-release/git@9.0.0": + version "9.0.0" + resolved "https://registry.npmjs.org/@semantic-release/git/-/git-9.0.0.tgz" + integrity sha512-AZ4Zha5NAPAciIJH3ipzw/WU9qLAn8ENaoVAhD6srRPxTpTzuV3NhNh14rcAo8Paj9dO+5u4rTKcpetOBluYVw== dependencies: - "@semantic-release/error" "^3.0.0" + "@semantic-release/error" "^2.1.0" aggregate-error "^3.0.0" debug "^4.0.0" dir-glob "^3.0.0" - execa "^5.0.0" + execa "^4.0.0" lodash "^4.17.4" micromatch "^4.0.0" p-reduce "^2.0.0" @@ -1403,7 +1398,7 @@ p-retry "^4.0.0" url-join "^4.0.0" -"@semantic-release/github@^8.0.0", "@semantic-release/github@^8.0.6": +"@semantic-release/github@8.0.6", "@semantic-release/github@^8.0.0": version "8.0.6" resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-8.0.6.tgz#5235386d65a5d7d650dc10a6ebce908d213234f7" integrity sha512-ZxgaxYCeqt9ylm2x3OPqUoUqBw1p60LhxzdX6BqJlIBThupGma98lttsAbK64T6L6AlNa2G5T66BbiG8y0PIHQ== @@ -1444,7 +1439,7 @@ semver "^7.1.2" tempy "^1.0.0" -"@semantic-release/npm@^9.0.0", "@semantic-release/npm@^9.0.1": +"@semantic-release/npm@9.0.1", "@semantic-release/npm@^9.0.0": version "9.0.1" resolved "https://registry.yarnpkg.com/@semantic-release/npm/-/npm-9.0.1.tgz#d81828eb1fb771e2767b3a8ee989915e1af27075" integrity sha512-I5nVZklxBzfMFwemhRNbSrkiN/dsH3c7K9+KSk6jUnq0rdLFUuJt7EBsysq4Ir3moajQgFkfEryEHPqiKJj20g== @@ -1610,10 +1605,10 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@^29.1.0": - version "29.1.1" - resolved "https://registry.npmjs.org/@types/jest/-/jest-29.1.1.tgz" - integrity sha512-U9Ey07dGWl6fUFaIaUQUKWG5NoKi/zizeVQCGV8s4nSU0jPgqphVZvS64+8BtWYvrc3ZGw6wo943NSYPxkrp/g== +"@types/jest@29.1.0": + version "29.1.0" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.1.0.tgz#9cfbe1b0d4408f9732aaf37447460f10f2c71ce6" + integrity sha512-CqlKkMNaUhFSRvqVKniNhbcy9fc/Rj2cmFD5t8Jtu4HlHzSit27h7XKfP5kkxBeROQ8WAvQQmy93FIz9or8jKg== dependencies: expect "^29.0.0" pretty-format "^29.0.0" @@ -1888,7 +1883,7 @@ ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" -ansi-styles@^4.0.0, ansi-styles@^4.1.0, ansi-styles@^4.2.0, ansi-styles@^4.3.0: +ansi-styles@^4.0.0, ansi-styles@^4.1.0, ansi-styles@^4.3.0: version "4.3.0" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== @@ -2436,9 +2431,9 @@ clean-stack@^2.0.0: resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz" integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== -clean-stack@^3.0.0, clean-stack@^3.0.1: +clean-stack@^3.0.1: version "3.0.1" - resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-3.0.1.tgz" + resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-3.0.1.tgz#155bf0b2221bf5f4fba89528d24c5953f17fe3a8" integrity sha512-lR9wNiMRcVQjSB3a7xXGLuz4cr4wJuuXlaAEbRutGowQTmlp7R72/DOgN21e8jdwblMWl9UOJMJXarX94pzKdg== dependencies: escape-string-regexp "4.0.0" @@ -2516,37 +2511,6 @@ cli-truncate@^3.1.0: slice-ansi "^5.0.0" string-width "^5.0.0" -cli-ux@6.0.9: - version "6.0.9" - resolved "https://registry.npmjs.org/cli-ux/-/cli-ux-6.0.9.tgz" - integrity sha512-0Ku29QLf+P6SeBNWM7zyoJ49eKKOjxZBZ4OH2aFeRtC0sNXU3ftdJxQPKJ1SJ+axX34I1NsfTFahpXdnxklZgA== - dependencies: - "@oclif/core" "^1.1.1" - "@oclif/linewrap" "^1.0.0" - "@oclif/screen" "^1.0.4 " - ansi-escapes "^4.3.0" - ansi-styles "^4.2.0" - cardinal "^2.1.1" - chalk "^4.1.0" - clean-stack "^3.0.0" - cli-progress "^3.10.0" - extract-stack "^2.0.0" - fs-extra "^8.1" - hyperlinker "^1.0.0" - indent-string "^4.0.0" - is-wsl "^2.2.0" - js-yaml "^3.13.1" - lodash "^4.17.21" - natural-orderby "^2.0.1" - object-treeify "^1.1.4" - password-prompt "^1.1.2" - semver "^7.3.2" - string-width "^4.2.0" - strip-ansi "^6.0.0" - supports-color "^8.1.0" - supports-hyperlinks "^2.1.0" - tslib "^2.0.0" - cli-width@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz" @@ -2671,27 +2635,7 @@ commander@^9.3.0: resolved "https://registry.npmjs.org/commander/-/commander-9.4.1.tgz" integrity sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw== -commitizen@^4.0.3: - version "4.2.5" - resolved "https://registry.npmjs.org/commitizen/-/commitizen-4.2.5.tgz" - integrity sha512-9sXju8Qrz1B4Tw7kC5KhnvwYQN88qs2zbiB8oyMsnXZyJ24PPGiNM3nHr73d32dnE3i8VJEXddBFIbOgYSEXtQ== - dependencies: - cachedir "2.3.0" - cz-conventional-changelog "3.3.0" - dedent "0.7.0" - detect-indent "6.1.0" - find-node-modules "^2.1.2" - find-root "1.1.0" - fs-extra "9.1.0" - glob "7.2.3" - inquirer "8.2.4" - is-utf8 "^0.2.1" - lodash "4.17.21" - minimist "1.2.6" - strip-bom "4.0.0" - strip-json-comments "3.1.1" - -commitizen@^4.2.5: +commitizen@4.2.5, commitizen@^4.0.3: version "4.2.5" resolved "https://registry.yarnpkg.com/commitizen/-/commitizen-4.2.5.tgz#48e5a5c28334c6e8ed845cc24fc9f072efd3961e" integrity sha512-9sXju8Qrz1B4Tw7kC5KhnvwYQN88qs2zbiB8oyMsnXZyJ24PPGiNM3nHr73d32dnE3i8VJEXddBFIbOgYSEXtQ== @@ -2882,7 +2826,7 @@ cssesc@^3.0.0: resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== -cz-conventional-changelog@3.3.0, cz-conventional-changelog@^3.3.0: +cz-conventional-changelog@3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz#9246947c90404149b3fe2cf7ee91acad3b7d22d2" integrity sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw== @@ -3448,11 +3392,6 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" -extract-stack@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/extract-stack/-/extract-stack-2.0.0.tgz" - integrity sha512-AEo4zm+TenK7zQorGK1f9mJ8L14hnTDi2ZQPR+Mub1NX8zimka1mXpV5LpH8x9HoUmFSHZCfLHqWvp0Y4FxxzQ== - extsprintf@1.3.0, extsprintf@^1.2.0: version "1.3.0" resolved "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz" @@ -3676,15 +3615,6 @@ fs-extra@^10.0.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-extra@^8.1: - version "8.1.0" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz" - integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs-minipass@^2.0.0, fs-minipass@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz" @@ -4636,9 +4566,9 @@ jest-circus@^29.1.2: slash "^3.0.0" stack-utils "^2.0.3" -jest-cli@^29.1.2: +jest-cli@^29.1.1: version "29.1.2" - resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-29.1.2.tgz" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.1.2.tgz#423b9c5d3ea20a50b1354b8bf3f2a20e72110e89" integrity sha512-vsvBfQ7oS2o4MJdAH+4u9z76Vw5Q8WBQF5MchDbkylNknZdrPTX1Ix7YRJyTlOWqRaS7ue/cEAn+E4V1MWyMzw== dependencies: "@jest/core" "^29.1.2" @@ -4954,15 +4884,15 @@ jest-worker@^29.1.2: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^29.1.1: - version "29.1.2" - resolved "https://registry.npmjs.org/jest/-/jest-29.1.2.tgz" - integrity sha512-5wEIPpCezgORnqf+rCaYD1SK+mNN7NsstWzIsuvsnrhR/hSxXWd82oI7DkrbJ+XTD28/eG8SmxdGvukrGGK6Tw== +jest@29.1.1: + version "29.1.1" + resolved "https://registry.yarnpkg.com/jest/-/jest-29.1.1.tgz#22d9d828f01335ec17225bcb267fe669319983be" + integrity sha512-Doe41PZ8MvGLtOZIW2RIVu94wa7jm/N775BBloVXk/G/vV6VYnDCOxBwrqekEgrd3Pn/bv8b5UdB2x0pAoQpwQ== dependencies: - "@jest/core" "^29.1.2" - "@jest/types" "^29.1.2" + "@jest/core" "^29.1.1" + "@jest/types" "^29.1.0" import-local "^3.0.2" - jest-cli "^29.1.2" + jest-cli "^29.1.1" js-sdsl@^4.1.4: version "4.1.5" @@ -5049,13 +4979,6 @@ json5@^2.2.1: resolved "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz" integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz" - integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== - optionalDependencies: - graceful-fs "^4.1.6" - jsonfile@^6.0.1: version "6.1.0" resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz" @@ -5848,7 +5771,7 @@ natural-compare@^1.4.0: resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== -natural-orderby@^2.0.1, natural-orderby@^2.0.3: +natural-orderby@^2.0.3: version "2.0.3" resolved "https://registry.npmjs.org/natural-orderby/-/natural-orderby-2.0.3.tgz" integrity sha512-p7KTHxU0CUrcOXe62Zfrb5Z13nLvPhSWR/so3kFulUQU0sgUll2Z0LwpsLN351eOOD+hRGu/F1g+6xDfPeD++Q== @@ -6134,9 +6057,9 @@ npm-registry-fetch@^13.0.0, npm-registry-fetch@^13.0.1, npm-registry-fetch@^13.3 npm-package-arg "^9.0.1" proc-log "^2.0.0" -npm-run-all@^4.1.5: +npm-run-all@4.1.5: version "4.1.5" - resolved "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz" + resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba" integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ== dependencies: ansi-styles "^3.2.1" @@ -6376,9 +6299,9 @@ object-keys@^1.1.1: resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object-treeify@^1.1.33, object-treeify@^1.1.4: +object-treeify@^1.1.33: version "1.1.33" - resolved "https://registry.npmjs.org/object-treeify/-/object-treeify-1.1.33.tgz" + resolved "https://registry.yarnpkg.com/object-treeify/-/object-treeify-1.1.33.tgz#f06fece986830a3cba78ddd32d4c11d1f76cdf40" integrity sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A== object.assign@^4.1.4: @@ -7252,7 +7175,7 @@ semantic-release@17.4.2: signale "^1.2.1" yargs "^16.2.0" -semantic-release@^19.0.5: +semantic-release@19.0.5: version "19.0.5" resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-19.0.5.tgz#d7fab4b33fc20f1288eafd6c441e5d0938e5e174" integrity sha512-NMPKdfpXTnPn49FDogMBi36SiBfXkSOJqCkk0E4iWOY1tusvvgBwqUmxTX1kmlT6kIYed9YwNKD1sfPpqa5yaA== @@ -7726,9 +7649,9 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -supports-color@^8.0.0, supports-color@^8.1.0, supports-color@^8.1.1: +supports-color@^8.0.0, supports-color@^8.1.1: version "8.1.1" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== dependencies: has-flag "^4.0.0" @@ -7921,11 +7844,16 @@ tslib@^1.8.1: resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.1: +tslib@^2.1.0, tslib@^2.3.1: version "2.4.0" resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== +tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + tsutils@^3.21.0: version "3.21.0" resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz" @@ -8064,11 +7992,6 @@ universal-user-agent@^6.0.0: resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz" integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - universalify@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz"