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

uland

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uland - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

18

esm/index.js

@@ -49,6 +49,14 @@ import {augmentor} from 'dom-augmentor';

let update = false;
const updateEntry = (entry, node) => {
if (node !== entry.node) {
if (entry.node)
const updateEntry = (entry, node, isHole) => {
const curr = entry.node;
if (node !== curr) {
if (curr) {
update = true;
if (isHole) {
// TODO: fix wired fragments too
const {parentNode} = curr;
if (parentNode)
parentNode.replaceChild(node, curr);
}
}
entry.node = node;

@@ -62,6 +70,6 @@ }

unrollHole(info, hole);
updateEntry(entry, view(entry, hole));
updateEntry(entry, view(entry, hole), true);
}
else
updateEntry(entry, hole);
updateEntry(entry, hole, false);
try { return entry.node; }

@@ -68,0 +76,0 @@ finally {

{
"name": "uland",
"version": "0.3.2",
"version": "0.3.3",
"main": "./cjs/index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -11,3 +11,7 @@ # 🦄 <em>µ</em>land

### Announcement
Are you looking for something even more similar to *React*? Then don't miss [🐪 kaboobie](https://github.com/WebReflection/kaboobie/#readme) out!
## API

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