@automattic/vip
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -38,3 +38,3 @@ #!/usr/bin/env node | ||
console.log('You are successfully logged out.'); | ||
}).command('app', 'List and modify your VIP Go apps').command('sync', 'Sync production to a development environment').argv(process.argv); | ||
}).command('app', 'List and modify your VIP Go apps').command('sync', 'Sync production to a development environment').command('wp', 'Run WP CLI commands against an environment').argv(process.argv); | ||
} else { | ||
@@ -41,0 +41,0 @@ // Bypass helper function |
@@ -7,2 +7,3 @@ "use strict"; | ||
exports.default = API; | ||
exports.API_URL = exports.API_HOST = void 0; | ||
@@ -25,3 +26,6 @@ var _apolloClient = require("apollo-client"); | ||
// Config | ||
const API_URL = process.env.API_URL || 'https://api.wpvip.com/graphql'; | ||
const API_HOST = process.env.API_HOST || 'https://api.wpvip.com'; | ||
exports.API_HOST = API_HOST; | ||
const API_URL = `${API_HOST}/graphql`; | ||
exports.API_URL = API_URL; | ||
@@ -28,0 +32,0 @@ async function API() { |
@@ -106,3 +106,3 @@ "use strict"; | ||
if (this.sub[_opts.requiredArgs] && 0 > subCommands.indexOf(this.sub[_opts.requiredArgs])) { | ||
if (!_opts.wildcardCommand && this.sub[_opts.requiredArgs] && 0 > subCommands.indexOf(this.sub[_opts.requiredArgs])) { | ||
const subcommand = this.sub.join(' '); | ||
@@ -394,3 +394,4 @@ await (0, _tracker.trackEvent)('command_validation_error', { | ||
requireConfirm: false, | ||
requiredArgs: 0 | ||
requiredArgs: 0, | ||
wildcardCommand: false | ||
}, opts); | ||
@@ -397,0 +398,0 @@ const a = _args.default; |
{ | ||
"name": "@automattic/vip", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "The VIP Go Javascript library & CLI", | ||
@@ -10,3 +10,4 @@ "main": "index.js", | ||
"vip-app-list": "dist/bin/vip-app-list.js", | ||
"vip-sync": "dist/bin/vip-sync.js" | ||
"vip-sync": "dist/bin/vip-sync.js", | ||
"vip-wp": "dist/bin/vip-wp.js" | ||
}, | ||
@@ -59,11 +60,11 @@ "scripts": { | ||
"eslines": "1.1.0", | ||
"eslint": "5.12.1", | ||
"eslint": "5.13.0", | ||
"eslint-config-wpvip": "github:automattic/eslint-config-wpvip#84ba8eb", | ||
"eslint-plugin-flowtype": "3.2.1", | ||
"eslint-plugin-import": "2.14.0", | ||
"eslint-plugin-flowtype": "3.4.1", | ||
"eslint-plugin-import": "2.16.0", | ||
"eslint-plugin-json": "1.3.2", | ||
"eslint-plugin-jsx-a11y": "6.1.2", | ||
"eslint-plugin-jsx-a11y": "6.2.1", | ||
"eslint-plugin-react": "7.12.4", | ||
"eslint-plugin-wpcalypso": "4.0.2", | ||
"flow-bin": "0.91.0", | ||
"flow-bin": "0.92.1", | ||
"jest": "23.6.0", | ||
@@ -93,2 +94,4 @@ "mock-local-storage": "1.0.5", | ||
"single-line-log": "~1.1.2", | ||
"socket.io-client": "^2.2.0", | ||
"socket.io-stream": "^0.9.1", | ||
"update-notifier": "~2.5.0", | ||
@@ -95,0 +98,0 @@ "uuid": "~3.3.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
61446
33
1610
23
+ Addedsocket.io-client@^2.2.0
+ Addedsocket.io-stream@^0.9.1
+ Addedafter@0.8.2(transitive)
+ Addedarraybuffer.slice@0.0.7(transitive)
+ Addedbacko2@1.0.2(transitive)
+ Addedbase64-arraybuffer@0.1.4(transitive)
+ Addedblob@0.0.5(transitive)
+ Addedcomponent-bind@1.0.0(transitive)
+ Addedcomponent-emitter@1.3.1(transitive)
+ Addedcomponent-inherit@0.0.3(transitive)
+ Addeddebug@2.2.03.1.0(transitive)
+ Addedengine.io-client@3.5.4(transitive)
+ Addedengine.io-parser@2.2.1(transitive)
+ Addedhas-binary2@1.0.3(transitive)
+ Addedhas-cors@1.1.0(transitive)
+ Addedindexof@0.0.1(transitive)
+ Addedisarray@2.0.1(transitive)
+ Addedms@0.7.12.0.0(transitive)
+ Addedparseqs@0.0.6(transitive)
+ Addedparseuri@0.0.6(transitive)
+ Addedsocket.io-client@2.5.0(transitive)
+ Addedsocket.io-parser@3.3.4(transitive)
+ Addedsocket.io-stream@0.9.1(transitive)
+ Addedto-array@0.1.4(transitive)
+ Addedws@7.5.10(transitive)
+ Addedxmlhttprequest-ssl@1.6.3(transitive)
+ Addedyeast@0.1.2(transitive)