Skip to content

fix(deno): Use correct paths for module and types fileds in package.json - #21449

Merged
s1gr1d merged 1 commit into
developfrom
sig/deno-types
Jun 11, 2026
Merged

fix(deno): Use correct paths for module and types fileds in package.json#21449
s1gr1d merged 1 commit into
developfrom
sig/deno-types

Conversation

@s1gr1d

@s1gr1ds1gr1d commented Jun 10, 2026

Copy link
Copy Markdown
Member

The paths build/index.mjs and build/index.d.ts don't exist. The Deno package builds only to build/esm/.

Thowever, the exports fields is using the correct paths:

"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./build/esm/index.d.ts",
"default": "./build/esm/index.js"
}
}
},

@s1gr1d
s1gr1d requested a review from a team as a code ownerJune 10, 2026 15:15
@s1gr1d
s1gr1d requested review from a team, JPeer264, andreiborza and timfish and removed request for a teamJune 10, 2026 15:15
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser27.39 kBaddedadded
@sentry/browser - with treeshaking flags25.82 kBaddedadded
@sentry/browser (incl. Tracing)45.68 kBaddedadded
@sentry/browser (incl. Tracing + Span Streaming)47.92 kBaddedadded
@sentry/browser (incl. Tracing, Profiling)50.48 kBaddedadded
@sentry/browser (incl. Tracing, Replay)84.9 kBaddedadded
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags74.51 kBaddedadded
@sentry/browser (incl. Tracing, Replay with Canvas)89.6 kBaddedadded
@sentry/browser (incl. Tracing, Replay, Feedback)102.28 kBaddedadded
@sentry/browser (incl. Feedback)44.55 kBaddedadded
@sentry/browser (incl. sendFeedback)32.19 kBaddedadded
@sentry/browser (incl. FeedbackAsync)37.3 kBaddedadded
@sentry/browser (incl. Metrics)28.46 kBaddedadded
@sentry/browser (incl. Logs)28.69 kBaddedadded
@sentry/browser (incl. Metrics & Logs)29.39 kBaddedadded
@sentry/react29.18 kBaddedadded
@sentry/react (incl. Tracing)47.98 kBaddedadded
@sentry/vue32.4 kBaddedadded
@sentry/vue (incl. Tracing)47.57 kBaddedadded
@sentry/svelte27.41 kBaddedadded
CDN Bundle29.78 kBaddedadded
CDN Bundle (incl. Tracing)48.16 kBaddedadded
CDN Bundle (incl. Logs, Metrics)31.32 kBaddedadded
CDN Bundle (incl. Tracing, Logs, Metrics)49.48 kBaddedadded
CDN Bundle (incl. Replay, Logs, Metrics)70.61 kBaddedadded
CDN Bundle (incl. Tracing, Replay)85.51 kBaddedadded
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)86.75 kBaddedadded
CDN Bundle (incl. Tracing, Replay, Feedback)91.34 kBaddedadded
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)92.6 kBaddedadded
CDN Bundle - uncompressed88.46 kBaddedadded
CDN Bundle (incl. Tracing) - uncompressed145.67 kBaddedadded
CDN Bundle (incl. Logs, Metrics) - uncompressed93.17 kBaddedadded
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed149.65 kBaddedadded
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed217.99 kBaddedadded
CDN Bundle (incl. Tracing, Replay) - uncompressed264.54 kBaddedadded
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed268.5 kBaddedadded
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed278.24 kBaddedadded
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed282.19 kBaddedadded
@sentry/nextjs (client)50.43 kBaddedadded
@sentry/sveltekit (client)46.1 kBaddedadded
@sentry/core/server76.05 kBaddedadded
@sentry/core/browser63.19 kBaddedadded
@sentry/node-core61.72 kBaddedadded
@sentry/node130.48 kBaddedadded
@sentry/node - without tracing74.11 kBaddedadded
@sentry/aws-serverless86.29 kBaddedadded
@sentry/cloudflare (withSentry) - minified173.69 kBaddedadded
@sentry/cloudflare (withSentry)433.85 kBaddedadded

View base workflow run

@s1gr1d
s1gr1d merged commit 4070aa8 into developJun 11, 2026
44 checks passed
@s1gr1d
s1gr1d deleted the sig/deno-types branch June 11, 2026 07:41
s1gr1d added a commit that referenced this pull request Jun 11, 2026
Adds support for the Deno Runtime with `@sentry/hono/deno` and adds an
E2E test variant.
[Linear
Link](https://linear.app/getsentry/issue/JS-2037/hono-add-deno-support-4-optional)
Part of this issue:
#21246
Builds on top of this (`@sentry/deno` types change):
- #21449
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@s1gr1d@timfish