Skip to content

Fix Node16 ModuleResolution#59

Merged
kossnocorp merged 1 commit intodate-fns:mainfrom
samchungy:main
Aug 1, 2025
Merged

Fix Node16 ModuleResolution#59
kossnocorp merged 1 commit intodate-fns:mainfrom
samchungy:main

Conversation

@samchungy
Copy link
Copy Markdown
Contributor

@samchungy samchungy commented Jun 19, 2025

Resolves #60

Replaces .ts and .js imports within the .cts files to import from the corresponding .cts and .cjs imports.

Tested locally and the tsc compiler seems to be happy.

Same issue as in: date-fns/date-fns#4043

@samchungy samchungy marked this pull request as ready for review June 19, 2025 01:17
Copy link
Copy Markdown
Member

@kossnocorp kossnocorp left a comment

Choose a reason for hiding this comment

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

Thank you!

@kossnocorp kossnocorp added this to Main Aug 1, 2025
@github-project-automation github-project-automation bot moved this to Inbox in Main Aug 1, 2025
@kossnocorp kossnocorp moved this from Inbox to WIP in Main Aug 1, 2025
@kossnocorp kossnocorp merged commit 27eaaf9 into date-fns:main Aug 1, 2025
@github-project-automation github-project-automation bot moved this from WIP to Done in Main Aug 1, 2025
@kossnocorp kossnocorp added the 🌟 Enhancement Improves existing functionality label Aug 1, 2025
kossnocorp pushed a commit that referenced this pull request Aug 1, 2025
@kossnocorp
Copy link
Copy Markdown
Member

Shipped with @date-fns/tz@1.3.0.

@kossnocorp kossnocorp moved this from Done to Shipped in Main Aug 1, 2025
@kossnocorp kossnocorp mentioned this pull request Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌟 Enhancement Improves existing functionality

Projects

Status: Shipped

Development

Successfully merging this pull request may close these issues.

Node16 Module Resolution Failure

2 participants