Closed 43081j closed 5 months ago
Thanks @43081j! I ended up creating #1388 to make the same change but without the formatting changes. If you're still interested in making those changes you can rebase this PR or create a new one. The tiny-invariant
change is published in v0.23.5.
Awesome, thanks for taking a look so soon!
I'll take a look tomorrow at repurposing this to be a formatting pr since it would still be useful for future contributors (to keep it consistent)
This replaces
assert
withtiny-invariant
in the production code (lib/
) while continuing to use node's built-inassert
for tests.The result is a much leaner dependency tree (as shown in the lockfile diff).
part of on ongoing effort to reduce the footprint of various packages in the ecosystem FYI
also, i ran
npm run format
which has reformatted some missed formatting inconsistencies in unrelated code i haven't otherwise touched