config.js 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. module.exports = {
  2. list: [
  3. 'es6.symbol',
  4. 'es6.object.define-property',
  5. 'es6.object.define-properties',
  6. 'es6.object.get-own-property-descriptor',
  7. 'es6.object.create',
  8. 'es6.object.get-prototype-of',
  9. 'es6.object.keys',
  10. 'es6.object.get-own-property-names',
  11. 'es6.object.freeze',
  12. 'es6.object.seal',
  13. 'es6.object.prevent-extensions',
  14. 'es6.object.is-frozen',
  15. 'es6.object.is-sealed',
  16. 'es6.object.is-extensible',
  17. 'es6.object.assign',
  18. 'es6.object.is',
  19. 'es6.object.set-prototype-of',
  20. 'es6.object.to-string',
  21. 'es6.function.bind',
  22. 'es6.function.name',
  23. 'es6.function.has-instance',
  24. 'es6.number.constructor',
  25. 'es6.number.to-fixed',
  26. 'es6.number.to-precision',
  27. 'es6.number.epsilon',
  28. 'es6.number.is-finite',
  29. 'es6.number.is-integer',
  30. 'es6.number.is-nan',
  31. 'es6.number.is-safe-integer',
  32. 'es6.number.max-safe-integer',
  33. 'es6.number.min-safe-integer',
  34. 'es6.number.parse-float',
  35. 'es6.number.parse-int',
  36. 'es6.parse-int',
  37. 'es6.parse-float',
  38. 'es6.math.acosh',
  39. 'es6.math.asinh',
  40. 'es6.math.atanh',
  41. 'es6.math.cbrt',
  42. 'es6.math.clz32',
  43. 'es6.math.cosh',
  44. 'es6.math.expm1',
  45. 'es6.math.fround',
  46. 'es6.math.hypot',
  47. 'es6.math.imul',
  48. 'es6.math.log10',
  49. 'es6.math.log1p',
  50. 'es6.math.log2',
  51. 'es6.math.sign',
  52. 'es6.math.sinh',
  53. 'es6.math.tanh',
  54. 'es6.math.trunc',
  55. 'es6.string.from-code-point',
  56. 'es6.string.raw',
  57. 'es6.string.trim',
  58. 'es6.string.code-point-at',
  59. 'es6.string.ends-with',
  60. 'es6.string.includes',
  61. 'es6.string.repeat',
  62. 'es6.string.starts-with',
  63. 'es6.string.iterator',
  64. 'es6.string.anchor',
  65. 'es6.string.big',
  66. 'es6.string.blink',
  67. 'es6.string.bold',
  68. 'es6.string.fixed',
  69. 'es6.string.fontcolor',
  70. 'es6.string.fontsize',
  71. 'es6.string.italics',
  72. 'es6.string.link',
  73. 'es6.string.small',
  74. 'es6.string.strike',
  75. 'es6.string.sub',
  76. 'es6.string.sup',
  77. 'es6.array.is-array',
  78. 'es6.array.from',
  79. 'es6.array.of',
  80. 'es6.array.join',
  81. 'es6.array.slice',
  82. 'es6.array.sort',
  83. 'es6.array.for-each',
  84. 'es6.array.map',
  85. 'es6.array.filter',
  86. 'es6.array.some',
  87. 'es6.array.every',
  88. 'es6.array.reduce',
  89. 'es6.array.reduce-right',
  90. 'es6.array.index-of',
  91. 'es6.array.last-index-of',
  92. 'es6.array.copy-within',
  93. 'es6.array.fill',
  94. 'es6.array.find',
  95. 'es6.array.find-index',
  96. 'es6.array.iterator',
  97. 'es6.array.species',
  98. 'es6.regexp.constructor',
  99. 'es6.regexp.to-string',
  100. 'es6.regexp.flags',
  101. 'es6.regexp.match',
  102. 'es6.regexp.replace',
  103. 'es6.regexp.search',
  104. 'es6.regexp.split',
  105. 'es6.promise',
  106. 'es6.map',
  107. 'es6.set',
  108. 'es6.weak-map',
  109. 'es6.weak-set',
  110. 'es6.reflect.apply',
  111. 'es6.reflect.construct',
  112. 'es6.reflect.define-property',
  113. 'es6.reflect.delete-property',
  114. 'es6.reflect.enumerate',
  115. 'es6.reflect.get',
  116. 'es6.reflect.get-own-property-descriptor',
  117. 'es6.reflect.get-prototype-of',
  118. 'es6.reflect.has',
  119. 'es6.reflect.is-extensible',
  120. 'es6.reflect.own-keys',
  121. 'es6.reflect.prevent-extensions',
  122. 'es6.reflect.set',
  123. 'es6.reflect.set-prototype-of',
  124. 'es6.date.now',
  125. 'es6.date.to-json',
  126. 'es6.date.to-iso-string',
  127. 'es6.date.to-string',
  128. 'es6.date.to-primitive',
  129. 'es6.typed.array-buffer',
  130. 'es6.typed.data-view',
  131. 'es6.typed.int8-array',
  132. 'es6.typed.uint8-array',
  133. 'es6.typed.uint8-clamped-array',
  134. 'es6.typed.int16-array',
  135. 'es6.typed.uint16-array',
  136. 'es6.typed.int32-array',
  137. 'es6.typed.uint32-array',
  138. 'es6.typed.float32-array',
  139. 'es6.typed.float64-array',
  140. 'es7.array.includes',
  141. 'es7.string.at',
  142. 'es7.string.pad-start',
  143. 'es7.string.pad-end',
  144. 'es7.string.trim-left',
  145. 'es7.string.trim-right',
  146. 'es7.string.match-all',
  147. 'es7.symbol.async-iterator',
  148. 'es7.symbol.observable',
  149. 'es7.object.get-own-property-descriptors',
  150. 'es7.object.values',
  151. 'es7.object.entries',
  152. 'es7.object.enumerable-keys',
  153. 'es7.object.enumerable-values',
  154. 'es7.object.enumerable-entries',
  155. 'es7.object.define-getter',
  156. 'es7.object.define-setter',
  157. 'es7.object.lookup-getter',
  158. 'es7.object.lookup-setter',
  159. 'es7.map.to-json',
  160. 'es7.set.to-json',
  161. 'es7.system.global',
  162. 'es7.error.is-error',
  163. 'es7.math.iaddh',
  164. 'es7.math.isubh',
  165. 'es7.math.imulh',
  166. 'es7.math.umulh',
  167. 'es7.reflect.define-metadata',
  168. 'es7.reflect.delete-metadata',
  169. 'es7.reflect.get-metadata',
  170. 'es7.reflect.get-metadata-keys',
  171. 'es7.reflect.get-own-metadata',
  172. 'es7.reflect.get-own-metadata-keys',
  173. 'es7.reflect.has-metadata',
  174. 'es7.reflect.has-own-metadata',
  175. 'es7.reflect.metadata',
  176. 'es7.asap',
  177. 'es7.observable',
  178. 'web.immediate',
  179. 'web.dom.iterable',
  180. 'web.timers',
  181. 'core.dict',
  182. 'core.get-iterator-method',
  183. 'core.get-iterator',
  184. 'core.is-iterable',
  185. 'core.delay',
  186. 'core.function.part',
  187. 'core.object.is-object',
  188. 'core.object.classof',
  189. 'core.object.define',
  190. 'core.object.make',
  191. 'core.number.iterator',
  192. 'core.regexp.escape',
  193. 'core.string.escape-html',
  194. 'core.string.unescape-html',
  195. ],
  196. experimental: [
  197. 'es7.object.enumerable-keys',
  198. 'es7.object.enumerable-values',
  199. 'es7.object.enumerable-entries',
  200. ],
  201. libraryBlacklist: [
  202. 'es6.object.to-string',
  203. 'es6.function.name',
  204. 'es6.regexp.constructor',
  205. 'es6.regexp.to-string',
  206. 'es6.regexp.flags',
  207. 'es6.regexp.match',
  208. 'es6.regexp.replace',
  209. 'es6.regexp.search',
  210. 'es6.regexp.split',
  211. 'es6.number.constructor',
  212. 'es6.date.to-string',
  213. 'es6.date.to-primitive',
  214. ],
  215. es5SpecialCase: [
  216. 'es6.object.create',
  217. 'es6.object.define-property',
  218. 'es6.object.define-properties',
  219. 'es6.object.get-own-property-descriptor',
  220. 'es6.object.get-prototype-of',
  221. 'es6.object.keys',
  222. 'es6.object.get-own-property-names',
  223. 'es6.object.freeze',
  224. 'es6.object.seal',
  225. 'es6.object.prevent-extensions',
  226. 'es6.object.is-frozen',
  227. 'es6.object.is-sealed',
  228. 'es6.object.is-extensible',
  229. 'es6.function.bind',
  230. 'es6.array.is-array',
  231. 'es6.array.join',
  232. 'es6.array.slice',
  233. 'es6.array.sort',
  234. 'es6.array.for-each',
  235. 'es6.array.map',
  236. 'es6.array.filter',
  237. 'es6.array.some',
  238. 'es6.array.every',
  239. 'es6.array.reduce',
  240. 'es6.array.reduce-right',
  241. 'es6.array.index-of',
  242. 'es6.array.last-index-of',
  243. 'es6.number.to-fixed',
  244. 'es6.number.to-precision',
  245. 'es6.date.now',
  246. 'es6.date.to-iso-string',
  247. 'es6.date.to-json',
  248. 'es6.string.trim',
  249. 'es6.regexp.to-string',
  250. 'es6.parse-int',
  251. 'es6.parse-float',
  252. ],
  253. banner: '/**\n' +
  254. ' * core-js ' + require('../package').version + '\n' +
  255. ' * https://github.com/zloirock/core-js\n' +
  256. ' * License: http://rock.mit-license.org\n' +
  257. ' * © ' + new Date().getFullYear() + ' Denis Pushkarev\n' +
  258. ' */'
  259. };