index.js 580 B

12345678910111213141516171819202122232425262728
  1. 'use strict';
  2. var assign = require('./helpers/assign');
  3. var ES5 = require('./es5');
  4. var ES2015 = require('./es2015');
  5. var ES2016 = require('./es2016');
  6. var ES2017 = require('./es2017');
  7. var ES2018 = require('./es2018');
  8. var ES2019 = require('./es2019');
  9. var ES2020 = require('./es2020');
  10. var ES = {
  11. ES5: ES5,
  12. ES6: ES2015,
  13. ES2015: ES2015,
  14. ES7: ES2016,
  15. ES2016: ES2016,
  16. ES2017: ES2017,
  17. ES2018: ES2018,
  18. ES2019: ES2019,
  19. ES2020: ES2020
  20. };
  21. assign(ES, ES5);
  22. delete ES.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible
  23. assign(ES, ES2015);
  24. module.exports = ES;