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

panel

Package Overview
Dependencies
Maintainers
7
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 2.3.0 to 2.4.0

13

build/component.js

@@ -458,4 +458,4 @@ 'use strict';

}, {
key: 'logError',
value: function logError() {
key: '_logError',
value: function _logError() {
var _console;

@@ -485,4 +485,9 @@

}));
} catch (e) {
this.logError('Error while rendering ' + this.toString(), this, '\n', e);
} catch (error) {
var message = 'Error while rendering ' + this.toString();
this._logError(message, this, '\n', error);
this.dispatchEvent(new CustomEvent('renderError', {
detail: { message: message, error: error },
bubbles: true, composed: true
}));
}

@@ -489,0 +494,0 @@ }

@@ -387,3 +387,3 @@ import cuid from 'cuid';

logError() {
_logError() {
console.error(...arguments);

@@ -409,4 +409,9 @@ }

}));
} catch (e) {
this.logError(`Error while rendering ${this.toString()}`, this, `\n`, e);
} catch (error) {
const message = `Error while rendering ${this.toString()}`;
this._logError(message, this, `\n`, error);
this.dispatchEvent(new CustomEvent(`renderError`, {
detail: {message, error},
bubbles: true, composed: true,
}));
}

@@ -413,0 +418,0 @@ }

{
"name": "panel",
"version": "2.3.0",
"version": "2.4.0",
"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