index.js 631 B

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