-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(cloudflare): Add nodejs_compat entrypoint #21881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,16 @@ | |
| "types": "./build/types/request.d.ts", | ||
| "default": "./build/cjs/request.js" | ||
| } | ||
| }, | ||
| "./nodejs_compat": { | ||
| "import": { | ||
| "types": "./build/types/nodejs_compat/index.d.ts", | ||
| "default": "./build/esm/nodejs_compat/index.js" | ||
| }, | ||
| "require": { | ||
| "types": "./build/types/nodejs_compat/index.d.ts", | ||
| "default": "./build/cjs/nodejs_compat/index.js" | ||
| } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing E2E for entrypointLow Severity This feat PR adds the public Additional Locations (1)Triggered by project rule: PR Review Guidelines for Cursor Bot Reviewed by Cursor Bugbot for commit a9079a0. Configure here.
Comment on lines
+42
to
+48
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The Suggested FixUpdate the Prompt for AI AgentDid we get this right? 👍 / 👎 to inform future reviews. |
||
| } | ||
| }, | ||
| "typesVersions": { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,7 @@ | ||
| import { makeBaseNPMConfig, makeNPMConfigVariants } from '@sentry-internal/rollup-utils'; | ||
|
|
||
| export default makeNPMConfigVariants(makeBaseNPMConfig()); | ||
| export default makeNPMConfigVariants( | ||
| makeBaseNPMConfig({ | ||
| entrypoints: ['src/index.ts', 'src/nodejs_compat/index.ts'], | ||
| }), | ||
| ); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export * from '../index'; |


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop the
nodejs_? Justcompat?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be an option. This is at least getting rid of the
_which I'm not a big fan of