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
The current isPlainObject function in the check package was extracted from jquery 1.11.2, to remove the check packages dependency on jquery. Modern versions of jquery's isPlainObject function do not have the nodeType issue mentioned in this issue thread (example). We can likely just drop a copy of jquery's updated isPlainObject function into the check package (after massaging it a bit and adding some additional tests), and be good to go on this one.
check@1.2.5 was just published with the fix submitted in #8351. Thanks for reporting this originally, @jagi, thanks to @hwillson for the analysis and thanks @nlhuykhang for the fix! Great cooperation!
Because of this line https://github.com/meteor/meteor/blob/devel/packages/check/isPlainObject.js#L36 it is not possible to check existence of the
nodeType
property. It treats it as non plain object. The following code will not work.The text was updated successfully, but these errors were encountered: