Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vonage/cli

Package Overview
Dependencies
Maintainers
42
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/cli - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

27

bin/dev.js

@@ -1,12 +0,22 @@

#!/usr/bin/env node
#!/usr/bin/env ts-node
const oclif = require('@oclif/core')
/* eslint-disable node/shebang */
const path = require('path')
const project = path.join(__dirname, '..', 'tsconfig.json')
import oclif from '@oclif/core'
import path from 'node:path'
import url from 'node:url'
// eslint-disable-next-line node/no-unpublished-import
import { register } from 'ts-node'
// In dev mode -> use ts-node and dev plugins
process.env.NODE_ENV = 'development'
require('ts-node').register({ project })
register({
project: path.join(
path.dirname(url.fileURLToPath(import.meta.url)),
'..',
'..',
'..',
'tsconfig.json'
),
})

@@ -17,2 +27,5 @@ // In dev mode, always show stack traces

// Start the CLI
oclif.run().then(oclif.flush).catch(oclif.Errors.handle)
oclif
.run(process.argv.slice(2), import.meta.url)
.then(oclif.flush)
.catch(oclif.Errors.handle)

@@ -1,2 +0,2 @@

#!/usr/bin/env node
#!/usr/bin/env ts-node
export {};

@@ -1,14 +0,24 @@

#!/usr/bin/env node
#!/usr/bin/env ts-node
"use strict";
/* eslint-disable node/shebang */
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const oclif = require('@oclif/core');
const path = require('path');
const project = path.join(__dirname, '..', 'tsconfig.json');
const core_1 = __importDefault(require("@oclif/core"));
const node_path_1 = __importDefault(require("node:path"));
const node_url_1 = __importDefault(require("node:url"));
// eslint-disable-next-line node/no-unpublished-import
const ts_node_1 = require("ts-node");
// In dev mode -> use ts-node and dev plugins
process.env.NODE_ENV = 'development';
require('ts-node').register({ project });
(0, ts_node_1.register)({
project: node_path_1.default.join(node_path_1.default.dirname(node_url_1.default.fileURLToPath(import.meta.url)), '..', '..', '..', 'tsconfig.json'),
});
// In dev mode, always show stack traces
oclif.settings.debug = true;
core_1.default.settings.debug = true;
// Start the CLI
oclif.run().then(oclif.flush).catch(oclif.Errors.handle);
core_1.default
.run(process.argv.slice(2), import.meta.url)
.then(core_1.default.flush)
.catch(core_1.default.Errors.handle);
//# sourceMappingURL=dev.js.map
{
"name": "@vonage/cli",
"version": "2.0.2",
"version": "2.1.0",
"description": "CLI to interact with Vonage APIs",

@@ -35,5 +35,6 @@ "keywords": [

"@oclif/plugin-not-found": "^2.3.23",
"@oclif/plugin-plugins": "^3.0.1",
"@oclif/plugin-which": "^2.2.20",
"@vonage/cli-core": "^2.0.1",
"@vonage/cli-jwt": "^2.0.0",
"@vonage/cli-core": "^2.1.0",
"@vonage/cli-jwt": "^2.1.0",
"ts-node": "^10.9.1"

@@ -49,2 +50,3 @@ },

"@oclif/plugin-help",
"@oclif/plugin-plugins",
"@oclif/plugin-commands",

@@ -56,3 +58,4 @@ "@oclif/plugin-autocomplete",

]
}
},
"gitHead": "137ec4ad2edd0a00464325e613fd55ea30c60d6d"
}
# Vonage CLI
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vonage/vonage-cli/ci.yml?branch=3.x) [![Codecov](https://img.shields.io/codecov/c/github/vonage/vonage-cli?label=Codecov&logo=codecov&style=flat-square)](https://codecov.io/gh/Vonage/vonage-cli) ![Latest Release](https://img.shields.io/npm/v/@vonage/cli?label=%40vonage%2Fcli&style=flat-square) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg?style=flat-square)](../../CODE_OF_CONDUCT.md) [![License](https://img.shields.io/npm/l/@vonage/cli?label=License&style=flat-square)][license]
<img src="https://developer.nexmo.com/images/logos/vbc-logo.svg" height="48px" alt="Vonage" />
This is the Vonage CLI for [Vonage APIs](https://www.vonage.com/). To use it you will need a Vonage account. Sign up [for free at vonage.com][signup].
## References
This is a meta package to include all the Vonage CLI plugins. Please check each package for more information
* [Core](https://github.com/Vonage/vonage-cli/blob/3.x/packages/cli-core/README.md)
* [JWT](https://github.com/Vonage/vonage-cli/blob/3.x/packages/cli-jwt/README.md)
[license]: LICENSE.txt
[signup]: https://dashboard.nexmo.com/sign-up?utm_source=DEV_REL&utm_medium=github&utm_campaign=node-cli# Vonage CLI

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc