redis-errors
Advanced tools
Comparing version
'use strict' | ||
module.exports = require('./lib/errors') | ||
const Errors = process.version.charCodeAt(1) < 55 && process.version.charCodeAt(2) === 46 | ||
? require('./lib/old') // Node.js < 7 | ||
: require('./lib/modern') | ||
module.exports = Errors |
{ | ||
"name": "redis-errors", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Error classes used in node_redis", | ||
@@ -11,7 +11,7 @@ "main": "index.js", | ||
"coverage": "node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec", | ||
"coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100" | ||
"coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --statement 100" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/NodeRedis/node-redis-parser.git" | ||
"url": "git+https://github.com/NodeRedis/redis-errors.git" | ||
}, | ||
@@ -18,0 +18,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8853
39.59%7
16.67%150
188.46%1
Infinity%