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

@xliic/cicd-core-node

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xliic/cicd-core-node - npm Package Compare versions

Comparing version 5.21.0 to 5.22.0

4

lib/error.d.ts
import { ApiErrors, TaskOptions } from "./types";
export declare class TaskError extends Error {
networkFailure: boolean;
constructor(message: string, networkFailure?: boolean);
isNetworkError: boolean;
constructor(message: string, isNetworkError?: boolean);
}
export declare function formatApiErrors(errors: ApiErrors): string;
export declare function handleTaskError(err: any, options: TaskOptions): void;

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

class TaskError extends Error {
constructor(message, networkFailure) {
constructor(message, isNetworkError) {
super(message);
this.networkFailure = false;
if (networkFailure != undefined) {
this.networkFailure = networkFailure;
this.isNetworkError = false;
if (isNetworkError != undefined) {
this.isNetworkError = isNetworkError;
}

@@ -18,0 +18,0 @@ Object.setPrototypeOf(this, TaskError.prototype);

{
"name": "@xliic/cicd-core-node",
"version": "5.21.0",
"version": "5.22.0",
"description": "Performs API contract security audit to get a detailed analysis of the possible vulnerabilities and other issues in the API contract.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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