@bugsnag/core
Advanced tools
Comparing version 7.19.0-alpha.0 to 7.19.0
@@ -18,3 +18,2 @@ const jsonStringify = require('@bugsnag/safe-json-stringify') | ||
payload = jsonStringify(event, null, null, { redactedPaths: EVENT_REDACTION_PATHS, redactedKeys }) | ||
if (payload.length > 10e5) throw new Error('payload exceeded 1MB limit') | ||
} | ||
@@ -24,6 +23,5 @@ return payload | ||
module.exports.session = (event, redactedKeys) => { | ||
const payload = jsonStringify(event, null, null) | ||
if (payload.length > 10e5) throw new Error('payload exceeded 1MB limit') | ||
module.exports.session = (session, redactedKeys) => { | ||
const payload = jsonStringify(session, null, null) | ||
return payload | ||
} |
{ | ||
"name": "@bugsnag/core", | ||
"main": "index.js", | ||
"version": "7.19.0-alpha.0", | ||
"version": "7.19.0", | ||
"types": "types/index.d.ts", | ||
@@ -29,3 +29,3 @@ "description": "Core classes and utilities for Bugsnag notifiers", | ||
}, | ||
"gitHead": "921c886a8870b8cacdf18decc2a628091136c9ee" | ||
"gitHead": "95d2c3dd978e7dc5a6fda5664cfa9cf437b03b76" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
86185
59
2297
0