Transpiling two modern Javascript files to ECMAScript3

Task details
POSTED
Posted on lip. 28., 2022
STATUS
Filled
DURATION
Negotiable
VALUE
$50.00 per project (Negotiable)
LOCATION
Remote
TYPE
One Time
APPLICATIONS
2
Skills Required
  • Front-end Development
  • Web Development
  • Software Dev, Data & Web - Other

Hello,

I'm looking for someone who could transpile two files written in "modern" Javascript into "legacy" javascript: ES3 or ECMAcript3.

The files that need to be transpiled:
https://github.com/isaacs/sax-js/blob/main/lib/sax.js
https://github.com/nfarina/xmldoc/blob/master/lib/xmldoc.js

I already tried doing it myself with Babel and TypeScript by following this guide:
https://blog.jeremylikness.com/blog/2019-04-17_convert-modern-javascript-to-legacy-ecmascript-5-in-minutes/

It fixes some issues but I still end up with the error `"object.keys().foreach" is not defined` for sax.js.
I tried a few polyfills but without luck.

---

Ideally, please send proof of success by recording your screen and executing the transpiled files (sax.js and xmldoc.js) inside Adobe After Effects (any version, any platform) by going to "File > Scripts > Execute..." and running a .jsx file containing the following:

#include "sax.js"
#include "xmldoc.js"
alert("success")
// the .jsx script, sax.js and xmldoc.js have to be in the same folder

This way I can trust the job is done without having to see any code.


Are you an employer? Post a similar job