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

ngrx-store-logger

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngrx-store-logger - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

5

dist/index.js

@@ -21,3 +21,4 @@ "use strict";

logBuffer.forEach(function (logEntry, key) {
var started = logEntry.started, startedTime = logEntry.startedTime, action = logEntry.action, prevState = logEntry.prevState, error = logEntry.error;
var started = logEntry.started, startedTime = logEntry.startedTime, action = logEntry.action, error = logEntry.error;
var prevState = logEntry.prevState.nextState ? logEntry.prevState.nextState : '(Empty)';
var took = logEntry.took, nextState = logEntry.nextState;

@@ -103,3 +104,3 @@ var nextEntry = logBuffer[key + 1];

collapsed: false,
duration: false,
duration: true,
timestamp: true,

@@ -106,0 +107,0 @@ stateTransformer: function (state) { return state; },

2

package.json
{
"name": "ngrx-store-logger",
"version": "0.1.4",
"version": "0.1.5",
"description": "Advanced logging middleware for @ngrx/store",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -25,3 +25,4 @@ declare var console;

logBuffer.forEach((logEntry, key) => {
const { started, startedTime, action, prevState, error } = logEntry;
const { started, startedTime, action, error } = logEntry;
const prevState = logEntry.prevState.nextState ? logEntry.prevState.nextState : '(Empty)';
let { took, nextState } = logEntry;

@@ -102,3 +103,3 @@ const nextEntry = logBuffer[key + 1];

collapsed : false,
duration : false,
duration : true,
timestamp : true,

@@ -142,2 +143,2 @@ stateTransformer : state => state,

}
};
};
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