Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

barky

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barky - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

10

dist/cli.js

@@ -19,4 +19,10 @@ #!/usr/bin/env node

const args = yield getArgs();
const exitCode = yield (0, loop_1.loop)(args, () => run(args));
process.exit(exitCode);
try {
const exitCode = yield (0, loop_1.loop)(args, () => tslib_1.__awaiter(void 0, void 0, void 0, function* () { return yield run(args); }));
process.exit(exitCode);
}
catch (err) {
console.log("fatal error", err);
process.exit(-1);
}
}))();

@@ -23,0 +29,0 @@ function run(args) {

9

dist/exec.js

@@ -48,4 +48,4 @@ "use strict";

return tslib_1.__awaiter(this, void 0, void 0, function* () {
(0, result_emitter_1.emitResults)(results);
try {
(0, result_emitter_1.emitResults)(results);
yield (0, db_1.persistResults)(results);

@@ -58,3 +58,8 @@ }

(0, logger_1.log)(`error persisting results: ${err}`, err);
(0, result_emitter_1.emitResults)([result_1.MonitorFailureResult.ConfigurationError(err)]);
try {
(0, result_emitter_1.emitResults)([result_1.MonitorFailureResult.ConfigurationError(err)]);
}
catch (_a) {
console.error("error emitting logs", err);
}
}

@@ -61,0 +66,0 @@ });

@@ -24,4 +24,11 @@ "use strict";

return tslib_1.__awaiter(this, void 0, void 0, function* () {
_connection === null || _connection === void 0 ? void 0 : _connection.destroy();
_connection = null;
try {
yield (_connection === null || _connection === void 0 ? void 0 : _connection.destroy());
}
catch (_a) {
// no-op
}
finally {
_connection = null;
}
});

@@ -48,3 +55,3 @@ }

return tslib_1.__awaiter(this, void 0, void 0, function* () {
return saveSnapshots(_connection, snapshots);
return yield saveSnapshots(_connection, snapshots);
});

@@ -51,0 +58,0 @@ }

{
"name": "barky",
"version": "1.1.0",
"version": "1.1.1",
"description": "A simple cloud services watchdog with digest notification support & no external dependencies",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Rohland/barky#readme",

{
"name": "barky",
"version": "1.1.0",
"version": "1.1.1",
"description": "A simple cloud services watchdog with digest notification support & no external dependencies",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Rohland/barky#readme",

@@ -108,3 +108,3 @@ # Barky - Cloud Watchdog

** Variation **
###### Variations

@@ -111,0 +111,0 @@ Examples of vary-by:

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc