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

@beforeyoubid/error-adapter

Package Overview
Dependencies
Maintainers
7
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beforeyoubid/error-adapter - npm Package Compare versions

Comparing version 1.1.6 to 1.2.0

dist/danger/prHealth.d.ts

178

dist/activity-log-errors.js

@@ -12,40 +12,40 @@ "use strict";

_export(exports, {
APIFailureActivityLogError: function() {
return APIFailureActivityLogError;
},
ActivityLogError: function() {
return ActivityLogError;
},
PermanentActivityLogError: function() {
return PermanentActivityLogError;
DBActivityLogError: function() {
return DBActivityLogError;
},
APIFailureActivityLogError: function() {
return APIFailureActivityLogError;
EmailActivityLogError: function() {
return EmailActivityLogError;
},
MissingFieldActivityLogError: function() {
return MissingFieldActivityLogError;
},
ExternalAPIAuthenticationFailActivityLogError: function() {
return ExternalAPIAuthenticationFailActivityLogError;
},
MissingExternalResourceActivityLogError: function() {
return MissingExternalResourceActivityLogError;
},
InternalAPIFailureActivityLogError: function() {
return InternalAPIFailureActivityLogError;
},
EmailActivityLogError: function() {
return EmailActivityLogError;
InvestorOptOutActivityError: function() {
return InvestorOptOutActivityError;
},
SMSActivityLogError: function() {
return SMSActivityLogError;
MissingExternalResourceActivityLogError: function() {
return MissingExternalResourceActivityLogError;
},
DBActivityLogError: function() {
return DBActivityLogError;
MissingFieldActivityLogError: function() {
return MissingFieldActivityLogError;
},
PermanentActivityLogError: function() {
return PermanentActivityLogError;
},
RedisActivityLogError: function() {
return RedisActivityLogError;
},
InvestorOptOutActivityError: function() {
return InvestorOptOutActivityError;
SMSActivityLogError: function() {
return SMSActivityLogError;
}
});
function _assertThisInitialized(self) {
function _assert_this_initialized(self) {
if (self === void 0) {

@@ -56,3 +56,3 @@ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");

}
function _classCallCheck(instance, Constructor) {
function _class_call_check(instance, Constructor) {
if (!(instance instanceof Constructor)) {

@@ -62,18 +62,7 @@ throw new TypeError("Cannot call a class as a function");

}
function isNativeReflectConstruct() {
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
if (Reflect.construct.sham) return false;
if (typeof Proxy === "function") return true;
try {
Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
return true;
} catch (e) {
return false;
}
}
function _construct(Parent, args, Class) {
if (isNativeReflectConstruct()) {
if (_is_native_reflect_construct()) {
_construct = Reflect.construct;
} else {
_construct = function _construct(Parent, args, Class) {
_construct = function construct(Parent, args, Class) {
var a = [

@@ -85,3 +74,3 @@ null

var instance = new Constructor();
if (Class) _setPrototypeOf(instance, Class.prototype);
if (Class) _set_prototype_of(instance, Class.prototype);
return instance;

@@ -92,7 +81,20 @@ };

}
function _getPrototypeOf(o) {
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
function _define_property(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
function _get_prototype_of(o) {
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
return o.__proto__ || Object.getPrototypeOf(o);
};
return _getPrototypeOf(o);
return _get_prototype_of(o);
}

@@ -110,28 +112,28 @@ function _inherits(subClass, superClass) {

});
if (superClass) _setPrototypeOf(subClass, superClass);
if (superClass) _set_prototype_of(subClass, superClass);
}
function _isNativeFunction(fn) {
function _is_native_function(fn) {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}
function _possibleConstructorReturn(self, call) {
if (call && (_typeof(call) === "object" || typeof call === "function")) {
function _possible_constructor_return(self, call) {
if (call && (_type_of(call) === "object" || typeof call === "function")) {
return call;
}
return _assertThisInitialized(self);
return _assert_this_initialized(self);
}
function _setPrototypeOf(o, p) {
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
function _set_prototype_of(o, p) {
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
};
return _setPrototypeOf(o, p);
return _set_prototype_of(o, p);
}
var _typeof = function(obj) {
function _type_of(obj) {
"@swc/helpers - typeof";
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
};
function _wrapNativeSuper(Class) {
}
function _wrap_native_super(Class) {
var _cache = typeof Map === "function" ? new Map() : undefined;
_wrapNativeSuper = function _wrapNativeSuper(Class) {
if (Class === null || !_isNativeFunction(Class)) return Class;
_wrap_native_super = function wrapNativeSuper(Class) {
if (Class === null || !_is_native_function(Class)) return Class;
if (typeof Class !== "function") {

@@ -145,3 +147,3 @@ throw new TypeError("Super expression must either be null or a function");

function Wrapper() {
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
return _construct(Class, arguments, _get_prototype_of(this).constructor);
}

@@ -156,7 +158,7 @@ Wrapper.prototype = Object.create(Class.prototype, {

});
return _setPrototypeOf(Wrapper, Class);
return _set_prototype_of(Wrapper, Class);
};
return _wrapNativeSuper(Class);
return _wrap_native_super(Class);
}
function _isNativeReflectConstruct() {
function _is_native_reflect_construct() {
if (typeof Reflect === "undefined" || !Reflect.construct) return false;

@@ -172,8 +174,8 @@ if (Reflect.construct.sham) return false;

}
function _createSuper(Derived) {
var hasNativeReflectConstruct = _isNativeReflectConstruct();
function _create_super(Derived) {
var hasNativeReflectConstruct = _is_native_reflect_construct();
return function _createSuperInternal() {
var Super = _getPrototypeOf(Derived), result;
var Super = _get_prototype_of(Derived), result;
if (hasNativeReflectConstruct) {
var NewTarget = _getPrototypeOf(this).constructor;
var NewTarget = _get_prototype_of(this).constructor;
result = Reflect.construct(Super, arguments, NewTarget);

@@ -183,3 +185,3 @@ } else {

}
return _possibleConstructorReturn(this, result);
return _possible_constructor_return(this, result);
};

@@ -190,21 +192,21 @@ }

_inherits(ActivityLogError, Error1);
var _super = _createSuper(ActivityLogError);
var _super = _create_super(ActivityLogError);
function ActivityLogError() {
_classCallCheck(this, ActivityLogError);
_class_call_check(this, ActivityLogError);
var _this;
_this = _super.apply(this, arguments);
_this.name = "ActivityLogError";
_define_property(_assert_this_initialized(_this), "name", "ActivityLogError");
return _this;
}
return ActivityLogError;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
var PermanentActivityLogError = /*#__PURE__*/ function(ActivityLogError) {
"use strict";
_inherits(PermanentActivityLogError, ActivityLogError);
var _super = _createSuper(PermanentActivityLogError);
var _super = _create_super(PermanentActivityLogError);
function PermanentActivityLogError() {
_classCallCheck(this, PermanentActivityLogError);
_class_call_check(this, PermanentActivityLogError);
var _this;
_this = _super.apply(this, arguments);
_this.name = "PermanentActivityLogError";
_define_property(_assert_this_initialized(_this), "name", "PermanentActivityLogError");
return _this;

@@ -217,5 +219,5 @@ }

_inherits(APIFailureActivityLogError, ActivityLogError);
var _super = _createSuper(APIFailureActivityLogError);
var _super = _create_super(APIFailureActivityLogError);
function APIFailureActivityLogError() {
_classCallCheck(this, APIFailureActivityLogError);
_class_call_check(this, APIFailureActivityLogError);
return _super.apply(this, arguments);

@@ -228,5 +230,5 @@ }

_inherits(MissingFieldActivityLogError, ActivityLogError);
var _super = _createSuper(MissingFieldActivityLogError);
var _super = _create_super(MissingFieldActivityLogError);
function MissingFieldActivityLogError() {
_classCallCheck(this, MissingFieldActivityLogError);
_class_call_check(this, MissingFieldActivityLogError);
return _super.apply(this, arguments);

@@ -239,5 +241,5 @@ }

_inherits(ExternalAPIAuthenticationFailActivityLogError, ActivityLogError);
var _super = _createSuper(ExternalAPIAuthenticationFailActivityLogError);
var _super = _create_super(ExternalAPIAuthenticationFailActivityLogError);
function ExternalAPIAuthenticationFailActivityLogError() {
_classCallCheck(this, ExternalAPIAuthenticationFailActivityLogError);
_class_call_check(this, ExternalAPIAuthenticationFailActivityLogError);
return _super.apply(this, arguments);

@@ -250,5 +252,5 @@ }

_inherits(MissingExternalResourceActivityLogError, ActivityLogError);
var _super = _createSuper(MissingExternalResourceActivityLogError);
var _super = _create_super(MissingExternalResourceActivityLogError);
function MissingExternalResourceActivityLogError() {
_classCallCheck(this, MissingExternalResourceActivityLogError);
_class_call_check(this, MissingExternalResourceActivityLogError);
return _super.apply(this, arguments);

@@ -261,5 +263,5 @@ }

_inherits(InternalAPIFailureActivityLogError, ActivityLogError);
var _super = _createSuper(InternalAPIFailureActivityLogError);
var _super = _create_super(InternalAPIFailureActivityLogError);
function InternalAPIFailureActivityLogError() {
_classCallCheck(this, InternalAPIFailureActivityLogError);
_class_call_check(this, InternalAPIFailureActivityLogError);
return _super.apply(this, arguments);

@@ -272,5 +274,5 @@ }

_inherits(EmailActivityLogError, ActivityLogError);
var _super = _createSuper(EmailActivityLogError);
var _super = _create_super(EmailActivityLogError);
function EmailActivityLogError() {
_classCallCheck(this, EmailActivityLogError);
_class_call_check(this, EmailActivityLogError);
return _super.apply(this, arguments);

@@ -283,5 +285,5 @@ }

_inherits(SMSActivityLogError, ActivityLogError);
var _super = _createSuper(SMSActivityLogError);
var _super = _create_super(SMSActivityLogError);
function SMSActivityLogError() {
_classCallCheck(this, SMSActivityLogError);
_class_call_check(this, SMSActivityLogError);
return _super.apply(this, arguments);

@@ -294,5 +296,5 @@ }

_inherits(DBActivityLogError, ActivityLogError);
var _super = _createSuper(DBActivityLogError);
var _super = _create_super(DBActivityLogError);
function DBActivityLogError() {
_classCallCheck(this, DBActivityLogError);
_class_call_check(this, DBActivityLogError);
return _super.apply(this, arguments);

@@ -305,5 +307,5 @@ }

_inherits(RedisActivityLogError, ActivityLogError);
var _super = _createSuper(RedisActivityLogError);
var _super = _create_super(RedisActivityLogError);
function RedisActivityLogError() {
_classCallCheck(this, RedisActivityLogError);
_class_call_check(this, RedisActivityLogError);
return _super.apply(this, arguments);

@@ -316,8 +318,8 @@ }

_inherits(InvestorOptOutActivityError, ActivityLogError);
var _super = _createSuper(InvestorOptOutActivityError);
var _super = _create_super(InvestorOptOutActivityError);
function InvestorOptOutActivityError() {
_classCallCheck(this, InvestorOptOutActivityError);
_class_call_check(this, InvestorOptOutActivityError);
var _this;
_this = _super.apply(this, arguments);
_this.name = "InvestorOptOutActivityError";
_define_property(_assert_this_initialized(_this), "name", "InvestorOptOutActivityError");
return _this;

@@ -328,2 +330,2 @@ }

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hY3Rpdml0eS1sb2ctZXJyb3JzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBBY3Rpdml0eUxvZ0Vycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBwdWJsaWMgbmFtZTogc3RyaW5nID0gJ0FjdGl2aXR5TG9nRXJyb3InO1xufVxuZXhwb3J0IGNsYXNzIFBlcm1hbmVudEFjdGl2aXR5TG9nRXJyb3IgZXh0ZW5kcyBBY3Rpdml0eUxvZ0Vycm9yIHtcbiAgcHVibGljIG5hbWU6IHN0cmluZyA9ICdQZXJtYW5lbnRBY3Rpdml0eUxvZ0Vycm9yJztcbn1cbmV4cG9ydCBjbGFzcyBBUElGYWlsdXJlQWN0aXZpdHlMb2dFcnJvciBleHRlbmRzIEFjdGl2aXR5TG9nRXJyb3Ige31cbmV4cG9ydCBjbGFzcyBNaXNzaW5nRmllbGRBY3Rpdml0eUxvZ0Vycm9yIGV4dGVuZHMgQWN0aXZpdHlMb2dFcnJvciB7fVxuZXhwb3J0IGNsYXNzIEV4dGVybmFsQVBJQXV0aGVudGljYXRpb25GYWlsQWN0aXZpdHlMb2dFcnJvciBleHRlbmRzIEFjdGl2aXR5TG9nRXJyb3Ige31cbmV4cG9ydCBjbGFzcyBNaXNzaW5nRXh0ZXJuYWxSZXNvdXJjZUFjdGl2aXR5TG9nRXJyb3IgZXh0ZW5kcyBBY3Rpdml0eUxvZ0Vycm9yIHt9XG5leHBvcnQgY2xhc3MgSW50ZXJuYWxBUElGYWlsdXJlQWN0aXZpdHlMb2dFcnJvciBleHRlbmRzIEFjdGl2aXR5TG9nRXJyb3Ige31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REg7QUFDNUQsSUFBQSxBQUFNTSx3REFDVCxBQURHOztjQUFNQTsrQkFBQUE7YUFBQUE7Z0NBQUFBOzs7V0FBQUE7RUFBZ0ROO0FBQ3RELElBQUEsQUFBTUksbURBQ1QsQUFERzs7Y0FBTUE7K0JBQUFBO2FBQUFBO2dDQUFBQTs7O1dBQUFBO0VBQTJDSjtBQUNqRCxJQUFBLEFBQU1FLHNDQUNULEFBREc7O2NBQU1BOytCQUFBQTthQUFBQTtnQ0FBQUE7OztXQUFBQTtFQUE4QkY7QUFDcEMsSUFBQSxBQUFNVSxvQ0FDVCxBQURHOztjQUFNQTsrQkFBQUE7YUFBQUE7Z0NBQUFBOzs7V0FBQUE7RUFBNEJWO0FBQ2xDLElBQUEsQUFBTUMsbUNBQ1QsQUFERzs7Y0FBTUE7K0JBQUFBO2FBQUFBO2dDQUFBQTs7O1dBQUFBO0VBQTJCRDtBQUNqQyxJQUFBLEFBQU1TLHNDQUNULEFBREc7O2NBQU1BOytCQUFBQTthQUFBQTtnQ0FBQUE7OztXQUFBQTtFQUE4QlQ7QUFDcEMsSUFBQSxBQUFNSyw0Q0FBTjs7Y0FBTUE7K0JBQUFBO2FBQUFBO2dDQUFBQTs7O1FBQ1gsa0RBQU9NLFFBQWU7OztXQURYTjtFQUFvQ0wifQ==

@@ -35,4 +35,4 @@ "use strict";

ErrorCode["SERVER_ERROR"] = "server_error";
ErrorCode[// from byb-investors-api service
"ACTIVITY_LOG_ERROR"] = "activity";
// from byb-investors-api service
ErrorCode["ACTIVITY_LOG_ERROR"] = "activity";
ErrorCode["PERMANENT_ACTIVITY_LOG_ERROR"] = "permanent";

@@ -51,21 +51,20 @@ ErrorCode["API_FAILURE_ACTIVITY_LOG_ERROR"] = "api_failure";

var errorTypesForSentry = [
ErrorCode.AUTHORIZATION_ERROR,
ErrorCode.EXTERNAL_API_ERROR,
ErrorCode.SYSTEM_ERROR,
ErrorCode.SERVER_ERROR,
// from byb-investors-api service
ErrorCode.API_FAILURE_ACTIVITY_LOG_ERROR,
ErrorCode.MISSING_FIELD_ACTIVITY_LOG_ERROR,
ErrorCode.EXTERNAL_API_AUTHENTICATION_FAIL_ACTIVITY_LOG_ERROR,
ErrorCode.MISSING_EXTERNAL_RESOURCE_ACTIVITY_LOG_ERROR,
ErrorCode.INTERNAL_API_FAILURE_ACTIVITY_LOG_ERROR,
ErrorCode.EMAIL_ACTIVITY_LOG_ERROR,
ErrorCode.SMS_ACTIVITY_LOG_ERROR,
ErrorCode.DB_ACTIVITY_LOG_ERROR,
ErrorCode.REDIS_ACTIVITY_LOG_ERROR,
"authorization_error",
"external_api_error",
"system_error",
"server_error",
"api_failure",
"missing_field",
"api_auth_failure",
"missing_external_resource",
"internal_api_failure",
"email_failure",
"sms_failure",
"db_failure",
"redis_failure"
];
var errorTypesToIncludeDetails = [
ErrorCode.VALIDATION_ERROR
"validation_error"
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb25zdGFudHMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZW51bSBFcnJvckNvZGUge1xuICBBVVRIRU5USUNBVElPTl9FUlJPUiA9ICdhdXRoZW50aWNhdGlvbl9lcnJvcicsXG4gIEFVVEhPUklaQVRJT05fRVJST1IgPSAnYXV0aG9yaXphdGlvbl9lcnJvcicsXG4gIE5PVF9GT1VORF9FUlJPUiA9ICdub3RfZm91bmRfZXJyb3InLFxuICBET1dOU1RSRUFNX1NFUlZJQ0VfRVJST1IgPSAnRE9XTlNUUkVBTV9TRVJWSUNFX0VSUk9SJyxcbiAgVkFMSURBVElPTl9FUlJPUiA9ICd2YWxpZGF0aW9uX2Vycm9yJyxcbiAgQkFEX1VTRVJfSU5QVVQgPSAnYmFkX3VzZXJfaW5wdXRfZXJyb3InLFxuICBDT05GTElDVF9FUlJPUiA9ICdjb25mbGljdF9lcnJvcicsXG4gIFBBWU1FTlRfRVJST1IgPSAncGF5bWVudF9lcnJvcicsXG4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uICBFcnJvckNvZGUuUkVESVNfQUNUSVZJVFlfTE9HX0VSUk9SLFxuXTtcbmNvbnN0IGVycm9yVHlwZXNUb0luY2x1ZGVEZXRhaWxzID0gW0Vycm9yQ29kZS5WQUxJREFUSU9OX0VSUk9SXTtcblxuZXhwb3J0IHsgRXJyb3JDb2RlLCBlcnJvclR5cGVzRm9yU2VudHJ5LCBlcnJvclR5cGVzVG9JbmNsdWRlRGV0YWlscyB9O1xuIl0sIm5hbWVzIjpbIkVycm9yQ29kZSIsImVycm9yVHlwZXNGb3JTZW50cnkiLCJlcnJvclR5cGVzVG9JbmNsdWRlRGV0YWlscyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7SUE2Q1NBLFNBQVM7ZUFBVEE7O0lBQVdDLG1CQUFtQjtlQUFuQkE7O0lBQXFCQywwQkFBMEI7ZUFBMUJBOzs7O1VBN0NwQ0Y7Ozs7Ozs7Ozs7OztJQVlILGlDQUFpQzs7Ozs7Ozs7Ozs7OztHQVo5QkEsY0FBQUE7QUEyQkwsSUFBTUMsc0JBQXNCOzs7Ozs7Ozs7Ozs7OztDQWUzQjtBQUNELElBQU1DLDZCQUE2Qjs7Q0FBNEIifQ==

@@ -12,79 +12,79 @@ "use strict";

_export(exports, {
NotAuthorized: function() {
return NotAuthorized;
APIFailureActivityLogError: function() {
return _activitylogerrors.APIFailureActivityLogError;
},
NotFound: function() {
return NotFound;
ActivityLogError: function() {
return _activitylogerrors.ActivityLogError;
},
ConflictError: function() {
return ConflictError;
},
DBActivityLogError: function() {
return _activitylogerrors.DBActivityLogError;
},
DownstreamServiceError: function() {
return DownstreamServiceError;
},
NotAuthenticated: function() {
return NotAuthenticated;
EmailActivityLogError: function() {
return _activitylogerrors.EmailActivityLogError;
},
ConflictError: function() {
return ConflictError;
ExternalAPIAuthenticationFailActivityLogError: function() {
return _activitylogerrors.ExternalAPIAuthenticationFailActivityLogError;
},
PaymentError: function() {
return PaymentError;
},
ValidationError: function() {
return ValidationError;
},
ExternalApiError: function() {
return ExternalApiError;
},
SystemError: function() {
return SystemError;
InternalAPIFailureActivityLogError: function() {
return _activitylogerrors.InternalAPIFailureActivityLogError;
},
formatError: function() {
return formatError;
InvestorOptOutActivityError: function() {
return _activitylogerrors.InvestorOptOutActivityError;
},
UserInputError: function() {
return _apolloServerErrors.UserInputError;
MissingExternalResourceActivityLogError: function() {
return _activitylogerrors.MissingExternalResourceActivityLogError;
},
ActivityLogError: function() {
return _activityLogErrors.ActivityLogError;
MissingFieldActivityLogError: function() {
return _activitylogerrors.MissingFieldActivityLogError;
},
PermanentActivityLogError: function() {
return _activityLogErrors.PermanentActivityLogError;
NotAuthenticated: function() {
return NotAuthenticated;
},
APIFailureActivityLogError: function() {
return _activityLogErrors.APIFailureActivityLogError;
NotAuthorized: function() {
return NotAuthorized;
},
MissingFieldActivityLogError: function() {
return _activityLogErrors.MissingFieldActivityLogError;
NotFound: function() {
return NotFound;
},
ExternalAPIAuthenticationFailActivityLogError: function() {
return _activityLogErrors.ExternalAPIAuthenticationFailActivityLogError;
PaymentError: function() {
return PaymentError;
},
MissingExternalResourceActivityLogError: function() {
return _activityLogErrors.MissingExternalResourceActivityLogError;
PermanentActivityLogError: function() {
return _activitylogerrors.PermanentActivityLogError;
},
InternalAPIFailureActivityLogError: function() {
return _activityLogErrors.InternalAPIFailureActivityLogError;
RedisActivityLogError: function() {
return _activitylogerrors.RedisActivityLogError;
},
EmailActivityLogError: function() {
return _activityLogErrors.EmailActivityLogError;
},
SMSActivityLogError: function() {
return _activityLogErrors.SMSActivityLogError;
return _activitylogerrors.SMSActivityLogError;
},
DBActivityLogError: function() {
return _activityLogErrors.DBActivityLogError;
SystemError: function() {
return SystemError;
},
RedisActivityLogError: function() {
return _activityLogErrors.RedisActivityLogError;
UserInputError: function() {
return _apolloservererrors.UserInputError;
},
InvestorOptOutActivityError: function() {
return _activityLogErrors.InvestorOptOutActivityError;
ValidationError: function() {
return ValidationError;
},
formatError: function() {
return formatError;
}
});
var _sentry = require("./sentry");
var _apolloServerErrors = require("apollo-server-errors");
var _apolloservererrors = require("apollo-server-errors");
var _graphql = require("graphql");
var _constants = require("./constants");
var _utils = require("./utils");
var _activityLogErrors = require("./activity-log-errors");
function _assertThisInitialized(self) {
var _activitylogerrors = require("./activity-log-errors");
function _assert_this_initialized(self) {
if (self === void 0) {

@@ -95,3 +95,3 @@ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");

}
function _classCallCheck(instance, Constructor) {
function _class_call_check(instance, Constructor) {
if (!(instance instanceof Constructor)) {

@@ -101,18 +101,7 @@ throw new TypeError("Cannot call a class as a function");

}
function isNativeReflectConstruct() {
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
if (Reflect.construct.sham) return false;
if (typeof Proxy === "function") return true;
try {
Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
return true;
} catch (e) {
return false;
}
}
function _construct(Parent, args, Class) {
if (isNativeReflectConstruct()) {
if (_is_native_reflect_construct()) {
_construct = Reflect.construct;
} else {
_construct = function _construct(Parent, args, Class) {
_construct = function construct(Parent, args, Class) {
var a = [

@@ -124,3 +113,3 @@ null

var instance = new Constructor();
if (Class) _setPrototypeOf(instance, Class.prototype);
if (Class) _set_prototype_of(instance, Class.prototype);
return instance;

@@ -131,3 +120,3 @@ };

}
function _defineProperty(obj, key, value) {
function _define_property(obj, key, value) {
if (key in obj) {

@@ -145,7 +134,7 @@ Object.defineProperty(obj, key, {

}
function _getPrototypeOf(o) {
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
function _get_prototype_of(o) {
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
return o.__proto__ || Object.getPrototypeOf(o);
};
return _getPrototypeOf(o);
return _get_prototype_of(o);
}

@@ -163,3 +152,3 @@ function _inherits(subClass, superClass) {

});
if (superClass) _setPrototypeOf(subClass, superClass);
if (superClass) _set_prototype_of(subClass, superClass);
}

@@ -173,6 +162,6 @@ function _instanceof(left, right) {

}
function _isNativeFunction(fn) {
function _is_native_function(fn) {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}
function _objectSpread(target) {
function _object_spread(target) {
for(var i = 1; i < arguments.length; i++){

@@ -187,3 +176,3 @@ var source = arguments[i] != null ? arguments[i] : {};

ownKeys.forEach(function(key) {
_defineProperty(target, key, source[key]);
_define_property(target, key, source[key]);
});

@@ -206,3 +195,3 @@ }

}
function _objectSpreadProps(target, source) {
function _object_spread_props(target, source) {
source = source != null ? source : {};

@@ -218,23 +207,23 @@ if (Object.getOwnPropertyDescriptors) {

}
function _possibleConstructorReturn(self, call) {
if (call && (_typeof(call) === "object" || typeof call === "function")) {
function _possible_constructor_return(self, call) {
if (call && (_type_of(call) === "object" || typeof call === "function")) {
return call;
}
return _assertThisInitialized(self);
return _assert_this_initialized(self);
}
function _setPrototypeOf(o, p) {
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
function _set_prototype_of(o, p) {
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
};
return _setPrototypeOf(o, p);
return _set_prototype_of(o, p);
}
var _typeof = function(obj) {
function _type_of(obj) {
"@swc/helpers - typeof";
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
};
function _wrapNativeSuper(Class) {
}
function _wrap_native_super(Class) {
var _cache = typeof Map === "function" ? new Map() : undefined;
_wrapNativeSuper = function _wrapNativeSuper(Class) {
if (Class === null || !_isNativeFunction(Class)) return Class;
_wrap_native_super = function wrapNativeSuper(Class) {
if (Class === null || !_is_native_function(Class)) return Class;
if (typeof Class !== "function") {

@@ -248,3 +237,3 @@ throw new TypeError("Super expression must either be null or a function");

function Wrapper() {
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
return _construct(Class, arguments, _get_prototype_of(this).constructor);
}

@@ -259,7 +248,7 @@ Wrapper.prototype = Object.create(Class.prototype, {

});
return _setPrototypeOf(Wrapper, Class);
return _set_prototype_of(Wrapper, Class);
};
return _wrapNativeSuper(Class);
return _wrap_native_super(Class);
}
function _isNativeReflectConstruct() {
function _is_native_reflect_construct() {
if (typeof Reflect === "undefined" || !Reflect.construct) return false;

@@ -275,8 +264,8 @@ if (Reflect.construct.sham) return false;

}
function _createSuper(Derived) {
var hasNativeReflectConstruct = _isNativeReflectConstruct();
function _create_super(Derived) {
var hasNativeReflectConstruct = _is_native_reflect_construct();
return function _createSuperInternal() {
var Super = _getPrototypeOf(Derived), result;
var Super = _get_prototype_of(Derived), result;
if (hasNativeReflectConstruct) {
var NewTarget = _getPrototypeOf(this).constructor;
var NewTarget = _get_prototype_of(this).constructor;
result = Reflect.construct(Super, arguments, NewTarget);

@@ -286,3 +275,3 @@ } else {

}
return _possibleConstructorReturn(this, result);
return _possible_constructor_return(this, result);
};

@@ -293,97 +282,97 @@ }

_inherits(NotAuthorized, Error1);
var _super = _createSuper(NotAuthorized);
var _super = _create_super(NotAuthorized);
function NotAuthorized() {
_classCallCheck(this, NotAuthorized);
_class_call_check(this, NotAuthorized);
return _super.apply(this, arguments);
}
return NotAuthorized;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
var NotFound = /*#__PURE__*/ function(Error1) {
"use strict";
_inherits(NotFound, Error1);
var _super = _createSuper(NotFound);
var _super = _create_super(NotFound);
function NotFound() {
_classCallCheck(this, NotFound);
_class_call_check(this, NotFound);
return _super.apply(this, arguments);
}
return NotFound;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
var DownstreamServiceError = /*#__PURE__*/ function(Error1) {
"use strict";
_inherits(DownstreamServiceError, Error1);
var _super = _createSuper(DownstreamServiceError);
var _super = _create_super(DownstreamServiceError);
function DownstreamServiceError() {
_classCallCheck(this, DownstreamServiceError);
_class_call_check(this, DownstreamServiceError);
return _super.apply(this, arguments);
}
return DownstreamServiceError;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
var NotAuthenticated = /*#__PURE__*/ function(Error1) {
"use strict";
_inherits(NotAuthenticated, Error1);
var _super = _createSuper(NotAuthenticated);
var _super = _create_super(NotAuthenticated);
function NotAuthenticated() {
_classCallCheck(this, NotAuthenticated);
_class_call_check(this, NotAuthenticated);
return _super.apply(this, arguments);
}
return NotAuthenticated;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
var ConflictError = /*#__PURE__*/ function(Error1) {
"use strict";
_inherits(ConflictError, Error1);
var _super = _createSuper(ConflictError);
var _super = _create_super(ConflictError);
function ConflictError() {
_classCallCheck(this, ConflictError);
_class_call_check(this, ConflictError);
return _super.apply(this, arguments);
}
return ConflictError;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
var PaymentError = /*#__PURE__*/ function(Error1) {
"use strict";
_inherits(PaymentError, Error1);
var _super = _createSuper(PaymentError);
var _super = _create_super(PaymentError);
function PaymentError() {
_classCallCheck(this, PaymentError);
_class_call_check(this, PaymentError);
return _super.apply(this, arguments);
}
return PaymentError;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
var ValidationError = /*#__PURE__*/ function(Error1) {
"use strict";
_inherits(ValidationError, Error1);
var _super = _createSuper(ValidationError);
var _super = _create_super(ValidationError);
function ValidationError() {
_classCallCheck(this, ValidationError);
_class_call_check(this, ValidationError);
return _super.apply(this, arguments);
}
return ValidationError;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
var ExternalApiError = /*#__PURE__*/ function(Error1) {
"use strict";
_inherits(ExternalApiError, Error1);
var _super = _createSuper(ExternalApiError);
var _super = _create_super(ExternalApiError);
function ExternalApiError() {
_classCallCheck(this, ExternalApiError);
_class_call_check(this, ExternalApiError);
return _super.apply(this, arguments);
}
return ExternalApiError;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
var SystemError = /*#__PURE__*/ function(Error1) {
"use strict";
_inherits(SystemError, Error1);
var _super = _createSuper(SystemError);
var _super = _create_super(SystemError);
function SystemError() {
_classCallCheck(this, SystemError);
_class_call_check(this, SystemError);
return _super.apply(this, arguments);
}
return SystemError;
}(_wrapNativeSuper(Error));
}(_wrap_native_super(Error));
/**
* Used to correctly format GraphQL errors to prepare for sending to Sentry
*/ var formatError = function(error) {
var _originalError;
var err = (_originalError = error.originalError) !== null && _originalError !== void 0 ? _originalError : error;
var _error_originalError;
var err = (_error_originalError = error.originalError) !== null && _error_originalError !== void 0 ? _error_originalError : error;
var details;
var ref;
var code = (ref = (0, _utils.convertErrorToCode)(err)) !== null && ref !== void 0 ? ref : _constants.ErrorCode.SERVER_ERROR;
var _convertErrorToCode;
var code = (_convertErrorToCode = (0, _utils.convertErrorToCode)(err)) !== null && _convertErrorToCode !== void 0 ? _convertErrorToCode : _constants.ErrorCode.SERVER_ERROR;
// Error will be a GraphQL error if formatting error using a GraphQL Federation

@@ -393,12 +382,12 @@ if (_instanceof(err, Error) && !_instanceof(err, _graphql.GraphQLError)) {

} else {
var ref1, ref2, ref3;
var _err_extensions_exception, _err_extensions;
var typeOfError = (0, _utils.getErrorType)(err);
var ref4;
var er = new typeOfError((ref4 = (ref1 = err) === null || ref1 === void 0 ? void 0 : ref1.message) !== null && ref4 !== void 0 ? ref4 : "");
var ref5;
var stack = (ref5 = (ref2 = err.extensions) === null || ref2 === void 0 ? void 0 : (ref3 = ref2.exception) === null || ref3 === void 0 ? void 0 : ref3.stacktrace) !== null && ref5 !== void 0 ? ref5 : [];
var _err_message;
var er = new typeOfError((_err_message = err === null || err === void 0 ? void 0 : err.message) !== null && _err_message !== void 0 ? _err_message : "");
var _err_extensions_exception_stacktrace;
var stack = (_err_extensions_exception_stacktrace = (_err_extensions = err.extensions) === null || _err_extensions === void 0 ? void 0 : (_err_extensions_exception = _err_extensions.exception) === null || _err_extensions_exception === void 0 ? void 0 : _err_extensions_exception.stacktrace) !== null && _err_extensions_exception_stacktrace !== void 0 ? _err_extensions_exception_stacktrace : [];
er.stack = stack.join("\n");
var _extensions, _extensions1;
var _err_extensions1, _error_extensions;
_sentry.Sentry.captureException(er, {
extra: _objectSpread({}, (_extensions = err.extensions) !== null && _extensions !== void 0 ? _extensions : {}, (_extensions1 = error.extensions) !== null && _extensions1 !== void 0 ? _extensions1 : {})
extra: _object_spread({}, (_err_extensions1 = err.extensions) !== null && _err_extensions1 !== void 0 ? _err_extensions1 : {}, (_error_extensions = error.extensions) !== null && _error_extensions !== void 0 ? _error_extensions : {})
});

@@ -410,4 +399,4 @@ }

// @see http://facebook.github.io/graphql/June2018/#example-fce18
return _objectSpreadProps(_objectSpread({}, error), {
extensions: _objectSpreadProps(_objectSpread({}, error.extensions), {
return _object_spread_props(_object_spread({}, error), {
extensions: _object_spread_props(_object_spread({}, error.extensions), {
code: code,

@@ -420,2 +409,2 @@ details: details,

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9lcnJvcnMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2VudHJ5IH0gZnJvbSAnLi9zZW50cnknO1xuaW1wb3J0IHsgVXNlcklucHV0RXJyb3IgfSBmcm9tICdhcG9sbG8tc2VydmVyLWVycm9ycyc7XG5pbXBvcnQgeyBHcmFwaFFMRXJyb3IsIEdyYXBoUUxGb3JtYXR0ZWRFcnJvciB9IGZyb20gJ2dyYXBocWwnO1xuaW1wb3J0IHsgZXJyb3JUeXBlc1RvSW5jbHVkZURldGFpbHMsIEVycm9yQ29kZSB9IGZyb20gJy4vY29uc3RhbnRzJztcbmltcG9ydCB7IGNvbnZlcnRFcnJvclRvQ29kZSwgZ2V0RXJyb3JUeXBlIH0gZnJvbSAnLi91dGlscyc7XG5pbXBvcnQge1xuICBBY3Rpdml0eUxvZ0Vycm9yLFxuICBQZXJtYW5lbnRBY3Rpdml0eUxvZ0Vycm9yLFxuICBBUElGYWlsdXJlQWN0aXZpdHlMb2dFcnJvcixcbiAgTWlzc2luZ0ZpZWxkQWN0aXZpdHlMb2dFcnJvcixcbiAgRXh0ZXJuYWxBUElBdXRoZW50aWNhdGlvbk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sK0JBQUFBLG9CQUFvQixDQUFDO1FBRTdCO0lBQ0Y7SUFFQSxJQUFJcUIscUNBQTBCLENBQUNDLFFBQVEsQ0FBQ2pCLE9BQU87UUFDN0NGLFVBQVVILE1BQU1jLE9BQU87SUFDekI7SUFFQSxpRUFBaUU7SUFDakUsT0FBTyx3Q0FDRmQ7UUFDSGdCLFlBQVksd0NBQ1BoQixNQUFNZ0IsVUFBVTtZQUNuQlgsTUFBQUE7WUFDQUYsU0FBQUE7WUFDQW9CLG9CQUFvQjs7O0FBRzFCIn0=

@@ -12,74 +12,77 @@ "use strict";

_export(exports, {
Sentry: function() {
return _sentry.Sentry;
APIFailureActivityLogError: function() {
return _errors.APIFailureActivityLogError;
},
withSentry: function() {
return _sentry.withSentry;
ActivityLogError: function() {
return _errors.ActivityLogError;
},
NotAuthorized: function() {
return _errors.NotAuthorized;
ConflictError: function() {
return _errors.ConflictError;
},
NotFound: function() {
return _errors.NotFound;
DBActivityLogError: function() {
return _errors.DBActivityLogError;
},
NotAuthenticated: function() {
return _errors.NotAuthenticated;
},
DownstreamServiceError: function() {
return _errors.DownstreamServiceError;
},
ConflictError: function() {
return _errors.ConflictError;
EmailActivityLogError: function() {
return _errors.EmailActivityLogError;
},
PaymentError: function() {
return _errors.PaymentError;
ErrorCode: function() {
return _constants.ErrorCode;
},
ValidationError: function() {
return _errors.ValidationError;
ExternalAPIAuthenticationFailActivityLogError: function() {
return _errors.ExternalAPIAuthenticationFailActivityLogError;
},
UserInputError: function() {
return _errors.UserInputError;
},
ExternalApiError: function() {
return _errors.ExternalApiError;
},
SystemError: function() {
return _errors.SystemError;
InternalAPIFailureActivityLogError: function() {
return _errors.InternalAPIFailureActivityLogError;
},
ActivityLogError: function() {
return _errors.ActivityLogError;
InvestorOptOutActivityError: function() {
return _errors.InvestorOptOutActivityError;
},
PermanentActivityLogError: function() {
return _errors.PermanentActivityLogError;
MissingExternalResourceActivityLogError: function() {
return _errors.MissingExternalResourceActivityLogError;
},
APIFailureActivityLogError: function() {
return _errors.APIFailureActivityLogError;
},
MissingFieldActivityLogError: function() {
return _errors.MissingFieldActivityLogError;
},
ExternalAPIAuthenticationFailActivityLogError: function() {
return _errors.ExternalAPIAuthenticationFailActivityLogError;
NotAuthenticated: function() {
return _errors.NotAuthenticated;
},
MissingExternalResourceActivityLogError: function() {
return _errors.MissingExternalResourceActivityLogError;
NotAuthorized: function() {
return _errors.NotAuthorized;
},
InternalAPIFailureActivityLogError: function() {
return _errors.InternalAPIFailureActivityLogError;
NotFound: function() {
return _errors.NotFound;
},
EmailActivityLogError: function() {
return _errors.EmailActivityLogError;
PaymentError: function() {
return _errors.PaymentError;
},
PermanentActivityLogError: function() {
return _errors.PermanentActivityLogError;
},
RedisActivityLogError: function() {
return _errors.RedisActivityLogError;
},
SMSActivityLogError: function() {
return _errors.SMSActivityLogError;
},
DBActivityLogError: function() {
return _errors.DBActivityLogError;
Sentry: function() {
return _sentry.Sentry;
},
RedisActivityLogError: function() {
return _errors.RedisActivityLogError;
SystemError: function() {
return _errors.SystemError;
},
InvestorOptOutActivityError: function() {
return _errors.InvestorOptOutActivityError;
UserInputError: function() {
return _errors.UserInputError;
},
ValidationError: function() {
return _errors.ValidationError;
},
convertErrorToCode: function() {
return _utils.convertErrorToCode;
},
formatError: function() {

@@ -94,7 +97,4 @@ return _errors.formatError;

},
ErrorCode: function() {
return _constants.ErrorCode;
},
convertErrorToCode: function() {
return _utils.convertErrorToCode;
withSentry: function() {
return _sentry.withSentry;
}

@@ -107,2 +107,2 @@ });

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBFcnJvckNvZGUgfSBmcm9tICcuL2NvbnN0YW50cyc7XG5pbXBvcnQge1xuICBOb3RBdXRob3JpemVkLFxuICBOb3RGb3VuZCxcbiAgTm90QXV0aGVudGljYXRlZCxcbiAgRG93bnN0c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0JBQVM7O0lBWFRDLDZDQUE2QztlQUE3Q0EscURBQTZDOztJQU43Q0MsZ0JBQWdCO2VBQWhCQSx3QkFBZ0I7O0lBUWhCQyxrQ0FBa0M7ZUFBbENBLDBDQUFrQzs7SUFLbENDLDJCQUEyQjtlQUEzQkEsbUNBQTJCOztJQU4zQkMsdUNBQXVDO2VBQXZDQSwrQ0FBdUM7O0lBRnZDQyw0QkFBNEI7ZUFBNUJBLG9DQUE0Qjs7SUFYNUJDLGdCQUFnQjtlQUFoQkEsd0JBQWdCOztJQUZoQkMsYUFBYTtlQUFiQSxxQkFBYTs7SUFDYkMsUUFBUTtlQUFSQSxnQkFBUTs7SUFJUkMsWUFBWTtlQUFaQSxvQkFBWTs7SUFNWkMseUJBQXlCO2VBQXpCQSxpQ0FBeUI7O0lBU3pCQyxxQkFBcUI7ZUFBckJBLDZCQUFxQjs7SUFGckJDLG1CQUFtQjtlQUFuQkEsMkJBQW1COztJQXBCbkJDLE1BQU07ZUFBTkEsY0FBTTs7SUFXTkMsV0FBVztlQUFYQSxtQkFBVzs7SUFGWEMsY0FBYztlQUFkQSxzQkFBYzs7SUFEZEMsZUFBZTtlQUFmQSx1QkFBZTs7SUFvQmZDLGtCQUFrQjtlQUFsQkEseUJBQWtCOztJQUpsQkMsV0FBVztlQUFYQSxtQkFBVzs7SUFDWEMsd0JBQXdCO2VBQXhCQSxnQ0FBd0I7O0lBQ3hCQyxrQkFBa0I7ZUFBbEJBLHlCQUFrQjs7SUF6QmxCQyxVQUFVO2VBQVZBLGtCQUFVOzs7eUJBL0JjO3NCQXlCbkI7c0JBQ3NEO3FCQUNOIn0=

@@ -9,7 +9,5 @@ import { handleBeforeSend } from './sentry';

sentryOptions: {
beforeSend: (_event: any, hint: {
originalException: Error | import("graphql").GraphQLError;
}) => any;
beforeSend: (_event: import("@sentry/types").ErrorEvent, hint: import("@sentry/types").EventHint) => import("@sentry/types").Event | PromiseLike<import("@sentry/types").Event | null> | null;
};
};
export { handleErrorSentryOptions, Sentry, withSentry, handleBeforeSend };

@@ -12,13 +12,13 @@ "use strict";

_export(exports, {
Sentry: function() {
return _node.Sentry;
},
handleBeforeSend: function() {
return _sentry.handleBeforeSend;
},
handleErrorSentryOptions: function() {
return handleErrorSentryOptions;
},
Sentry: function() {
return _node.Sentry;
},
withSentry: function() {
return _serverless.default;
},
handleBeforeSend: function() {
return _sentry.handleBeforeSend;
}

@@ -28,4 +28,4 @@ });

var _node = require("./node");
var _serverless = /*#__PURE__*/ _interopRequireDefault(require("./serverless"));
function _interopRequireDefault(obj) {
var _serverless = /*#__PURE__*/ _interop_require_default(require("./serverless"));
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {

@@ -43,2 +43,2 @@ default: obj

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZW50cnkvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgaGFuZGxlQmVmb3JlU2VuZCB9IGZyb20gJy4vc2VudHJ5JztcbmltcG9ydCB7IFNlbnRyeSB9IGZyb20gJy4vbm9kZSc7XG5pbXBvcnQgd2l0aFNlbnRyeSBmcm9tICcuL3NlcnZlcmxlc3MnO1xuXG4vKipcbiAqIFdyYXAgaGFuZGxlQmVmb3JlU2VuZCBmdW5jdGlvbiBmb3IgU2VudHJ5XG4gKi9cbmNvbnN0IGhhbmRsZUVycm9yU2VudHJ5T3B0aW9ucyA9IHtcbiAgc2VudHJ5T3B0aW9uczoge1xuICAgIGJlZm9yZVNlbmQ6IGhhbmRsZUJlZm9yZVNlbmQsXG4gIH0sXG59O1xuXG5leHBvcnQgeyBoYW5kbGVFcnJvclNlbnRyeU9wdGlvbnMsIFNlbnRyeSwgd2l0aFNlbnRyeSwgaGFuZGxlQmVmb3JlU2VuZCB9O1xuIl0sIm5hbWVzIjpbImhhbmRsZUVycm9yU2VudHJ5T3B0aW9ucyIsIlNlbnRyeSIsIndpdGhTZW50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ZCB9O1xuIl0sIm5hbWVzIjpbIlNlbnRyeSIsImhhbmRsZUJlZm9yZVNlbmQiLCJoYW5kbGVFcnJvclNlbnRyeU9wdGlvbnMiLCJ3aXRoU2VudHJ5Iiwic2VudHJ5T3B0aW9ucyIsImJlZm9yZVNlbmQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBYW1DQSxNQUFNO2VBQU5BLFlBQU07O0lBQWNDLGdCQUFnQjtlQUFoQkEsd0JBQWdCOztJQUE5REMsd0JBQXdCO2VBQXhCQTs7SUFBa0NDLFVBQVU7ZUFBVkEsbUJBQVU7OztzQkFicEI7b0JBQ1Y7aUVBQ0E7Ozs7OztBQUV2Qjs7Q0FFQyxHQUNELElBQU1ELDJCQUEyQjtJQUMvQkUsZUFBZTtRQUNiQyxZQUFZSix3QkFBZ0I7SUFDOUI7QUFDRiJ9

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

});
var _node = /*#__PURE__*/ _interopRequireWildcard(require("@sentry/node"));
var _node = /*#__PURE__*/ _interop_require_wildcard(require("@sentry/node"));
var _utils = require("../utils");
function _defineProperty(obj, key, value) {
function _define_property(obj, key, value) {
if (key in obj) {

@@ -35,3 +35,3 @@ Object.defineProperty(obj, key, {

}
function _interopRequireWildcard(obj, nodeInterop) {
function _interop_require_wildcard(obj, nodeInterop) {
if (!nodeInterop && obj && obj.__esModule) {

@@ -67,3 +67,3 @@ return obj;

}
function _objectSpread(target) {
function _object_spread(target) {
for(var i = 1; i < arguments.length; i++){

@@ -78,3 +78,3 @@ var source = arguments[i] != null ? arguments[i] : {};

ownKeys.forEach(function(key) {
_defineProperty(target, key, source[key]);
_define_property(target, key, source[key]);
});

@@ -90,5 +90,5 @@ }

if (!isSentryInitialised) {
var ref = (0, _utils.getDefaultSentryParams)(), defaultSentryOptions = ref.defaultSentryOptions, sendToSentry = ref.sendToSentry;
var _getDefaultSentryParams = (0, _utils.getDefaultSentryParams)(), defaultSentryOptions = _getDefaultSentryParams.defaultSentryOptions, sendToSentry = _getDefaultSentryParams.sendToSentry;
// replace defaulted options with options passed in if they exist
var sentryOptions = _objectSpread({}, defaultSentryOptions, options);
var sentryOptions = _object_spread({}, defaultSentryOptions, options);
if (sendToSentry) {

@@ -110,2 +110,2 @@ _node.init(sentryOptions);

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZW50cnkvbm9kZS9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBTZW50cnkgZnJvbSAnQHNlbnRyeS9ub2RlJztcbmltcG9ydCB7IE5vZGVPcHRpb25zIH0gZnJvbSAnQHNlbnRyeS9ub2RlJztcbmltcG9ydCB7IGdldERlZmF1bHRTZW50cnlQYXJhbXMgfSBmcm9tICcuLi91dGlscyc7XG5cbmxldCBpc1NlbnRyeUluaXRpYWxpc2VkID0gZmFsc2U7XG5cbi8qKlxuICogSW5pdGlhbGlzZSBTZW50cnkgYmFzZWQgb24gcHJvdmlkZWQgb3B0aW9uc1xuICogQHBhcmFtIG9wdGlvbnNcbiAqL1xuY29uc3QgaW5pdGlhbGlzZSA9IChvcHRpb25zPzogTm9kZU9wdGlvbnMpOiB2b2lkID0+IHtcbiAgaWYgKCFpc1NlbnRyeUluaXRpYWxpc2VkKSB7XG4gICAgY29uc3QgeyBkZWZhdWx0U2VudHJ5T3B0aW9ucywgc2VuZFRvU2VudHJ5IH0gPSBnZXREZWZhdWx0U2VudHJ5UGFyYW1zKCk7XG5cbiAgICAvLyByZXBsYWNlIGRlZmF1bHRlZCBvcHRpb25zIHdpdGggb3B0aW9ucyBwYXNzZWQgaW4gaWYgdGhleSBleGlzdFxuICAgIGNvbnN0IHNlbnRyeU9wdGlvbnMgPSB7IC4uLmRlZmF1bHRTZW50cnlPcHRpb25zLCAuLi5vcHRpb25zIH07XG5cbiAgICBpZiAoc2VuZFRvU2VudHJ5KSB7XG4gICAgICBTZW50cnkuaW5pdChzZ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Isa0JBQUFBLG1CQUFBQSxRQUFVLENBQUMsR0FBRztJQUM5R0csWUFBQUE7QUFDRiJ9

@@ -1,8 +0,9 @@

import { GraphQLError } from 'graphql';
import * as Sentry from '@sentry/node';
type ErrorEvent = Parameters<NonNullable<Sentry.NodeOptions['beforeSend']>>[0];
type EventHint = Parameters<NonNullable<Sentry.NodeOptions['beforeSend']>>[1];
type BeforeSendReturnType = ReturnType<NonNullable<Sentry.NodeOptions['beforeSend']>>;
/**
* Determine which errors are sent to Sentry based on error type
*/
declare const handleBeforeSend: (_event: any, hint: {
originalException: Error | GraphQLError;
}) => any;
export { handleBeforeSend };
export declare const handleBeforeSend: (_event: ErrorEvent, hint: EventHint) => BeforeSendReturnType;
export {};

@@ -13,6 +13,4 @@ "use strict";

var _constants = require("../constants");
/**
* Determine which errors are sent to Sentry based on error type
*/ var handleBeforeSend = function(_event, hint) {
var ref;
var handleBeforeSend = function(_event, hint) {
var _error_extensions;
var error = hint.originalException;

@@ -23,7 +21,7 @@ var code = (0, _utils.convertErrorToCode)(error);

if (!code) {
var ref1;
var ref2;
code = (ref2 = (ref1 = error.extensions) === null || ref1 === void 0 ? void 0 : ref1.code) !== null && ref2 !== void 0 ? ref2 : _constants.ErrorCode.SERVER_ERROR;
var _error_extensions1;
var _ref;
code = (_ref = (_error_extensions1 = error.extensions) === null || _error_extensions1 === void 0 ? void 0 : _error_extensions1.code) !== null && _ref !== void 0 ? _ref : _constants.ErrorCode.SERVER_ERROR;
}
if (!_constants.errorTypesForSentry.includes(code) || ((ref = error.extensions) === null || ref === void 0 ? void 0 : ref.has_sent_to_sentry)) {
if (!_constants.errorTypesForSentry.includes(code) || ((_error_extensions = error.extensions) === null || _error_extensions === void 0 ? void 0 : _error_extensions.has_sent_to_sentry)) {
return null;

@@ -34,2 +32,2 @@ }

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZW50cnkvc2VudHJ5LnRzIl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lbnRyeSJdLCJtYXBwaW5ncyI6Ijs7OzsrQkFhYUE7OztlQUFBQTs7O3FCQVZzQjt5QkFDWTtBQVN4QyxJQUFNQSxtQkFBbUIsU0FBQ0MsUUFBb0JDO1FBV1I7SUFWM0MsSUFBUUMsQUFBbUJDLFFBQVVGLEtBQTdCQztJQUVSLElBQUlFLE9BQU9DLElBQUFBLHlCQUFrQixFQUFDRjtJQUU5Qix5RUFBeUU7SUFDekUsdUNBQXVDO0lBQ3ZDLElBQUksQ0FBQ0MsTUFBTTtZQUNEO1lBQUQ7UUFBUEEsT0FBTyxDQUFBLE9BQUEsQ0FBQyxxQkFBQSxBQUFDRCxNQUF1QkcsVUFBVSxBQUFtQixjQUFyRCx5Q0FBQSxtQkFBb0NGLElBQUksY0FBekMsa0JBQUEsT0FBMkRHLG9CQUFTLENBQUNDLFlBQVk7SUFDMUY7SUFFQSxJQUFJLENBQUNDLDhCQUFtQixDQUFDQyxRQUFRLENBQUNOLFdBQVMsb0JBQUEsQUFBQ0QsTUFBdUJHLFVBQVUsY0FBbEMsd0NBQUEsa0JBQW9DSyxrQkFBa0IsR0FBRTtRQUNqRyxPQUFPO0lBQ1Q7SUFDQSxPQUFPWDtBQUNUIn0=

@@ -1,7 +0,12 @@

import { WithSentryOptions, Handler } from 'serverless-sentry-lib';
import { NodeOptions } from '@sentry/node';
import { Handler } from 'aws-lambda';
import { WrapperOptions } from '@sentry/serverless/types/awslambda';
type CombinedWrapperOptions = {
options?: NodeOptions;
} & WrapperOptions;
/**
* Wrap the serverless-sentry-lib function call to default to using own Sentry client unless custom options provided
*/
declare function withSentry(options: WithSentryOptions, handler: Handler<any, any>): Handler<any, any>;
declare function withSentry(options: CombinedWrapperOptions, handler: Handler<any, any>): Handler<any, any>;
declare function withSentry(handler: Handler<any, any>): Handler<any, any>;
export default withSentry;

@@ -11,9 +11,4 @@ "use strict";

});
var _serverlessSentryLib = /*#__PURE__*/ _interopRequireDefault(require("serverless-sentry-lib"));
var _node = require("../node");
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
var _serverless = require("@sentry/serverless");
var isArgOptions = function(arg) {

@@ -29,9 +24,10 @@ return typeof arg === "object";

// this allows the use of serverless-sentry-lib to handle custom options
return (0, _serverlessSentryLib.default)(arg1, arg2);
if (arg1.options) {
_serverless.AWSLambda.init(arg1.options);
}
return _serverless.AWSLambda.wrapHandler(arg2, arg1);
} else if (isArgHandler(arg1)) {
// no custom options, intialise and pass in Sentry client, arg1 is the callback function
_node.Sentry.initialise();
return (0, _serverlessSentryLib.default)({
sentry: _node.Sentry
}, arg1);
return _serverless.AWSLambda.wrapHandler(arg1);
} else {

@@ -43,2 +39,2 @@ throw TypeError("Invalid args passed to withSentry");

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZW50cnkvc2VydmVybGVzcy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc2VydmVybGVzc1NlbnRyeSwgeyBXaXRoU2VudHJ5T3B0aW9ucywgSGFuZGxlciB9IGZyb20gJ3NlcnZlcmxlc3Mtc2VudHJ5LWxpYic7XG5pbXBvcnQgeyBTZW50cnkgfSBmcm9tICcuLi9ub2RlJztcblxuY29uc3QgaXNBcmdPcHRpb25zID0gKGFyZzogV2l0aFNlbnRyeU9wdGlvbnMgfCBIYW5kbGVyPGFueSwgYW55Pik6IGFyZyBpcyBXaXRoU2VudHJ5T3B0aW9ucyA9PiB0eXBlb2YgYXJnID09PSAnb2JqZWN0JztcbmNvbnN0IGlzQXJnSGFuZGxlciA9IChhcmc6IFdpdGhTZW50cnlPcHRpb25zIHwgSGFuZGxlcjxhbnksIGFueT4pOiBhcmcgaXMgSGFuZGxlcjxhbnksIGFueT4gPT5cbiAgdHlwZW9mIGFyZyA9PT0gJ2Z1bmN0aW9uJztcblxuLyoqXG4gKiBXcmFwIHRoZSBzZXJ2ZXJsZXNzLXNl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sd0VBQXdFO1FBQ3hFLElBQUlELEtBQUtHLE9BQU8sRUFBRTtZQUNoQkMscUJBQWUsQ0FBQ0MsSUFBSSxDQUFDTCxLQUFLRyxPQUFPO1FBQ25DO1FBQ0EsT0FBT0MscUJBQWUsQ0FBQ0UsV0FBVyxDQUFDTCxNQUFNRDtJQUMzQyxPQUFPLElBQUlGLGFBQWFFLE9BQU87UUFDN0Isd0ZBQXdGO1FBQ3hGTyxZQUFNLENBQUNDLFVBQVU7UUFDakIsT0FBT0oscUJBQWUsQ0FBQ0UsV0FBVyxDQUFDTjtJQUNyQyxPQUFPO1FBQ0wsTUFBTVMsVUFBVTtJQUNsQjtBQUNGO0lBRUEsV0FBZVYifQ==

@@ -24,4 +24,7 @@ "use strict";

var getEnvs = function() {
var env = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (process === null || process === void 0 ? void 0 : process.env) || {};
var _SENTRY_DSN = env.SENTRY_DSN, SENTRY_DSN = _SENTRY_DSN === void 0 ? "" : _SENTRY_DSN, SENTRY_ENVIRONMENT = env.SENTRY_ENVIRONMENT, _SENTRY_FILTER_LOCAL = env.SENTRY_FILTER_LOCAL, SENTRY_FILTER_LOCAL = _SENTRY_FILTER_LOCAL === void 0 ? "true" : _SENTRY_FILTER_LOCAL, _SENTRY_SAMPLE_RATE = env.SENTRY_SAMPLE_RATE, SENTRY_SAMPLE_RATE = _SENTRY_SAMPLE_RATE === void 0 ? "1.0" : _SENTRY_SAMPLE_RATE, _DISABLE_SENTRY = env.DISABLE_SENTRY, DISABLE_SENTRY = _DISABLE_SENTRY === void 0 ? "false" : _DISABLE_SENTRY, _STAGE = env.STAGE, STAGE = _STAGE === void 0 ? "n/a" : _STAGE;
var env = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
var _process;
return ((_process = process) === null || _process === void 0 ? void 0 : _process.env) || {};
}();
var _env_SENTRY_DSN = env.SENTRY_DSN, SENTRY_DSN = _env_SENTRY_DSN === void 0 ? "" : _env_SENTRY_DSN, SENTRY_ENVIRONMENT = env.SENTRY_ENVIRONMENT, _env_SENTRY_FILTER_LOCAL = env.SENTRY_FILTER_LOCAL, SENTRY_FILTER_LOCAL = _env_SENTRY_FILTER_LOCAL === void 0 ? "true" : _env_SENTRY_FILTER_LOCAL, _env_SENTRY_SAMPLE_RATE = env.SENTRY_SAMPLE_RATE, SENTRY_SAMPLE_RATE = _env_SENTRY_SAMPLE_RATE === void 0 ? "1.0" : _env_SENTRY_SAMPLE_RATE, _env_DISABLE_SENTRY = env.DISABLE_SENTRY, DISABLE_SENTRY = _env_DISABLE_SENTRY === void 0 ? "false" : _env_DISABLE_SENTRY, _env_STAGE = env.STAGE, STAGE = _env_STAGE === void 0 ? "n/a" : _env_STAGE;
return {

@@ -37,8 +40,11 @@ SENTRY_DSN: SENTRY_DSN,

var getDefaultSentryParams = function() {
var env = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (process === null || process === void 0 ? void 0 : process.env) || {};
var ref = getEnvs(env), SENTRY_DSN = ref.SENTRY_DSN, SENTRY_ENVIRONMENT = ref.SENTRY_ENVIRONMENT, SENTRY_FILTER_LOCAL = ref.SENTRY_FILTER_LOCAL, SENTRY_SAMPLE_RATE = ref.SENTRY_SAMPLE_RATE, DISABLE_SENTRY = ref.DISABLE_SENTRY, STAGE = ref.STAGE;
var ref1;
var env = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
var _process;
return ((_process = process) === null || _process === void 0 ? void 0 : _process.env) || {};
}();
var _getEnvs = getEnvs(env), SENTRY_DSN = _getEnvs.SENTRY_DSN, SENTRY_ENVIRONMENT = _getEnvs.SENTRY_ENVIRONMENT, SENTRY_FILTER_LOCAL = _getEnvs.SENTRY_FILTER_LOCAL, SENTRY_SAMPLE_RATE = _getEnvs.SENTRY_SAMPLE_RATE, DISABLE_SENTRY = _getEnvs.DISABLE_SENTRY, STAGE = _getEnvs.STAGE;
var _ref;
var defaultSentryOptions = {
dsn: SENTRY_DSN,
environment: (ref1 = SENTRY_ENVIRONMENT !== null && SENTRY_ENVIRONMENT !== void 0 ? SENTRY_ENVIRONMENT : STAGE) !== null && ref1 !== void 0 ? ref1 : "n/a",
environment: (_ref = SENTRY_ENVIRONMENT !== null && SENTRY_ENVIRONMENT !== void 0 ? SENTRY_ENVIRONMENT : STAGE) !== null && _ref !== void 0 ? _ref : "n/a",
sampleRate: Number(SENTRY_SAMPLE_RATE),

@@ -65,2 +71,2 @@ beforeSend: _sentry.handleBeforeSend

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZW50cnkvdXRpbHMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVNlbnRyeVBhcmFtcyB9IGZyb20gJy4uL3R5cGVzJztcbmltcG9ydCB7IGhhbmRsZUJlZm9yZVNlbmQgfSBmcm9tICcuL3NlbnRyeSc7XG5cbmNvbnN0IGdldEVudnMgPSAoZW52ID0gcHJvY2Vzcz8uZW52IHx8IHt9KSA9PiB7XG4gIGNvbnN0IHtcbiAgICBTRU5UUllfRFNOID0gJycsXG4gICAgU0VOVFJZX0VOVklST05NRU5ULFxuICAgIFNFTlRSWV9GSUxURVJfTE9DQUwgPSAndHJ1ZScsXG4gICAgU0VOVFJZX1NBTVBMRV9SQVRFID0gJzEuMCcsXG4gICAgRElTQUJMRV9TRU5UUlkgPSAnZmFsc2UnLFxuICAgIFNUQUdFID0gJ24vYScsXG4gIH0gPSBlbnY7XG5cbiAgcmV0dXJuIHtcbiAgICBTRU5UUllfRFNOLFxuICAgIFNFTlRSWV9FTlZJUk9OTUVOVCxcbiAgICBTRU5UUllfRklMVEVSX0xPQ0FMLFxuICAgIFNFTlRSWV9TQU1QTEVfUkFURSxcbiAgICBESVNBQkxFX1NFTlRSWSxcbiAgICBTVEFHRSxcbiAgfTtcbn07XG5cbmNvbnN0IGdldERlZmF1bHRTZW50cnlQYXJhbXMgPSAoZW52ID0gcHJvY2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QWdCLFFBQVM7UUFDM0YsT0FBTztJQUNUO0lBQ0EsT0FBTztBQUNUIn0=

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

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy90eXBlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOb2RlT3B0aW9ucyB9IGZyb20gJ0BzZW50cnkvbm9kZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVNlbnRyeVBhcmFtcyB7XG4gIHNlbmRUb1NlbnRyeTogYm9vbGVhbjtcbiAgZGVmYXVsdFNlbnRyeU9wdGlvbnM6IE5vZGVPcHRpb25zO1xufVxuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9

@@ -80,4 +80,4 @@ "use strict";

*/ var getErrorType = function(error) {
var _extensions;
var code = ((_extensions = error.extensions) !== null && _extensions !== void 0 ? _extensions : {}).code;
var _error_extensions;
var code = ((_error_extensions = error.extensions) !== null && _error_extensions !== void 0 ? _error_extensions : {}).code;
switch(code){

@@ -133,7 +133,7 @@ case _constants.ErrorCode.AUTHENTICATION_ERROR:

*/ var isSentryLevelError = function(error) {
var ref;
var code = (ref = convertErrorToCode(error)) !== null && ref !== void 0 ? ref : _constants.ErrorCode.SERVER_ERROR;
var _convertErrorToCode;
var code = (_convertErrorToCode = convertErrorToCode(error)) !== null && _convertErrorToCode !== void 0 ? _convertErrorToCode : _constants.ErrorCode.SERVER_ERROR;
return _constants.errorTypesForSentry.includes(code);
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlscy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBOb3RBdXRob3JpemVk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",
"version": "1.2.0",
"description": "A module to standardize error handling across the BYB platform",

@@ -30,3 +30,2 @@ "main": "dist/index.js",

"keywords": [],
"author": "shakeel@beforeyoubid.com.au",
"license": "ISC",

@@ -38,29 +37,28 @@ "bugs": {

"dependencies": {
"@sentry/integrations": "^7.2.0",
"@sentry/node": "6.2.2",
"apollo-server-errors": "^3.3.0",
"graphql": "^15.3.0",
"serverless-sentry-lib": "^2.4.0"
"@sentry/node": "^7.73.0",
"@sentry/serverless": "^7.73.0",
"apollo-server-errors": "3.3.1",
"graphql": "^15.3.0"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.224",
"@swc/jest": "^0.2.22",
"@types/aws-lambda": "^8.10.17",
"@types/jest": "28.1.6",
"@types/node": "18.6.4",
"@typescript-eslint/eslint-plugin": "5.32.0",
"@typescript-eslint/parser": "5.32.0",
"danger": "^11.1.1",
"danger-plugin-yarn": "^1.5.1",
"eslint": "8.21.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"jest": "28.1.3",
"jest-junit": "14.0.0",
"prettier": "2.7.1",
"ts-jest": "28.0.7",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.91",
"@swc/jest": "0.2.29",
"@types/aws-lambda": "8.10.122",
"@types/jest": "29.5.5",
"@types/node": "20.8.2",
"@typescript-eslint/eslint-plugin": "6.7.4",
"@typescript-eslint/parser": "6.7.4",
"danger": "11.3.0",
"danger-plugin-yarn": "1.6.0",
"eslint": "8.50.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.0",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"prettier": "3.0.3",
"ts-jest": "29.1.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
"typescript": "5.2.2"
}
}
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