Socket
Socket
Sign inDemoInstall

@thi.ng/rdom

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/rdom - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

8

CHANGELOG.md
# Change Log
- **Last updated**: 2024-04-25T19:44:55Z
- **Last updated**: 2024-04-26T13:32:20Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -12,2 +12,8 @@

### [1.3.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@1.3.3) (2024-04-26)
#### 🩹 Bug fixes
- update $compile() async-iterable attrib handling ([f977556](https://github.com/thi-ng/umbrella/commit/f977556))
## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@1.3.0) (2024-04-20)

@@ -14,0 +20,0 @@

7

compile.js

@@ -36,2 +36,3 @@ import { isArray } from "@thi.ng/checks/is-array";

this.subs = [];
const attribs = { ...tree[1] };
walk((x, path) => {

@@ -42,6 +43,8 @@ if (isSubscribable(x)) {

$asyncA(x, this, path);
if (path.length === 1)
delete attribs[path[0]];
}
}, tree[1]);
}, attribs);
this.children = [];
this.el = $el(tree[0], tree[1], null, parent, index);
this.el = $el(tree[0], attribs, null, parent, index);
for (let i = 2; i < tree.length; i++) {

@@ -48,0 +51,0 @@ const child = $compile(tree[i]);

{
"name": "@thi.ng/rdom",
"version": "1.3.2",
"version": "1.3.3",
"description": "Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and @thi.ng/hiccup compatible",

@@ -148,3 +148,3 @@ "type": "module",

},
"gitHead": "aed3421c21044c005fbcb7cc37965ccf85a870d2\n"
"gitHead": "0bec55821066c18eb977a7eabd42c0bb2b096d98\n"
}

@@ -318,3 +318,3 @@ <!-- This file is generated - DO NOT EDIT! -->

Package sizes (brotli'd, pre-treeshake): ESM: 4.21 KB
Package sizes (brotli'd, pre-treeshake): ESM: 4.24 KB

@@ -344,2 +344,3 @@ ## Dependencies

| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/color-themes.png" width="240"/> | Probabilistic color theme generator | [Demo](https://demo.thi.ng/umbrella/color-themes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/color-themes) |
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/csp-bus.png" width="240"/> | CSP channel-based event handling, async transducers & reactive UI components | [Demo](https://demo.thi.ng/umbrella/csp-bus/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/csp-bus) |
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/dominant-colors.png" width="240"/> | Color palette generation via dominant color extraction from uploaded images | [Demo](https://demo.thi.ng/umbrella/dominant-colors/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/dominant-colors) |

@@ -346,0 +347,0 @@ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/ellipse-proximity.png" width="240"/> | Interactive visualization of closest points on ellipses | [Demo](https://demo.thi.ng/umbrella/ellipse-proximity/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/ellipse-proximity) |

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