@iconify/tools 3.0.2 → 3.0.4

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/README.md CHANGED
@@ -93,4 +93,4 @@ If you need to import or parse icons synchronously, such as in config file of pa
93
93
 
94
94
  Library is released with MIT license.
95
95
 
96
- © 2021 Vjacheslav Trushkin
96
+ © 2021-PRESENT Vjacheslav Trushkin
@@ -58,6 +58,7 @@ async function exportJSONPackage(iconSet, options) {
58
58
  const packageJSONExports = {
59
59
  "./*": "./*",
60
60
  ".": {
61
+ types: "./index.d.ts",
61
62
  require: "./index.js",
62
63
  import: "./index.mjs"
63
64
  }
@@ -56,6 +56,7 @@ async function exportJSONPackage(iconSet, options) {
56
56
  const packageJSONExports = {
57
57
  "./*": "./*",
58
58
  ".": {
59
+ types: "./index.d.ts",
59
60
  require: "./index.js",
60
61
  import: "./index.mjs"
61
62
  }
package/license.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Vjacheslav Trushkin
3
+ Copyright (c) 2021-PRESENT Vjacheslav Trushkin
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "description": "Collection of functions for cleaning up and parsing SVG for Iconify project",
5
5
  "author": "Vjacheslav Trushkin",
6
- "version": "3.0.2",
6
+ "version": "3.0.4",
7
7
  "license": "MIT",
8
8
  "bugs": "https://github.com/iconify/tools/issues",
9
9
  "homepage": "https://github.com/iconify/tools",
@@ -16,510 +16,510 @@
16
16
  "types": "./lib/index.d.ts",
17
17
  "dependencies": {
18
18
  "@iconify/types": "^2.0.0",
19
- "@iconify/utils": "^2.1.5",
19
+ "@iconify/utils": "^2.1.7",
20
20
  "@types/cheerio": "^0.22.31",
21
- "@types/tar": "^6.1.4",
21
+ "@types/tar": "^6.1.5",
22
22
  "cheerio": "^1.0.0-rc.12",
23
23
  "extract-zip": "^2.0.1",
24
24
  "local-pkg": "^0.4.3",
25
- "pathe": "^1.1.0",
25
+ "pathe": "^1.1.1",
26
26
  "svgo": "^3.0.2",
27
- "tar": "^6.1.13"
27
+ "tar": "^6.1.15"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/jest": "^29.5.0",
31
- "@types/node": "^18.15.11",
32
- "@typescript-eslint/eslint-plugin": "^5.58.0",
33
- "@typescript-eslint/parser": "^5.58.0",
30
+ "@types/jest": "^29.5.3",
31
+ "@types/node": "^18.17.3",
32
+ "@typescript-eslint/eslint-plugin": "^5.62.0",
33
+ "@typescript-eslint/parser": "^5.62.0",
34
34
  "cross-env": "^7.0.3",
35
- "eslint": "^8.38.0",
36
- "eslint-config-prettier": "^8.8.0",
35
+ "eslint": "^8.46.0",
36
+ "eslint-config-prettier": "^8.10.0",
37
37
  "eslint-plugin-jasmine": "^4.1.3",
38
38
  "eslint-plugin-prettier": "^4.2.1",
39
- "jasmine": "^4.6.0",
40
- "jest": "^29.5.0",
41
- "prettier": "^2.8.7",
42
- "rimraf": "^5.0.0",
43
- "ts-jest": "^29.1.0",
44
- "typescript": "^5.0.4",
39
+ "jasmine": "^5.1.0",
40
+ "jest": "^29.6.2",
41
+ "prettier": "^2.8.8",
42
+ "rimraf": "^5.0.1",
43
+ "ts-jest": "^29.1.1",
44
+ "typescript": "^5.1.6",
45
45
  "unbuild": "^1.2.1"
46
46
  },
47
47
  "exports": {
48
48
  "./*": "./*",
49
49
  ".": {
50
+ "types": "./lib/index.d.ts",
50
51
  "require": "./lib/index.cjs",
51
- "import": "./lib/index.mjs",
52
- "types": "./lib/index.d.ts"
52
+ "import": "./lib/index.mjs"
53
53
  },
54
54
  "./lib/colors/attribs": {
55
+ "types": "./lib/colors/attribs.d.ts",
55
56
  "require": "./lib/colors/attribs.cjs",
56
- "import": "./lib/colors/attribs.mjs",
57
- "types": "./lib/colors/attribs.d.ts"
57
+ "import": "./lib/colors/attribs.mjs"
58
58
  },
59
59
  "./lib/colors/detect": {
60
+ "types": "./lib/colors/detect.d.ts",
60
61
  "require": "./lib/colors/detect.cjs",
61
- "import": "./lib/colors/detect.mjs",
62
- "types": "./lib/colors/detect.d.ts"
62
+ "import": "./lib/colors/detect.mjs"
63
63
  },
64
64
  "./lib/colors/parse": {
65
+ "types": "./lib/colors/parse.d.ts",
65
66
  "require": "./lib/colors/parse.cjs",
66
- "import": "./lib/colors/parse.mjs",
67
- "types": "./lib/colors/parse.d.ts"
67
+ "import": "./lib/colors/parse.mjs"
68
68
  },
69
69
  "./lib/colors/validate": {
70
+ "types": "./lib/colors/validate.d.ts",
70
71
  "require": "./lib/colors/validate.cjs",
71
- "import": "./lib/colors/validate.mjs",
72
- "types": "./lib/colors/validate.d.ts"
72
+ "import": "./lib/colors/validate.mjs"
73
73
  },
74
74
  "./lib/css/parse": {
75
+ "types": "./lib/css/parse.d.ts",
75
76
  "require": "./lib/css/parse.cjs",
76
- "import": "./lib/css/parse.mjs",
77
- "types": "./lib/css/parse.d.ts"
77
+ "import": "./lib/css/parse.mjs"
78
78
  },
79
79
  "./lib/css/parser/error": {
80
+ "types": "./lib/css/parser/error.d.ts",
80
81
  "require": "./lib/css/parser/error.cjs",
81
- "import": "./lib/css/parser/error.mjs",
82
- "types": "./lib/css/parser/error.d.ts"
82
+ "import": "./lib/css/parser/error.mjs"
83
83
  },
84
84
  "./lib/css/parser/export": {
85
+ "types": "./lib/css/parser/export.d.ts",
85
86
  "require": "./lib/css/parser/export.cjs",
86
- "import": "./lib/css/parser/export.mjs",
87
- "types": "./lib/css/parser/export.d.ts"
87
+ "import": "./lib/css/parser/export.mjs"
88
88
  },
89
89
  "./lib/css/parser/strings": {
90
+ "types": "./lib/css/parser/strings.d.ts",
90
91
  "require": "./lib/css/parser/strings.cjs",
91
- "import": "./lib/css/parser/strings.mjs",
92
- "types": "./lib/css/parser/strings.d.ts"
92
+ "import": "./lib/css/parser/strings.mjs"
93
93
  },
94
94
  "./lib/css/parser/text": {
95
+ "types": "./lib/css/parser/text.d.ts",
95
96
  "require": "./lib/css/parser/text.cjs",
96
- "import": "./lib/css/parser/text.mjs",
97
- "types": "./lib/css/parser/text.d.ts"
97
+ "import": "./lib/css/parser/text.mjs"
98
98
  },
99
99
  "./lib/css/parser/tokens": {
100
+ "types": "./lib/css/parser/tokens.d.ts",
100
101
  "require": "./lib/css/parser/tokens.cjs",
101
- "import": "./lib/css/parser/tokens.mjs",
102
- "types": "./lib/css/parser/tokens.d.ts"
102
+ "import": "./lib/css/parser/tokens.mjs"
103
103
  },
104
104
  "./lib/css/parser/tree": {
105
+ "types": "./lib/css/parser/tree.d.ts",
105
106
  "require": "./lib/css/parser/tree.cjs",
106
- "import": "./lib/css/parser/tree.mjs",
107
- "types": "./lib/css/parser/tree.d.ts"
107
+ "import": "./lib/css/parser/tree.mjs"
108
108
  },
109
109
  "./lib/css/parser/types": {
110
+ "types": "./lib/css/parser/types.d.ts",
110
111
  "require": "./lib/css/parser/types.cjs",
111
- "import": "./lib/css/parser/types.mjs",
112
- "types": "./lib/css/parser/types.d.ts"
112
+ "import": "./lib/css/parser/types.mjs"
113
113
  },
114
114
  "./lib/download/api/cache": {
115
+ "types": "./lib/download/api/cache.d.ts",
115
116
  "require": "./lib/download/api/cache.cjs",
116
- "import": "./lib/download/api/cache.mjs",
117
- "types": "./lib/download/api/cache.d.ts"
117
+ "import": "./lib/download/api/cache.mjs"
118
118
  },
119
119
  "./lib/download/api/download": {
120
+ "types": "./lib/download/api/download.d.ts",
120
121
  "require": "./lib/download/api/download.cjs",
121
- "import": "./lib/download/api/download.mjs",
122
- "types": "./lib/download/api/download.d.ts"
122
+ "import": "./lib/download/api/download.mjs"
123
123
  },
124
124
  "./lib/download/api": {
125
+ "types": "./lib/download/api/index.d.ts",
125
126
  "require": "./lib/download/api/index.cjs",
126
- "import": "./lib/download/api/index.mjs",
127
- "types": "./lib/download/api/index.d.ts"
127
+ "import": "./lib/download/api/index.mjs"
128
128
  },
129
129
  "./lib/download/api/index": {
130
+ "types": "./lib/download/api/index.d.ts",
130
131
  "require": "./lib/download/api/index.cjs",
131
- "import": "./lib/download/api/index.mjs",
132
- "types": "./lib/download/api/index.d.ts"
132
+ "import": "./lib/download/api/index.mjs"
133
133
  },
134
134
  "./lib/download/api/types": {
135
+ "types": "./lib/download/api/types.d.ts",
135
136
  "require": "./lib/download/api/types.cjs",
136
- "import": "./lib/download/api/types.mjs",
137
- "types": "./lib/download/api/types.d.ts"
137
+ "import": "./lib/download/api/types.mjs"
138
138
  },
139
139
  "./lib/download/git/branch": {
140
+ "types": "./lib/download/git/branch.d.ts",
140
141
  "require": "./lib/download/git/branch.cjs",
141
- "import": "./lib/download/git/branch.mjs",
142
- "types": "./lib/download/git/branch.d.ts"
142
+ "import": "./lib/download/git/branch.mjs"
143
143
  },
144
144
  "./lib/download/git/hash": {
145
+ "types": "./lib/download/git/hash.d.ts",
145
146
  "require": "./lib/download/git/hash.cjs",
146
- "import": "./lib/download/git/hash.mjs",
147
- "types": "./lib/download/git/hash.d.ts"
147
+ "import": "./lib/download/git/hash.mjs"
148
148
  },
149
149
  "./lib/download/git": {
150
+ "types": "./lib/download/git/index.d.ts",
150
151
  "require": "./lib/download/git/index.cjs",
151
- "import": "./lib/download/git/index.mjs",
152
- "types": "./lib/download/git/index.d.ts"
152
+ "import": "./lib/download/git/index.mjs"
153
153
  },
154
154
  "./lib/download/git/index": {
155
+ "types": "./lib/download/git/index.d.ts",
155
156
  "require": "./lib/download/git/index.cjs",
156
- "import": "./lib/download/git/index.mjs",
157
- "types": "./lib/download/git/index.d.ts"
157
+ "import": "./lib/download/git/index.mjs"
158
158
  },
159
159
  "./lib/download/git/reset": {
160
+ "types": "./lib/download/git/reset.d.ts",
160
161
  "require": "./lib/download/git/reset.cjs",
161
- "import": "./lib/download/git/reset.mjs",
162
- "types": "./lib/download/git/reset.d.ts"
162
+ "import": "./lib/download/git/reset.mjs"
163
163
  },
164
164
  "./lib/download/github/hash": {
165
+ "types": "./lib/download/github/hash.d.ts",
165
166
  "require": "./lib/download/github/hash.cjs",
166
- "import": "./lib/download/github/hash.mjs",
167
- "types": "./lib/download/github/hash.d.ts"
167
+ "import": "./lib/download/github/hash.mjs"
168
168
  },
169
169
  "./lib/download/github": {
170
+ "types": "./lib/download/github/index.d.ts",
170
171
  "require": "./lib/download/github/index.cjs",
171
- "import": "./lib/download/github/index.mjs",
172
- "types": "./lib/download/github/index.d.ts"
172
+ "import": "./lib/download/github/index.mjs"
173
173
  },
174
174
  "./lib/download/github/index": {
175
+ "types": "./lib/download/github/index.d.ts",
175
176
  "require": "./lib/download/github/index.cjs",
176
- "import": "./lib/download/github/index.mjs",
177
- "types": "./lib/download/github/index.d.ts"
177
+ "import": "./lib/download/github/index.mjs"
178
178
  },
179
179
  "./lib/download/github/types": {
180
+ "types": "./lib/download/github/types.d.ts",
180
181
  "require": "./lib/download/github/types.cjs",
181
- "import": "./lib/download/github/types.mjs",
182
- "types": "./lib/download/github/types.d.ts"
182
+ "import": "./lib/download/github/types.mjs"
183
183
  },
184
184
  "./lib/download/gitlab/hash": {
185
+ "types": "./lib/download/gitlab/hash.d.ts",
185
186
  "require": "./lib/download/gitlab/hash.cjs",
186
- "import": "./lib/download/gitlab/hash.mjs",
187
- "types": "./lib/download/gitlab/hash.d.ts"
187
+ "import": "./lib/download/gitlab/hash.mjs"
188
188
  },
189
189
  "./lib/download/gitlab": {
190
+ "types": "./lib/download/gitlab/index.d.ts",
190
191
  "require": "./lib/download/gitlab/index.cjs",
191
- "import": "./lib/download/gitlab/index.mjs",
192
- "types": "./lib/download/gitlab/index.d.ts"
192
+ "import": "./lib/download/gitlab/index.mjs"
193
193
  },
194
194
  "./lib/download/gitlab/index": {
195
+ "types": "./lib/download/gitlab/index.d.ts",
195
196
  "require": "./lib/download/gitlab/index.cjs",
196
- "import": "./lib/download/gitlab/index.mjs",
197
- "types": "./lib/download/gitlab/index.d.ts"
197
+ "import": "./lib/download/gitlab/index.mjs"
198
198
  },
199
199
  "./lib/download/gitlab/types": {
200
+ "types": "./lib/download/gitlab/types.d.ts",
200
201
  "require": "./lib/download/gitlab/types.cjs",
201
- "import": "./lib/download/gitlab/types.mjs",
202
- "types": "./lib/download/gitlab/types.d.ts"
202
+ "import": "./lib/download/gitlab/types.mjs"
203
203
  },
204
204
  "./lib/download/helpers/untar": {
205
+ "types": "./lib/download/helpers/untar.d.ts",
205
206
  "require": "./lib/download/helpers/untar.cjs",
206
- "import": "./lib/download/helpers/untar.mjs",
207
- "types": "./lib/download/helpers/untar.d.ts"
207
+ "import": "./lib/download/helpers/untar.mjs"
208
208
  },
209
209
  "./lib/download/helpers/unzip": {
210
+ "types": "./lib/download/helpers/unzip.d.ts",
210
211
  "require": "./lib/download/helpers/unzip.cjs",
211
- "import": "./lib/download/helpers/unzip.mjs",
212
- "types": "./lib/download/helpers/unzip.d.ts"
212
+ "import": "./lib/download/helpers/unzip.mjs"
213
213
  },
214
214
  "./lib/download": {
215
+ "types": "./lib/download/index.d.ts",
215
216
  "require": "./lib/download/index.cjs",
216
- "import": "./lib/download/index.mjs",
217
- "types": "./lib/download/index.d.ts"
217
+ "import": "./lib/download/index.mjs"
218
218
  },
219
219
  "./lib/download/index": {
220
+ "types": "./lib/download/index.d.ts",
220
221
  "require": "./lib/download/index.cjs",
221
- "import": "./lib/download/index.mjs",
222
- "types": "./lib/download/index.d.ts"
222
+ "import": "./lib/download/index.mjs"
223
223
  },
224
224
  "./lib/download/npm": {
225
+ "types": "./lib/download/npm/index.d.ts",
225
226
  "require": "./lib/download/npm/index.cjs",
226
- "import": "./lib/download/npm/index.mjs",
227
- "types": "./lib/download/npm/index.d.ts"
227
+ "import": "./lib/download/npm/index.mjs"
228
228
  },
229
229
  "./lib/download/npm/index": {
230
+ "types": "./lib/download/npm/index.d.ts",
230
231
  "require": "./lib/download/npm/index.cjs",
231
- "import": "./lib/download/npm/index.mjs",
232
- "types": "./lib/download/npm/index.d.ts"
232
+ "import": "./lib/download/npm/index.mjs"
233
233
  },
234
234
  "./lib/download/npm/types": {
235
+ "types": "./lib/download/npm/types.d.ts",
235
236
  "require": "./lib/download/npm/types.cjs",
236
- "import": "./lib/download/npm/types.mjs",
237
- "types": "./lib/download/npm/types.d.ts"
237
+ "import": "./lib/download/npm/types.mjs"
238
238
  },
239
239
  "./lib/download/npm/version": {
240
+ "types": "./lib/download/npm/version.d.ts",
240
241
  "require": "./lib/download/npm/version.cjs",
241
- "import": "./lib/download/npm/version.mjs",
242
- "types": "./lib/download/npm/version.d.ts"
242
+ "import": "./lib/download/npm/version.mjs"
243
243
  },
244
244
  "./lib/download/types/modified": {
245
+ "types": "./lib/download/types/modified.d.ts",
245
246
  "require": "./lib/download/types/modified.cjs",
246
- "import": "./lib/download/types/modified.mjs",
247
- "types": "./lib/download/types/modified.d.ts"
247
+ "import": "./lib/download/types/modified.mjs"
248
248
  },
249
249
  "./lib/download/types/sources": {
250
+ "types": "./lib/download/types/sources.d.ts",
250
251
  "require": "./lib/download/types/sources.cjs",
251
- "import": "./lib/download/types/sources.mjs",
252
- "types": "./lib/download/types/sources.d.ts"
252
+ "import": "./lib/download/types/sources.mjs"
253
253
  },
254
254
  "./lib/export/directory": {
255
+ "types": "./lib/export/directory.d.ts",
255
256
  "require": "./lib/export/directory.cjs",
256
- "import": "./lib/export/directory.mjs",
257
- "types": "./lib/export/directory.d.ts"
257
+ "import": "./lib/export/directory.mjs"
258
258
  },
259
259
  "./lib/export/helpers/custom-files": {
260
+ "types": "./lib/export/helpers/custom-files.d.ts",
260
261
  "require": "./lib/export/helpers/custom-files.cjs",
261
- "import": "./lib/export/helpers/custom-files.mjs",
262
- "types": "./lib/export/helpers/custom-files.d.ts"
262
+ "import": "./lib/export/helpers/custom-files.mjs"
263
263
  },
264
264
  "./lib/export/helpers/prepare": {
265
+ "types": "./lib/export/helpers/prepare.d.ts",
265
266
  "require": "./lib/export/helpers/prepare.cjs",
266
- "import": "./lib/export/helpers/prepare.mjs",
267
- "types": "./lib/export/helpers/prepare.d.ts"
267
+ "import": "./lib/export/helpers/prepare.mjs"
268
268
  },
269
269
  "./lib/export/helpers/types-version": {
270
+ "types": "./lib/export/helpers/types-version.d.ts",
270
271
  "require": "./lib/export/helpers/types-version.cjs",
271
- "import": "./lib/export/helpers/types-version.mjs",
272
- "types": "./lib/export/helpers/types-version.d.ts"
272
+ "import": "./lib/export/helpers/types-version.mjs"
273
273
  },
274
274
  "./lib/export/icon-package": {
275
+ "types": "./lib/export/icon-package.d.ts",
275
276
  "require": "./lib/export/icon-package.cjs",
276
- "import": "./lib/export/icon-package.mjs",
277
- "types": "./lib/export/icon-package.d.ts"
277
+ "import": "./lib/export/icon-package.mjs"
278
278
  },
279
279
  "./lib/export/json-package": {
280
+ "types": "./lib/export/json-package.d.ts",
280
281
  "require": "./lib/export/json-package.cjs",
281
- "import": "./lib/export/json-package.mjs",
282
- "types": "./lib/export/json-package.d.ts"
282
+ "import": "./lib/export/json-package.mjs"
283
283
  },
284
284
  "./lib/icon-set": {
285
+ "types": "./lib/icon-set/index.d.ts",
285
286
  "require": "./lib/icon-set/index.cjs",
286
- "import": "./lib/icon-set/index.mjs",
287
- "types": "./lib/icon-set/index.d.ts"
287
+ "import": "./lib/icon-set/index.mjs"
288
288
  },
289
289
  "./lib/icon-set/index": {
290
+ "types": "./lib/icon-set/index.d.ts",
290
291
  "require": "./lib/icon-set/index.cjs",
291
- "import": "./lib/icon-set/index.mjs",
292
- "types": "./lib/icon-set/index.d.ts"
292
+ "import": "./lib/icon-set/index.mjs"
293
293
  },
294
294
  "./lib/icon-set/match": {
295
+ "types": "./lib/icon-set/match.d.ts",
295
296
  "require": "./lib/icon-set/match.cjs",
296
- "import": "./lib/icon-set/match.mjs",
297
- "types": "./lib/icon-set/match.d.ts"
297
+ "import": "./lib/icon-set/match.mjs"
298
298
  },
299
299
  "./lib/icon-set/merge": {
300
+ "types": "./lib/icon-set/merge.d.ts",
300
301
  "require": "./lib/icon-set/merge.cjs",
301
- "import": "./lib/icon-set/merge.mjs",
302
- "types": "./lib/icon-set/merge.d.ts"
302
+ "import": "./lib/icon-set/merge.mjs"
303
303
  },
304
304
  "./lib/icon-set/modified": {
305
+ "types": "./lib/icon-set/modified.d.ts",
305
306
  "require": "./lib/icon-set/modified.cjs",
306
- "import": "./lib/icon-set/modified.mjs",
307
- "types": "./lib/icon-set/modified.d.ts"
307
+ "import": "./lib/icon-set/modified.mjs"
308
308
  },
309
309
  "./lib/icon-set/props": {
310
+ "types": "./lib/icon-set/props.d.ts",
310
311
  "require": "./lib/icon-set/props.cjs",
311
- "import": "./lib/icon-set/props.mjs",
312
- "types": "./lib/icon-set/props.d.ts"
312
+ "import": "./lib/icon-set/props.mjs"
313
313
  },
314
314
  "./lib/icon-set/tags": {
315
+ "types": "./lib/icon-set/tags.d.ts",
315
316
  "require": "./lib/icon-set/tags.cjs",
316
- "import": "./lib/icon-set/tags.mjs",
317
- "types": "./lib/icon-set/tags.d.ts"
317
+ "import": "./lib/icon-set/tags.mjs"
318
318
  },
319
319
  "./lib/icon-set/types": {
320
+ "types": "./lib/icon-set/types.d.ts",
320
321
  "require": "./lib/icon-set/types.cjs",
321
- "import": "./lib/icon-set/types.mjs",
322
- "types": "./lib/icon-set/types.d.ts"
322
+ "import": "./lib/icon-set/types.mjs"
323
323
  },
324
324
  "./lib/import/directory": {
325
+ "types": "./lib/import/directory.d.ts",
325
326
  "require": "./lib/import/directory.cjs",
326
- "import": "./lib/import/directory.mjs",
327
- "types": "./lib/import/directory.d.ts"
327
+ "import": "./lib/import/directory.mjs"
328
328
  },
329
329
  "./lib/import/figma": {
330
+ "types": "./lib/import/figma/index.d.ts",
330
331
  "require": "./lib/import/figma/index.cjs",
331
- "import": "./lib/import/figma/index.mjs",
332
- "types": "./lib/import/figma/index.d.ts"
332
+ "import": "./lib/import/figma/index.mjs"
333
333
  },
334
334
  "./lib/import/figma/index": {
335
+ "types": "./lib/import/figma/index.d.ts",
335
336
  "require": "./lib/import/figma/index.cjs",
336
- "import": "./lib/import/figma/index.mjs",
337
- "types": "./lib/import/figma/index.d.ts"
337
+ "import": "./lib/import/figma/index.mjs"
338
338
  },
339
339
  "./lib/import/figma/nodes": {
340
+ "types": "./lib/import/figma/nodes.d.ts",
340
341
  "require": "./lib/import/figma/nodes.cjs",
341
- "import": "./lib/import/figma/nodes.mjs",
342
- "types": "./lib/import/figma/nodes.d.ts"
342
+ "import": "./lib/import/figma/nodes.mjs"
343
343
  },
344
344
  "./lib/import/figma/query": {
345
+ "types": "./lib/import/figma/query.d.ts",
345
346
  "require": "./lib/import/figma/query.cjs",
346
- "import": "./lib/import/figma/query.mjs",
347
- "types": "./lib/import/figma/query.d.ts"
347
+ "import": "./lib/import/figma/query.mjs"
348
348
  },
349
349
  "./lib/import/figma/types/api": {
350
+ "types": "./lib/import/figma/types/api.d.ts",
350
351
  "require": "./lib/import/figma/types/api.cjs",
351
- "import": "./lib/import/figma/types/api.mjs",
352
- "types": "./lib/import/figma/types/api.d.ts"
352
+ "import": "./lib/import/figma/types/api.mjs"
353
353
  },
354
354
  "./lib/import/figma/types/nodes": {
355
+ "types": "./lib/import/figma/types/nodes.d.ts",
355
356
  "require": "./lib/import/figma/types/nodes.cjs",
356
- "import": "./lib/import/figma/types/nodes.mjs",
357
- "types": "./lib/import/figma/types/nodes.d.ts"
357
+ "import": "./lib/import/figma/types/nodes.mjs"
358
358
  },
359
359
  "./lib/import/figma/types/options": {
360
+ "types": "./lib/import/figma/types/options.d.ts",
360
361
  "require": "./lib/import/figma/types/options.cjs",
361
- "import": "./lib/import/figma/types/options.mjs",
362
- "types": "./lib/import/figma/types/options.d.ts"
362
+ "import": "./lib/import/figma/types/options.mjs"
363
363
  },
364
364
  "./lib/import/figma/types/result": {
365
+ "types": "./lib/import/figma/types/result.d.ts",
365
366
  "require": "./lib/import/figma/types/result.cjs",
366
- "import": "./lib/import/figma/types/result.mjs",
367
- "types": "./lib/import/figma/types/result.d.ts"
367
+ "import": "./lib/import/figma/types/result.mjs"
368
368
  },
369
369
  "./lib": {
370
+ "types": "./lib/index.d.ts",
370
371
  "require": "./lib/index.cjs",
371
- "import": "./lib/index.mjs",
372
- "types": "./lib/index.d.ts"
372
+ "import": "./lib/index.mjs"
373
373
  },
374
374
  "./lib/index": {
375
+ "types": "./lib/index.d.ts",
375
376
  "require": "./lib/index.cjs",
376
- "import": "./lib/index.mjs",
377
- "types": "./lib/index.d.ts"
377
+ "import": "./lib/index.mjs"
378
378
  },
379
379
  "./lib/misc/bump-version": {
380
+ "types": "./lib/misc/bump-version.d.ts",
380
381
  "require": "./lib/misc/bump-version.cjs",
381
- "import": "./lib/misc/bump-version.mjs",
382
- "types": "./lib/misc/bump-version.d.ts"
382
+ "import": "./lib/misc/bump-version.mjs"
383
383
  },
384
384
  "./lib/misc/cheerio": {
385
+ "types": "./lib/misc/cheerio.d.ts",
385
386
  "require": "./lib/misc/cheerio.cjs",
386
- "import": "./lib/misc/cheerio.mjs",
387
- "types": "./lib/misc/cheerio.d.ts"
387
+ "import": "./lib/misc/cheerio.mjs"
388
388
  },
389
389
  "./lib/misc/compare-dirs": {
390
+ "types": "./lib/misc/compare-dirs.d.ts",
390
391
  "require": "./lib/misc/compare-dirs.cjs",
391
- "import": "./lib/misc/compare-dirs.mjs",
392
- "types": "./lib/misc/compare-dirs.d.ts"
392
+ "import": "./lib/misc/compare-dirs.mjs"
393
393
  },
394
394
  "./lib/misc/exec": {
395
+ "types": "./lib/misc/exec.d.ts",
395
396
  "require": "./lib/misc/exec.cjs",
396
- "import": "./lib/misc/exec.mjs",
397
- "types": "./lib/misc/exec.d.ts"
397
+ "import": "./lib/misc/exec.mjs"
398
398
  },
399
399
  "./lib/misc/keyword": {
400
+ "types": "./lib/misc/keyword.d.ts",
400
401
  "require": "./lib/misc/keyword.cjs",
401
- "import": "./lib/misc/keyword.mjs",
402
- "types": "./lib/misc/keyword.d.ts"
402
+ "import": "./lib/misc/keyword.mjs"
403
403
  },
404
404
  "./lib/misc/scan": {
405
+ "types": "./lib/misc/scan.d.ts",
405
406
  "require": "./lib/misc/scan.cjs",
406
- "import": "./lib/misc/scan.mjs",
407
- "types": "./lib/misc/scan.d.ts"
407
+ "import": "./lib/misc/scan.mjs"
408
408
  },
409
409
  "./lib/misc/write-json": {
410
+ "types": "./lib/misc/write-json.d.ts",
410
411
  "require": "./lib/misc/write-json.cjs",
411
- "import": "./lib/misc/write-json.mjs",
412
- "types": "./lib/misc/write-json.d.ts"
412
+ "import": "./lib/misc/write-json.mjs"
413
413
  },
414
414
  "./lib/optimise/flags": {
415
+ "types": "./lib/optimise/flags.d.ts",
415
416
  "require": "./lib/optimise/flags.cjs",
416
- "import": "./lib/optimise/flags.mjs",
417
- "types": "./lib/optimise/flags.d.ts"
417
+ "import": "./lib/optimise/flags.mjs"
418
418
  },
419
419
  "./lib/optimise/global-style": {
420
+ "types": "./lib/optimise/global-style.d.ts",
420
421
  "require": "./lib/optimise/global-style.cjs",
421
- "import": "./lib/optimise/global-style.mjs",
422
- "types": "./lib/optimise/global-style.d.ts"
422
+ "import": "./lib/optimise/global-style.mjs"
423
423
  },
424
424
  "./lib/optimise/origin": {
425
+ "types": "./lib/optimise/origin.d.ts",
425
426
  "require": "./lib/optimise/origin.cjs",
426
- "import": "./lib/optimise/origin.mjs",
427
- "types": "./lib/optimise/origin.d.ts"
427
+ "import": "./lib/optimise/origin.mjs"
428
428
  },
429
429
  "./lib/optimise/scale": {
430
+ "types": "./lib/optimise/scale.d.ts",
430
431
  "require": "./lib/optimise/scale.cjs",
431
- "import": "./lib/optimise/scale.mjs",
432
- "types": "./lib/optimise/scale.d.ts"
432
+ "import": "./lib/optimise/scale.mjs"
433
433
  },
434
434
  "./lib/optimise/svgo": {
435
+ "types": "./lib/optimise/svgo.d.ts",
435
436
  "require": "./lib/optimise/svgo.cjs",
436
- "import": "./lib/optimise/svgo.mjs",
437
- "types": "./lib/optimise/svgo.d.ts"
437
+ "import": "./lib/optimise/svgo.mjs"
438
438
  },
439
439
  "./lib/svg/analyse": {
440
+ "types": "./lib/svg/analyse.d.ts",
440
441
  "require": "./lib/svg/analyse.cjs",
441
- "import": "./lib/svg/analyse.mjs",
442
- "types": "./lib/svg/analyse.d.ts"
442
+ "import": "./lib/svg/analyse.mjs"
443
443
  },
444
444
  "./lib/svg/analyse/error": {
445
+ "types": "./lib/svg/analyse/error.d.ts",
445
446
  "require": "./lib/svg/analyse/error.cjs",
446
- "import": "./lib/svg/analyse/error.mjs",
447
- "types": "./lib/svg/analyse/error.d.ts"
447
+ "import": "./lib/svg/analyse/error.mjs"
448
448
  },
449
449
  "./lib/svg/analyse/types": {
450
+ "types": "./lib/svg/analyse/types.d.ts",
450
451
  "require": "./lib/svg/analyse/types.cjs",
451
- "import": "./lib/svg/analyse/types.mjs",
452
- "types": "./lib/svg/analyse/types.d.ts"
452
+ "import": "./lib/svg/analyse/types.mjs"
453
453
  },
454
454
  "./lib/svg/cleanup": {
455
+ "types": "./lib/svg/cleanup.d.ts",
455
456
  "require": "./lib/svg/cleanup.cjs",
456
- "import": "./lib/svg/cleanup.mjs",
457
- "types": "./lib/svg/cleanup.d.ts"
457
+ "import": "./lib/svg/cleanup.mjs"
458
458
  },
459
459
  "./lib/svg/cleanup/attribs": {
460
+ "types": "./lib/svg/cleanup/attribs.d.ts",
460
461
  "require": "./lib/svg/cleanup/attribs.cjs",
461
- "import": "./lib/svg/cleanup/attribs.mjs",
462
- "types": "./lib/svg/cleanup/attribs.d.ts"
462
+ "import": "./lib/svg/cleanup/attribs.mjs"
463
463
  },
464
464
  "./lib/svg/cleanup/bad-tags": {
465
+ "types": "./lib/svg/cleanup/bad-tags.d.ts",
465
466
  "require": "./lib/svg/cleanup/bad-tags.cjs",
466
- "import": "./lib/svg/cleanup/bad-tags.mjs",
467
- "types": "./lib/svg/cleanup/bad-tags.d.ts"
467
+ "import": "./lib/svg/cleanup/bad-tags.mjs"
468
468
  },
469
469
  "./lib/svg/cleanup/inline-style": {
470
+ "types": "./lib/svg/cleanup/inline-style.d.ts",
470
471
  "require": "./lib/svg/cleanup/inline-style.cjs",
471
- "import": "./lib/svg/cleanup/inline-style.mjs",
472
- "types": "./lib/svg/cleanup/inline-style.d.ts"
472
+ "import": "./lib/svg/cleanup/inline-style.mjs"
473
473
  },
474
474
  "./lib/svg/cleanup/root-style": {
475
+ "types": "./lib/svg/cleanup/root-style.d.ts",
475
476
  "require": "./lib/svg/cleanup/root-style.cjs",
476
- "import": "./lib/svg/cleanup/root-style.mjs",
477
- "types": "./lib/svg/cleanup/root-style.d.ts"
477
+ "import": "./lib/svg/cleanup/root-style.mjs"
478
478
  },
479
479
  "./lib/svg/cleanup/root-svg": {
480
+ "types": "./lib/svg/cleanup/root-svg.d.ts",
480
481
  "require": "./lib/svg/cleanup/root-svg.cjs",
481
- "import": "./lib/svg/cleanup/root-svg.mjs",
482
- "types": "./lib/svg/cleanup/root-svg.d.ts"
482
+ "import": "./lib/svg/cleanup/root-svg.mjs"
483
483
  },
484
484
  "./lib/svg/cleanup/svgo-style": {
485
+ "types": "./lib/svg/cleanup/svgo-style.d.ts",
485
486
  "require": "./lib/svg/cleanup/svgo-style.cjs",
486
- "import": "./lib/svg/cleanup/svgo-style.mjs",
487
- "types": "./lib/svg/cleanup/svgo-style.d.ts"
487
+ "import": "./lib/svg/cleanup/svgo-style.mjs"
488
488
  },
489
489
  "./lib/svg/data/attributes": {
490
+ "types": "./lib/svg/data/attributes.d.ts",
490
491
  "require": "./lib/svg/data/attributes.cjs",
491
- "import": "./lib/svg/data/attributes.mjs",
492
- "types": "./lib/svg/data/attributes.d.ts"
492
+ "import": "./lib/svg/data/attributes.mjs"
493
493
  },
494
494
  "./lib/svg/data/tags": {
495
+ "types": "./lib/svg/data/tags.d.ts",
495
496
  "require": "./lib/svg/data/tags.cjs",
496
- "import": "./lib/svg/data/tags.mjs",
497
- "types": "./lib/svg/data/tags.d.ts"
497
+ "import": "./lib/svg/data/tags.mjs"
498
498
  },
499
499
  "./lib/svg": {
500
+ "types": "./lib/svg/index.d.ts",
500
501
  "require": "./lib/svg/index.cjs",
501
- "import": "./lib/svg/index.mjs",
502
- "types": "./lib/svg/index.d.ts"
502
+ "import": "./lib/svg/index.mjs"
503
503
  },
504
504
  "./lib/svg/index": {
505
+ "types": "./lib/svg/index.d.ts",
505
506
  "require": "./lib/svg/index.cjs",
506
- "import": "./lib/svg/index.mjs",
507
- "types": "./lib/svg/index.d.ts"
507
+ "import": "./lib/svg/index.mjs"
508
508
  },
509
509
  "./lib/svg/parse": {
510
+ "types": "./lib/svg/parse.d.ts",
510
511
  "require": "./lib/svg/parse.cjs",
511
- "import": "./lib/svg/parse.mjs",
512
- "types": "./lib/svg/parse.d.ts"
512
+ "import": "./lib/svg/parse.mjs"
513
513
  },
514
514
  "./lib/svg/parse-style": {
515
+ "types": "./lib/svg/parse-style.d.ts",
515
516
  "require": "./lib/svg/parse-style.cjs",
516
- "import": "./lib/svg/parse-style.mjs",
517
- "types": "./lib/svg/parse-style.d.ts"
517
+ "import": "./lib/svg/parse-style.mjs"
518
518
  },
519
519
  "./lib/tests/helpers": {
520
+ "types": "./lib/tests/helpers.d.ts",
520
521
  "require": "./lib/tests/helpers.cjs",
521
- "import": "./lib/tests/helpers.mjs",
522
- "types": "./lib/tests/helpers.d.ts"
522
+ "import": "./lib/tests/helpers.mjs"
523
523
  }
524
524
  },
525
525
  "scripts": {