Socket
Socket
Sign inDemoInstall

@sentry/core

Package Overview
Dependencies
2
Maintainers
11
Versions
476
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.106.1 to 7.107.0

6

cjs/span.js

@@ -8,3 +8,3 @@ Object.defineProperty(exports, '__esModule', { value: true });

*/
function createSpanEnvelope(spans) {
function createSpanEnvelope(spans, dsn) {
const headers = {

@@ -14,2 +14,6 @@ sent_at: new Date().toISOString(),

if (dsn) {
headers.dsn = utils.dsnToString(dsn);
}
const items = spans.map(createSpanItem);

@@ -16,0 +20,0 @@ return utils.createEnvelope(headers, items);

2

cjs/version.js
Object.defineProperty(exports, '__esModule', { value: true });
const SDK_VERSION = '7.106.1';
const SDK_VERSION = '7.107.0';
exports.SDK_VERSION = SDK_VERSION;
//# sourceMappingURL=version.js.map

@@ -1,2 +0,2 @@

import { createEnvelope } from '@sentry/utils';
import { dsnToString, createEnvelope } from '@sentry/utils';

@@ -6,3 +6,3 @@ /**

*/
function createSpanEnvelope(spans) {
function createSpanEnvelope(spans, dsn) {
const headers = {

@@ -12,2 +12,6 @@ sent_at: new Date().toISOString(),

if (dsn) {
headers.dsn = dsnToString(dsn);
}
const items = spans.map(createSpanItem);

@@ -14,0 +18,0 @@ return createEnvelope(headers, items);

@@ -1,4 +0,4 @@

const SDK_VERSION = '7.106.1';
const SDK_VERSION = '7.107.0';
export { SDK_VERSION };
//# sourceMappingURL=version.js.map
{
"name": "@sentry/core",
"version": "7.106.1",
"version": "7.107.0",
"description": "Base implementation for all Sentry JavaScript SDKs",

@@ -32,4 +32,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/types": "7.106.1",
"@sentry/utils": "7.106.1"
"@sentry/types": "7.107.0",
"@sentry/utils": "7.107.0"
},

@@ -36,0 +36,0 @@ "madge": {

@@ -1,2 +0,2 @@

import { SpanEnvelope } from '@sentry/types';
import { DsnComponents, SpanEnvelope } from '@sentry/types';
import { Span } from '@sentry/types';

@@ -6,3 +6,3 @@ /**

*/
export declare function createSpanEnvelope(spans: Span[]): SpanEnvelope;
export declare function createSpanEnvelope(spans: Span[], dsn?: DsnComponents): SpanEnvelope;
//# sourceMappingURL=span.d.ts.map

@@ -1,2 +0,2 @@

export declare const SDK_VERSION = "7.106.1";
export declare const SDK_VERSION = "7.107.0";
//# sourceMappingURL=version.d.ts.map

@@ -1,2 +0,2 @@

import type { SpanEnvelope } from '@sentry/types';
import type { DsnComponents, SpanEnvelope } from '@sentry/types';
import type { Span } from '@sentry/types';

@@ -6,3 +6,3 @@ /**

*/
export declare function createSpanEnvelope(spans: Span[]): SpanEnvelope;
export declare function createSpanEnvelope(spans: Span[], dsn?: DsnComponents): SpanEnvelope;
//# sourceMappingURL=span.d.ts.map

@@ -1,2 +0,2 @@

export declare const SDK_VERSION = "7.106.1";
export declare const SDK_VERSION = "7.107.0";
//# sourceMappingURL=version.d.ts.map

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc