@thi.ng/hiccup-svg 4.2.13 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -1
- package/README.md +1 -1
- package/format.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-06-
|
|
3
|
+
- **Last updated**: 2022-06-23T12:16:18Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
## [4.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-svg@4.3.0) (2022-06-20)
|
|
13
|
+
|
|
14
|
+
#### 🚀 Features
|
|
15
|
+
|
|
16
|
+
- update default precision to .001 ([4e62c9d](https://github.com/thi-ng/umbrella/commit/4e62c9d))
|
|
17
|
+
|
|
12
18
|
### [4.2.13](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-svg@4.2.13) (2022-06-09)
|
|
13
19
|
|
|
14
20
|
#### 🩹 Bug fixes
|
package/README.md
CHANGED
package/format.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isArrayLike } from "@thi.ng/checks/is-arraylike";
|
|
2
2
|
import { isString } from "@thi.ng/checks/is-string";
|
|
3
3
|
import { css } from "@thi.ng/color/css/css";
|
|
4
|
-
let PRECISION =
|
|
4
|
+
let PRECISION = 3;
|
|
5
5
|
export const setPrecision = (n) => (PRECISION = n);
|
|
6
6
|
/** @internal */
|
|
7
7
|
export const ff = (x) => (x === (x | 0) ? x : x.toFixed(PRECISION));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-svg",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/checks": "^3.2.
|
|
38
|
-
"@thi.ng/color": "^5.1.
|
|
37
|
+
"@thi.ng/checks": "^3.2.1",
|
|
38
|
+
"@thi.ng/color": "^5.1.2",
|
|
39
39
|
"@thi.ng/prefixes": "^2.1.7"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
"parent": "@thi.ng/hiccup",
|
|
136
136
|
"year": 2016
|
|
137
137
|
},
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "73139849c7b46c0451693d994e14a34bc2434280\n"
|
|
139
139
|
}
|