New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/hiccup-svg

Package Overview
Dependencies
Maintainers
1
Versions
340
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/hiccup-svg - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

11

CHANGELOG.md

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

<a name="0.2.1"></a>
## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@0.2.0...@thi.ng/hiccup-svg@0.2.1) (2018-04-09)
### Bug Fixes
* **hiccup-svg:** path(), update add null check for points() ([b9d9a49](https://github.com/thi-ng/umbrella/commit/b9d9a49))
<a name="0.2.0"></a>

@@ -8,0 +19,0 @@ # 0.2.0 (2018-04-08)

2

format.js

@@ -10,3 +10,3 @@ "use strict";

exports.point = point;
const points = (pts, sep = " ") => pts.map(point).join(sep);
const points = (pts, sep = " ") => pts ? pts.map(point).join(sep) : "";
exports.points = points;
{
"name": "@thi.ng/hiccup-svg",
"version": "0.2.0",
"version": "0.2.1",
"description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -6,3 +6,3 @@ "use strict";

"path",
Object.assign({}, attr, { d: segments.map((seg) => seg[0] + format_1.points(seg[1], ",")) })
Object.assign({}, attr, { d: segments.map((seg) => seg[0] + format_1.points(seg[1], ",")).join("") })
];
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