@sentry/minimal
Advanced tools
Comparing version 6.18.2 to 6.19.0
@@ -30,9 +30,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
function captureException(exception, captureContext) { | ||
var syntheticException; | ||
try { | ||
throw new Error('Sentry syntheticException'); | ||
} | ||
catch (exception) { | ||
syntheticException = exception; | ||
} | ||
var syntheticException = new Error('Sentry syntheticException'); | ||
return callOnHub('captureException', exception, { | ||
@@ -53,9 +47,3 @@ captureContext: captureContext, | ||
function captureMessage(message, captureContext) { | ||
var syntheticException; | ||
try { | ||
throw new Error(message); | ||
} | ||
catch (exception) { | ||
syntheticException = exception; | ||
} | ||
var syntheticException = new Error(message); | ||
// This is necessary to provide explicit scopes upgrade, without changing the original | ||
@@ -62,0 +50,0 @@ // arity of the `captureMessage(message, level)` method. |
@@ -29,9 +29,3 @@ import { __assign, __read, __spread } from "tslib"; | ||
export function captureException(exception, captureContext) { | ||
var syntheticException; | ||
try { | ||
throw new Error('Sentry syntheticException'); | ||
} | ||
catch (exception) { | ||
syntheticException = exception; | ||
} | ||
var syntheticException = new Error('Sentry syntheticException'); | ||
return callOnHub('captureException', exception, { | ||
@@ -51,9 +45,3 @@ captureContext: captureContext, | ||
export function captureMessage(message, captureContext) { | ||
var syntheticException; | ||
try { | ||
throw new Error(message); | ||
} | ||
catch (exception) { | ||
syntheticException = exception; | ||
} | ||
var syntheticException = new Error(message); | ||
// This is necessary to provide explicit scopes upgrade, without changing the original | ||
@@ -60,0 +48,0 @@ // arity of the `captureMessage(message, level)` method. |
{ | ||
"name": "@sentry/minimal", | ||
"version": "6.18.2", | ||
"version": "6.19.0", | ||
"description": "Sentry minimal library that can be used in other packages", | ||
@@ -14,3 +14,3 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"module": "esm/index.js", | ||
"types": "dist/index.d.ts", | ||
"types": "build/types/index.d.ts", | ||
"publishConfig": { | ||
@@ -20,8 +20,8 @@ "access": "public" | ||
"dependencies": { | ||
"@sentry/hub": "6.18.2", | ||
"@sentry/types": "6.18.2", | ||
"@sentry/hub": "6.19.0", | ||
"@sentry/types": "6.19.0", | ||
"tslib": "^1.9.3" | ||
}, | ||
"scripts": { | ||
"build": "run-p build:cjs build:esm", | ||
"build": "run-p build:cjs build:esm build:types", | ||
"build:cjs": "tsc -p tsconfig.cjs.json", | ||
@@ -31,3 +31,4 @@ "build:dev": "run-s build", | ||
"build:esm": "tsc -p tsconfig.esm.json", | ||
"build:watch": "run-p build:cjs:watch build:esm:watch", | ||
"build:types": "tsc -p tsconfig.types.json", | ||
"build:watch": "run-p build:cjs:watch build:esm:watch build:types:watch", | ||
"build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", | ||
@@ -37,2 +38,3 @@ "build:dev:watch": "run-s build:watch", | ||
"build:esm:watch": "tsc -p tsconfig.esm.json --watch", | ||
"build:types:watch": "tsc -p tsconfig.types.json --watch", | ||
"circularDepCheck": "madge --circular src/index.ts", | ||
@@ -39,0 +41,0 @@ "clean": "rimraf dist esm coverage", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
51867
621
+ Added@sentry/hub@6.19.0(transitive)
+ Added@sentry/types@6.19.0(transitive)
+ Added@sentry/utils@6.19.0(transitive)
- Removed@sentry/hub@6.18.2(transitive)
- Removed@sentry/types@6.18.2(transitive)
- Removed@sentry/utils@6.18.2(transitive)
Updated@sentry/hub@6.19.0
Updated@sentry/types@6.19.0