You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at Tokenizer.shouldContinue (htmlparser2-undefined/node_modules/htmlparser2/lib/Tokenizer.js:608:41)
at Tokenizer.parse (htmlparser2-undefined/node_modules/htmlparser2/lib/Tokenizer.js:616:21)
at Tokenizer.write (htmlparser2-undefined/node_modules/htmlparser2/lib/Tokenizer.js:150:14)
at Parser.write (htmlparser2-undefined/node_modules/htmlparser2/lib/Parser.js:460:28)
The text was updated successfully, but these errors were encountered:
I'm not opposed to updating htmlparser2. But I'm also having trouble thinking of how it could get passed undefined. Is there somewhere in Backend where that happens?
I'm not opposed to updating htmlparser2. But I'm also having trouble thinking of how it could get passed undefined. Is there somewhere in Backend where that happens?
I doubt it happens deliberately. It happened to me while modifying SQL generation for export streaming (unjoiner()?) and took a while to understand why things were failing and what exactly I'd broken.
The current version behaves unhelpfully when
Parser.write(undefined)
is called:code
with current dependency (
3.9.2
)ontext { args: [ 'undefined' ] } onend { args: [] }
with latest version (
9.1.0
)The text was updated successfully, but these errors were encountered: