UNPKG
bonsai-analyzer
Version:
latest (0.4.0-alpha4)
0.4.0-alpha4
0.4.0-alpha3
0.4.0-alpha2
0.3.0
0.2.0
0.2.0-alpha.1
0.1.0
Trim your dependency tree.
github.com/pinterest/bonsai
pinterest/bonsai
bonsai-analyzer
/
src
/
shims.js
18 lines
(13 loc)
•
249 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** *
@flow
*/
import
values
from
'object.values'
;
import
includes
from
'array-includes'
;
import
'raf/polyfill'
;
console
.
timeStamp
=
function
(
) {};
if
(!
Object
.
values
) { values.
shim
(); }
if
(!
Array
.
prototype
.
includes
) { includes.
shim
(); }