diff --git a/packages/cli/commands/accounts/clean.js b/packages/cli/commands/accounts/clean.js index 5f90db847..d07856b52 100644 --- a/packages/cli/commands/accounts/clean.js +++ b/packages/cli/commands/accounts/clean.js @@ -15,7 +15,7 @@ const { } = require('../../lib/commonOpts'); const { getAccountName } = require('../../lib/sandboxes'); const { promptUser } = require('../../lib/prompts/promptUtils'); -const { getTableContents } = require('@hubspot/cli-lib/lib/table'); +const { getTableContents } = require('@hubspot/local-dev-lib/logging/table'); const SpinniesManager = require('../../lib/SpinniesManager'); const { getConfig, deleteAccount } = require('@hubspot/local-dev-lib/config'); const { diff --git a/packages/cli/commands/accounts/info.js b/packages/cli/commands/accounts/info.js index cf57bcc38..74e7d9b9e 100644 --- a/packages/cli/commands/accounts/info.js +++ b/packages/cli/commands/accounts/info.js @@ -8,7 +8,7 @@ const { } = require('../../lib/commonOpts'); const { loadAndValidateOptions } = require('../../lib/validation'); const { i18n } = require('../../lib/lang'); -const { getTableContents } = require('@hubspot/cli-lib/lib/table'); +const { getTableContents } = require('@hubspot/local-dev-lib/logging/table'); const i18nKey = 'cli.commands.accounts.subcommands.info'; exports.describe = i18n(`${i18nKey}.describe`); diff --git a/packages/cli/commands/accounts/list.js b/packages/cli/commands/accounts/list.js index 53b756029..9bd9fbc88 100644 --- a/packages/cli/commands/accounts/list.js +++ b/packages/cli/commands/accounts/list.js @@ -3,7 +3,7 @@ const { getConfig, getConfigPath } = require('@hubspot/local-dev-lib/config'); const { getTableContents, getTableHeader, -} = require('@hubspot/cli-lib/lib/table'); +} = require('@hubspot/local-dev-lib/logging/table'); const { addConfigOptions, diff --git a/packages/cli/commands/cms/convertFields.js b/packages/cli/commands/cms/convertFields.js index a61b59df4..cc681b4b7 100644 --- a/packages/cli/commands/cms/convertFields.js +++ b/packages/cli/commands/cms/convertFields.js @@ -3,7 +3,7 @@ const fs = require('fs'); const { createIgnoreFilter } = require('@hubspot/local-dev-lib/ignoreRules'); const { isAllowedExtension, getCwd } = require('@hubspot/cli-lib/path'); const { logger } = require('@hubspot/cli-lib/logger'); -const { walk } = require('@hubspot/cli-lib/lib/walk'); +const { walk } = require('@hubspot/local-dev-lib/fs'); const { getThemeJSONPath } = require('@hubspot/cli-lib/lib/files'); const { i18n } = require('../../lib/lang'); const { @@ -12,6 +12,7 @@ const { } = require('@hubspot/cli-lib/lib/handleFieldsJs'); const { trackConvertFieldsUsage } = require('../../lib/usageTracking'); +const { logErrorInstance } = require('@hubspot/cli-lib/errorHandlers'); const i18nKey = 'cli.commands.convertFields'; exports.command = 'convert-fields'; @@ -54,7 +55,12 @@ exports.handler = async options => { if (fieldsJs.rejected) return; fieldsJs.saveOutput(); } else if (stats.isDirectory()) { - const filePaths = await walk(src); + let filePaths = []; + try { + filePaths = await walk(src); + } catch (e) { + logErrorInstance(e); + } const allowedFilePaths = filePaths .filter(file => { if (!isAllowedExtension(file)) { diff --git a/packages/cli/commands/cms/lighthouseScore.js b/packages/cli/commands/cms/lighthouseScore.js index e5d8bf06a..58b2b5860 100644 --- a/packages/cli/commands/cms/lighthouseScore.js +++ b/packages/cli/commands/cms/lighthouseScore.js @@ -9,7 +9,7 @@ const { logger } = require('@hubspot/cli-lib/logger'); const { getTableContents, getTableHeader, -} = require('@hubspot/cli-lib/lib/table'); +} = require('@hubspot/local-dev-lib/logging/table'); const { loadAndValidateOptions } = require('../../lib/validation'); const { promptUser } = require('../../lib/prompts/promptUtils'); const { i18n } = require('../../lib/lang'); diff --git a/packages/cli/commands/customObject/schema/create.js b/packages/cli/commands/customObject/schema/create.js index 87dfb2fcf..14fee318d 100644 --- a/packages/cli/commands/customObject/schema/create.js +++ b/packages/cli/commands/customObject/schema/create.js @@ -18,7 +18,7 @@ const { createSchema } = require('@hubspot/cli-lib/api/schema'); const { createSchema: createSchemaFromHubFile, } = require('@hubspot/cli-lib/api/fileTransport'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { i18n } = require('../../../lib/lang'); const i18nKey = diff --git a/packages/cli/commands/customObject/schema/update.js b/packages/cli/commands/customObject/schema/update.js index 2024bc782..21cc314dd 100644 --- a/packages/cli/commands/customObject/schema/update.js +++ b/packages/cli/commands/customObject/schema/update.js @@ -18,7 +18,7 @@ const { updateSchema } = require('@hubspot/cli-lib/api/schema'); const { updateSchema: updateSchemaFromHubFile, } = require('@hubspot/cli-lib/api/fileTransport'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { i18n } = require('../../../lib/lang'); const i18nKey = diff --git a/packages/cli/commands/functions/list.js b/packages/cli/commands/functions/list.js index 83bf607b1..af4c06813 100644 --- a/packages/cli/commands/functions/list.js +++ b/packages/cli/commands/functions/list.js @@ -8,7 +8,7 @@ const { getFunctionArrays } = require('../../lib/getFunctionArrays'); const { getTableContents, getTableHeader, -} = require('@hubspot/cli-lib/lib/table'); +} = require('@hubspot/local-dev-lib/logging/table'); const { addConfigOptions, diff --git a/packages/cli/commands/project/dev.js b/packages/cli/commands/project/dev.js index 03dc70303..21280777a 100644 --- a/packages/cli/commands/project/dev.js +++ b/packages/cli/commands/project/dev.js @@ -57,7 +57,7 @@ const { const { buildSandbox } = require('../../lib/sandbox-create'); const { syncSandbox } = require('../../lib/sandbox-sync'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { logApiErrorInstance, ApiErrorContext, diff --git a/packages/cli/commands/project/listBuilds.js b/packages/cli/commands/project/listBuilds.js index 0d6627653..b76fe9f75 100644 --- a/packages/cli/commands/project/listBuilds.js +++ b/packages/cli/commands/project/listBuilds.js @@ -20,7 +20,7 @@ const { const { getTableContents, getTableHeader, -} = require('@hubspot/cli-lib/lib/table'); +} = require('@hubspot/local-dev-lib/logging/table'); const { getCwd } = require('@hubspot/cli-lib/path'); const { uiBetaTag, uiLink } = require('../../lib/ui'); const { loadAndValidateOptions } = require('../../lib/validation'); diff --git a/packages/cli/commands/project/logs.js b/packages/cli/commands/project/logs.js index 6b8688fe7..025905581 100644 --- a/packages/cli/commands/project/logs.js +++ b/packages/cli/commands/project/logs.js @@ -1,5 +1,5 @@ const { getEnv } = require('@hubspot/local-dev-lib/config'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { ENVIRONMENTS } = require('@hubspot/cli-lib/lib/constants'); const { addAccountOptions, @@ -17,7 +17,7 @@ const { const { getTableContents, getTableHeader, -} = require('@hubspot/cli-lib/lib/table'); +} = require('@hubspot/local-dev-lib/logging/table'); // const { // getProjectAppFunctionLogs, // getLatestProjectAppFunctionLog, diff --git a/packages/cli/commands/sandbox/create.js b/packages/cli/commands/sandbox/create.js index ffe0fbe3f..6b43d5131 100644 --- a/packages/cli/commands/sandbox/create.js +++ b/packages/cli/commands/sandbox/create.js @@ -34,7 +34,7 @@ const { promptUser } = require('../../lib/prompts/promptUtils'); const { syncSandbox } = require('../../lib/sandbox-sync'); const { logErrorInstance } = require('../../lib/errorHandlers/standardErrors'); const { isMissingScopeError } = require('../../lib/errorHandlers/apiErrors'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const i18nKey = 'cli.commands.sandbox.subcommands.create'; diff --git a/packages/cli/commands/sandbox/delete.js b/packages/cli/commands/sandbox/delete.js index 47ed5639e..f3e24f3ff 100644 --- a/packages/cli/commands/sandbox/delete.js +++ b/packages/cli/commands/sandbox/delete.js @@ -16,7 +16,7 @@ const { isSpecifiedError, isSpecifiedHubSpotAuthError, } = require('../../lib/errorHandlers/apiErrors'); -const { deleteSandbox } = require('@hubspot/cli-lib/sandboxes'); +const { deleteSandbox } = require('@hubspot/local-dev-lib/sandboxes'); const { i18n } = require('../../lib/lang'); const { deleteSandboxPrompt } = require('../../lib/prompts/sandboxesPrompt'); const { @@ -31,7 +31,7 @@ const { } = require('../../lib/prompts/accountsPrompt'); const { EXIT_CODES } = require('../../lib/enums/exitCodes'); const { promptUser } = require('../../lib/prompts/promptUtils'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { getAccountName } = require('../../lib/sandboxes'); const { getValidEnv } = require('@hubspot/local-dev-lib/environment'); diff --git a/packages/cli/commands/sandbox/sync.js b/packages/cli/commands/sandbox/sync.js index e170573d2..40a64e1da 100644 --- a/packages/cli/commands/sandbox/sync.js +++ b/packages/cli/commands/sandbox/sync.js @@ -11,7 +11,7 @@ const { loadAndValidateOptions } = require('../../lib/validation'); const { i18n } = require('../../lib/lang'); const { EXIT_CODES } = require('../../lib/enums/exitCodes'); const { getAccountConfig, getEnv } = require('@hubspot/local-dev-lib/config'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { promptUser } = require('../../lib/prompts/promptUtils'); const { uiLine } = require('../../lib/ui'); const { diff --git a/packages/cli/lib/links.js b/packages/cli/lib/links.js index 1ccff9317..f20f0ccce 100644 --- a/packages/cli/lib/links.js +++ b/packages/cli/lib/links.js @@ -1,11 +1,11 @@ const { getEnv } = require('@hubspot/local-dev-lib/config'); const { ENVIRONMENTS } = require('@hubspot/cli-lib/lib/constants'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { logger } = require('@hubspot/cli-lib/logger'); const { getTableContents, getTableHeader, -} = require('@hubspot/cli-lib/lib/table'); +} = require('@hubspot/local-dev-lib/logging/table'); const open = require('open'); diff --git a/packages/cli/lib/oauth.js b/packages/cli/lib/oauth.js index 52023314b..48a7ce4f7 100644 --- a/packages/cli/lib/oauth.js +++ b/packages/cli/lib/oauth.js @@ -4,7 +4,7 @@ const OAuth2Manager = require('@hubspot/cli-lib/lib/models/OAuth2Manager'); const { getAccountConfig } = require('@hubspot/local-dev-lib/config'); const { addOauthToAccountConfig } = require('@hubspot/cli-lib/oauth'); const { handleExit } = require('./process'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { logger } = require('@hubspot/cli-lib/logger'); const { ENVIRONMENTS } = require('@hubspot/cli-lib/lib/constants'); diff --git a/packages/cli/lib/projectStructure.js b/packages/cli/lib/projectStructure.js index 71ee1b214..a24a842ef 100644 --- a/packages/cli/lib/projectStructure.js +++ b/packages/cli/lib/projectStructure.js @@ -1,7 +1,8 @@ const fs = require('fs'); const path = require('path'); -const { walk } = require('@hubspot/cli-lib/lib/walk'); +const { walk } = require('@hubspot/local-dev-lib/fs'); const { logger } = require('@hubspot/cli-lib/logger'); +const { logErrorInstance } = require('./errorHandlers/standardErrors'); const COMPONENT_TYPES = Object.freeze({ app: 'app', @@ -73,8 +74,13 @@ function getIsLegacyApp(appConfig, appPath) { async function findProjectComponents(projectSourceDir) { const components = []; + let projectFiles = []; - const projectFiles = await walk(projectSourceDir); + try { + projectFiles = await walk(projectSourceDir); + } catch (e) { + logErrorInstance(e); + } projectFiles.forEach(projectFile => { // Find app components diff --git a/packages/cli/lib/projects.js b/packages/cli/lib/projects.js index 98d8545b4..91e9de894 100644 --- a/packages/cli/lib/projects.js +++ b/packages/cli/lib/projects.js @@ -6,7 +6,7 @@ const chalk = require('chalk'); const findup = require('findup-sync'); const { logger } = require('@hubspot/cli-lib/logger'); const { getEnv } = require('@hubspot/local-dev-lib/config'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { ENVIRONMENTS, FEEDBACK_INTERVAL, diff --git a/packages/cli/lib/prompts/personalAccessKeyPrompt.js b/packages/cli/lib/prompts/personalAccessKeyPrompt.js index 8a81af1b5..29c8df377 100644 --- a/packages/cli/lib/prompts/personalAccessKeyPrompt.js +++ b/packages/cli/lib/prompts/personalAccessKeyPrompt.js @@ -4,7 +4,7 @@ const { DEFAULT_OAUTH_SCOPES, } = require('@hubspot/cli-lib/lib/constants'); const { deleteEmptyConfigFile } = require('@hubspot/local-dev-lib/config'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { logger } = require('@hubspot/cli-lib/logger'); const { promptUser } = require('./promptUtils'); const { accountNamePrompt } = require('./enterAccountNamePrompt'); diff --git a/packages/cli/lib/prompts/projectDevTargetAccountPrompt.js b/packages/cli/lib/prompts/projectDevTargetAccountPrompt.js index 451695fbe..1c600612e 100644 --- a/packages/cli/lib/prompts/projectDevTargetAccountPrompt.js +++ b/packages/cli/lib/prompts/projectDevTargetAccountPrompt.js @@ -3,7 +3,7 @@ const { i18n } = require('../lang'); const { uiAccountDescription, uiCommandReference } = require('../ui'); const { isSandbox, getAccountName } = require('../sandboxes'); const { getAccountId } = require('@hubspot/local-dev-lib/config'); -const { getSandboxUsageLimits } = require('@hubspot/cli-lib/sandboxes'); +const { getSandboxUsageLimits } = require('@hubspot/local-dev-lib/sandboxes'); const { logger } = require('@hubspot/cli-lib/logger'); const i18nKey = 'cli.lib.prompts.projectDevTargetAccountPrompt'; diff --git a/packages/cli/lib/sandbox-create.js b/packages/cli/lib/sandbox-create.js index 87cbb45cc..0a9df04e9 100644 --- a/packages/cli/lib/sandbox-create.js +++ b/packages/cli/lib/sandbox-create.js @@ -17,9 +17,9 @@ const { isMissingScopeError, isSpecifiedError, } = require('./errorHandlers/apiErrors'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { getEnv, getAccountId } = require('@hubspot/local-dev-lib/config'); -const { createSandbox } = require('@hubspot/cli-lib/sandboxes'); +const { createSandbox } = require('@hubspot/local-dev-lib/sandboxes'); const { getValidEnv } = require('@hubspot/local-dev-lib/environment'); const i18nKey = 'cli.lib.sandbox.create'; diff --git a/packages/cli/lib/sandbox-sync.js b/packages/cli/lib/sandbox-sync.js index 1c75bbf1d..a7d542fa4 100644 --- a/packages/cli/lib/sandbox-sync.js +++ b/packages/cli/lib/sandbox-sync.js @@ -1,5 +1,5 @@ const SpinniesManager = require('./SpinniesManager'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { logger } = require('@hubspot/cli-lib/logger'); const { i18n } = require('./lang'); const { @@ -10,7 +10,7 @@ const { sandboxTypeMap, syncTypes, } = require('./sandboxes'); -const { initiateSync } = require('@hubspot/cli-lib/sandboxes'); +const { initiateSync } = require('@hubspot/local-dev-lib/sandboxes'); const { debugErrorAndContext, logErrorInstance, diff --git a/packages/cli/lib/sandboxes.js b/packages/cli/lib/sandboxes.js index 41f1633d4..23793a6fd 100644 --- a/packages/cli/lib/sandboxes.js +++ b/packages/cli/lib/sandboxes.js @@ -11,7 +11,7 @@ const { fetchTaskStatus, fetchTypes, getSandboxUsageLimits, -} = require('@hubspot/cli-lib/sandboxes'); +} = require('@hubspot/local-dev-lib/sandboxes'); const { accountNameExistsInConfig, getConfig, @@ -21,7 +21,7 @@ const { } = require('@hubspot/local-dev-lib/config'); const CliProgressMultibarManager = require('./CliProgressMultibarManager'); const { promptUser } = require('./prompts/promptUtils'); -const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls'); +const { getHubSpotWebsiteOrigin } = require('@hubspot/local-dev-lib/urls'); const { personalAccessKeyPrompt, } = require('./prompts/personalAccessKeyPrompt'); diff --git a/packages/cli/lib/upload.js b/packages/cli/lib/upload.js index e48500654..c4337f267 100644 --- a/packages/cli/lib/upload.js +++ b/packages/cli/lib/upload.js @@ -1,16 +1,22 @@ const path = require('path'); -const { walk } = require('@hubspot/cli-lib/lib/walk'); +const { walk } = require('@hubspot/local-dev-lib/fs'); const { createIgnoreFilter } = require('@hubspot/local-dev-lib/ignoreRules'); const { fieldsJsPrompt } = require('../lib/prompts/cmsFieldPrompt'); const { isAllowedExtension } = require('@hubspot/cli-lib/path'); const { isConvertableFieldJs } = require('@hubspot/cli-lib/lib/handleFieldsJs'); +const { logErrorInstance } = require('./errorHandlers/standardErrors'); /* * Walks the src folder for files, filters them based on ignore filter. * If convertFields is true then will check for any JS fields conflicts (i.e., JS fields file and fields.json file) and prompt to resolve */ const getUploadableFileList = async (src, convertFields) => { - const filePaths = await walk(src); + let filePaths = []; + try { + filePaths = await walk(src); + } catch (e) { + logErrorInstance(e); + } const allowedFiles = filePaths .filter(file => { if (!isAllowedExtension(file)) { diff --git a/packages/cli/lib/usageTracking.js b/packages/cli/lib/usageTracking.js index 3aeba6080..12475f02c 100644 --- a/packages/cli/lib/usageTracking.js +++ b/packages/cli/lib/usageTracking.js @@ -1,4 +1,4 @@ -const { trackUsage } = require('@hubspot/cli-lib/api/fileMapper'); +const { trackUsage } = require('@hubspot/local-dev-lib/trackUsage'); const { isTrackingAllowed, getAccountConfig, @@ -138,7 +138,7 @@ const trackAuthAction = async (command, authType, step, accountId) => { step, }; try { - const response = await trackUsage( + await trackUsage( 'cli-interaction', EventClass.INTERACTION, usageTrackingEvent, @@ -146,8 +146,6 @@ const trackAuthAction = async (command, authType, step, accountId) => { ); logger.debug('Sent usage tracking command event: %o', usageTrackingEvent); - - return response; } catch (e) { logger.debug('Auth action tracking failed: %s', e.message); } diff --git a/packages/cli/package.json b/packages/cli/package.json index 38f963a9e..82d849c02 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@hubspot/cli-lib": "^7.0.0", - "@hubspot/local-dev-lib": "^0.0.9", + "@hubspot/local-dev-lib": "^0.0.10", "@hubspot/serverless-dev-runtime": "5.0.3-beta.1", "@hubspot/ui-extensions-dev-server": "^0.8.0", "archiver": "^5.3.0", diff --git a/packages/serverless-dev-runtime/lib/server.js b/packages/serverless-dev-runtime/lib/server.js index 36c9a429b..287afcf03 100644 --- a/packages/serverless-dev-runtime/lib/server.js +++ b/packages/serverless-dev-runtime/lib/server.js @@ -6,7 +6,7 @@ const { logger, setLogLevel, LOG_LEVEL } = require('@hubspot/cli-lib/logger'); const { getTableContents, getTableHeader, -} = require('@hubspot/cli-lib/lib/table'); +} = require('@hubspot/local-dev-lib/logging/table'); const { validateInputs } = require('./validation'); const { getValidatedFunctionData } = require('./data'); diff --git a/packages/serverless-dev-runtime/package.json b/packages/serverless-dev-runtime/package.json index 5e0d7a5a7..abedbed83 100644 --- a/packages/serverless-dev-runtime/package.json +++ b/packages/serverless-dev-runtime/package.json @@ -7,7 +7,7 @@ "license": "Apache-2.0", "dependencies": { "@hubspot/cli-lib": "^7.0.0", - "@hubspot/local-dev-lib": "^0.0.9", + "@hubspot/local-dev-lib": "^0.0.10", "body-parser": "^1.19.0", "chalk": "^4.1.0", "chokidar": "^3.4.3", diff --git a/packages/webpack-cms-plugins/package.json b/packages/webpack-cms-plugins/package.json index 91b36a2b3..acd35b24c 100644 --- a/packages/webpack-cms-plugins/package.json +++ b/packages/webpack-cms-plugins/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "@hubspot/cli-lib": "^7.0.0", - "@hubspot/local-dev-lib": "^0.0.9" + "@hubspot/local-dev-lib": "^0.0.10" }, "gitHead": "0659fd19cabc3645af431b177c11d0c1b089e0f8" } diff --git a/yarn.lock b/yarn.lock index 4dff7ee12..eb6f7f1b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -39,37 +39,37 @@ chalk "^2.4.2" "@babel/compat-data@^7.22.9": - version "7.23.2" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.2.tgz#6a12ced93455827037bfb5ed8492820d60fc32cc" - integrity sha512-0S9TQMmDHlqAZ2ITT95irXKfxN9bncq8ZCoJhun3nHL/lLUxd2NKBJYoNGWH7S0hz6fRQwWlAWn/ILM0C70KZQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.3.tgz#3febd552541e62b5e883a25eb3effd7c7379db11" + integrity sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ== "@babel/core@^7.1.0", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.7.5": - version "7.23.2" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.2.tgz#ed10df0d580fff67c5f3ee70fd22e2e4c90a9f94" - integrity sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.3.tgz#5ec09c8803b91f51cc887dedc2654a35852849c9" + integrity sha512-Jg+msLuNuCJDyBvFv5+OKOUjWMZgd85bKjbICd3zWrKAo+bJ49HJufi7CQE0q0uR8NGyO6xkCACScNqyjHSZew== dependencies: "@ampproject/remapping" "^2.2.0" "@babel/code-frame" "^7.22.13" - "@babel/generator" "^7.23.0" + "@babel/generator" "^7.23.3" "@babel/helper-compilation-targets" "^7.22.15" - "@babel/helper-module-transforms" "^7.23.0" + "@babel/helper-module-transforms" "^7.23.3" "@babel/helpers" "^7.23.2" - "@babel/parser" "^7.23.0" + "@babel/parser" "^7.23.3" "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.2" - "@babel/types" "^7.23.0" + "@babel/traverse" "^7.23.3" + "@babel/types" "^7.23.3" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.23.0", "@babel/generator@^7.7.2": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.0.tgz#df5c386e2218be505b34837acbcb874d7a983420" - integrity sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g== +"@babel/generator@^7.23.3", "@babel/generator@^7.7.2": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.3.tgz#86e6e83d95903fbe7613f448613b8b319f330a8e" + integrity sha512-keeZWAV4LU3tW0qRi19HRpabC/ilM0HRBBzf9/k8FFiG4KVpiv0FIy4hHfLfFQZNhziCTPTmd59zoyv6DNISzg== dependencies: - "@babel/types" "^7.23.0" + "@babel/types" "^7.23.3" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" @@ -112,10 +112,10 @@ dependencies: "@babel/types" "^7.22.15" -"@babel/helper-module-transforms@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz#3ec246457f6c842c0aee62a01f60739906f7047e" - integrity sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw== +"@babel/helper-module-transforms@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1" + integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== dependencies: "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-module-imports" "^7.22.15" @@ -175,10 +175,10 @@ chalk "^2.4.2" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.12.5", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719" - integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw== +"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.12.5", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.3.tgz#0ce0be31a4ca4f1884b5786057cadcb6c3be58f9" + integrity sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw== "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -216,9 +216,9 @@ "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-jsx@^7.7.2": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz#a6b68e84fb76e759fc3b93e901876ffabbe1d918" - integrity sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz#8f2e4f8a9b5f9aa16067e142c1ac9cd9f810f473" + integrity sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -272,9 +272,9 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz#aac8d383b062c5072c647a31ef990c1d0af90272" - integrity sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ== + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz#24f460c85dbbc983cd2b9c4994178bcc01df958f" + integrity sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -287,26 +287,26 @@ "@babel/parser" "^7.22.15" "@babel/types" "^7.22.15" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.12.5", "@babel/traverse@^7.23.2", "@babel/traverse@^7.7.2": - version "7.23.2" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.2.tgz#329c7a06735e144a506bdb2cad0268b7f46f4ad8" - integrity sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw== +"@babel/traverse@^7.1.0", "@babel/traverse@^7.12.5", "@babel/traverse@^7.23.2", "@babel/traverse@^7.23.3", "@babel/traverse@^7.7.2": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.3.tgz#26ee5f252e725aa7aca3474aa5b324eaf7908b5b" + integrity sha512-+K0yF1/9yR0oHdE0StHuEj3uTPzwwbrLGfNOndVJVV2TqA5+j3oljJUb4nmB954FLGjNem976+B+eDuLIjesiQ== dependencies: "@babel/code-frame" "^7.22.13" - "@babel/generator" "^7.23.0" + "@babel/generator" "^7.23.3" "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.23.0" - "@babel/types" "^7.23.0" + "@babel/parser" "^7.23.3" + "@babel/types" "^7.23.3" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.3.3": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.0.tgz#8c1f020c9df0e737e4e247c0619f58c68458aaeb" - integrity sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.3", "@babel/types@^7.3.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.3.tgz#d5ea892c07f2ec371ac704420f4dcdb07b5f9598" + integrity sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw== dependencies: "@babel/helper-string-parser" "^7.22.5" "@babel/helper-validator-identifier" "^7.22.20" @@ -529,10 +529,10 @@ table "^6.6.0" unixify "1.0.0" -"@hubspot/local-dev-lib@^0.0.9": - version "0.0.9" - resolved "https://registry.yarnpkg.com/@hubspot/local-dev-lib/-/local-dev-lib-0.0.9.tgz#5ae63c50ed5be5b14cad4e04dc717a7ba7c5a57b" - integrity sha512-6TlvIhAMsymODIEeEogyyjw57Rn/9ZXixkYr0zhxcPceFpwtHfWVbjUL+xzZNcVJCgw9ueU/JutZDPb6TLhj0A== +"@hubspot/local-dev-lib@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@hubspot/local-dev-lib/-/local-dev-lib-0.0.10.tgz#62ed26f631dca21591847cacc21d2b74fef6262f" + integrity sha512-/Mg0YpobcAhNffSOt7622GO6GLeUgAs228CNmZvyzptu/n2Hhp7uKJDMvBOgKtQtpvXxN0VtGOa1o5IEpURyAA== dependencies: address "^2.0.1" axios "^1.3.5" @@ -1929,14 +1929,14 @@ integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== "@types/yargs-parser@*": - version "21.0.2" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.2.tgz#7bd04c5da378496ef1695a1008bf8f71847a8b8b" - integrity sha512-5qcvofLPbfjmBfKaLfj/+f+Sbd6pN4zl7w7VSVI5uz7m9QZTuB2aZAa2uo1wHFBNN2x6g/SoTkXmd8mQnQF2Cw== + version "21.0.3" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" + integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== "@types/yargs@^15.0.0": - version "15.0.17" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.17.tgz#bea870ba551b43831bfaa75de2e4a3849c39322b" - integrity sha512-cj53I8GUcWJIgWVTSVe2L7NJAB5XWGdsoMosVvUgv1jEnMbAcsbaCzt1coUcyi8Sda5PgTWAooG8jNyDTD+CWA== + version "15.0.18" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.18.tgz#b7dda4339f4dde367ffe99650e18967108cea321" + integrity sha512-DDi2KmvAnNsT/EvU8jp1UR7pOJojBtJ3GLZ/uw1MUq4VbbESppPWoHUY4h0OB4BbEbGJiyEsmUcuZDZtoR+ZwQ== dependencies: "@types/yargs-parser" "*" @@ -2403,9 +2403,9 @@ aws4@^1.8.0: integrity sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg== axios@^1.0.0, axios@^1.3.5: - version "1.6.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.0.tgz#f1e5292f26b2fd5c2e66876adc5b06cdbd7d2102" - integrity sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg== + version "1.6.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.1.tgz#76550d644bf0a2d469a01f9244db6753208397d7" + integrity sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g== dependencies: follow-redirects "^1.15.0" form-data "^4.0.0" @@ -2884,9 +2884,9 @@ camelcase@^6.0.0, camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001541: - version "1.0.30001561" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz#752f21f56f96f1b1a52e97aae98c57c562d5d9da" - integrity sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw== + version "1.0.30001562" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001562.tgz#9d16c5fd7e9c592c4cd5e304bc0f75b0008b2759" + integrity sha512-kfte3Hym//51EdX4239i+Rmp20EsLIYGdPkERegTgU19hQWCRhsRFGKHTliUlsry53tv17K7n077Kqa0WJU4ng== capture-exit@^2.0.0: version "2.0.0" @@ -3980,9 +3980,9 @@ ejs@^3.1.7: jake "^10.8.5" electron-to-chromium@^1.4.535: - version "1.4.578" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.578.tgz#7a3510f333bcd55e87882799ebeb7518d6ab4d95" - integrity sha512-V0ZhSu1BQZKfG0yNEL6Dadzik8E1vAzfpVOapdSiT9F6yapEJ3Bk+4tZ4SMPdWiUchCgnM/ByYtBzp5ntzDMIA== + version "1.4.582" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.582.tgz#4908215182266793499ac57d80e2680d7dd9b3db" + integrity sha512-89o0MGoocwYbzqUUjc+VNpeOFSOK9nIdC5wY4N+PVUarUK0MtjyTjks75AZS2bW4Kl8MdewdFsWaH0jLy+JNoA== emittery@^0.10.2: version "0.10.2" @@ -4720,9 +4720,9 @@ findup-sync@^5.0.0: resolve-dir "^1.0.1" flat-cache@^3.0.4: - version "3.1.1" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.1.1.tgz#a02a15fdec25a8f844ff7cc658f03dd99eb4609b" - integrity sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q== + version "3.2.0" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee" + integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw== dependencies: flatted "^3.2.9" keyv "^4.5.3" @@ -5970,9 +5970,9 @@ isstream@~0.1.2: integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.1.tgz#c680fd1544600460367af5811866c34c44c6f3b1" - integrity sha512-opCrKqbthmq3SKZ10mFMQG9dk3fTa3quaOLD35kJa5ejwZHd9xAr+kLuziiZz2cG32s4lMZxNdmdcEQnTDP4+g== + version "3.2.2" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" + integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== istanbul-lib-instrument@^4.0.3: version "4.0.3" @@ -7715,9 +7715,11 @@ lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== "lru-cache@^9.1.1 || ^10.0.0": - version "10.0.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.1.tgz#0a3be479df549cca0e5d693ac402ff19537a6b7a" - integrity sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g== + version "10.0.2" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.2.tgz#34504678cc3266b09b8dfd6fab4e1515258271b7" + integrity sha512-Yj9mA8fPiVgOUpByoTZO5pNrcl5Yk37FcSHsUINpAsaBIEZIuqcCclDZJCVxqQShDsmYX8QG63svJiTbOATZwg== + dependencies: + semver "^7.3.5" madge@^4.0.1: version "4.0.2" @@ -9171,9 +9173,9 @@ prettier@^1.19.1: integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== prettier@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643" - integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg== + version "3.1.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.0.tgz#c6d16474a5f764ea1a4a373c593b779697744d5e" + integrity sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw== pretty-format@29.4.3: version "29.4.3"