Socket
Socket
Sign inDemoInstall

roarr

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roarr - npm Package Compare versions

Comparing version 2.9.4 to 2.10.0

6

dist/factories/createLogger.js

@@ -10,2 +10,4 @@ "use strict";

var _config = require("../config");
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }

@@ -28,2 +30,6 @@

var log = function log(a, b, c, d, e, f, g, h, i, k) {
if (!_config.ROARR_LOG && !global.ROARR_LOG) {
return;
}
var time = Date.now();

@@ -30,0 +36,0 @@ var sequence = global.ROARR.sequence++;

6

dist/log.js

@@ -10,4 +10,2 @@ "use strict";

var _config = require("./config");
global.ROARR = (0, _factories.createRoarrInititialGlobalState)(global.ROARR || {}); // We want to register just one event listener for 'exit' event

@@ -26,6 +24,2 @@ // across all instances of Roarr.

var _default = (0, _factories.createLogger)(function (message) {
if (!_config.ROARR_LOG) {
return;
}
var body = JSON.stringify(message);

@@ -32,0 +26,0 @@ global.ROARR.write(body);

2

package.json

@@ -77,3 +77,3 @@ {

},
"version": "2.9.4"
"version": "2.10.0"
}

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

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