New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.9.1 to 0.9.2

test/dom-properties.js

4

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

@@ -20,5 +20,7 @@ "main": "src/index.js",

"devDependencies": {
"chai": "^4.2.0",
"es-dev-server": "^1.40.0",
"eslint": "^6.6.0",
"husky": "^3.0.9",
"mocha": "^7.1.0",
"release-it": "^12.6.0"

@@ -25,0 +27,0 @@ },

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

const DOMProps = this.DOMProperties || [];
for(let i in DOMProps) observedAttributes.push(this.propertyAttributeNames[DOMProps[i]] || DOMProps[i].toLowerCase());
for(let i in DOMProps) observedAttributes.push((this.propertyAttributeNames || {})[DOMProps[i]] || DOMProps[i].toLowerCase());
return observedAttributes;

@@ -19,0 +19,0 @@ }

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