A one-line package broke `npm create-react-app`
11–20 of 478 posts
Re: A one-line package broke `npm create-react-app`
#12This 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).
Re: A one-line package broke `npm create-react-app`
#13Earlier quoted context omitted.
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
Re: A one-line package broke `npm create-react-app`
#14The 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`
#15The package referred to in the clickbait title is `is-promise`
Re: A one-line package broke `npm create-react-app`
#16Re: A one-line package broke `npm create-react-app`
#17The 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`
#18The 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.
You're right, you don't. What you posted is just the function declaration, not the implementation.
Re: A one-line package broke `npm create-react-app`
#19The 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`
#20This 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).