Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop support for unmaintained versions of Node.js; upgrade stuff #3017

Merged
merged 9 commits into from Sep 27, 2017

Conversation

boneskull
Copy link
Member

@boneskull boneskull commented Sep 27, 2017

Addresses #3016

I'm going to see what else I can squeeze out of this.

@boneskull boneskull added the semver-major implementation requires increase of "major" version number; "breaking changes" label Sep 27, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.027% when pulling 89bb30d on issue/3016 into 82c9cb4 on master.

- allow debug in the browser
- use browserify's eventemitter
- stub growl
@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.027% when pulling d6c5bc0 on issue/3016 into 82c9cb4 on master.

@boneskull boneskull changed the title drop support for unmaintained versions of Node.js; upgrade stuff (WIP) drop support for unmaintained versions of Node.js; upgrade stuff Sep 27, 2017
@boneskull
Copy link
Member Author

This will be (squashed) and merged when the build's green.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.027% when pulling 4f6b9c1 on issue/3016 into 82c9cb4 on master.

@boneskull boneskull merged commit e39a867 into master Sep 27, 2017
@boneskull boneskull deleted the issue/3016 branch September 27, 2017 05:08
@@ -229,7 +229,7 @@ Runner.prototype.fail = function (test, err) {
++this.failures;
test.state = 'failed';

if (!(err instanceof Error || err && typeof err.message === 'string')) {
if (!((err instanceof Error || err) && typeof err.message === 'string')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure this shouldn't be if (!(err instanceof Error || (err && typeof err.message === 'string'))) {? Reading the original, and not remembering exactly how JS evaluates differing chained boolean operators without parentheses, it looks like the original included err as a condition to guard against accessing .message of undefined.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right.

_stringify(object[i]) + // value
(length ? ',' : ''); // comma
_stringify(object[i]) + // value
(length ? ',' : ''); // comma
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[unimportant] I long for the day that linters can recognise when whitespace has been properly used to make things, any things, line up across multiple lines. [/unimportant]

sgilroy pushed a commit to TwineHealth/mocha that referenced this pull request Feb 27, 2019
…hajs#3017)

* remove unmaintained versions of Node.js from CI
* ignore test fixtures when linting
* upgrade ESLint and its ilk
* avoid fussing about Chai in test files
* lint
* upgrade should
* upgrade karma-spec-reporter
* upgrade growl and debug
* update "engines" field in package.json
* fix some bundling issues
  * allow debug in the browser
  * use browserify's eventemitter
  * stub growl
sgilroy pushed a commit to TwineHealth/mocha that referenced this pull request Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-major implementation requires increase of "major" version number; "breaking changes"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants