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

Test for Node 0.8 support #15

Merged
merged 1 commit into from
Feb 11, 2015
Merged

Test for Node 0.8 support #15

merged 1 commit into from
Feb 11, 2015

Conversation

jbnicolai
Copy link
Contributor

Allow node 0.8 to be used, and tested through Travis.

This is to allow mocha to adopt this package, see mochajs/mocha#1545

@sindresorhus you okay with extending support to 0.8?

@dasilvacontin
Copy link

@jbnicolai, I think this is more of an npm version error, but maybe I'm wrong.

@jbnicolai
Copy link
Contributor Author

@dasilvacontin am I wrong in my understanding this stacktrace is not due to node 0.8 not being supported by supports-color?

npm ERR! Error: No compatible version found: supports-color@'^1.2.0'
npm ERR! Valid install targets:
npm ERR! ["0.2.0","1.0.0","1.1.0","1.2.0"]
npm ERR!     at installTargetsError (/home/travis/.nvm/v0.8.28/lib/node_modules/npm/lib/cache.js:719:10)
npm ERR!     at /home/travis/.nvm/v0.8.28/lib/node_modules/npm/lib/cache.js:641:10
npm ERR!     at RegClient.get_ (/home/travis/.nvm/v0.8.28/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:101:14)
npm ERR!     at RegClient.<anonymous> (/home/travis/.nvm/v0.8.28/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:37:12)
npm ERR!     at fs.readFile (fs.js:181:14)
npm ERR!     at Object.oncomplete (fs.js:302:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

@dasilvacontin
Copy link

I think it's npm's change of behaviour for the ^ char some versions ago.

@sindresorhus sindresorhus changed the title master Test for Node 0.8 support Feb 11, 2015
sindresorhus added a commit that referenced this pull request Feb 11, 2015
@sindresorhus sindresorhus merged commit 801ffe8 into master Feb 11, 2015
@sindresorhus sindresorhus deleted the support-node-8 branch February 11, 2015 05:39
@sindresorhus
Copy link
Member

Sure, since Mocha needs it.

But Mocha should seriously consider dropping support for 0.8.

Build fixed in 4f4c583

@dasilvacontin
Copy link

Thanks @sindresorhus!

I'll talk with the team about dropping support for 0.8. Any other reason besides the release is over one year old?

@sindresorhus
Copy link
Member

Node 0.8 was released on June 25, 2012. That's 2 years 8 months. The few people still needing 0.8 support can just stay on the current Mocha version.

sindresorhus added a commit that referenced this pull request Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants