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: Incorrect entries in stream exports #362

Merged
merged 5 commits into from
May 24, 2024
Merged

Conversation

rschristian
Copy link
Member

No description provided.

Copy link

changeset-bot bot commented May 24, 2024

🦋 Changeset detected

Latest commit: 8517ba5

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

This PR includes changesets to release 1 package
Name Type
preact-render-to-string 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

Comment on lines -3 to -4
const snakeCaseToCamelCase = str =>
str.replace(/([-_][a-z])/g, group => group.toUpperCase().replace('-', ''));
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know what this was for, but we certainly don't need it

@rschristian rschristian changed the title fix: Ensure streams have valid .mjs output modules fix: Incorrect entries in stream exports May 24, 2024
"import": "./dist/stream-node.mjs",
"browser": "./dist/stream-node.module.js",
Copy link
Member Author

Choose a reason for hiding this comment

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

Dropped as it's not suitable for browser use -- it imports from node:stream.

@JoviDeCroock JoviDeCroock merged commit 3044ac2 into main May 24, 2024
1 check passed
@JoviDeCroock JoviDeCroock deleted the fix/stream-exports branch May 24, 2024 06:35
@github-actions github-actions bot mentioned this pull request May 24, 2024
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.

2 participants