health-check-redis
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -1,1 +0,1 @@ | ||
"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{"default":e}}function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var _createClass=function(){function e(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(r,t,o){return t&&e(r.prototype,t),o&&e(r,o),r}}();Object.defineProperty(exports,"__esModule",{value:!0});var _repository=require("./repository"),_repository2=_interopRequireDefault(_repository),_format=require("./format"),_format2=_interopRequireDefault(_format),HealthCheck=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"do",value:function(e){return new Promise(function(r,t){var o=[];e.forEach(function(e){o.push(_repository2["default"].test(e))}),Promise.all(o).then(function(e){r(_format2["default"]["do"](e))})["catch"](function(e){t(e)})})}}]),e}();exports["default"]=HealthCheck; | ||
"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{"default":e}}function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var _createClass=function(){function e(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(r,t,o){return t&&e(r.prototype,t),o&&e(r,o),r}}();Object.defineProperty(exports,"__esModule",{value:!0});var _repository=require("./repository"),_repository2=_interopRequireDefault(_repository),_format=require("./format"),_format2=_interopRequireDefault(_format),HealthCheck=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"_resolveParameter",value:function(e){return Array.isArray(e)||(e=[e]),e}},{key:"do",value:function(e){return e=this._resolveParameter(e),new Promise(function(r,t){var o=[];e.forEach(function(e){o.push(_repository2["default"].test(e))}),Promise.all(o).then(function(e){r(_format2["default"]["do"](e))})["catch"](function(e){t(e)})})}}]),e}();exports["default"]=HealthCheck; |
{ | ||
"name": "health-check-redis", | ||
"description": "Get the health of redis infra", | ||
"repository": "https://github.com/LucasRodrigues/health-check-redis", | ||
"version": "0.0.5", | ||
"dependencies": { | ||
"redis": "^2.4.2" | ||
"version": "0.0.6", | ||
"license": "MIT", | ||
"author": { | ||
"name": "Lucas Rodrigues", | ||
"email": "lucas.carvalho.rodrigues@gmail.com", | ||
"url": "https://github.com/LucasRodrigues" | ||
}, | ||
"scripts": { | ||
"build": "gulp BUILD", | ||
"style": "npm install && eslint ./src/*.js --fix", | ||
"prepublish" : "npm run build" | ||
"style": "eslint ./src/*.js --fix", | ||
"prepublish": "npm run build" | ||
}, | ||
"main": "./index.js", | ||
"dependencies": { | ||
"redis": "^2.4.2" | ||
}, | ||
"keywords":[ | ||
"health check", | ||
"redis" | ||
], | ||
"devDependencies": { | ||
"babel-preset-es2015": "^6.1.2", | ||
"del": "^2.2.0", | ||
"eslint": "^1.10.2", | ||
@@ -17,0 +29,0 @@ "eslint-config-google": "^0.3.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
30716
18
0
2
1
53
8