Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[FIX]] Preserve functionality in "legacy" Node.js
A recent minor release of the npm module `request` has introduced breaking changes for Node.js versions 0.10 and 0.12. Because JSHint depends on this module transitively through one of its `devDependencies`, this interferes with the project's ability to verify its own correctness in the effected environments. Allow JSHint to be installed in legacy environments by specifying the effected dependencies as "optional." These dependencies are only required by tests for the PhantomJS platform, and those tests can be orchestrated from a single actively-maintained version of Node.js without effecting coverage.
- Loading branch information