New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@soos-io/api-client

Package Overview
Dependencies
Maintainers
1
Versions
254
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@soos-io/api-client - npm Package Compare versions

Comparing version 0.1.3-pre.7 to 0.1.3-pre.8

4

dist/api/SOOSAnalysisApiClient.d.ts

@@ -47,3 +47,3 @@ import FormData from "form-data";

interface IScanStatusRequest {
reportStatusUrl: string;
scanStatusUrl: string;
}

@@ -118,4 +118,4 @@ interface IScanStatusResponse extends Pick<ICheckAnalysisScanStatusReturn, "status"> {

updateScanStatus({ clientId, projectHash, branchHash, scanType, scanId, status, message, }: IUpdateScanStatusRequest): Promise<void>;
getScanStatus({ reportStatusUrl }: IScanStatusRequest): Promise<IScanStatusResponse>;
getScanStatus({ scanStatusUrl }: IScanStatusRequest): Promise<IScanStatusResponse>;
}
export default SOOSAnalysisApiClient;

@@ -73,6 +73,6 @@ "use strict";

}
getScanStatus({ reportStatusUrl }) {
getScanStatus({ scanStatusUrl }) {
var _a, _b, _c, _d, _e;
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const response = yield this.client.get(reportStatusUrl);
const response = yield this.client.get(scanStatusUrl);
const violationCount = (_b = (_a = response.data.violations) === null || _a === void 0 ? void 0 : _a.count) !== null && _b !== void 0 ? _b : 0;

@@ -79,0 +79,0 @@ const vulnerabilityCount = (_d = (_c = response.data.vulnerabilities) === null || _c === void 0 ? void 0 : _c.count) !== null && _d !== void 0 ? _d : 0;

{
"name": "@soos-io/api-client",
"version": "0.1.3-pre.7",
"version": "0.1.3-pre.8",
"description": "This is the SOOS API Client for registered clients leveraging the various integrations to the SOOS platform.",

@@ -5,0 +5,0 @@ "main": "dist/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