index.js 784 B

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