@thi.ng/hiccup-svg 4.2.8 → 4.2.9
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/convert.js +2 -2
- package/format.js +1 -1
- package/package.json +24 -24
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-04-07T14:17:30Z
|
|
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.2.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-svg@4.2.9) (2022-04-07)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))
|
|
17
|
+
|
|
12
18
|
## [4.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-svg@4.2.0) (2021-11-17)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/convert.js
CHANGED
|
@@ -128,8 +128,8 @@ const convertAttrib = (res, id, v) => {
|
|
|
128
128
|
switch (id) {
|
|
129
129
|
case "font": {
|
|
130
130
|
const i = v.indexOf(" ");
|
|
131
|
-
res["font-size"] = v.
|
|
132
|
-
res["font-family"] = v.
|
|
131
|
+
res["font-size"] = v.substring(0, i);
|
|
132
|
+
res["font-family"] = v.substring(i + 1);
|
|
133
133
|
break;
|
|
134
134
|
}
|
|
135
135
|
case "align":
|
package/format.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-svg",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.9",
|
|
4
4
|
"description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/checks": "^3.1.
|
|
38
|
-
"@thi.ng/color": "^5.0.
|
|
39
|
-
"@thi.ng/prefixes": "^2.1.
|
|
37
|
+
"@thi.ng/checks": "^3.1.5",
|
|
38
|
+
"@thi.ng/color": "^5.0.1",
|
|
39
|
+
"@thi.ng/prefixes": "^2.1.5"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@microsoft/api-extractor": "^7.19.4",
|
|
43
|
-
"@thi.ng/testament": "^0.2.
|
|
43
|
+
"@thi.ng/testament": "^0.2.5",
|
|
44
44
|
"rimraf": "^3.0.2",
|
|
45
45
|
"tools": "^0.0.1",
|
|
46
46
|
"typedoc": "^0.22.13",
|
|
@@ -77,63 +77,63 @@
|
|
|
77
77
|
],
|
|
78
78
|
"exports": {
|
|
79
79
|
".": {
|
|
80
|
-
"
|
|
80
|
+
"default": "./index.js"
|
|
81
81
|
},
|
|
82
82
|
"./api": {
|
|
83
|
-
"
|
|
83
|
+
"default": "./api.js"
|
|
84
84
|
},
|
|
85
85
|
"./circle": {
|
|
86
|
-
"
|
|
86
|
+
"default": "./circle.js"
|
|
87
87
|
},
|
|
88
88
|
"./convert": {
|
|
89
|
-
"
|
|
89
|
+
"default": "./convert.js"
|
|
90
90
|
},
|
|
91
91
|
"./defs": {
|
|
92
|
-
"
|
|
92
|
+
"default": "./defs.js"
|
|
93
93
|
},
|
|
94
94
|
"./ellipse": {
|
|
95
|
-
"
|
|
95
|
+
"default": "./ellipse.js"
|
|
96
96
|
},
|
|
97
97
|
"./format": {
|
|
98
|
-
"
|
|
98
|
+
"default": "./format.js"
|
|
99
99
|
},
|
|
100
100
|
"./gradients": {
|
|
101
|
-
"
|
|
101
|
+
"default": "./gradients.js"
|
|
102
102
|
},
|
|
103
103
|
"./group": {
|
|
104
|
-
"
|
|
104
|
+
"default": "./group.js"
|
|
105
105
|
},
|
|
106
106
|
"./image": {
|
|
107
|
-
"
|
|
107
|
+
"default": "./image.js"
|
|
108
108
|
},
|
|
109
109
|
"./line": {
|
|
110
|
-
"
|
|
110
|
+
"default": "./line.js"
|
|
111
111
|
},
|
|
112
112
|
"./path": {
|
|
113
|
-
"
|
|
113
|
+
"default": "./path.js"
|
|
114
114
|
},
|
|
115
115
|
"./points": {
|
|
116
|
-
"
|
|
116
|
+
"default": "./points.js"
|
|
117
117
|
},
|
|
118
118
|
"./polygon": {
|
|
119
|
-
"
|
|
119
|
+
"default": "./polygon.js"
|
|
120
120
|
},
|
|
121
121
|
"./polyline": {
|
|
122
|
-
"
|
|
122
|
+
"default": "./polyline.js"
|
|
123
123
|
},
|
|
124
124
|
"./rect": {
|
|
125
|
-
"
|
|
125
|
+
"default": "./rect.js"
|
|
126
126
|
},
|
|
127
127
|
"./svg": {
|
|
128
|
-
"
|
|
128
|
+
"default": "./svg.js"
|
|
129
129
|
},
|
|
130
130
|
"./text": {
|
|
131
|
-
"
|
|
131
|
+
"default": "./text.js"
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
134
|
"thi.ng": {
|
|
135
135
|
"parent": "@thi.ng/hiccup",
|
|
136
136
|
"year": 2016
|
|
137
137
|
},
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "5ee1feb590dd935593b1dd4e7f38a3ed3ba64765\n"
|
|
139
139
|
}
|