Skip to content

chore: fix CJS imports#2121

Merged
tatomyr merged 1 commit intomainfrom
chore/fix-otel-imports
Jun 3, 2025
Merged

chore: fix CJS imports#2121
tatomyr merged 1 commit intomainfrom
chore/fix-otel-imports

Conversation

@tatomyr
Copy link
Collaborator

@tatomyr tatomyr commented Jun 3, 2025

What/Why/How?

Fixed wrong CJS-style imports that were working in dev mode but failing when running a bundled package.

Reference

Testing

Tested manually. Does not require automated tests.

Screenshots (optional)

Check yourself

  • Code changed? - Tested with redoc (internal)
  • All new/updated code is covered with tests
  • New package installed? - Tested in different environments (browser/node)

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

@changeset-bot
Copy link

changeset-bot bot commented Jun 3, 2025

⚠️ No Changeset found

Latest commit: 08c8d7f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@tatomyr tatomyr marked this pull request as ready for review June 3, 2025 16:48
@tatomyr tatomyr requested a review from a team as a code owner June 3, 2025 16:48
@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2025

Command Mean [ms] Min [ms] Max [ms] Relative
redocly lint packages/core/src/benchmark/benches/rebilly.yaml 922.5 ± 17.6 907.2 954.6 1.00
redocly-next lint packages/core/src/benchmark/benches/rebilly.yaml 1001.3 ± 29.1 965.6 1076.8 1.09 ± 0.04

@DmitryAnansky DmitryAnansky added the snapshot Create experimental release PR label Jun 3, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2025

📦 A new experimental 🧪 version v0.0.0-snapshot.1748969604 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/cli@0.0.0-snapshot.1748969604
# or
npm install @redocly/openapi-core@0.0.0-snapshot.1748969604
# or
npm install @redocly/respect-core@0.0.0-snapshot.1748969604

⚠️ Note: This is a development build and may contain unstable features.

@tatomyr tatomyr merged commit 6a20b93 into main Jun 3, 2025
42 of 43 checks passed
@tatomyr tatomyr deleted the chore/fix-otel-imports branch June 3, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changeset needed snapshot Create experimental release PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants