Skip to content
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

fix: bump jay-peg dependency to fix CJS module resolution error #2635

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

wojtekmaj
Copy link
Contributor

jay-peg 1.0.0 suffered from an issue that caused module resolution error in CJS mode.

jay-peg 1.0.0 suffered from an issue that caused module resolution error in CJS mode.
Copy link

changeset-bot bot commented Feb 12, 2024

🦋 Changeset detected

Latest commit: f2f745b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@react-pdf/pdfkit Patch
@react-pdf/image Patch
@react-pdf/layout Patch
@react-pdf/renderer Patch
@react-pdf/svgkit Patch
@react-pdf/examples Patch
@react-pdf/e2e-node-cjs Patch
@react-pdf/e2e-node-esm Patch

Not sure what this means? Click here to learn what changesets are.

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

wojtekmaj added a commit to wojtekmaj/diegomura-react-pdf that referenced this pull request Feb 12, 2024
Turns out, generated PDFs differ slightly from platform to platform. As the previous reference file I generated comes from macOS, it fails when E2E is ran on linux. This fixes that by introducing platform-specific reference files.

Note: without diegomura#2633, E2E will error, and without diegomura#2635, CJS E2E will still fail.
Copy link
Owner

@diegomura diegomura left a comment

Choose a reason for hiding this comment

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

utACK

@diegomura
Copy link
Owner

Thanks! Forgot to bump it 🤦🏻

@diegomura diegomura merged commit da10a9b into diegomura:master Feb 12, 2024
@wojtekmaj wojtekmaj deleted the jay-peg-fix branch February 12, 2024 19:58
wojtekmaj added a commit to wojtekmaj/diegomura-react-pdf that referenced this pull request Feb 12, 2024
Turns out, generated PDFs differ slightly from platform to platform. As the previous reference file I generated comes from macOS, it fails when E2E is ran on linux. This fixes that by introducing platform-specific reference files.

Note: without diegomura#2633, E2E will error, and without diegomura#2635, CJS E2E will still fail.
mskec pushed a commit to mskec/react-pdf that referenced this pull request Feb 26, 2024
…omura#2635)

jay-peg 1.0.0 suffered from an issue that caused module resolution error in CJS mode.
Sign up for free to 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.

None yet

2 participants