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

chore: upgrade date-fns to v3 #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndyOGo
Copy link

@AndyOGo AndyOGo commented Aug 29, 2024

Fixes #58

  • full TypeScript
  • dropping IE support
  • removed default exports

https://blog.date-fns.org/v3-is-out/


  • Bump version

fn && fn(event, ...args);
if (fn) {
fn(event, ...args);
}
Copy link
Author

Choose a reason for hiding this comment

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

FYI: this project has no lock file.
It looks like that some lint rules have changed.

✖ kcd-scripts lint found some errors. Please fix them and try committing again.

/Users/andy/work/js/dayzed/src/utils.js
  18:7  error  Expected an assignment or function call and instead saw an expression  babel/no-unused-expressions

✖ 1 problem (1 error, 0 warnings)

@@ -54,7 +54,7 @@
},
"dependencies": {
"@babel/runtime": "^7.6.2",
"date-fns": "^2.0.0"
"date-fns": "^3.6.0"
Copy link
Author

Choose a reason for hiding this comment

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

You might consider that a breaking change if you care about IE support.

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.

Upgrade to use date-fns v3
1 participant