filter-log
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -1,2 +0,1 @@ | ||
var util = require('util') | ||
var isStream = require('is-stream') | ||
@@ -33,4 +32,10 @@ | ||
data = { | ||
msg: util.format.apply(this, arguments) | ||
msg: data | ||
} | ||
let args = [...arguments] | ||
args.shift() | ||
if(args.length > 0) { | ||
data.args = args | ||
} | ||
} | ||
@@ -37,0 +42,0 @@ if(data instanceof Error) { |
{ | ||
"name": "filter-log", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "flexible, minimalistic logging", | ||
@@ -30,3 +30,6 @@ "main": "filter-log.js", | ||
"mocha": "^10.2.0", | ||
"random-strings": "0.0.1" | ||
"node-polyfill-webpack-plugin": "^3.0.0", | ||
"random-strings": "0.0.1", | ||
"webpack": "^5.91.0", | ||
"webpack-cli": "^5.1.4" | ||
}, | ||
@@ -37,9 +40,9 @@ "dependencies": { | ||
"files": [ | ||
"/filters", | ||
"/streams", | ||
"/transformers", | ||
"/filter-log.js", | ||
"/levels.js", | ||
"README.md" | ||
"/filters", | ||
"/streams", | ||
"/transformers", | ||
"/filter-log.js", | ||
"/levels.js", | ||
"README.md" | ||
] | ||
} |
@@ -1,2 +0,2 @@ | ||
const { Transform } = require('stream') | ||
const Transform = require('./transform') | ||
@@ -3,0 +3,0 @@ var createStream = function (filter) { |
@@ -1,2 +0,2 @@ | ||
const { Transform } = require('stream') | ||
const Transform = require('./transform') | ||
@@ -3,0 +3,0 @@ var createStream = function (filter) { |
@@ -1,2 +0,2 @@ | ||
const { Transform } = require('stream') | ||
const Transform = require('./transform') | ||
@@ -3,0 +3,0 @@ var createStream = function () { |
@@ -1,2 +0,2 @@ | ||
const { Transform } = require('stream') | ||
const Transform = require('./transform') | ||
@@ -3,0 +3,0 @@ var createStream = function () { |
@@ -1,2 +0,2 @@ | ||
const { Transform } = require('stream') | ||
const Transform = require('./transform') | ||
@@ -3,0 +3,0 @@ var createStream = function (transform) { |
@@ -1,2 +0,2 @@ | ||
const { Transform } = require('stream') | ||
const Transform = require('../streams/transform') | ||
@@ -3,0 +3,0 @@ var createStream = function (filter) { |
@@ -1,2 +0,2 @@ | ||
const { Transform } = require('stream') | ||
const Transform = require('../streams/transform') | ||
@@ -3,0 +3,0 @@ function errorSerialization(key, obj) { |
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
26213
14
261
6