Ben Allfree
Ben Allfree
@ZeldOcarina Confirmed fixed. Well done bun team, this got fixed super fast!
I saw that SO post as well, but have yet to get `ts-node` or `node-dev` to actually work with mjs modules.
I briefly attempted to get `ts-node` to accept the `.mjs` files in v13 of micro-dash, but no success to report yet. For now I'm sticking with v12 since v13 seems...
Found this https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
That's a really good question. Probably anything EcmaScript (https://262.ecma-international.org/5.1/) is safe. https://reactnative.dev/docs/javascript-environment Definitely nothing DOM. Some `window` is available, like `addEventListener`, but I can't find a solid reference. Some environments...
Interesting thought on the polyfill, I will see if that works. Maybe I can do `global.performance = { now: ()=>+new Date() }` or something.
I’d suggest it’s worth revisiting. Unfortunately I’ve moved on for the time being, but the issue is still valid imho :)
Doh I see. Ok let me work on this a little more, because you're right, `/dist/index.d.ts` is: ```ts import * as sqlite3 from 'sqlite3'; //
Ok what about this... I arrived here because I forked the sqlite3 project to extend its interface (https://github.com/TryGhost/node-sqlite3/pull/1726). But because sqlite3 typings are vendored here, TS was stopping once it...
Dang it... ok, then what about this... :) It seems like node-sqlite + sqlite3 is the most common configuration since the docs even open with the suggestion to install both....