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
TypeError: Cannot read property 'length' of undefined
at f (C:\Users\t-nagashima.AD\dev\sandbox\node_modules\esquery\dist\esquery.min.js:1:32431)
at l (C:\Users\t-nagashima.AD\dev\sandbox\node_modules\esquery\dist\esquery.min.js:1:30995)
at f.enter (C:\Users\t-nagashima.AD\dev\sandbox\node_modules\esquery\dist\esquery.min.js:1:32935)
at f.__execute (C:\Users\t-nagashima.AD\dev\sandbox\node_modules\esquery\dist\esquery.min.js:1:8604)
at f.traverse (C:\Users\t-nagashima.AD\dev\sandbox\node_modules\esquery\dist\esquery.min.js:1:9487)
at Object.y [as traverse] (C:\Users\t-nagashima.AD\dev\sandbox\node_modules\esquery\dist\esquery.min.js:1:2490)
at h (C:\Users\t-nagashima.AD\dev\sandbox\node_modules\esquery\dist\esquery.min.js:1:32878)
at d (C:\Users\t-nagashima.AD\dev\sandbox\node_modules\esquery\dist\esquery.min.js:1:33189)
at m (C:\Users\t-nagashima.AD\dev\sandbox\node_modules\esquery\dist\esquery.min.js:1:33278)
The text was updated successfully, but these errors were encountered:
I've asked @michaelficarra at #67 (comment) whether we might provide a method to supply a custom traverser or VisitorKeys (to support such more recent syntaxes) but pending such a decision, and as also mentioned there, #105 added a lite build which should at least allow overriding the traverser version in use.
FWIW, estools/estraverse#112 was filed on the estraverse side, so if support gets added there, this particular feature at least may become available anyways (at least with a version bump if needed).
Some queries crash on optional chaining.
Repro code:
[email protected]
[email protected]
Error:
The text was updated successfully, but these errors were encountered: