From 2b051a82e5185198c4c4f84deac391ccc7d8ca28 Mon Sep 17 00:00:00 2001 From: Slava Date: Tue, 17 Dec 2019 17:14:49 +0200 Subject: [PATCH] fixed requiring package.json --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d8c1184..fac2a4f 100644 --- a/index.js +++ b/index.js @@ -5,4 +5,4 @@ module.exports = exports = function hasOwn(prop, obj) { return hasOwnProperty.call(obj, prop); } -exports.version = require('./package').version; +exports.version = require('./package.json').version;