index.js 682 B

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