Socket
Socket
Sign inDemoInstall

@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.33 to 0.2.34

6

lib/exceptions/aws-api-error.js

@@ -28,9 +28,9 @@ "use strict";

var _a, _b;
var _this = _super.call(this, (_a = data.message) !== null && _a !== void 0 ? _a : '') || this;
var _this = _super.call(this, (_a = data === null || data === void 0 ? void 0 : data.message) !== null && _a !== void 0 ? _a : '') || this;
Object.setPrototypeOf(_this, AwsApiError.prototype);
_this.resource = resource;
if (data.Code === 'UnauthorizedOperation' || ((_b = data.$metadata) === null || _b === void 0 ? void 0 : _b.httpStatusCode) === 403) {
if ((data === null || data === void 0 ? void 0 : data.Code) === 'UnauthorizedOperation' || (data === null || data === void 0 ? void 0 : data.code) === 'UnauthorizedOperation' || ((_b = data === null || data === void 0 ? void 0 : data.$metadata) === null || _b === void 0 ? void 0 : _b.httpStatusCode) === 403) {
_this.type = code_1.Code.PERMISSION;
}
else if (data.code === 'Throttling' || data.message === 'Rate exceeded') {
else if ((data === null || data === void 0 ? void 0 : data.code) === 'Throttling' || (data === null || data === void 0 ? void 0 : data.message) === 'Rate exceeded') {
_this.type = code_1.Code.THROTTLING;

@@ -37,0 +37,0 @@ }

{
"name": "@cloudchipr/cloudchipr-engine",
"version": "0.2.33",
"version": "0.2.34",
"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