-
Notifications
You must be signed in to change notification settings - Fork 31
Breaks on Node 6 #98
Comments
Afaik, The link you shared is for Are you sure it's breaking? The code run in node 6 on the CI without issue. |
^^ Good catch. The code I pasted uses both |
Oh my. I should have paid more attention. I'm on it to fix it and release a new version. Thanks for reporting the issue. |
@tleunen Really appreciate the fast turn around. Thank you! |
This package's built code is shipping
Object.getOwnPropertyDescriptors
which is not supported in Node v6. https://node.green/#ES2017-features-Object-static-methods-Object-getOwnPropertyDescriptorsSince this repo is using babel-preset-env and targeting a Node version of 6, I wouldn't expect this to break and it may be indicative of an error in babel itself. E.g. potentially related to babel/babel#9382
Code snippet that is breaking:
My current workaround is to import
@babel/polyfill
in my.eslintrc.js
until we can upgrade our versions of Node.Version Info
The text was updated successfully, but these errors were encountered: