New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redis-errors

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-errors - npm Package Compare versions

Comparing version

to
1.2.0

lib/modern.js

6

index.js
'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

6

package.json
{
"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