-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
prop('src'): TypeError: Cannot read properties of undefined (reading 'type') #2552
Comments
Thanks for the report! I had a look at all props, and have a comprehensive fix coming in with #2557. |
Hey @fb55, can you release a new rc version? latest is broken because prop throws an error under no presence 🙂 btw, thanks for this, I didn't note about being the output the same, will be |
|
I'm using
1.0.0-rc.11
. Trying to get thesrc
property of an Cheerio without any elements throws a TypeError.The
.prop('src')
on the.first()
throws an error if thefilter()
returned an empty list.This worked without an error in
1.0.0-rc.10
.Also there is a
'
missing in the description.The text was updated successfully, but these errors were encountered: