fengari-interop
fengari-interop copied to clipboard
Fengari <=> JS Interop
Hello, I have noticed some JS package has been used the ESModule instead CommonJS. Its annoying since there's no built-in JS function in lua like `js.import`. Does the team have...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Closes #45 Based on https://mathiasbynens.be/notes/globalthis
I'm finding that when I convert a Lua table to JS, I can't examine its `keys`. Is there a way of doing this? ```lua { foo = 1, bar =...
I want to translate this JS one-liner to Lua: ```js Split(['#Left', '#Right'], {gutterSize: 15, minSize: 270, sizes: [25, 75], snapOffset: 0, expandToMin: true}); ``` This works, but is too bulky:...
Minimal example, e.g. in the https://fengari.io REPL: js.typeof(js.global) ``` Uncaught exception TypeError: Cannot read property 'funcOff' of undefined at rt (javascript:8) at Et (javascript:8) at It (javascript:8) at t (javascript:8)...
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
https://mathiasbynens.be/notes/globalthis Found via https://news.ycombinator.com/item?id=19891190
Moving the issue from fengari-lua/fengari#124 over here instead. Near the end of the thread for that issue, I suggested possibly adding some kind of option for enabling stack traces on...