Comparing version 2.2.2 to 2.3.6
{ | ||
"name": "rox-base", | ||
"version": "2.2.2", | ||
"version": "2.3.6", | ||
"description": "Rollout.io ROX JS SDK Base", | ||
@@ -49,3 +49,2 @@ "author": "Rollout.io <support@rollout.io>", | ||
"browserify-sign": "^4.0.4", | ||
"error-stack-parser": "^2.0.1", | ||
"eslint": "^4.3.0", | ||
@@ -52,0 +51,0 @@ "jest": "^22.1.2", |
@@ -1,2 +0,1 @@ | ||
import StackParser from 'error-stack-parser'; | ||
import * as axios from 'axios'; | ||
@@ -55,3 +54,3 @@ import RoxLogger from './RoxLogger'; | ||
message: message + '\n' + exception.message, | ||
stacktrace: preparetStackTrace(exception) | ||
stacktrace: exception.stack || '' | ||
}); | ||
@@ -82,15 +81,2 @@ event.groupingHash = exception.fileName; | ||
function preparetStackTrace(exception) { | ||
const stackFrames = StackParser.parse(exception); | ||
return stackFrames.map(f => ({ | ||
file: f.fileName, | ||
lineNumber: f.lineNumber, | ||
columnNumber: f.columnNumber, | ||
method: f.funcName, | ||
code: [f.source], | ||
isEval: f.isEval, | ||
isNative: f.isNative | ||
})); | ||
} | ||
export default new BugsnagReporter(); |
import md5 from 'md5'; | ||
export const GENERATOR_LIST = [ | ||
'app_release', | ||
'lib_version', | ||
'api_version', | ||
'platform', | ||
'package_name', | ||
'app_key', | ||
'customSigningCertificate', | ||
'app_environment', | ||
'feature_flags', | ||
@@ -13,0 +10,0 @@ 'custom_properties', |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17
1275689
57
11340