@thi.ng/hiccup-svg 4.2.14 → 4.3.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-06-09T16:14:01Z
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
@@ -162,7 +162,7 @@ node --experimental-repl-await
162
162
  > const hiccupSvg = await import("@thi.ng/hiccup-svg");
163
163
  ```
164
164
 
165
- Package sizes (gzipped, pre-treeshake): ESM: 2.53 KB
165
+ Package sizes (gzipped, pre-treeshake): ESM: 2.54 KB
166
166
 
167
167
  ## Dependencies
168
168
 
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 = 2;
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.2.14",
3
+ "version": "4.3.2",
4
4
  "description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@thi.ng/checks": "^3.2.1",
38
- "@thi.ng/color": "^5.1.1",
38
+ "@thi.ng/color": "^5.1.3",
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": "ab0188234419f2d9f471de80871df930e5555bd6\n"
138
+ "gitHead": "e64b1ab39ae9bcc494ef006f6329e5182fa2a326\n"
139
139
  }