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

panel

Package Overview
Dependencies
Maintainers
2
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 0.9.0 to 0.9.1

4

build/component.js

@@ -84,3 +84,3 @@ 'use strict';

return _possibleConstructorReturn(this, (Component.__proto__ || Object.getPrototypeOf(Component)).apply(this, arguments));
return _possibleConstructorReturn(this, Object.getPrototypeOf(Component).apply(this, arguments));
}

@@ -377,3 +377,3 @@

} catch (e) {
this.logError('Error while rendering ' + this.toString(), this, e);
this.logError('Error while rendering ' + this.toString(), this, e.stack);
}

@@ -380,0 +380,0 @@ }

@@ -28,3 +28,12 @@ 'use strict';

exports.Component = _component2.default;
exports.h = _virtualHyperscript2.default;
exports.
/** {@link Component} class, to be subclassed by apps */
Component = _component2.default;
exports.
/**
* [virtual-dom]{@link https://github.com/Matt-Esch/virtual-dom} function to create Hyperscript nodes,
* exported here for user convenience
*/
h = _virtualHyperscript2.default;

@@ -66,3 +66,3 @@ 'use strict';

var _this = _possibleConstructorReturn(this, (HTMLElement.__proto__ || Object.getPrototypeOf(HTMLElement)).apply(this, arguments));
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(HTMLElement).apply(this, arguments));

@@ -77,3 +77,3 @@ _this.createdCallback && _this.createdCallback();

var oldValue = this.getAttribute(name);
_get(HTMLElement.prototype.__proto__ || Object.getPrototypeOf(HTMLElement.prototype), 'setAttribute', this).apply(this, arguments);
_get(Object.getPrototypeOf(HTMLElement.prototype), 'setAttribute', this).apply(this, arguments);
this.attributeChangedCallback && this.attributeChangedCallback(name, oldValue, value);

@@ -80,0 +80,0 @@ }

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

// just the necessary bits of Backbone router+history
var Router = function () {

@@ -18,0 +19,0 @@ function Router(app) {

@@ -66,3 +66,3 @@ 'use strict';

var _this = _possibleConstructorReturn(this, (HTMLElement.__proto__ || Object.getPrototypeOf(HTMLElement)).apply(this, arguments));
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(HTMLElement).apply(this, arguments));

@@ -77,3 +77,3 @@ _this.createdCallback && _this.createdCallback();

var oldValue = this.getAttribute(name);
_get(HTMLElement.prototype.__proto__ || Object.getPrototypeOf(HTMLElement.prototype), 'setAttribute', this).apply(this, arguments);
_get(Object.getPrototypeOf(HTMLElement.prototype), 'setAttribute', this).apply(this, arguments);
this.attributeChangedCallback && this.attributeChangedCallback(name, oldValue, value);

@@ -80,0 +80,0 @@ }

@@ -300,3 +300,3 @@ import MainLoop from 'main-loop';

} catch(e) {
this.logError(`Error while rendering ${this.toString()}`, this, e);
this.logError(`Error while rendering ${this.toString()}`, this, e.stack);
}

@@ -303,0 +303,0 @@ }

{
"name": "panel",
"version": "0.9.0",
"version": "0.9.1",
"description": "Web Components with Virtual DOM: lightweight composable web apps",

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

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