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

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.13.2 to 2.13.3

12

dist/factories/createLogger.js

@@ -16,4 +16,6 @@ "use strict";

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; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

@@ -32,3 +34,3 @@

var createLogger = function createLogger(onMessage, parentContext) {
// eslint-disable-next-line id-length
// eslint-disable-next-line id-length, unicorn/prevent-abbreviations
var log = function log(a, b, c, d, e, f, g, h, i, k) {

@@ -52,3 +54,3 @@ if (!_config.ROARR_LOG && !global.ROARR_LOG) {

context = JSON.parse((0, _jsonStringifySafe.default)(_objectSpread({}, parentContext || {}, a)));
context = JSON.parse((0, _jsonStringifySafe.default)(_objectSpread({}, parentContext || {}, {}, a)));
message = (0, _sprintfJs.sprintf)(b, c, d, e, f, g, h, i, k);

@@ -77,3 +79,3 @@ }

return createLogger(onMessage, _objectSpread({}, parentContext, context));
return createLogger(onMessage, _objectSpread({}, parentContext, {}, context));
};

@@ -88,3 +90,3 @@

// eslint-disable-next-line id-length
// eslint-disable-next-line id-length, unicorn/prevent-abbreviations
log[logLevel] = function (a, b, c, d, e, f, g, h, i, k) {

@@ -91,0 +93,0 @@ return log.child({

@@ -18,4 +18,6 @@ "use strict";

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; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

@@ -44,3 +46,3 @@

if (currentIsLatestVersion || !newState.write) {
newState = _objectSpread({}, newState, (0, _createWriter.default)({
newState = _objectSpread({}, newState, {}, (0, _createWriter.default)({
bufferSize: _config.ROARR_BUFFER_SIZE,

@@ -47,0 +49,0 @@ stream: _config.ROARR_STREAM

@@ -8,8 +8,17 @@ {

"ava": {
"files": [
"test/**/*"
],
"helpers": [
"test/helpers/**/*"
],
"require": [
"@babel/register"
],
"sources": [
"src/**/*"
]
},
"dependencies": {
"boolean": "^0.2.0",
"boolean": "^1.0.0",
"json-stringify-safe": "^5.0.1",

@@ -21,20 +30,20 @@ "semver-compare": "^1.0.0",

"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/node": "^7.2.2",
"@babel/plugin-transform-flow-strip-types": "^7.2.3",
"@babel/preset-env": "^7.3.1",
"@babel/register": "^7.0.0",
"ava": "^1.2.1",
"babel-plugin-istanbul": "^5.1.0",
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/node": "^7.5.5",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/preset-env": "^7.5.5",
"@babel/register": "^7.5.5",
"ava": "^2.2.0",
"babel-plugin-istanbul": "^5.2.0",
"babel-plugin-transform-export-default-name": "^2.0.4",
"coveralls": "^3.0.2",
"eslint": "^5.13.0",
"eslint-config-canonical": "^16.1.0",
"flow-bin": "^0.92.1",
"flow-copy-source": "^2.0.2",
"gitdown": "^2.5.7",
"husky": "^1.3.1",
"nyc": "^13.2.0",
"semantic-release": "^15.13.3"
"coveralls": "^3.0.5",
"eslint": "^6.1.0",
"eslint-config-canonical": "^17.3.2",
"flow-bin": "^0.104.0",
"flow-copy-source": "^2.0.7",
"gitdown": "^3.1.1",
"husky": "^3.0.1",
"nyc": "^14.1.1",
"semantic-release": "^15.13.18"
},

@@ -81,3 +90,3 @@ "engines": {

},
"version": "2.13.2"
"version": "2.13.3"
}

@@ -132,3 +132,3 @@ <a name="roarr"></a>

(Notice the use of `-cM` parameters to disable JSON colarization and formatting.)
(Notice the use of `-cM` parameters to disable JSON colorization and formatting.)

@@ -135,0 +135,0 @@ If your application outputs non-JSON output, jq will fail with an error similar to:

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

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

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