Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"jsonwebtoken": "^9.0.3",
"openai": "4.104.0",
"openapi-json-schema": "^2.0.0",
"uuid": "^9.0.1",
"uuid": "^14.0.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep CJS entrypoints compatible with upgraded uuid

Upgrading uuid to ^14.0.0 breaks consumers using this package’s CommonJS exports: packages/proxy/package.json still publishes multiple "require" entrypoints and packages/proxy/tsup.config.ts still emits CJS builds, but uuid v12+ removed CommonJS support. Because tsup externalizes normal dependencies by default, the generated CJS files will keep require("uuid"), which throws ERR_REQUIRE_ESM at runtime for any caller loading @braintrust/proxy via require(...). Either keep a CJS-compatible uuid major, bundle/noExternal uuid for CJS outputs, or remove require exports in a coordinated breaking change.

Useful? React with 👍 / 👎.

"zod": "^3.25.34"
}
}
32 changes: 19 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading