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

html-element-property-mixins

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-element-property-mixins - npm Package Compare versions

Comparing version 0.10.3 to 0.10.4

.release-it.json

7

package.json
{
"name": "html-element-property-mixins",
"version": "0.10.3",
"version": "0.10.4",
"description": "A collection of mixins extending HTMLElement with properties.",

@@ -31,8 +31,3 @@ "main": "src/index.js",

}
},
"release-it": {
"github": {
"release": true
}
}
}

@@ -24,3 +24,3 @@ export const DOMProperties = (SuperClass) => class extends SuperClass {

if(!propName) return;
this.constructor.__setDOMProperty.call(this, propName, this.getAttribute(attrName));
this.constructor.__setDOMProperty.call(this, propName, oldValue, this.getAttribute(attrName));
}

@@ -46,6 +46,6 @@

static __setDOMProperty(propName, value) {
static __setDOMProperty(propName, oldValue, value) {
const converters = this.constructor.propertyFromAttributeConverters || {};
const converter = converters[propName];
if(converter) value = converter.call(this, this[propName], value);
if(converter) value = converter.call(this, oldValue, value);
this[propName] = value;

@@ -52,0 +52,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