Socket
Socket
Sign inDemoInstall

btrz-health-check

Package Overview
Dependencies
2
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 2.3.0

16

package.json
{
"name": "btrz-health-check",
"version": "2.2.0",
"version": "2.3.0",
"description": "A series of classes that will ping different service types to verify accessibility.",
"main": "index.js",
"scripts": {
"test": "NODE_ENV=test BUILD_NUMBER=123456789 node_modules/mocha/bin/mocha --ui bdd -t 5000 --exit",
"test-w": "NODE_ENV=test BUILD_NUMBER=123456789 node_modules/mocha/bin/mocha -w"
"test": "NODE_ENV=test BUILD_NUMBER=123456789 mocha --ui bdd -t 5000 --exit",
"tdd": "NODE_ENV=test BUILD_NUMBER=123456789 mocha -w",
"preversion": "npm test",
"postversion": "git push origin master && git push --tags"
},

@@ -33,10 +35,10 @@ "repository": {

"devDependencies": {
"chai": "4.2.0",
"mocha": "^7.1.2",
"sinon": "7.4.1"
"chai": "4.3.6",
"mocha": "10.0.0",
"sinon": "14.0.0"
},
"dependencies": {
"superagent": "5.2.2",
"superagent": "8.0.0",
"git-rev": "^0.2.1"
}
}

@@ -77,6 +77,3 @@ "use strict";

logger: {
error: function (name, err) {
expect(name).to.be.eql("Socket");
expect(err).not.to.be.null;
done();
error: function () {
}

@@ -86,4 +83,8 @@ }

checker = new SocketHealthChecker(config, options);
checker.checkStatus();
checker.checkStatus().catch(function (err) {
expect(err.name).to.be.eql("Socket");
expect(err.status).to.be.eql(500);
done();
});
});
});

@@ -62,6 +62,3 @@ "use strict";

logger: {
error: function (name, err) {
expect(name).to.eql("SQS");
expect(err).not.to.be.null;
done();
error: function () {
}

@@ -71,3 +68,7 @@ }

let checker = new SQSHealthChecker(sqs, options);
checker.checkStatus();
checker.checkStatus().catch((result) => {
expect(result.name).to.be.eql("SQS");
expect(result.status).to.be.eql(500);
done();
});
});

@@ -74,0 +75,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc