url-search-params: IE11 throws with "Object doesn't support this action"
In Internet Explorer 11, the polyfill throws with Object doesn't support this action when executing the following line:
new URLSearchParams("q=URLUtils.searchParams&topic=api");
According to MDN, the call is fine.
I’ve provided more info in the following issue as I’ve first suspected Axios: https://github.com/axios/axios/issues/2045
I’ve updated from url-search-params@0.10.0 which was working and stumbled over this bug.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 15 (9 by maintainers)
@WebReflection This views on standards are ridiculous. I just needed something to make it work. This just doesn’t work with webpack even if i import from cjs path. Just delete your library if you hate open-source so much. I would have written myself rather than wasting my time with some broken third party. There is nothing standard about npm. And if you obey standards you could not move far.
Thanks for your openness! I can really understand your frustration about it, especially because of libraries creating new realities out of sheer popularity. I wouldn’t have ever proposed changing your
package.jsonfile if I had known the background of this 😉Maybe it’s a bit silly to give an ECMA contributor such an advice, but one of the few things that help changing realities is educating people. So it’s certainly the right call to enclose a note in the readme and I think it’s also a good idea to address your concerns in a blog post, so that more developers become aware of the issue.
Anyways, keep up the good work and don’t let frustration eat you up, it’s not worth it 👍