Skip to content

Commit 4c1a555

Browse files
committed
fix lint, circular deps, size limit
1 parent ceee4af commit 4c1a555

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.size-limit.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module.exports = [
8282
path: 'packages/browser/build/npm/esm/index.js',
8383
import: createImport('init', 'browserTracingIntegration', 'replayIntegration', 'replayCanvasIntegration'),
8484
gzip: true,
85-
limit: '84 KB',
85+
limit: '85 KB',
8686
},
8787
{
8888
name: '@sentry/browser (incl. Tracing, Replay, Feedback)',
@@ -127,7 +127,7 @@ module.exports = [
127127
import: createImport('init', 'ErrorBoundary', 'reactRouterV6BrowserTracingIntegration'),
128128
ignore: ['react/jsx-runtime'],
129129
gzip: true,
130-
limit: '43 KB',
130+
limit: '44 KB',
131131
},
132132
// Vue SDK (ESM)
133133
{
@@ -142,7 +142,7 @@ module.exports = [
142142
path: 'packages/vue/build/esm/index.js',
143143
import: createImport('init', 'browserTracingIntegration'),
144144
gzip: true,
145-
limit: '43 KB',
145+
limit: '44 KB',
146146
},
147147
// Svelte SDK (ESM)
148148
{
@@ -157,7 +157,7 @@ module.exports = [
157157
name: 'CDN Bundle',
158158
path: createCDNPath('bundle.min.js'),
159159
gzip: true,
160-
limit: '27 KB',
160+
limit: '27.5 KB',
161161
},
162162
{
163163
name: 'CDN Bundle (incl. Tracing)',
@@ -213,7 +213,7 @@ module.exports = [
213213
import: createImport('init'),
214214
ignore: ['next/router', 'next/constants'],
215215
gzip: true,
216-
limit: '45 KB',
216+
limit: '46 KB',
217217
},
218218
// SvelteKit SDK (ESM)
219219
{

packages/core/src/envelope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import type { Event } from './types-hoist/event';
2020
import type { SdkInfo } from './types-hoist/sdkinfo';
2121
import type { SdkMetadata } from './types-hoist/sdkmetadata';
2222
import type { Session, SessionAggregates } from './types-hoist/session';
23-
import { SpanV2JSON } from './types-hoist/span';
23+
import type { SpanV2JSON } from './types-hoist/span';
2424
import { isV2BeforeSendSpanCallback } from './utils/beforeSendSpan';
2525
import { dsnToString } from './utils/dsn';
2626
import {

packages/core/src/utils/attributes.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import { normalize } from '..';
21
import type { SerializedAttribute } from '../types-hoist/attributes';
3-
import { Primitive } from '../types-hoist/misc';
4-
import type { SpanAttributes, SpanAttributeValue } from '../types-hoist/span';
5-
import { isPrimitive } from './is';
2+
import type { SpanAttributes } from '../types-hoist/span';
3+
import { normalize } from '../utils/normalize';
64

75
/**
86
* Converts an attribute value to a serialized attribute value object, containing

0 commit comments

Comments
 (0)