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

rc-js-common

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-js-common - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

8

bin/errors/get-unknown-error.js

@@ -10,12 +10,6 @@ "use strict";

var _debug_1 = require("rc-js-util/bin/debug/_debug");
var unknownError = new serializable_error_1.SerializableError(500, new error_body_1.ErrorBody(new localization_1.Localization(error_tx_keys_1.ErrorTxKeys.UnknownError), e_error_type_1.EErrorType.UnknownError), undefined);
function getUnknownError() {
if (DEBUG_MODE) {
return new serializable_error_1.SerializableError(500, new error_body_1.ErrorBody(new localization_1.Localization(error_tx_keys_1.ErrorTxKeys.UnknownError), e_error_type_1.EErrorType.UnknownError), _debug_1._Debug.getStackTrace());
}
else {
return unknownError;
}
return new serializable_error_1.SerializableError(500, new error_body_1.ErrorBody(new localization_1.Localization(error_tx_keys_1.ErrorTxKeys.UnknownError), e_error_type_1.EErrorType.UnknownError), _debug_1._Debug.getStackTrace());
}
exports.getUnknownError = getUnknownError;
//# sourceMappingURL=get-unknown-error.js.map

2

package.json
{
"name": "rc-js-common",
"version": "0.10.0",
"version": "0.10.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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