John-David Dalton
John-David Dalton
@addaleax > I don’t think Ayo should get rid of .mjs if that’s what Node is going with, but I don’t see why we can’t discuss alternative purely additional options?...
Thanks @ooker777. We're not adding new methods at this time.
Seems setting NODE_NO_WARNINGS=1 still produces the warning :/ (goes to stderr)
If I bypass `tap` and call `tap-run` then I get a similar warning until I wrap the `switch` statement in https://github.com/tapjs/tapjs/blob/ccfea67fec112bb14db260dcec3de02f83fdccb1/src/run/src/index.ts#L13-L57 in an async iffe then the warning goes away...
Node 23 switches to ESM by default. It detects ESM with or without the type `"module"` specified and supports synchronous ESM through `require` so likely some edges are gonna be...
I'm noodling on a solution to this. But for now they bit rot as a way to encourage folks to choose alternatives.
The `lodash.package` has been deprecated. Use https://socket.dev/npm/package/eta instead.
Related to https://github.com/microsoft/TypeScript/pull/57472
Yes, it's better to use a more tailored version of a `pick`. You can use modern object spread syntax.
As @Trott said. Lodash's `_.template` is based on Underscore's from 2009. Since then logic-less template methods have become a thing and are great. I'd recommend using a more feature rich...