🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@vonage/cli-plugin-numbers

Package Overview
Dependencies
Maintainers
44
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/cli-plugin-numbers - npm Package Compare versions

Comparing version

to
1.3.0

2

dist/commands/numbers/index.js

@@ -8,3 +8,3 @@ import NumberCommand from '../../number_base.js';

const numberData = await this.getAllNumbers({});
cli.table(numberData.numbers, {
cli.table(numberData.numbers || [], {
country: {},

@@ -11,0 +11,0 @@ msisdn: {

@@ -9,3 +9,3 @@ import NumberCommand from '../../number_base.js';

const numberData = await this.numberSearch(args.countryCode, flags);
cli.table(numberData.numbers, {
cli.table(numberData.numbers || [], {
country: {},

@@ -12,0 +12,0 @@ msisdn: {

import VonageCommand from '@vonage/cli-utils';
export default abstract class NumberCommand<T> extends VonageCommand<typeof NumberCommand> {
catch(error: any): Promise<any>;
protected _parseParams(params: any): any;

@@ -5,0 +4,0 @@ getAllNumbers(params: any): any;

import VonageCommand from '@vonage/cli-utils';
export default class NumberCommand extends VonageCommand {
async catch(error) {
return super.catch(error);
}
_parseParams(params) {

@@ -7,0 +4,0 @@ const searchResponse = {};

{
"name": "@vonage/cli-plugin-numbers",
"version": "1.2.4",
"version": "1.3.0",
"author": "Vonage Dev Rel <devrel@vonage.com>",

@@ -9,3 +9,3 @@ "bugs": "https://github.com/Vonage/vonage-cli/issues",

"@oclif/core": "^1.20.4",
"@vonage/cli-utils": "^1.3.3"
"@vonage/cli-utils": "^1.3.0"
},

@@ -30,5 +30,2 @@ "engines": {

"scripts": {
"postpack": "npx shx rm -f oclif.manifest.json",
"prepack": "npm run build && npx oclif manifest && npx oclif readme",
"version": "npx oclif readme && git add README.md",
"build": "npx shx rm -rf dist tsconfig.tsbuildinfo && tsc --build --verbose"

@@ -35,0 +32,0 @@ },

@@ -22,3 +22,3 @@ @vonage/cli-plugin-numbers

$ @vonage/cli-plugin-numbers (--version)
@vonage/cli-plugin-numbers/1.2.4 darwin-arm64 node-v16.18.1
@vonage/cli-plugin-numbers/1.2.2 darwin-arm64 node-v16.18.1
$ @vonage/cli-plugin-numbers --help [COMMAND]

@@ -70,3 +70,3 @@ USAGE

_See code: [dist/commands/numbers/index.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/index.js)_
_See code: [dist/commands/numbers/index.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/index.js)_

@@ -94,3 +94,3 @@ ## `@vonage/cli-plugin-numbers numbers:buy [NUMBER] [COUNTRYCODE]`

_See code: [dist/commands/numbers/buy.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/buy.js)_
_See code: [dist/commands/numbers/buy.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/buy.js)_

@@ -118,3 +118,3 @@ ## `@vonage/cli-plugin-numbers numbers:cancel [NUMBER] [COUNTRYCODE]`

_See code: [dist/commands/numbers/cancel.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/cancel.js)_
_See code: [dist/commands/numbers/cancel.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/cancel.js)_

@@ -160,3 +160,3 @@ ## `@vonage/cli-plugin-numbers numbers:search [COUNTRYCODE]`

_See code: [dist/commands/numbers/search.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/search.js)_
_See code: [dist/commands/numbers/search.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/search.js)_

@@ -186,3 +186,3 @@ ## `@vonage/cli-plugin-numbers numbers:update NUMBER COUNTRYCODE --url=https://www.example.com`

_See code: [dist/commands/numbers/update.js](https://github.com/Vonage/vonage-cli/blob/v1.2.4/dist/commands/numbers/update.js)_
_See code: [dist/commands/numbers/update.js](https://github.com/Vonage/vonage-cli/blob/v1.2.2/dist/commands/numbers/update.js)_
<!-- commandsstop -->

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