HL7 / fhirpath.js

Javascript implementation of FHIRPath
Other
155 stars 43 forks source link

bump date-fns #159

Open ottob opened 1 month ago

ottob commented 1 month ago

Do you have any plans to bump date-fns? The version currently used (1.30.1) is very old, current is 3.6.0.

When I tried to import fhirpath.js into my project it broke the build since it conflicted with an existing date-fns dependency.

plynchnlm commented 1 month ago

We can look into that, but I am confused as to why fhirpath.js' version of date-fns matters. I thought one of the points of npm was that your app can use a different version of a package than another package you are using uses. Did you install fhirpath.js using npm? Can you share the code that does the import, and the error message you are getting when building?