faisalman / ua-parser-js

"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
https://uaparser.dev/
GNU Affero General Public License v3.0
9.28k stars 1.2k forks source link

Influx of RangeError: Invalid Date #652

Closed ethanhoroschak closed 1 year ago

ethanhoroschak commented 1 year ago

Recently we've been getting a large amount of RangeError: Invalid Date errors in Sentry so wasn't sure if this was caused by a recent update. The stack trace is as follows:

RangeError: Invalid Date in [native code] in toISOString Called from: ./node_modules/ua-parser-js/src/ua-parser.js [native code] in asyncFunctionResume Called from: ./node_modules/ua-parser-js/src/ua-parser.js in enumerize

Currently on version 1.0.35.