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
More an observation than anything else, since the readme does only guarantee support from node 12 onwards, though actually to me it looks like it would fail until node 14.
Brilliant library by the way. Very useful, I was writing something very similar myself and then found this - which is much better than my implementation.
The text was updated successfully, but these errors were encountered:
More an observation than anything else, since the readme does only guarantee support from node 12 onwards, though actually to me it looks like it would fail until node 14.
Anyway, the problem is that after this change
c843d47#diff-0f66bae7ebf6d343f3d4cb0a5dedb7517273148cfd2e7d8f6bcc892f90e63a2aR8
the dist has a ?. in this one file, which node 9 doesn't interpret correctly.
Easily resolved locally by just changing the file a bit after installing.
So it could either be changed back to the node 9 compatible way of checking, or just the readme be updated.
All that being said, https://node.green/#ES2020-features-optional-chaining-operator------optional-property-access seems to suggest that actually this feature isn't available until node 14.
Brilliant library by the way. Very useful, I was writing something very similar myself and then found this - which is much better than my implementation.
The text was updated successfully, but these errors were encountered: