Sam Verschueren

Results 126 comments of Sam Verschueren

Would be a cool feature. Although waiting for AppVeyor to complete? Do we really want to wait 1 hour before the module is actually being published?

After I typed my comment I actually realized that might be a good thing actually. So yeah, let's do it :)!

Exit and show a message that it can be skipped via (something like) `--skip-ci`?

Never mind, that doesn't make sense. I think we should await by default and add `--skip-ci`. If we await for the CI, shouldn't we bypass the local cleanup/installation/testing? Seems moot...

@sindresorhus In the case of `npm publish`, could we add a prerequisite check that checks of the user is signed in and everything is setup correctly?

Nothing we can do about it here. This is just a wrapper around `speed-test`. This is the [relevant discussion](https://github.com/ddsol/speedtest.net/issues/11).

Form validation for instance https://github.com/SamVerschueren/ngx-ow. > Am I supposed to now put catch blocks around any function call because it will start throwing errors on my data that I just...

There's a catch all `any` method https://github.com/sindresorhus/ow/blob/db4af81a7e9de6a1c61d92e02121fb03982fd6e6/source/index.ts#L55. This mess is only needed for better type inference because the catch all just returns a generic predicate and not a specific one....

The reason it loops over all the properties of the shape instead of all the properties of the input object is because it expects all properties of the shape to...

Why? What's the use case? Why wouldn't you trust data in development, but suddenly in production the data would always be correct?