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

panel

Package Overview
Dependencies
Maintainers
6
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

panel - npm Package Compare versions

Comparing version 5.10.0-perf.0 to 5.10.0-perf.1

3

build/component.js

@@ -518,3 +518,4 @@ 'use strict';

this.domPatcher = new _domPatcher.DOMPatcher(this.state, this._render.bind(this), {
updateMode: this.getConfig('updateSync') ? 'sync' : 'async'
updateMode: this.getConfig('updateSync') ? 'sync' : 'async',
component: this
});

@@ -521,0 +522,0 @@ this.el.appendChild(this.domPatcher.el);

@@ -64,2 +64,3 @@ 'use strict';

this.vnode = this.renderFunc(this.state);
this.component = options.component;

@@ -137,4 +138,4 @@ // prepare root element

if (elapsedMs > this.slowThreshold) {
this.dispatchEvent(new CustomEvent('slowRender', {
detail: { elapsedMs: elapsedMs, component: this },
this.component.dispatchEvent(new CustomEvent('slowRender', {
detail: { elapsedMs: elapsedMs, component: this.component },
bubbles: true,

@@ -153,2 +154,3 @@ composed: true

this.el = null;
this.component = null;
// patch with empty vnode to clear out listeners in tree

@@ -155,0 +157,0 @@ // this ensures we don't leave dangling DetachedHTMLElements blocking GC

@@ -401,2 +401,3 @@ import cuid from 'cuid';

updateMode: this.getConfig(`updateSync`) ? `sync` : `async`,
component: this,
});

@@ -403,0 +404,0 @@ this.el.appendChild(this.domPatcher.el);

@@ -36,2 +36,3 @@ /**

this.vnode = this.renderFunc(this.state);
this.component = options.component;

@@ -100,5 +101,5 @@ // prepare root element

if (elapsedMs > this.slowThreshold) {
this.dispatchEvent(
this.component.dispatchEvent(
new CustomEvent(`slowRender`, {
detail: {elapsedMs, component: this},
detail: {elapsedMs, component: this.component},
bubbles: true,

@@ -117,2 +118,3 @@ composed: true,

this.el = null;
this.component = null;
// patch with empty vnode to clear out listeners in tree

@@ -119,0 +121,0 @@ // this ensures we don't leave dangling DetachedHTMLElements blocking GC

{
"name": "panel",
"version": "5.10.0-perf.0",
"version": "5.10.0-perf.1",
"description": "Web Components with Virtual DOM: lightweight composable web apps",

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

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