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

Bugfix: File Cache Equality Check Incorrectly Compares Dates #1544

Merged

Conversation

utanapishtim
Copy link
Contributor

What kind of change does this PR introduce?
The change fixes a bug in how file equality is checked which leads to bloated pdf sizes; in particular, the dates for when a file was modified or created are checked for reference equality rather than by comparing whether the date objects represent the same date.

Checklist:

  • Unit Tests
  • Documentation N/A
  • Update CHANGELOG.md N/A
  • Ready to be merged

@blikblum
Copy link
Member

Can you fix the eslint warning?

@utanapishtim
Copy link
Contributor Author

@blikblum fixed

@blikblum blikblum merged commit f2e9b16 into foliojs:master Aug 13, 2024
2 checks passed
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