index.js 733 B

12345678910111213141516171819202122232425262728293031323334
  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 ES2021 = require('./es2021');
  11. var ES2022 = require('./es2022');
  12. var ES2023 = require('./es2023');
  13. var ES = {
  14. ES5: ES5,
  15. ES6: ES2015,
  16. ES2015: ES2015,
  17. ES7: ES2016,
  18. ES2016: ES2016,
  19. ES2017: ES2017,
  20. ES2018: ES2018,
  21. ES2019: ES2019,
  22. ES2020: ES2020,
  23. ES2021: ES2021,
  24. ES2022: ES2022,
  25. ES2023: ES2023
  26. };
  27. assign(ES, ES5);
  28. delete ES.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible
  29. assign(ES, ES2015);
  30. module.exports = ES;