New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/vercel-edge

Package Overview
Dependencies
Maintainers
11
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/vercel-edge - npm Package Compare versions

Comparing version

to
7.89.0

9

cjs/integrations/wintercg-fetch.js

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

if (core.isSentryRequestUrl(handlerData.fetchData.url, hub)) {
if (core.isSentryRequestUrl(handlerData.fetchData.url, core.getClient())) {
return;

@@ -64,4 +64,3 @@ }

_shouldAttachTraceData(url) {
const hub = core.getCurrentHub();
const client = hub.getClient();
const client = core.getClient();

@@ -122,3 +121,3 @@ if (!client) {

core.getCurrentHub().addBreadcrumb(
core.addBreadcrumb(
{

@@ -143,3 +142,3 @@ category: 'fetch',

};
core.getCurrentHub().addBreadcrumb(
core.addBreadcrumb(
{

@@ -146,0 +145,0 @@ category: 'fetch',

import { instrumentFetchRequest } from '@sentry-internal/tracing';
import { getCurrentHub, isSentryRequestUrl } from '@sentry/core';
import { getCurrentHub, isSentryRequestUrl, getClient, addBreadcrumb } from '@sentry/core';
import { LRUMap, addFetchInstrumentationHandler, stringMatchesSomePattern } from '@sentry/utils';

@@ -41,3 +41,3 @@

if (isSentryRequestUrl(handlerData.fetchData.url, hub)) {
if (isSentryRequestUrl(handlerData.fetchData.url, getClient())) {
return;

@@ -62,4 +62,3 @@ }

_shouldAttachTraceData(url) {
const hub = getCurrentHub();
const client = hub.getClient();
const client = getClient();

@@ -120,3 +119,3 @@ if (!client) {

getCurrentHub().addBreadcrumb(
addBreadcrumb(
{

@@ -141,3 +140,3 @@ category: 'fetch',

};
getCurrentHub().addBreadcrumb(
addBreadcrumb(
{

@@ -144,0 +143,0 @@ category: 'fetch',

{
"name": "@sentry/vercel-edge",
"version": "7.88.0",
"version": "7.89.0",
"description": "Offical Sentry SDK for the Vercel Edge Runtime",

@@ -26,6 +26,6 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry-internal/tracing": "7.88.0",
"@sentry/core": "7.88.0",
"@sentry/types": "7.88.0",
"@sentry/utils": "7.88.0"
"@sentry-internal/tracing": "7.89.0",
"@sentry/core": "7.89.0",
"@sentry/types": "7.89.0",
"@sentry/utils": "7.89.0"
},

@@ -32,0 +32,0 @@ "devDependencies": {

@@ -14,3 +14,3 @@ export { Breadcrumb, BreadcrumbHint, PolymorphicRequest, Request, SdkInfo, Event, EventHint, Exception, Session, Severity, SeverityLevel, Span, StackFrame, Stacktrace, Thread, Transaction, User, } from '@sentry/types';

FunctionToString: typeof CoreIntegrations.FunctionToString;
InboundFilters: typeof CoreIntegrations.InboundFilters;
InboundFilters: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration>;
LinkedErrors: typeof CoreIntegrations.LinkedErrors;

@@ -17,0 +17,0 @@ };

import { Integrations as CoreIntegrations } from '@sentry/core';
import { Integration } from '@sentry/types';
import { WinterCGFetch } from './integrations/wintercg-fetch';
import { VercelEdgeOptions } from './types';
export declare const defaultIntegrations: (WinterCGFetch | CoreIntegrations.InboundFilters | CoreIntegrations.FunctionToString | CoreIntegrations.LinkedErrors)[];
export declare const defaultIntegrations: (Integration | WinterCGFetch | CoreIntegrations.FunctionToString | CoreIntegrations.LinkedErrors)[];
/** Inits the Sentry NextJS SDK on the Edge Runtime. */

@@ -6,0 +7,0 @@ export declare function init(options?: VercelEdgeOptions): void;

@@ -14,3 +14,3 @@ export type { Breadcrumb, BreadcrumbHint, PolymorphicRequest, Request, SdkInfo, Event, EventHint, Exception, Session, Severity, SeverityLevel, Span, StackFrame, Stacktrace, Thread, Transaction, User, } from '@sentry/types';

FunctionToString: typeof CoreIntegrations.FunctionToString;
InboundFilters: typeof CoreIntegrations.InboundFilters;
InboundFilters: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration>;
LinkedErrors: typeof CoreIntegrations.LinkedErrors;

@@ -17,0 +17,0 @@ };

import { Integrations as CoreIntegrations } from '@sentry/core';
import type { Integration } from '@sentry/types';
import { WinterCGFetch } from './integrations/wintercg-fetch';
import type { VercelEdgeOptions } from './types';
export declare const defaultIntegrations: (WinterCGFetch | CoreIntegrations.InboundFilters | CoreIntegrations.FunctionToString | CoreIntegrations.LinkedErrors)[];
export declare const defaultIntegrations: (Integration | WinterCGFetch | CoreIntegrations.FunctionToString | CoreIntegrations.LinkedErrors)[];
/** Inits the Sentry NextJS SDK on the Edge Runtime. */

@@ -6,0 +7,0 @@ export declare function init(options?: VercelEdgeOptions): void;

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet