Skip to content
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

Not compatible with IE11 #426

Open
danielroe opened this issue Apr 18, 2019 · 3 comments
Open

Not compatible with IE11 #426

danielroe opened this issue Apr 18, 2019 · 3 comments
Milestone

Comments

@danielroe
Copy link

The documentation states:

In the browser node-wpapi officially supports the latest two versions of all evergreen browsers, and Internet Explorer 11.

However, the compiled version of this module (in at least v1.2.1 and v2 alpha) uses arrow functions which do not work in IE11 and Edge.

@Jamiewarb
Copy link

Jamiewarb commented Jun 7, 2019

It also doesn't work in Safari 9 and below for this reason

@andrewmclagan
Copy link

andrewmclagan commented Sep 19, 2019

Agree this is a huge issue. On Edge the following error:

wp-request

Unexpected identifier, string or number

@andrewmclagan
Copy link

andrewmclagan commented Sep 19, 2019

Spread operator not supported in edge. https://caniuse.com/#search=spread%20operator

Interesting as the babel config seems to have @babel/plugin-proposal-object-rest-spread although there are ALLOT of spread operators in the node_modules of the installed library. Its this perhaps a mis-config of Webpack / Babel?

@kadamwhite kadamwhite added this to the 2.0 milestone Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants