Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

%TypedArray%.prototype.every missing in IE11 #196

Closed
alippai opened this issue Mar 8, 2017 · 4 comments
Closed

%TypedArray%.prototype.every missing in IE11 #196

alippai opened this issue Mar 8, 2017 · 4 comments
Labels

Comments

@alippai
Copy link

alippai commented Mar 8, 2017

The env preset doesn't include the %TypedArray%.prototype.every polyfill for IE11 target.
IE11 has TypedArray support, however it's missing some functions on the TypedArray instances.

@yavorsky
Copy link
Member

yavorsky commented Mar 8, 2017

Hi, @alippai. According to %TypedArray%.prototype.every in compat-table, IE 11 doesn't support this feature.
Just tried in IE 11.321 and compat-table is actually right:
screen shot 2017-03-08 at 15 23 49
Going to figure out. Thanks!

@yavorsky yavorsky added the i: bug label Mar 8, 2017
@alippai
Copy link
Author

alippai commented Mar 8, 2017

As a workaround (until the proper fix) adding the missing imports manually solves the problem:

import "core-js/modules/es6.typed.int8-array";
import "core-js/modules/es6.typed.uint8-array";
import "core-js/modules/es6.typed.uint8-clamped-array";
import "core-js/modules/es6.typed.int16-array";
import "core-js/modules/es6.typed.uint16-array";
import "core-js/modules/es6.typed.int32-array";
import "core-js/modules/es6.typed.uint32-array";
import "core-js/modules/es6.typed.float32-array";
import "core-js/modules/es6.typed.float64-array";```

@yavorsky
Copy link
Member

yavorsky commented Mar 8, 2017

@alippai yes, but it isn't what we actually want. I fixed it and need to add a few tests. Going to push today.

@existentialism
Copy link
Member

Released in https://github.com/babel/babel-preset-env/releases/tag/v1.2.2!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants