Live data from Hacker News

A one-line package broke `npm create-react-app`

github.com

1–10 of 478 posts

Re: A one-line package broke `npm create-react-app`

#6

The package referred to in the clickbait title is `is-promise`

I don't know how "clickbait" that title can be when it is, in fact, longer than the line of code in question:

    declare function isPromise(obj: Promise | S): obj is Promise;
This is, indeed, the only line of exported code in the entire package.

I genuinely don't understand the NPM world.

Re: A one-line package broke `npm create-react-app`

#8

This is why regression suites are important. EDIT: I wasn't dissing the developers. They have regression, this was just an accident. I was stating it is important. My bad (too late to delete).

The package does have CI setup, however the test matrix does not cover the latest node versions (which are the ones that are affected).

See https://github.com/then/is-promise/blob/master/.travis.yml (missing v11, v12, v13, v14)

Re: A one-line package broke `npm create-react-app`

#10
post #8

This is why regression suites are important. EDIT: I wasn't dissing the developers. They have regression, this was just an accident. I was stating it is important. My bad (too late to delete).

The package does have CI setup, however the test matrix does not cover the latest node versions (which are the ones that are affected). See https://github.com/then/is-promise/blob/master/.travis.yml (missing v11, v12, v13, v14)

And CI is failing[0].

[0]: https://travis-ci.org/github/then/is-promise/builds

Post reply on HN