Socket
Socket
Sign inDemoInstall

@thi.ng/hiccup

Package Overview
Dependencies
Maintainers
1
Versions
254
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/hiccup - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

CHANGELOG.md

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

<a name="1.0.1"></a>
## [1.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@1.0.0...@thi.ng/hiccup@1.0.1) (2018-02-08)
**Note:** Version bump only for package @thi.ng/hiccup
<a name="1.0.0"></a>

@@ -8,0 +16,0 @@ # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@0.1.7...@thi.ng/hiccup@1.0.0) (2018-02-03)

4

package.json
{
"name": "@thi.ng/hiccup",
"version": "1.0.0",
"version": "1.0.1",
"description": "HTML/SVG/XML serialization of nested data structures, iterables & closures",

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

"dependencies": {
"@thi.ng/checks": "^1.1.6"
"@thi.ng/checks": "^1.2.0"
},

@@ -32,0 +32,0 @@ "keywords": [

@@ -89,9 +89,11 @@ "use strict";

tag = tree[0];
let attribs = tree[1], body = tree[2], res = `<${tag}`;
let attribs = tree[1];
let body = tree[2];
let res = `<${tag}`;
for (let a in attribs) {
if (attribs.hasOwnProperty(a)) {
let v = attribs[a], isEvent = /^on\w+/.test(a);
let v = attribs[a];
if (v != null) {
if (is_function_1.isFunction(v)) {
if (isEvent || (v = v(attribs)) == null) {
if (/^on\w+/.test(a) || (v = v(attribs)) == null) {
continue;

@@ -98,0 +100,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