@vonage/cli
Advanced tools
Comparing version 1.0.0-alpha.14 to 1.0.0-alpha.15
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -26,29 +11,2 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
}; | ||
var __generator = (this && this.__generator) || function (thisArg, body) { | ||
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | ||
function verb(n) { return function (v) { return step([n, v]); }; } | ||
function step(op) { | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
switch (op[0]) { | ||
case 0: case 1: t = op; break; | ||
case 4: _.label++; return { value: op[1], done: false }; | ||
case 5: _.label++; y = op[1]; op = [0]; continue; | ||
case 7: op = _.ops.pop(); _.trys.pop(); continue; | ||
default: | ||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | ||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | ||
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | ||
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | ||
if (t[2]) _.ops.pop(); | ||
_.trys.pop(); continue; | ||
} | ||
op = body.call(thisArg, _); | ||
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | ||
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | ||
} | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -58,26 +16,17 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var cli_utils_1 = __importDefault(require("@vonage/cli-utils")); | ||
var cli_ux_1 = __importDefault(require("cli-ux")); | ||
const cli_utils_1 = __importDefault(require("@vonage/cli-utils")); | ||
const cli_ux_1 = __importDefault(require("cli-ux")); | ||
// to-do - capabilities presentation not ideal | ||
var ConfigList = /** @class */ (function (_super) { | ||
__extends(ConfigList, _super); | ||
function ConfigList() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
class ConfigList extends cli_utils_1.default { | ||
run() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const flags = this.parsedFlags; | ||
this.log("~~~User Conifg~~~"); | ||
cli_ux_1.default.log(JSON.stringify(Object.assign({}, this.userConfig, flags))); | ||
}); | ||
} | ||
ConfigList.prototype.run = function () { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var flags; | ||
return __generator(this, function (_a) { | ||
flags = this.parsedFlags; | ||
this.log("~~~User Conifg~~~"); | ||
cli_ux_1.default.log(JSON.stringify(Object.assign({}, this.userConfig, flags))); | ||
return [2 /*return*/]; | ||
}); | ||
}); | ||
}; | ||
ConfigList.description = 'List Vonage CLI config'; | ||
ConfigList.examples = []; | ||
return ConfigList; | ||
}(cli_utils_1.default)); | ||
} | ||
exports.default = ConfigList; | ||
ConfigList.description = 'List Vonage CLI config'; | ||
ConfigList.examples = []; | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -37,34 +11,2 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
}; | ||
var __generator = (this && this.__generator) || function (thisArg, body) { | ||
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | ||
function verb(n) { return function (v) { return step([n, v]); }; } | ||
function step(op) { | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
switch (op[0]) { | ||
case 0: case 1: t = op; break; | ||
case 4: _.label++; return { value: op[1], done: false }; | ||
case 5: _.label++; y = op[1]; op = [0]; continue; | ||
case 7: op = _.ops.pop(); _.trys.pop(); continue; | ||
default: | ||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | ||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | ||
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | ||
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | ||
if (t[2]) _.ops.pop(); | ||
_.trys.pop(); continue; | ||
} | ||
op = body.call(thisArg, _); | ||
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | ||
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | ||
} | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -74,32 +16,25 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var cli_utils_1 = __importDefault(require("@vonage/cli-utils")); | ||
var command_1 = require("@oclif/command"); | ||
const cli_utils_1 = __importDefault(require("@vonage/cli-utils")); | ||
const command_1 = require("@oclif/command"); | ||
// import cli from 'cli-ux' | ||
// to-do - capabilities presentation not ideal | ||
var ConfigSet = /** @class */ (function (_super) { | ||
__extends(ConfigSet, _super); | ||
function ConfigSet() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
class ConfigSet extends cli_utils_1.default { | ||
run() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const flags = this.parsedFlags; | ||
//add start, stop process indicators | ||
this.saveConfig(Object.assign({}, this.userConfig, flags)); | ||
}); | ||
} | ||
ConfigSet.prototype.run = function () { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var flags; | ||
return __generator(this, function (_a) { | ||
flags = this.parsedFlags; | ||
//add start, stop process indicators | ||
this.saveConfig(Object.assign({}, this.userConfig, flags)); | ||
return [2 /*return*/]; | ||
}); | ||
}); | ||
}; | ||
ConfigSet.description = 'List Vonage CLI config'; | ||
ConfigSet.flags = __assign(__assign({}, cli_utils_1.default.flags), { 'apiKey': command_1.flags.string({ | ||
description: 'Vonage API Key', | ||
}), 'apiSecret': command_1.flags.string({ | ||
description: 'Vonage API Key', | ||
}) }); | ||
ConfigSet.args = __spreadArray([], cli_utils_1.default.args); | ||
return ConfigSet; | ||
}(cli_utils_1.default)); | ||
} | ||
exports.default = ConfigSet; | ||
ConfigSet.description = 'List Vonage CLI config'; | ||
ConfigSet.flags = Object.assign(Object.assign({}, cli_utils_1.default.flags), { 'apiKey': command_1.flags.string({ | ||
description: 'Vonage API Key', | ||
}), 'apiSecret': command_1.flags.string({ | ||
description: 'Vonage API Key', | ||
}) }); | ||
ConfigSet.args = [ | ||
...cli_utils_1.default.args, | ||
]; | ||
//# sourceMappingURL=set.js.map |
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -26,29 +11,2 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
}; | ||
var __generator = (this && this.__generator) || function (thisArg, body) { | ||
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | ||
function verb(n) { return function (v) { return step([n, v]); }; } | ||
function step(op) { | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
switch (op[0]) { | ||
case 0: case 1: t = op; break; | ||
case 4: _.label++; return { value: op[1], done: false }; | ||
case 5: _.label++; y = op[1]; op = [0]; continue; | ||
case 7: op = _.ops.pop(); _.trys.pop(); continue; | ||
default: | ||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | ||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | ||
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | ||
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | ||
if (t[2]) _.ops.pop(); | ||
_.trys.pop(); continue; | ||
} | ||
op = body.call(thisArg, _); | ||
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | ||
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | ||
} | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -58,35 +16,24 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var cli_utils_1 = __importDefault(require("@vonage/cli-utils")); | ||
const cli_utils_1 = __importDefault(require("@vonage/cli-utils")); | ||
// import { OutputFlags } from '@oclif/parser'; | ||
// import cli from 'cli-ux' | ||
// to-do - capabilities presentation not ideal | ||
var ConfigUnset = /** @class */ (function (_super) { | ||
__extends(ConfigUnset, _super); | ||
function ConfigUnset() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
class ConfigUnset extends cli_utils_1.default { | ||
run() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
// const flags = this.parsedFlags as OutputFlags<typeof ConfigUnset.flags> | ||
// const args = this.parsedArgs!; | ||
this.log("Not quite functional"); | ||
}); | ||
} | ||
ConfigUnset.prototype.run = function () { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
// const flags = this.parsedFlags as OutputFlags<typeof ConfigUnset.flags> | ||
// const args = this.parsedArgs!; | ||
this.log("Not quite functional"); | ||
return [2 /*return*/]; | ||
}); | ||
catch(error) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
this.log(error); | ||
}); | ||
}; | ||
ConfigUnset.prototype.catch = function (error) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
this.log(error); | ||
return [2 /*return*/]; | ||
}); | ||
}); | ||
}; | ||
ConfigUnset.description = 'Unset Vonage CLI config values'; | ||
ConfigUnset.examples = []; | ||
ConfigUnset.args = []; | ||
return ConfigUnset; | ||
}(cli_utils_1.default)); | ||
} | ||
} | ||
exports.default = ConfigUnset; | ||
ConfigUnset.description = 'Unset Vonage CLI config values'; | ||
ConfigUnset.examples = []; | ||
ConfigUnset.args = []; | ||
//# sourceMappingURL=unset.js.map |
@@ -30,49 +30,14 @@ "use strict"; | ||
}; | ||
var __generator = (this && this.__generator) || function (thisArg, body) { | ||
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | ||
function verb(n) { return function (v) { return step([n, v]); }; } | ||
function step(op) { | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
switch (op[0]) { | ||
case 0: case 1: t = op; break; | ||
case 4: _.label++; return { value: op[1], done: false }; | ||
case 5: _.label++; y = op[1]; op = [0]; continue; | ||
case 7: op = _.ops.pop(); _.trys.pop(); continue; | ||
default: | ||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | ||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | ||
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | ||
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | ||
if (t[2]) _.ops.pop(); | ||
_.trys.pop(); continue; | ||
} | ||
op = body.call(thisArg, _); | ||
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | ||
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | ||
} | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var fs = __importStar(require("fs-extra")); | ||
var path = __importStar(require("path")); | ||
const fs = __importStar(require("fs-extra")); | ||
const path = __importStar(require("path")); | ||
function isExists(path) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _a; | ||
return __generator(this, function (_b) { | ||
switch (_b.label) { | ||
case 0: | ||
_b.trys.push([0, 2, , 3]); | ||
return [4 /*yield*/, fs.access(path)]; | ||
case 1: | ||
_b.sent(); | ||
return [2 /*return*/, true]; | ||
case 2: | ||
_a = _b.sent(); | ||
return [2 /*return*/, false]; | ||
case 3: return [2 /*return*/]; | ||
} | ||
}); | ||
return __awaiter(this, void 0, void 0, function* () { | ||
try { | ||
yield fs.access(path); | ||
return true; | ||
} | ||
catch (_a) { | ||
return false; | ||
} | ||
}); | ||
@@ -82,47 +47,24 @@ } | ||
function writeFile(filePath, data) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var dirname, exist, err_1; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: | ||
_a.trys.push([0, 7, , 8]); | ||
dirname = path.dirname(filePath); | ||
return [4 /*yield*/, isExists(dirname)]; | ||
case 1: | ||
exist = _a.sent(); | ||
if (!!exist) return [3 /*break*/, 3]; | ||
return [4 /*yield*/, fs.mkdir(dirname)]; | ||
case 2: | ||
_a.sent(); | ||
_a.label = 3; | ||
case 3: return [4 /*yield*/, isExists(filePath)]; | ||
case 4: | ||
exist = _a.sent(); | ||
if (!!exist) return [3 /*break*/, 6]; | ||
return [4 /*yield*/, fs.writeFile(filePath, JSON.stringify({ apiKey: '', apiSecret: '' }, null, 2), 'utf8')]; | ||
case 5: | ||
_a.sent(); | ||
_a.label = 6; | ||
case 6: return [3 /*break*/, 8]; | ||
case 7: | ||
err_1 = _a.sent(); | ||
throw new Error(err_1); | ||
case 8: return [2 /*return*/]; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
try { | ||
const dirname = path.dirname(filePath); | ||
let exist = yield isExists(dirname); | ||
if (!exist) { | ||
yield fs.mkdir(dirname); | ||
} | ||
}); | ||
exist = yield isExists(filePath); | ||
if (!exist) { | ||
yield fs.writeFile(filePath, JSON.stringify({ apiKey: '', apiSecret: '' }, null, 2), 'utf8'); | ||
} | ||
} | ||
catch (err) { | ||
throw new Error(err); | ||
} | ||
}); | ||
} | ||
var hook = function (options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var name; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: | ||
name = path.join(this.config.configDir, 'vonage.config.json'); | ||
return [4 /*yield*/, writeFile(name, '')]; | ||
case 1: | ||
_a.sent(); | ||
return [2 /*return*/]; | ||
} | ||
}); | ||
const hook = function (options) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let name = path.join(this.config.configDir, 'vonage.config.json'); | ||
yield writeFile(name, ''); | ||
return; | ||
}); | ||
@@ -129,0 +71,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
{"version":"1.0.0-alpha.14","commands":{"config":{"id":"config","description":"List Vonage CLI config","pluginName":"@vonage/cli","pluginType":"core","aliases":[],"examples":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"apiKey":{"name":"apiKey","type":"option","hidden":true},"apiSecret":{"name":"apiSecret","type":"option","hidden":true}},"args":[]},"config:set":{"id":"config:set","description":"List Vonage CLI config","pluginName":"@vonage/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"apiKey":{"name":"apiKey","type":"option","description":"Vonage API Key"},"apiSecret":{"name":"apiSecret","type":"option","description":"Vonage API Key"}},"args":[]},"config:unset":{"id":"config:unset","description":"Unset Vonage CLI config values","pluginName":"@vonage/cli","pluginType":"core","aliases":[],"examples":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"apiKey":{"name":"apiKey","type":"option","hidden":true},"apiSecret":{"name":"apiSecret","type":"option","hidden":true}},"args":[]}}} | ||
{"version":"1.0.0-alpha.15","commands":{"config":{"id":"config","description":"List Vonage CLI config","pluginName":"@vonage/cli","pluginType":"core","aliases":[],"examples":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"apiKey":{"name":"apiKey","type":"option","hidden":true},"apiSecret":{"name":"apiSecret","type":"option","hidden":true}},"args":[]},"config:set":{"id":"config:set","description":"List Vonage CLI config","pluginName":"@vonage/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"apiKey":{"name":"apiKey","type":"option","description":"Vonage API Key"},"apiSecret":{"name":"apiSecret","type":"option","description":"Vonage API Key"}},"args":[]},"config:unset":{"id":"config:unset","description":"Unset Vonage CLI config values","pluginName":"@vonage/cli","pluginType":"core","aliases":[],"examples":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"apiKey":{"name":"apiKey","type":"option","hidden":true},"apiSecret":{"name":"apiSecret","type":"option","hidden":true}},"args":[]}}} |
{ | ||
"name": "@vonage/cli", | ||
"description": "CLI to interact with Vonage APIs", | ||
"version": "1.0.0-alpha.14", | ||
"version": "1.0.0-alpha.15", | ||
"author": "Vonage Dev Rel <devrel@vonage.com>", | ||
@@ -16,5 +16,5 @@ "bin": { | ||
"@types/fs-extra": "^5.0.2", | ||
"@vonage/cli-plugin-applications": "^1.0.0-alpha.14", | ||
"@vonage/cli-plugin-numbers": "^1.0.0-alpha.14", | ||
"@vonage/cli-utils": "^1.0.0-alpha.14", | ||
"@vonage/cli-plugin-applications": "^1.0.0-alpha.15", | ||
"@vonage/cli-plugin-numbers": "^1.0.0-alpha.15", | ||
"@vonage/cli-utils": "^1.0.0-alpha.15", | ||
"fs-extra": "^9.0.1", | ||
@@ -83,3 +83,3 @@ "tslib": "^2.1.0", | ||
}, | ||
"gitHead": "10fc845834020a033d59bb266f60c6607147eade" | ||
"gitHead": "d1b726b845564b452937bb201f6b1e3830b46a3a" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27168
207
+ Added@types/node@18.19.6722.10.1(transitive)
+ Addedundici-types@6.20.0(transitive)
- Removed@types/node@18.19.6522.9.3(transitive)
- Removedundici-types@6.19.8(transitive)