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 43.6.0 to 43.7.0

23

create-dom-view.js

@@ -154,5 +154,7 @@ import {tokenTypes} from './html.js'

} else {
const keys = Object.keys(value)
for (let i = 0, len = keys.length; i < len; i++) {
for (
let i = 0, keys = Object.keys(value), len = keys.length;
i < len;
i++
) {
const key = keys[i]

@@ -181,6 +183,4 @@

if (child.type === tokenTypes.variable) {
const variableValue = child.value
child = variables[child.value]
child = variables[variableValue]
if (!Array.isArray(child)) {

@@ -228,11 +228,6 @@ child = [child]

const isSameView = next.view === meta.view
let doMorph = next.dynamic
if (!isExistingElement || !isSameView) {
if (next.dynamic || !isExistingElement || !isSameView) {
meta.view = next.view
doMorph = true
}
if (doMorph) {
morph(target, next, next.variables, isExistingElement, isSameView)

@@ -243,5 +238,3 @@ }

export const createDomView = (target, view) => (state) => {
const current = view(state)
morphRoot(target, current)
morphRoot(target, view(state))
}
{
"name": "@erickmerchant/framework",
"version": "43.6.0",
"version": "43.7.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