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

@ngrx/devtools

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/devtools - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

10

dist/monitors/log-monitor/log-monitor.js

@@ -45,9 +45,7 @@ "use strict";

}
return actions;
return actions.slice(1);
});
}
LogMonitor.prototype.handleToggle = function (id) {
if (id > 0) {
this.devtools.toggleAction(id);
}
this.devtools.toggleAction(id);
};

@@ -72,4 +70,4 @@ LogMonitor.prototype.handleReset = function () {

changeDetection: core_1.ChangeDetectionStrategy.OnPush,
styles: ["\n :host {\n display: block;\n background-color: #2A2F3A;\n font-family: 'monaco', 'Consolas', 'Lucida Console', monospace;\n position: relative;\n overflow-y: hidden;\n width: 100%;\n height: 100%;\n min-width: 300px;\n direction: ltr;\n }\n\n :host:first-child .title-bar {\n opacity: .6; cursor: auto;\n }\n\n .button-bar{\n text-align: center;\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-color: transparent;\n z-index: 1;\n display: flex;\n flex-direction: row;\n padding: 0 4px;\n }\n\n .elements{\n position: absolute;\n left: 0;\n right: 0;\n top: 38px;\n bottom: 0;\n overflow-x: hidden;\n overflow-y: auto;\n }\n "],
template: "\n <div class=\"button-bar\">\n <log-monitor-button (action)=\"handleReset()\" [disabled]=\"canRevert$ | async\">\n Reset\n </log-monitor-button>\n\n <log-monitor-button (action)=\"handleRollback() [disabled]=\"canRevert$ | async\">\n Revert\n </log-monitor-button>\n\n <log-monitor-button (action)=\"handleSweep()\" [disabled]=\"canSweep$ | async\">\n Sweep\n </log-monitor-button>\n\n <log-monitor-button (action)=\"handleCommit()\" [disabled]=\"canCommit$ | async\">\n Commit\n </log-monitor-button>\n </div>\n <div class=\"elements\">\n <log-monitor-entry\n *ngFor=\"#item of (items$ | async)\"\n [item]=\"item\"\n (toggle)=\"handleToggle($event.id)\">\n </log-monitor-entry>\n </div>\n "
styles: ["\n :host {\n display: block;\n background-color: #2A2F3A;\n font-family: 'monaco', 'Consolas', 'Lucida Console', monospace;\n position: relative;\n overflow-y: hidden;\n width: 100%;\n height: 100%;\n min-width: 300px;\n direction: ltr;\n }\n\n .button-bar{\n text-align: center;\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-color: transparent;\n z-index: 1;\n display: flex;\n flex-direction: row;\n padding: 0 4px;\n }\n\n .elements{\n position: absolute;\n left: 0;\n right: 0;\n top: 38px;\n bottom: 0;\n overflow-x: hidden;\n overflow-y: auto;\n }\n "],
template: "\n <div class=\"button-bar\">\n <log-monitor-button (action)=\"handleReset()\" [disabled]=\"canReset$ | async\">\n Reset\n </log-monitor-button>\n\n <log-monitor-button (action)=\"handleRollback()\">\n Revert\n </log-monitor-button>\n\n <log-monitor-button (action)=\"handleSweep()\" [disabled]=\"canSweep$ | async\">\n Sweep\n </log-monitor-button>\n\n <log-monitor-button (action)=\"handleCommit()\" [disabled]=\"canCommit$ | async\">\n Commit\n </log-monitor-button>\n </div>\n <div class=\"elements\">\n <log-monitor-entry\n *ngFor=\"#item of (items$ | async)\"\n [item]=\"item\"\n (toggle)=\"handleToggle($event.id)\">\n </log-monitor-entry>\n </div>\n "
}),

@@ -76,0 +74,0 @@ __metadata('design:paramtypes', [devtools_1.StoreDevtools])

2

package.json
{
"name": "@ngrx/devtools",
"version": "1.3.2",
"version": "1.3.3",
"description": "Developer tools for @ngrx projects",

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

@@ -28,6 +28,2 @@ import {Inject, Component, ViewEncapsulation, ChangeDetectionStrategy} from 'angular2/core';

:host:first-child .title-bar {
opacity: .6; cursor: auto;
}
.button-bar{

@@ -56,7 +52,7 @@ text-align: center;

<div class="button-bar">
<log-monitor-button (action)="handleReset()" [disabled]="canRevert$ | async">
<log-monitor-button (action)="handleReset()" [disabled]="canReset$ | async">
Reset
</log-monitor-button>
<log-monitor-button (action)="handleRollback() [disabled]="canRevert$ | async">
<log-monitor-button (action)="handleRollback()">
Revert

@@ -117,3 +113,3 @@ </log-monitor-button>

return actions;
return actions.slice(1);
});

@@ -123,5 +119,3 @@ }

handleToggle(id: number){
if (id > 0) {
this.devtools.toggleAction(id);
}
this.devtools.toggleAction(id);
}

@@ -128,0 +122,0 @@

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