diff options
Diffstat (limited to 'deps/npm/lib/utils/parse-json.js')
-rw-r--r-- | deps/npm/lib/utils/parse-json.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/npm/lib/utils/parse-json.js b/deps/npm/lib/utils/parse-json.js index c4149d282d..5c0b959a0d 100644 --- a/deps/npm/lib/utils/parse-json.js +++ b/deps/npm/lib/utils/parse-json.js @@ -1,7 +1,6 @@ 'use strict' -var parseJsonWithErrors = require('json-parse-better-errors') var parseJSON = module.exports = function (content) { - return parseJsonWithErrors(stripBOM(content)) + return JSON.parse(stripBOM(content)) } parseJSON.noExceptions = function (content) { |