@naturalcycles/js-lib
Advanced tools
Comparing version 5.2.0 to 5.3.0
@@ -0,1 +1,8 @@ | ||
# [5.3.0](https://github.com/NaturalCycles/js-lib/compare/v5.2.0...v5.3.0) (2019-05-10) | ||
### Features | ||
* improve `[@log](https://github.com/log)Millis` ([82936c9](https://github.com/NaturalCycles/js-lib/commit/82936c9)) | ||
# [5.2.0](https://github.com/NaturalCycles/js-lib/compare/v5.1.0...v5.2.0) (2019-05-10) | ||
@@ -2,0 +9,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { anyToErrorMessage, isObject, resultToString, SimpleMovingAverage } from '..'; | ||
import { anyToErrorMessage, resultToString, SimpleMovingAverage } from '..'; | ||
/** | ||
@@ -39,3 +39,4 @@ * Console-logs when method had started, when it finished, time taken and if error happened. | ||
.map(arg => { | ||
if (isObject(arg)) { | ||
// If object || array | ||
if (arg && typeof arg === 'object') { | ||
const s = JSON.stringify(arg); | ||
@@ -46,3 +47,3 @@ return s.length > 30 ? '...' : s; | ||
}) | ||
.join(' '); | ||
.join(', '); | ||
const callSignature = `${methodSignature}(${argsStr}) #${++count}`; | ||
@@ -49,0 +50,0 @@ if (logStart) |
@@ -41,3 +41,4 @@ "use strict"; | ||
.map(arg => { | ||
if (__1.isObject(arg)) { | ||
// If object || array | ||
if (arg && typeof arg === 'object') { | ||
const s = JSON.stringify(arg); | ||
@@ -48,3 +49,3 @@ return s.length > 30 ? '...' : s; | ||
}) | ||
.join(' '); | ||
.join(', '); | ||
const callSignature = `${methodSignature}(${argsStr}) #${++count}`; | ||
@@ -51,0 +52,0 @@ if (logStart) |
{ | ||
"name": "@naturalcycles/js-lib", | ||
"version": "5.2.0", | ||
"version": "5.3.0", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "del ./dist && tsc", |
@@ -1,2 +0,2 @@ | ||
import { anyToErrorMessage, isObject, resultToString, SimpleMovingAverage } from '..' | ||
import { anyToErrorMessage, resultToString, SimpleMovingAverage } from '..' | ||
@@ -93,3 +93,4 @@ /** | ||
.map(arg => { | ||
if (isObject(arg)) { | ||
// If object || array | ||
if (arg && typeof arg === 'object') { | ||
const s = JSON.stringify(arg) | ||
@@ -100,3 +101,3 @@ return s.length > 30 ? '...' : s | ||
}) | ||
.join(' ') | ||
.join(', ') | ||
@@ -103,0 +104,0 @@ const callSignature = `${methodSignature}(${argsStr}) #${++count}` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
175250
3316