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

@erickmerchant/framework

Package Overview
Dependencies
Maintainers
1
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@erickmerchant/framework - npm Package Compare versions

Comparing version 40.2.2 to 40.3.0

16

main.js

@@ -154,2 +154,6 @@ const svgNamespace = 'http://www.w3.org/2000/svg'

const attrNames = []
const hasExistingAttributes = target.attributes.length
if (attributesLength) {

@@ -168,5 +172,9 @@ for (let i = 0, length = attributesLength; i < length; i++) {

morphAttribute(target, attribute.key, value, meta, listeners)
attrNames.push(attribute.key)
} else {
for (const key of Object.keys(value)) {
morphAttribute(target, key, value[key], meta, listeners)
attrNames.push(key)
}

@@ -178,2 +186,10 @@ }

if (!isSameView && hasExistingAttributes) {
for (const attr of target.attributes) {
if (!~attrNames.indexOf(attr.name)) {
target.removeAttribute(attr.name)
}
}
}
const childrenLength = next.children.length

@@ -180,0 +196,0 @@ let childNode = target.firstChild

2

package.json
{
"name": "@erickmerchant/framework",
"version": "40.2.2",
"version": "40.3.0",
"description": "A front-end framework.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/erickmerchant/framework#readme",

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