summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package.json7
-rw-r--r--pnpm-lock.yaml750
-rw-r--r--scripts/create_sprite.js24
3 files changed, 769 insertions, 12 deletions
diff --git a/package.json b/package.json
index e95adab..90a7605 100644
--- a/package.json
+++ b/package.json
@@ -1,18 +1,19 @@
1{ 1{
2 "name": "iro-icons", 2 "name": "iro-icons",
3 "version": "1.0.0", 3 "version": "1.0.1",
4 "description": "Icons of the Iro design system", 4 "description": "Icons of the Iro design system",
5 "author": "Volpeon", 5 "author": "Volpeon",
6 "license": "MIT", 6 "license": "MIT",
7 "private": true, 7 "private": true,
8 "sideEffects": false, 8 "sideEffects": false,
9 "type": "module",
9 "bin": { 10 "bin": {
10 "iro-icon-sprite": "./scripts/create_sprite.js" 11 "iro-icon-sprite": "./scripts/create_sprite.js"
11 }, 12 },
12 "devDependencies": { 13 "devDependencies": {
13 "svg-sprite": "^1.5.4" 14 "svg-sprite": "^2.0.2"
14 }, 15 },
15 "peerDependencies": { 16 "peerDependencies": {
16 "svg-sprite": "^1.5.4" 17 "svg-sprite": "^2.0.2"
17 } 18 }
18} 19}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
new file mode 100644
index 0000000..9c09ad7
--- /dev/null
+++ b/pnpm-lock.yaml
@@ -0,0 +1,750 @@
1lockfileVersion: '6.0'
2
3settings:
4 autoInstallPeers: true
5 excludeLinksFromLockfile: false
6
7devDependencies:
8 svg-sprite:
9 specifier: ^2.0.2
10 version: 2.0.2
11
12packages:
13
14 /@colors/colors@1.5.0:
15 resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==}
16 engines: {node: '>=0.1.90'}
17 dev: true
18
19 /@colors/colors@1.6.0:
20 resolution: {integrity: sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==}
21 engines: {node: '>=0.1.90'}
22 dev: true
23
24 /@dabh/diagnostics@2.0.3:
25 resolution: {integrity: sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==}
26 dependencies:
27 colorspace: 1.1.4
28 enabled: 2.0.0
29 kuler: 2.0.0
30 dev: true
31
32 /@resvg/resvg-js-android-arm-eabi@2.4.1:
33 resolution: {integrity: sha512-AA6f7hS0FAPpvQMhBCf6f1oD1LdlqNXKCxAAPpKh6tR11kqV0YIB9zOlIYgITM14mq2YooLFl6XIbbvmY+jwUw==}
34 engines: {node: '>= 10'}
35 cpu: [arm]
36 os: [android]
37 requiresBuild: true
38 dev: true
39 optional: true
40
41 /@resvg/resvg-js-android-arm64@2.4.1:
42 resolution: {integrity: sha512-/QleoRdPfsEuH9jUjilYcDtKK/BkmWcK+1LXM8L2nsnf/CI8EnFyv7ZzCj4xAIvZGAy9dTYr/5NZBcTwxG2HQg==}
43 engines: {node: '>= 10'}
44 cpu: [arm64]
45 os: [android]
46 requiresBuild: true
47 dev: true
48 optional: true
49
50 /@resvg/resvg-js-darwin-arm64@2.4.1:
51 resolution: {integrity: sha512-U1oMNhea+kAXgiEXgzo7EbFGCD1Edq5aSlQoe6LMly6UjHzgx2W3N5kEXCwU/CgN5FiQhZr7PlSJSlcr7mdhfg==}
52 engines: {node: '>= 10'}
53 cpu: [arm64]
54 os: [darwin]
55 requiresBuild: true
56 dev: true
57 optional: true
58
59 /@resvg/resvg-js-darwin-x64@2.4.1:
60 resolution: {integrity: sha512-avyVh6DpebBfHHtTQTZYSr6NG1Ur6TEilk1+H0n7V+g4F7x7WPOo8zL00ZhQCeRQ5H4f8WXNWIEKL8fwqcOkYw==}
61 engines: {node: '>= 10'}
62 cpu: [x64]
63 os: [darwin]
64 requiresBuild: true
65 dev: true
66 optional: true
67
68 /@resvg/resvg-js-linux-arm-gnueabihf@2.4.1:
69 resolution: {integrity: sha512-isY/mdKoBWH4VB5v621co+8l101jxxYjuTkwOLsbW+5RK9EbLciPlCB02M99ThAHzI2MYxIUjXNmNgOW8btXvw==}
70 engines: {node: '>= 10'}
71 cpu: [arm]
72 os: [linux]
73 requiresBuild: true
74 dev: true
75 optional: true
76
77 /@resvg/resvg-js-linux-arm64-gnu@2.4.1:
78 resolution: {integrity: sha512-uY5voSCrFI8TH95vIYBm5blpkOtltLxLRODyhKJhGfskOI7XkRw5/t1u0sWAGYD8rRSNX+CA+np86otKjubrNg==}
79 engines: {node: '>= 10'}
80 cpu: [arm64]
81 os: [linux]
82 requiresBuild: true
83 dev: true
84 optional: true
85
86 /@resvg/resvg-js-linux-arm64-musl@2.4.1:
87 resolution: {integrity: sha512-6mT0+JBCsermKMdi/O2mMk3m7SqOjwi9TKAwSngRZ/nQoL3Z0Z5zV+572ztgbWr0GODB422uD8e9R9zzz38dRQ==}
88 engines: {node: '>= 10'}
89 cpu: [arm64]
90 os: [linux]
91 requiresBuild: true
92 dev: true
93 optional: true
94
95 /@resvg/resvg-js-linux-x64-gnu@2.4.1:
96 resolution: {integrity: sha512-60KnrscLj6VGhkYOJEmmzPlqqfcw1keDh6U+vMcNDjPhV3B5vRSkpP/D/a8sfokyeh4VEacPSYkWGezvzS2/mg==}
97 engines: {node: '>= 10'}
98 cpu: [x64]
99 os: [linux]
100 requiresBuild: true
101 dev: true
102 optional: true
103
104 /@resvg/resvg-js-linux-x64-musl@2.4.1:
105 resolution: {integrity: sha512-0AMyZSICC1D7ge115cOZQW8Pcad6PjWuZkBFF3FJuSxC6Dgok0MQnLTs2MfMdKBlAcwO9dXsf3bv9tJZj8pATA==}
106 engines: {node: '>= 10'}
107 cpu: [x64]
108 os: [linux]
109 requiresBuild: true
110 dev: true
111 optional: true
112
113 /@resvg/resvg-js-win32-arm64-msvc@2.4.1:
114 resolution: {integrity: sha512-76XDFOFSa3d0QotmcNyChh2xHwk+JTFiEQBVxMlHpHMeq7hNrQJ1IpE1zcHSQvrckvkdfLboKRrlGB86B10Qjw==}
115 engines: {node: '>= 10'}
116 cpu: [arm64]
117 os: [win32]
118 requiresBuild: true
119 dev: true
120 optional: true
121
122 /@resvg/resvg-js-win32-ia32-msvc@2.4.1:
123 resolution: {integrity: sha512-odyVFGrEWZIzzJ89KdaFtiYWaIJh9hJRW/frcEcG3agJ464VXkN/2oEVF5ulD+5mpGlug9qJg7htzHcKxDN8sg==}
124 engines: {node: '>= 10'}
125 cpu: [ia32]
126 os: [win32]
127 requiresBuild: true
128 dev: true
129 optional: true
130
131 /@resvg/resvg-js-win32-x64-msvc@2.4.1:
132 resolution: {integrity: sha512-vY4kTLH2S3bP+puU5x7hlAxHv+ulFgcK6Zn3efKSr0M0KnZ9A3qeAjZteIpkowEFfUeMPNg2dvvoFRJA9zqxSw==}
133 engines: {node: '>= 10'}
134 cpu: [x64]
135 os: [win32]
136 requiresBuild: true
137 dev: true
138 optional: true
139
140 /@resvg/resvg-js@2.4.1:
141 resolution: {integrity: sha512-wTOf1zerZX8qYcMmLZw3czR4paI4hXqPjShNwJRh5DeHxvgffUS5KM7XwxtbIheUW6LVYT5fhT2AJiP6mU7U4A==}
142 engines: {node: '>= 10'}
143 optionalDependencies:
144 '@resvg/resvg-js-android-arm-eabi': 2.4.1
145 '@resvg/resvg-js-android-arm64': 2.4.1
146 '@resvg/resvg-js-darwin-arm64': 2.4.1
147 '@resvg/resvg-js-darwin-x64': 2.4.1
148 '@resvg/resvg-js-linux-arm-gnueabihf': 2.4.1
149 '@resvg/resvg-js-linux-arm64-gnu': 2.4.1
150 '@resvg/resvg-js-linux-arm64-musl': 2.4.1
151 '@resvg/resvg-js-linux-x64-gnu': 2.4.1
152 '@resvg/resvg-js-linux-x64-musl': 2.4.1
153 '@resvg/resvg-js-win32-arm64-msvc': 2.4.1
154 '@resvg/resvg-js-win32-ia32-msvc': 2.4.1
155 '@resvg/resvg-js-win32-x64-msvc': 2.4.1
156 dev: true
157
158 /@trysound/sax@0.2.0:
159 resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==}
160 engines: {node: '>=10.13.0'}
161 dev: true
162
163 /@types/triple-beam@1.3.3:
164 resolution: {integrity: sha512-6tOUG+nVHn0cJbVp25JFayS5UE6+xlbcNF9Lo9mU7U0zk3zeUShZied4YEQZjy1JBF043FSkdXw8YkUJuVtB5g==}
165 dev: true
166
167 /@xmldom/xmldom@0.8.10:
168 resolution: {integrity: sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==}
169 engines: {node: '>=10.0.0'}
170 dev: true
171
172 /ansi-regex@5.0.1:
173 resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
174 engines: {node: '>=8'}
175 dev: true
176
177 /ansi-styles@4.3.0:
178 resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
179 engines: {node: '>=8'}
180 dependencies:
181 color-convert: 2.0.1
182 dev: true
183
184 /argparse@2.0.1:
185 resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
186 dev: true
187
188 /async@3.2.4:
189 resolution: {integrity: sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==}
190 dev: true
191
192 /balanced-match@1.0.2:
193 resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
194 dev: true
195
196 /boolbase@1.0.0:
197 resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
198 dev: true
199
200 /brace-expansion@1.1.11:
201 resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
202 dependencies:
203 balanced-match: 1.0.2
204 concat-map: 0.0.1
205 dev: true
206
207 /cliui@8.0.1:
208 resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
209 engines: {node: '>=12'}
210 dependencies:
211 string-width: 4.2.3
212 strip-ansi: 6.0.1
213 wrap-ansi: 7.0.0
214 dev: true
215
216 /clone-buffer@1.0.0:
217 resolution: {integrity: sha512-KLLTJWrvwIP+OPfMn0x2PheDEP20RPUcGXj/ERegTgdmPEZylALQldygiqrPPu8P45uNuPs7ckmReLY6v/iA5g==}
218 engines: {node: '>= 0.10'}
219 dev: true
220
221 /clone-stats@1.0.0:
222 resolution: {integrity: sha512-au6ydSpg6nsrigcZ4m8Bc9hxjeW+GJ8xh5G3BJCMt4WXe1H10UNaVOamqQTmrx1kjVuxAHIQSNU6hY4Nsn9/ag==}
223 dev: true
224
225 /clone@2.1.2:
226 resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==}
227 engines: {node: '>=0.8'}
228 dev: true
229
230 /cloneable-readable@1.1.3:
231 resolution: {integrity: sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==}
232 dependencies:
233 inherits: 2.0.4
234 process-nextick-args: 2.0.1
235 readable-stream: 2.3.8
236 dev: true
237
238 /color-convert@1.9.3:
239 resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==}
240 dependencies:
241 color-name: 1.1.3
242 dev: true
243
244 /color-convert@2.0.1:
245 resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
246 engines: {node: '>=7.0.0'}
247 dependencies:
248 color-name: 1.1.4
249 dev: true
250
251 /color-name@1.1.3:
252 resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==}
253 dev: true
254
255 /color-name@1.1.4:
256 resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
257 dev: true
258
259 /color-string@1.9.1:
260 resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==}
261 dependencies:
262 color-name: 1.1.4
263 simple-swizzle: 0.2.2
264 dev: true
265
266 /color@3.2.1:
267 resolution: {integrity: sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==}
268 dependencies:
269 color-convert: 1.9.3
270 color-string: 1.9.1
271 dev: true
272
273 /colorspace@1.1.4:
274 resolution: {integrity: sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==}
275 dependencies:
276 color: 3.2.1
277 text-hex: 1.0.0
278 dev: true
279
280 /commander@7.2.0:
281 resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}
282 engines: {node: '>= 10'}
283 dev: true
284
285 /concat-map@0.0.1:
286 resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
287 dev: true
288
289 /core-util-is@1.0.3:
290 resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
291 dev: true
292
293 /css-select@4.3.0:
294 resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==}
295 dependencies:
296 boolbase: 1.0.0
297 css-what: 6.1.0
298 domhandler: 4.3.1
299 domutils: 2.8.0
300 nth-check: 2.1.1
301 dev: true
302
303 /css-selector-parser@1.4.1:
304 resolution: {integrity: sha512-HYPSb7y/Z7BNDCOrakL4raGO2zltZkbeXyAd6Tg9obzix6QhzxCotdBl6VT0Dv4vZfJGVz3WL/xaEI9Ly3ul0g==}
305 dev: true
306
307 /css-tree@1.1.3:
308 resolution: {integrity: sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==}
309 engines: {node: '>=8.0.0'}
310 dependencies:
311 mdn-data: 2.0.14
312 source-map: 0.6.1
313 dev: true
314
315 /css-what@6.1.0:
316 resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==}
317 engines: {node: '>= 6'}
318 dev: true
319
320 /csso@4.2.0:
321 resolution: {integrity: sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==}
322 engines: {node: '>=8.0.0'}
323 dependencies:
324 css-tree: 1.1.3
325 dev: true
326
327 /cssom@0.5.0:
328 resolution: {integrity: sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==}
329 dev: true
330
331 /dom-serializer@1.4.1:
332 resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==}
333 dependencies:
334 domelementtype: 2.3.0
335 domhandler: 4.3.1
336 entities: 2.2.0
337 dev: true
338
339 /domelementtype@2.3.0:
340 resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}
341 dev: true
342
343 /domhandler@4.3.1:
344 resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==}
345 engines: {node: '>= 4'}
346 dependencies:
347 domelementtype: 2.3.0
348 dev: true
349
350 /domutils@2.8.0:
351 resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==}
352 dependencies:
353 dom-serializer: 1.4.1
354 domelementtype: 2.3.0
355 domhandler: 4.3.1
356 dev: true
357
358 /emoji-regex@8.0.0:
359 resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
360 dev: true
361
362 /enabled@2.0.0:
363 resolution: {integrity: sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==}
364 dev: true
365
366 /entities@2.2.0:
367 resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==}
368 dev: true
369
370 /escalade@3.1.1:
371 resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}
372 engines: {node: '>=6'}
373 dev: true
374
375 /fecha@4.2.3:
376 resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==}
377 dev: true
378
379 /fn.name@1.1.0:
380 resolution: {integrity: sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==}
381 dev: true
382
383 /fs.realpath@1.0.0:
384 resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
385 dev: true
386
387 /get-caller-file@2.0.5:
388 resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}
389 engines: {node: 6.* || 8.* || >= 10.*}
390 dev: true
391
392 /glob@7.2.3:
393 resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
394 dependencies:
395 fs.realpath: 1.0.0
396 inflight: 1.0.6
397 inherits: 2.0.4
398 minimatch: 3.1.2
399 once: 1.4.0
400 path-is-absolute: 1.0.1
401 dev: true
402
403 /inflight@1.0.6:
404 resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
405 dependencies:
406 once: 1.4.0
407 wrappy: 1.0.2
408 dev: true
409
410 /inherits@2.0.4:
411 resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
412 dev: true
413
414 /is-arrayish@0.3.2:
415 resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==}
416 dev: true
417
418 /is-fullwidth-code-point@3.0.0:
419 resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
420 engines: {node: '>=8'}
421 dev: true
422
423 /is-stream@2.0.1:
424 resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
425 engines: {node: '>=8'}
426 dev: true
427
428 /isarray@1.0.0:
429 resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==}
430 dev: true
431
432 /js-yaml@4.1.0:
433 resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
434 hasBin: true
435 dependencies:
436 argparse: 2.0.1
437 dev: true
438
439 /kuler@2.0.0:
440 resolution: {integrity: sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==}
441 dev: true
442
443 /lodash.escape@4.0.1:
444 resolution: {integrity: sha512-nXEOnb/jK9g0DYMr1/Xvq6l5xMD7GDG55+GSYIYmS0G4tBk/hURD4JR9WCavs04t33WmJx9kCyp9vJ+mr4BOUw==}
445 dev: true
446
447 /lodash.merge@4.6.2:
448 resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
449 dev: true
450
451 /lodash.trim@4.5.1:
452 resolution: {integrity: sha512-nJAlRl/K+eiOehWKDzoBVrSMhK0K3A3YQsUNXHQa5yIrKBAhsZgSu3KoAFoFT+mEgiyBHddZ0pRk1ITpIp90Wg==}
453 dev: true
454
455 /lodash.trimstart@4.5.1:
456 resolution: {integrity: sha512-b/+D6La8tU76L/61/aN0jULWHkT0EeJCmVstPBn/K9MtD2qBW83AsBNrr63dKuWYwVMO7ucv13QNO/Ek/2RKaQ==}
457 dev: true
458
459 /logform@2.5.1:
460 resolution: {integrity: sha512-9FyqAm9o9NKKfiAKfZoYo9bGXXuwMkxQiQttkT4YjjVtQVIQtK6LmVtlxmCaFswo6N4AfEkHqZTV0taDtPotNg==}
461 dependencies:
462 '@colors/colors': 1.5.0
463 '@types/triple-beam': 1.3.3
464 fecha: 4.2.3
465 ms: 2.1.3
466 safe-stable-stringify: 2.4.3
467 triple-beam: 1.4.1
468 dev: true
469
470 /mdn-data@2.0.14:
471 resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==}
472 dev: true
473
474 /minimatch@3.1.2:
475 resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
476 dependencies:
477 brace-expansion: 1.1.11
478 dev: true
479
480 /ms@2.1.3:
481 resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
482 dev: true
483
484 /mustache@4.2.0:
485 resolution: {integrity: sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==}
486 hasBin: true
487 dev: true
488
489 /nth-check@2.1.1:
490 resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
491 dependencies:
492 boolbase: 1.0.0
493 dev: true
494
495 /once@1.4.0:
496 resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
497 dependencies:
498 wrappy: 1.0.2
499 dev: true
500
501 /one-time@1.0.0:
502 resolution: {integrity: sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==}
503 dependencies:
504 fn.name: 1.1.0
505 dev: true
506
507 /path-is-absolute@1.0.1:
508 resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
509 engines: {node: '>=0.10.0'}
510 dev: true
511
512 /picocolors@1.0.0:
513 resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
514 dev: true
515
516 /prettysize@2.0.0:
517 resolution: {integrity: sha512-VVtxR7sOh0VsG8o06Ttq5TrI1aiZKmC+ClSn4eBPaNf4SHr5lzbYW+kYGX3HocBL/MfpVrRfFZ9V3vCbLaiplg==}
518 dev: true
519
520 /process-nextick-args@2.0.1:
521 resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}
522 dev: true
523
524 /readable-stream@2.3.8:
525 resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==}
526 dependencies:
527 core-util-is: 1.0.3
528 inherits: 2.0.4
529 isarray: 1.0.0
530 process-nextick-args: 2.0.1
531 safe-buffer: 5.1.2
532 string_decoder: 1.1.1
533 util-deprecate: 1.0.2
534 dev: true
535
536 /readable-stream@3.6.2:
537 resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==}
538 engines: {node: '>= 6'}
539 dependencies:
540 inherits: 2.0.4
541 string_decoder: 1.3.0
542 util-deprecate: 1.0.2
543 dev: true
544
545 /remove-trailing-separator@1.1.0:
546 resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==}
547 dev: true
548
549 /replace-ext@1.0.1:
550 resolution: {integrity: sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==}
551 engines: {node: '>= 0.10'}
552 dev: true
553
554 /require-directory@2.1.1:
555 resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
556 engines: {node: '>=0.10.0'}
557 dev: true
558
559 /safe-buffer@5.1.2:
560 resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
561 dev: true
562
563 /safe-buffer@5.2.1:
564 resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
565 dev: true
566
567 /safe-stable-stringify@2.4.3:
568 resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==}
569 engines: {node: '>=10'}
570 dev: true
571
572 /simple-swizzle@0.2.2:
573 resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}
574 dependencies:
575 is-arrayish: 0.3.2
576 dev: true
577
578 /source-map@0.6.1:
579 resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
580 engines: {node: '>=0.10.0'}
581 dev: true
582
583 /stable@0.1.8:
584 resolution: {integrity: sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==}
585 deprecated: 'Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility'
586 dev: true
587
588 /stack-trace@0.0.10:
589 resolution: {integrity: sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==}
590 dev: true
591
592 /string-width@4.2.3:
593 resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
594 engines: {node: '>=8'}
595 dependencies:
596 emoji-regex: 8.0.0
597 is-fullwidth-code-point: 3.0.0
598 strip-ansi: 6.0.1
599 dev: true
600
601 /string_decoder@1.1.1:
602 resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==}
603 dependencies:
604 safe-buffer: 5.1.2
605 dev: true
606
607 /string_decoder@1.3.0:
608 resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==}
609 dependencies:
610 safe-buffer: 5.2.1
611 dev: true
612
613 /strip-ansi@6.0.1:
614 resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
615 engines: {node: '>=8'}
616 dependencies:
617 ansi-regex: 5.0.1
618 dev: true
619
620 /svg-sprite@2.0.2:
621 resolution: {integrity: sha512-vLFP/t4YCu62mvOzUt6g9bqpKrPjYsLuzegw5WsIsv3DkulAI/fRC+k7Atk//rIkUDbvKo572nJ6o4YT+FbKig==}
622 engines: {node: '>=12'}
623 hasBin: true
624 dependencies:
625 '@resvg/resvg-js': 2.4.1
626 '@xmldom/xmldom': 0.8.10
627 async: 3.2.4
628 css-selector-parser: 1.4.1
629 csso: 4.2.0
630 cssom: 0.5.0
631 glob: 7.2.3
632 js-yaml: 4.1.0
633 lodash.escape: 4.0.1
634 lodash.merge: 4.6.2
635 lodash.trim: 4.5.1
636 lodash.trimstart: 4.5.1
637 mustache: 4.2.0
638 prettysize: 2.0.0
639 svgo: 2.8.0
640 vinyl: 2.2.1
641 winston: 3.11.0
642 xpath: 0.0.32
643 yargs: 17.7.2
644 dev: true
645
646 /svgo@2.8.0:
647 resolution: {integrity: sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==}
648 engines: {node: '>=10.13.0'}
649 hasBin: true
650 dependencies:
651 '@trysound/sax': 0.2.0
652 commander: 7.2.0
653 css-select: 4.3.0
654 css-tree: 1.1.3
655 csso: 4.2.0
656 picocolors: 1.0.0
657 stable: 0.1.8
658 dev: true
659
660 /text-hex@1.0.0:
661 resolution: {integrity: sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==}
662 dev: true
663
664 /triple-beam@1.4.1:
665 resolution: {integrity: sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==}
666 engines: {node: '>= 14.0.0'}
667 dev: true
668
669 /util-deprecate@1.0.2:
670 resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
671 dev: true
672
673 /vinyl@2.2.1:
674 resolution: {integrity: sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw==}
675 engines: {node: '>= 0.10'}
676 dependencies:
677 clone: 2.1.2
678 clone-buffer: 1.0.0
679 clone-stats: 1.0.0
680 cloneable-readable: 1.1.3
681 remove-trailing-separator: 1.1.0
682 replace-ext: 1.0.1
683 dev: true
684
685 /winston-transport@4.5.0:
686 resolution: {integrity: sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==}
687 engines: {node: '>= 6.4.0'}
688 dependencies:
689 logform: 2.5.1
690 readable-stream: 3.6.2
691 triple-beam: 1.4.1
692 dev: true
693
694 /winston@3.11.0:
695 resolution: {integrity: sha512-L3yR6/MzZAOl0DsysUXHVjOwv8mKZ71TrA/41EIduGpOOV5LQVodqN+QdQ6BS6PJ/RdIshZhq84P/fStEZkk7g==}
696 engines: {node: '>= 12.0.0'}
697 dependencies:
698 '@colors/colors': 1.6.0
699 '@dabh/diagnostics': 2.0.3
700 async: 3.2.4
701 is-stream: 2.0.1
702 logform: 2.5.1
703 one-time: 1.0.0
704 readable-stream: 3.6.2
705 safe-stable-stringify: 2.4.3
706 stack-trace: 0.0.10
707 triple-beam: 1.4.1
708 winston-transport: 4.5.0
709 dev: true
710
711 /wrap-ansi@7.0.0:
712 resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
713 engines: {node: '>=10'}
714 dependencies:
715 ansi-styles: 4.3.0
716 string-width: 4.2.3
717 strip-ansi: 6.0.1
718 dev: true
719
720 /wrappy@1.0.2:
721 resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
722 dev: true
723
724 /xpath@0.0.32:
725 resolution: {integrity: sha512-rxMJhSIoiO8vXcWvSifKqhvV96GjiD5wYb8/QHdoRyQvraTpp4IEv944nhGausZZ3u7dhQXteZuZbaqfpB7uYw==}
726 engines: {node: '>=0.6.0'}
727 dev: true
728
729 /y18n@5.0.8:
730 resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
731 engines: {node: '>=10'}
732 dev: true
733
734 /yargs-parser@21.1.1:
735 resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
736 engines: {node: '>=12'}
737 dev: true
738
739 /yargs@17.7.2:
740 resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==}
741 engines: {node: '>=12'}
742 dependencies:
743 cliui: 8.0.1
744 escalade: 3.1.1
745 get-caller-file: 2.0.5
746 require-directory: 2.1.1
747 string-width: 4.2.3
748 y18n: 5.0.8
749 yargs-parser: 21.1.1
750 dev: true
diff --git a/scripts/create_sprite.js b/scripts/create_sprite.js
index 3bd4cf4..62aa6e0 100644
--- a/scripts/create_sprite.js
+++ b/scripts/create_sprite.js
@@ -1,6 +1,9 @@
1const SVGSpriter = require('svg-sprite'); 1import SVGSpriter from "svg-sprite";
2const fs = require('fs'); 2import { readFileSync, writeFileSync } from "fs";
3const path = require('path'); 3import { dirname, resolve } from "path";
4import { fileURLToPath } from "url";
5
6const __dirname = dirname(fileURLToPath(import.meta.url));
4 7
5const args = process.argv.slice(2); 8const args = process.argv.slice(2);
6const sprite = args.pop(); 9const sprite = args.pop();
@@ -10,16 +13,16 @@ const spriter = new SVGSpriter({
10 symbol: { 13 symbol: {
11 dest: "", 14 dest: "",
12 sprite, 15 sprite,
13 } 16 },
14 }, 17 },
15 shape: { 18 shape: {
16 transform: [] 19 transform: [],
17 } 20 },
18}); 21});
19 22
20for (const id of args) { 23for (const id of args) {
21 const file = path.resolve(__dirname, `../dist/${id}.svg`); 24 const file = resolve(__dirname, `../dist/${id}.svg`);
22 spriter.add(file, null, fs.readFileSync(file, { encoding: 'utf-8' })); 25 spriter.add(file, null, readFileSync(file, { encoding: "utf-8" }));
23} 26}
24 27
25spriter.compile((error, result) => { 28spriter.compile((error, result) => {
@@ -30,7 +33,10 @@ spriter.compile((error, result) => {
30 for (var mode in result) { 33 for (var mode in result) {
31 for (var resource in result[mode]) { 34 for (var resource in result[mode]) {
32 console.log(result[mode][resource].path); 35 console.log(result[mode][resource].path);
33 fs.writeFileSync(result[mode][resource].path, result[mode][resource].contents); 36 writeFileSync(
37 result[mode][resource].path,
38 result[mode][resource].contents
39 );
34 } 40 }
35 } 41 }
36}); 42});