Socket
Socket
Sign inDemoInstall

@thi.ng/hdom

Package Overview
Dependencies
Maintainers
1
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/hdom - npm Package Compare versions

Comparing version 3.0.12 to 3.0.13

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="3.0.13"></a>
## [3.0.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.12...@thi.ng/hdom@3.0.13) (2018-04-30)
### Performance Improvements
* **hdom:** only build linear diff edit log ([7a543a5](https://github.com/thi-ng/umbrella/commit/7a543a5))
<a name="3.0.12"></a>

@@ -8,0 +19,0 @@ ## [3.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@3.0.11...@thi.ng/hdom@3.0.12) (2018-04-29)

3

diff.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const equiv_1 = require("@thi.ng/api/equiv");
const isa = require("@thi.ng/checks/is-array");

@@ -35,3 +36,3 @@ const iss = require("@thi.ng/checks/is-string");

function _diffElement(parent, prev, curr, child) {
const delta = diffArray(prev, curr);
const delta = diffArray(prev, curr, equiv_1.equiv, true);
if (delta.distance === 0) {

@@ -38,0 +39,0 @@ return;

{
"name": "@thi.ng/hdom",
"version": "3.0.12",
"version": "3.0.13",
"description": "Lightweight vanilla ES6 UI component & virtual DOM system",

@@ -29,3 +29,3 @@ "main": "./index.js",

"@thi.ng/api": "^2.3.1",
"@thi.ng/diff": "^1.0.9",
"@thi.ng/diff": "^1.0.10",
"@thi.ng/hiccup": "^1.3.12",

@@ -32,0 +32,0 @@ "@thi.ng/iterators": "^4.1.9"

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