mirror of
https://github.com/artiebits/fake-git-history.git
synced 2026-04-26 23:45:56 +03:00
[PR #64] [CLOSED] Fix modern Node.js support (ESM, meow v13, date-fns v2, visualization ESM) #62
Labels
No labels
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-git-history#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/artiebits/fake-git-history/pull/64
Author: @emreyn1
Created: 1/8/2026
Status: ❌ Closed
Base:
master← Head:master📝 Commits (4)
02a724bRemove embedded my-history repo (fake commits kept separate)97bd711refactor: remove unnecessary comment in cli.js48d2ba4refactor: use toString() instead of toISOString() for user's local timezone commits556eeacrestore full visualization features from original project📊 Changes
5 files changed (+97 additions, -80 deletions)
View changed files
📝
package-lock.json(+26 -7)📝
package.json(+2 -1)📝
src/cli.js(+29 -28)📝
src/index.js(+29 -22)📝
src/visualization.js(+11 -22)📄 Description
This PR fixes compatibility issues with modern Node.js versions (18/20+):
"type": "module"for ESM supportimportMeta: import.meta+shortFlaginstead of deprecatedaliasTested successfully on Node v20.19.6 and v18.20.8 – both preview and commit generation work perfectly.
The tool is awesome, this update keeps it alive for current Node users.
Thanks for the great project!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.