Skip to content

Upgrade to date-fns v3 #6744

@justinbhopper

Description

@justinbhopper

Feature request

BlueprintJS is currently using date-fns v2, which had a big issue of polluting the global namespace with their TypeScript definitions. This causes conflicts with anyone consuming date-fns v2 or any library including it as a dependency (e.g. BlueprintJS). I can give examples of side effects if that helps decide priority.

This pollution is unavoidable. It's impossible to tell TypeScript to ignore their definitions.

date-fns fixed this in v3 (3 months ago). It would be great if BlueprintJS could upgrade to latest!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions