Socket
Socket
Sign inDemoInstall

@sentry/minimal

Package Overview
Dependencies
Maintainers
12
Versions
248
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/minimal - npm Package Compare versions

Comparing version 6.18.2 to 6.19.0

16

dist/index.js

@@ -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.

14

package.json
{
"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

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