-
Notifications
You must be signed in to change notification settings - Fork 654
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
TypeError: Cannot read properties of undefined (reading 'start') #1145
Comments
thanks Sandro, ya can you post a test? happy to debug it, if you can send me something to reproduce. |
Sorry for the length :) See comment about cutting the length. osx, Node20.17.0
|
thanks, got a fix for this on the dev branch. |
fixed in compromise-dates 3.7.0 |
Hello!
Receiving the subject error in my code when calling [processedtext].dates().json() (the #json command itself causes the error).
I can post a test if you like, but I'm also noticing it in the
observable
docs, which may be another vector to the issue.https://observablehq.com/@spencermountain/compromise-dates#cell-129
Also I'll add that this surprised me because I've been using this system for a number of weeks (it's parsing various documents) and this just happened on a new document added today, and doesn't happen against any other document I've processed so far. Some light debugging showed me that the size of the
#ptrs
dictionary is much much longer for this particular document (it found hundreds of date matches, where previous documents never had more than 50 or so items). I don't know if that is relevant, but maybe worth mentioning.Thanks!
The text was updated successfully, but these errors were encountered: