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

@cloudchipr/cloudchipr-engine

Package Overview
Dependencies
Maintainers
4
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudchipr/cloudchipr-engine - npm Package Compare versions

Comparing version 0.2.17 to 0.2.18

2

lib/adapters/gcp/clients/gcp-backend-service-client.js

@@ -56,7 +56,5 @@ "use strict";

_b.trys.push([1, 3, , 4]);
console.time("BackendService collect for project ".concat(project));
return [4 /*yield*/, googleapis_1.google.compute('v1').backendServices.aggregatedList({ auth: auth, project: project })];
case 2:
response_1 = _b.sent();
console.timeEnd("BackendService collect for project ".concat(project));
Object.keys(response_1.data.items).forEach(function (key) {

@@ -63,0 +61,0 @@ var _a;

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

_a.trys.push([1, 3, , 4]);
console.time("DISK collect for project ".concat(this.projectId));
return [4 /*yield*/, googleapis_1.google.compute('v1').disks.aggregatedList({

@@ -93,3 +92,2 @@ auth: this.authClient,

response = _a.sent();
console.timeEnd("DISK collect for project ".concat(this.projectId));
data = this.formatCollectResponse(response);

@@ -96,0 +94,0 @@ return [3 /*break*/, 4];

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

_a.trys.push([1, 3, , 4]);
console.time("IP collect for project ".concat(this.projectId));
return [4 /*yield*/, googleapis_1.google.compute('v1').addresses.aggregatedList({

@@ -88,3 +87,2 @@ auth: this.authClient,

response = _a.sent();
console.timeEnd("IP collect for project ".concat(this.projectId));
data = this.formatCollectResponse(response);

@@ -91,0 +89,0 @@ return [3 /*break*/, 4];

@@ -55,7 +55,5 @@ "use strict";

_b.trys.push([1, 3, , 4]);
console.time("InstanceGroup collect for project ".concat(project));
return [4 /*yield*/, googleapis_1.google.compute('v1').instanceGroups.aggregatedList({ auth: auth, project: project })];
case 2:
response_1 = _b.sent();
console.timeEnd("InstanceGroup collect for project ".concat(project));
Object.keys(response_1.data.items).forEach(function (key) {

@@ -62,0 +60,0 @@ var _a;

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

_a.trys.push([1, 3, , 4]);
console.time("LB collect for project ".concat(this.projectId));
return [4 /*yield*/, googleapis_1.google.compute('v1').forwardingRules.aggregatedList({

@@ -88,3 +87,2 @@ auth: this.authClient,

response = _a.sent();
console.timeEnd("LB collect for project ".concat(this.projectId));
data = this.formatCollectResponse(response);

@@ -91,0 +89,0 @@ return [3 /*break*/, 4];

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

_a.trys.push([1, 3, , 4]);
console.time("SQL collect for project ".concat(this.projectId));
return [4 /*yield*/, Promise.all([

@@ -101,3 +100,2 @@ googleapis_1.google.sqladmin('v1beta4').instances.list({ auth: this.authClient, project: this.projectId, filter: 'state = RUNNABLE' }),

response = _a.sent();
console.timeEnd("SQL collect for project ".concat(this.projectId));
data = this.formatCollectResponse(response[0]);

@@ -104,0 +102,0 @@ this.formatMetric(data, response.slice(1, -1));

@@ -56,7 +56,5 @@ "use strict";

_b.trys.push([1, 3, , 4]);
console.time("TargetPool collect for project ".concat(project));
return [4 /*yield*/, googleapis_1.google.compute('v1').targetPools.aggregatedList({ auth: auth, project: project })];
case 2:
response_1 = _b.sent();
console.timeEnd("TargetPool collect for project ".concat(project));
Object.keys(response_1.data.items).forEach(function (key) {

@@ -63,0 +61,0 @@ var _a;

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

_a.trys.push([1, 3, , 4]);
console.time("VM collect for project ".concat(this.projectId));
return [4 /*yield*/, Promise.all([

@@ -105,3 +104,2 @@ google.compute('v1').instances.aggregatedList({ auth: this.authClient, project: this.projectId }),

response = _a.sent();
console.timeEnd("VM collect for project ".concat(this.projectId));
data = this.formatCollectResponse(response[0]);

@@ -108,0 +106,0 @@ this.formatMetric(data, response.slice(1, -1));

2

package.json
{
"name": "@cloudchipr/cloudchipr-engine",
"version": "0.2.17",
"version": "0.2.18",
"description": "Cloudchipr engine",

@@ -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