Socket
Socket
Sign inDemoInstall

@hubspot/cms-cli

Package Overview
Dependencies
364
Maintainers
12
Versions
134
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.1.4

15

lib/commonOpts.js

@@ -38,3 +38,16 @@ const Logger = require('@hubspot/cms-lib/logger');

const addTestingOptions = program => {
program.option('--qa', 'run command in qa mode', false);
const qaFlagOption = '--qa';
program.option(qaFlagOption, 'run command in qa mode', false);
// This allows us to hide the output of this option in the help text
// because commander does not support hiding it
// see https://github.com/tj/commander.js/issues/811
program.help(output => {
return output
.split('\n')
.filter(
helpTextLineContent => helpTextLineContent.indexOf(qaFlagOption) === -1
)
.join('\n');
});
};

@@ -41,0 +54,0 @@

6

package.json
{
"name": "@hubspot/cms-cli",
"version": "1.1.3",
"version": "1.1.4",
"description": "CLI for interacting with the HubSpot CMS",

@@ -12,3 +12,3 @@ "license": "Apache-2.0",

"@hubspot/api-auth-lib": "^1.1.3-beta.0",
"@hubspot/cms-lib": "^1.1.3-beta.1",
"@hubspot/cms-lib": "^1.1.4",
"commander": "^2.16.0",

@@ -31,3 +31,3 @@ "inquirer": "^6.3.1",

},
"gitHead": "835e375ebe039e01049eb38cd91e22a7dcbb0125"
"gitHead": "65b9cb9892dd6c398dbb1b4076a2f6c8be18dd15"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc