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

@coralproject/coral-cli-command

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coralproject/coral-cli-command - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

3

lib/api-client.js

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

if (contentType && contentType.includes("application/json")) {
throw new Error(await res.json());
const { error } = await res.json();
throw new Error(error.message);
}

@@ -28,0 +29,0 @@ else {

{
"name": "@coralproject/coral-cli-command",
"description": "base class for Coral CLI commands",
"version": "0.3.0",
"version": "0.3.1",
"author": "Wyatt Johnson @wyattjoh",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/coralproject/coral-cli-command/issues",

@@ -32,3 +32,4 @@ import * as Config from "@oclif/config";

if (contentType && contentType.includes("application/json")) {
throw new Error(await res.json());
const { error } = await res.json();
throw new Error(error.message);
} else {

@@ -35,0 +36,0 @@ throw new Error(await res.text());

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