Caleb Everett
Caleb Everett
I think your example only works because argon2 has separate artifact packages (@node-rs/argon2-linux-x64-gnu) and napi-rs skips the existsSync for those packages. ``` localFileExisted = existsSync( join(__dirname, 'snappy.linux-x64-gnu.node') ) try {...
I'll forward that to the maintainers of the package I'm using :)
The base64 string is passed to JSON.stringify so it will be a valid ion string. Ignore Buffer / base64, it can be reproduced with ``` ion.load(JSON.stringify("a".repeat(50_000_000))) ``` I can also...
I can take a stab at updating docs tomorrow. Should npm publish warn if a package has overrides? What's the reason for overrides being app only? I can kind of...
> In this case, it's simply not your place to override anything in a dependency, unless you're the end user But in a sense my library is the end user....
It seems like npm 10 will only treat exactly `*` as a directory wildcard, so `*` or `lib/*` will match directories, but `dist-*` or `*.ts` will only match files.
Okay, there's a closed npm/cli issue saying it's fixed https://github.com/npm/cli/issues/6164, and a npm-packlist issue tracking other packlist changes https://github.com/npm/npm-packlist/issues/152 The fix they reference https://github.com/npm/npm-packlist/pull/147 suggests that packlist should treat `*`...
interestingly `dist-*/*` does match and has the same packlist between 8 and 10.
I'm in the position of upgrading the company wide npm version, this is one of the few changes that's causing wide spread differences. It's mainly a matter of documenting the...
What does 'unwind all of these hacks' mean? Make it more like npm 8, or make it ' aligned more with standard glob implementations'? IMO npm 8's behavior is not...