From 7b59afbc7a6aa39376021593e011bf718350bcb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= Date: Sat, 9 Apr 2016 17:40:26 +0300 Subject: [PATCH] add extension for JSON require call fixes #836, #769 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3a040a2f0a..4235888c55 100644 --- a/index.js +++ b/index.js @@ -8,4 +8,4 @@ exports = module.exports = require('./lib/cheerio'); Export the version */ -exports.version = require('./package').version; +exports.version = require('./package.json').version;