Skip to content

Commit 7b59afb

Browse files
committedApr 9, 2016
add extension for JSON require call
fixes #836, #769
1 parent d0551dc commit 7b59afb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ exports = module.exports = require('./lib/cheerio');
88
Export the version
99
*/
1010

11-
exports.version = require('./package').version;
11+
exports.version = require('./package.json').version;

2 commit comments

Comments
 (2)

ItsCosmo commented on Apr 11, 2016

@ItsCosmo

Could this be published to npm?

levithomason commented on Apr 12, 2016

@levithomason

Yes, please. This is currently breaking our test runner. Would be superb to have this published.

Please sign in to comment.