silverwind
silverwind
> ESLint has 34 dependencies - the rest are transient dependencies. Yes, I meant ~35 direct dependencies which expands to around 75 total dependencies.
> @silverwind bundling is not the only way -- npm shinkwrap does the same thing without bundling. Interesting, I did not know but you are right, apparently one can include...
Removing the package.json semver ranges (and adding `save-exact = true` to `.npmrc`) locks around half the dependencies and protects users and developers alike. If you have a easy way to...
Lockfiles only protect the developer, not the user. They are good for one thing only: consistent development environments. `npm-shrinkwrap` is superior to lockfiles in that it can also protect the...
It's a bug in https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks which is hosted in this repo.
Yeah that may be an improvement but my example is not actually representative of the code where I had this issue. It's specifically the ternary that triggers the bug. I...
> Actually, the bug here is that no error is reported for setWidth(getWidth(ref.current)). It should be reported because you're adjusting state synchronously from within an effect, and that is the...
FYI you can check typescript support via [`process.features.typescript`](https://nodejs.org/api/process.html#processfeaturestypescript). > you will need specify custom require/import using: Will it not be possible without any `--import` preloading? If `process.features.typescript` is truthy, `await...
I think we should keep keys publically visible. I've written scripts in the past that fetches a user's SSH keys to be installed in a SSH server, and requiring authentication...
I also noticed that text selection causes a JS error `can't access property "offsetNode", hitResult is null` to be thrown in Firefox (currently on v145), and this issue seems to...