@studio/log
Advanced tools
+6
-0
| # Changes | ||
| ## 1.5.1 | ||
| - 🐛 Restore Node 4 compatibility | ||
| - 📚 Add `cause.js` example | ||
| - 📚 Move `demo.js` into examples dir | ||
| ## 1.5.0 | ||
@@ -4,0 +10,0 @@ |
+2
-2
@@ -154,5 +154,5 @@ /* | ||
| module.exports = Object.assign((ns, data = null) => { | ||
| module.exports = Object.assign((ns, data) => { | ||
| const log = state.loggers[ns] || (state.loggers[ns] = new Logger(ns)); | ||
| log.data = data; | ||
| log.data = data || null; | ||
| return log; | ||
@@ -159,0 +159,0 @@ }, { |
+4
-4
| { | ||
| "name": "@studio/log", | ||
| "version": "1.5.0", | ||
| "version": "1.5.1", | ||
| "description": "A tiny JSON logger with emoji support", | ||
@@ -37,5 +37,5 @@ "bin": { | ||
| "@studio/eslint-config": "^1.0.0", | ||
| "eslint": "^3.14.1", | ||
| "mocha": "^3.4.2", | ||
| "sinon": "^2.3.2" | ||
| "eslint": "^4.8.0", | ||
| "mocha": "^4.0.0", | ||
| "sinon": "^4.0.1" | ||
| }, | ||
@@ -42,0 +42,0 @@ "repository": { |
+1
-1
@@ -253,3 +253,3 @@ # Studio Log | ||
| [1]: http://ndjson.org/ | ||
| [2]: https://github.com/javascript-studio/studio-log/blob/master/demo.js | ||
| [2]: https://github.com/javascript-studio/studio-log/blob/master/examples/demo.js | ||
| [3]: https://nodejs.org/api/stream.html#stream_implementing_a_transform_stream | ||
@@ -256,0 +256,0 @@ [4]: https://github.com/javascript-studio/studio-ndjson |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
26917
0.48%