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

@based/cli

Package Overview
Dependencies
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/cli - npm Package Compare versions

Comparing version 2.10.0 to 2.11.0

dist/templates/gitHubDownload.d.ts

5

dist/apiKeys/download.js

@@ -34,3 +34,4 @@ "use strict";

name = options.name;
({ id } = apiKeys.find((k) => k.name === options.name) || {});
({ id } =
apiKeys?.find((k) => k.name === options.name) || {});
if (!id) {

@@ -49,3 +50,3 @@ (0, tui_1.fail)(`apiKey with name ${chalk_1.default.blue(name)} not found`, output, options);

message: 'Select apiKey to dwonload',
choices: apiKeys.map((apiKey) => ({
choices: apiKeys?.map((apiKey) => ({
value: { id: apiKey.id, name: apiKey.name },

@@ -52,0 +53,0 @@ name: apiKey.name,

4

dist/apiKeys/ls.js

@@ -24,7 +24,7 @@ "use strict";

spinner && spinner.stop();
if (!apiKeys.length && options.output === 'fancy') {
if (!apiKeys?.length && options.output === 'fancy') {
console.info(tui_1.prefixNotice + 'No apiKeys found');
}
else {
apiKeys.forEach((apiKey) => {
apiKeys?.forEach((apiKey) => {
const { /*id,*/ name } = apiKey;

@@ -31,0 +31,0 @@ output.data.push({

@@ -29,3 +29,4 @@ "use strict";

name = options.name;
({ id } = apiKeys.find((k) => k.name === options.name) || {});
({ id } =
apiKeys?.find((k) => k.name === options.name) || {});
if (!id) {

@@ -44,3 +45,3 @@ (0, tui_1.fail)(`apiKey with name ${chalk_1.default.blue(name)} not found`, output, options);

message: 'Select apiKey to remove',
choices: apiKeys.map((apiKey) => ({
choices: apiKeys?.map((apiKey) => ({
value: { id: apiKey.id, name: apiKey.name },

@@ -47,0 +48,0 @@ name: apiKey.name,

@@ -15,1 +15,2 @@ import './function';

import './log';
import './templates';

@@ -18,2 +18,3 @@ "use strict";

require("./log");
require("./templates");
const pkg = require('../package.json');

@@ -20,0 +21,0 @@ commander_1.program.version(pkg?.version);

{
"name": "@based/cli",
"version": "2.10.0",
"version": "2.11.0",
"license": "MIT",

@@ -15,3 +15,3 @@ "main": "dist/index.js",

"dependencies": {
"@based/client": "2.8.0",
"@based/client": "^3.0.0",
"@based/ids": "2.6.2",

@@ -25,3 +25,3 @@ "@based/pretty-date": "^1.0.4",

"commander": "^8.1.0",
"cross-fetch": "^3.1.4",
"node-fetch": "^2.6.7",
"esbuild": "^0.14.29",

@@ -36,2 +36,3 @@ "find-up": "^5.0.0",

"devDependencies": {
"@types/node-fetch": "^2.6.2",
"@types/inquirer": "^8.1.3",

@@ -38,0 +39,0 @@ "@types/node": "^17.0.23",

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

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