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

@naturalcycles/js-lib

Package Overview
Dependencies
Maintainers
3
Versions
525
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@naturalcycles/js-lib - npm Package Compare versions

Comparing version 5.2.0 to 5.3.0

7

CHANGELOG.md

@@ -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 @@

7

dist-esm/decorators/logMillis.decorator.js

@@ -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

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