@iconify/tools 2.1.1 → 2.1.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/lib/colors/attribs.d.ts +4 -4
- package/lib/colors/parse.d.ts +4 -4
- package/lib/css/parser/types.d.ts +4 -4
- package/lib/download/index.d.ts +4 -4
- package/lib/download/types/modified.d.ts +1 -1
- package/lib/download/types/sources.d.ts +1 -1
- package/lib/icon-set/types.d.ts +7 -7
- package/lib/import/directory.d.ts +2 -2
- package/lib/import/figma/types/api.d.ts +1 -1
- package/lib/import/figma/types/nodes.d.ts +5 -5
- package/lib/import/figma/types/options.d.ts +1 -1
- package/lib/misc/cheerio.d.ts +2 -2
- package/lib/misc/scan.d.ts +5 -5
- package/lib/optimise/svgo.d.ts +1 -1
- package/lib/svg/analyse/types.d.ts +1 -1
- package/lib/svg/parse-style.d.ts +3 -3
- package/lib/svg/parse.d.ts +1 -1
- package/package.json +190 -96
package/lib/colors/attribs.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { Color } from '@iconify/utils/lib/colors/types';
|
|
|
3
3
|
/**
|
|
4
4
|
* Color attributes
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
type CommonColorAttributes = 'color';
|
|
7
7
|
declare const commonColorAttributes: CommonColorAttributes[];
|
|
8
|
-
|
|
8
|
+
type ShapeColorAttributes = 'fill' | 'stroke';
|
|
9
9
|
declare const shapeColorAttributes: ShapeColorAttributes[];
|
|
10
|
-
|
|
10
|
+
type SpecialColorAttributes = 'stop-color' | 'flood-color';
|
|
11
11
|
declare const specialColorAttributes: SpecialColorAttributes[];
|
|
12
|
-
|
|
12
|
+
type ColorAttributes = CommonColorAttributes | ShapeColorAttributes | SpecialColorAttributes;
|
|
13
13
|
/**
|
|
14
14
|
* Default values
|
|
15
15
|
*/
|
package/lib/colors/parse.d.ts
CHANGED
|
@@ -22,12 +22,12 @@ interface FindColorsResult {
|
|
|
22
22
|
* - 'unset' to delete old value
|
|
23
23
|
* - 'remove' to remove shape or rule
|
|
24
24
|
*/
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
type ParseColorsCallbackResult = Color | string | 'remove' | 'unset';
|
|
26
|
+
type ParseColorsCallback = (attr: ColorAttributes, colorString: string, parsedColor: Color | null, tagName?: string, item?: ExtendedTagElementWithColors) => ParseColorsCallbackResult | Promise<ParseColorsCallbackResult>;
|
|
27
27
|
/**
|
|
28
28
|
* Callback for default color
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
type ParseColorOptionsDefaultColorCallback = (prop: string, item: ExtendedTagElementWithColors, treeItem: ElementsTreeItem, iconData: AnalyseSVGStructureResult) => Color;
|
|
31
31
|
/**
|
|
32
32
|
* Options
|
|
33
33
|
*/
|
|
@@ -38,7 +38,7 @@ interface ParseColorsOptions extends AnalyseSVGStructureOptions {
|
|
|
38
38
|
/**
|
|
39
39
|
* Extend properties for element
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
type ItemColors = Partial<Record<ColorAttributes, Color | string>>;
|
|
42
42
|
interface ExtendedTagElementWithColors extends ExtendedTagElement {
|
|
43
43
|
_colors?: ItemColors;
|
|
44
44
|
_removed?: boolean;
|
|
@@ -9,7 +9,7 @@ interface TextToken {
|
|
|
9
9
|
/**
|
|
10
10
|
* Values
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
type CSSATValue = string | string[];
|
|
13
13
|
/**
|
|
14
14
|
* Tokens
|
|
15
15
|
*/
|
|
@@ -37,8 +37,8 @@ interface CSSCloseToken {
|
|
|
37
37
|
type: 'close';
|
|
38
38
|
index: number;
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
type CSSTokenWithSelector = CSSSelectorToken | CSSAtRuleToken;
|
|
41
|
+
type CSSToken = CSSRuleToken | CSSSelectorToken | CSSAtRuleToken | CSSCloseToken;
|
|
42
42
|
/**
|
|
43
43
|
* Tree tokens
|
|
44
44
|
*/
|
|
@@ -48,6 +48,6 @@ interface CSSSelectorTreeToken extends CSSSelectorToken {
|
|
|
48
48
|
interface CSSAtRuleTreeToken extends CSSAtRuleToken {
|
|
49
49
|
children: CSSTreeToken[];
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
type CSSTreeToken = CSSRuleToken | CSSSelectorTreeToken | CSSAtRuleTreeToken;
|
|
52
52
|
|
|
53
53
|
export { CSSATValue, CSSAtRuleToken, CSSAtRuleTreeToken, CSSCloseToken, CSSRuleToken, CSSSelectorToken, CSSSelectorTreeToken, CSSToken, CSSTokenWithSelector, CSSTreeToken, TextToken };
|
package/lib/download/index.d.ts
CHANGED
|
@@ -30,16 +30,16 @@ interface DownloadNPMPackage {
|
|
|
30
30
|
/**
|
|
31
31
|
* Combinations based on type
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
type DownloadParamsMixin<T extends DownloadSourceType> = T extends 'git' ? DownloadGitRepo : T extends 'github' ? DownloadGitHubRepo : T extends 'gitlab' ? DownloadGitLabRepo : T extends 'npm' ? DownloadNPMPackage : never;
|
|
34
34
|
/**
|
|
35
35
|
* Combinations
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
type DownloadParams = DownloadGitRepo | DownloadGitHubRepo | DownloadGitLabRepo | DownloadNPMPackage;
|
|
38
38
|
/**
|
|
39
39
|
* Pick options or result from combinations
|
|
40
40
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
type DownloadOptions<T extends DownloadSourceType> = DownloadParamsMixin<T>['options'];
|
|
42
|
+
type DownloadResult<T extends DownloadSourceType> = Promise<DocumentNotModified | DownloadParamsMixin<T>['result']>;
|
|
43
43
|
declare function downloadPackage<T extends 'git'>(options: DownloadOptions<T>): DownloadResult<T>;
|
|
44
44
|
declare function downloadPackage<T extends 'github'>(options: DownloadOptions<T>): DownloadResult<T>;
|
|
45
45
|
declare function downloadPackage<T extends 'gitlab'>(options: DownloadOptions<T>): DownloadResult<T>;
|
package/lib/icon-set/types.d.ts
CHANGED
|
@@ -10,14 +10,14 @@ interface IconCategory {
|
|
|
10
10
|
/**
|
|
11
11
|
* Get common properties: IconifyOptional + APIIconAttributes
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
type CommonProps<A, B> = {
|
|
14
14
|
[K in keyof A & keyof B]?: A[K] extends B[K] ? A[K] : never;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
type CommonIconProps = CommonProps<ExtendedIconifyIcon, ExtendedIconifyAlias>;
|
|
17
17
|
/**
|
|
18
18
|
* Exclude IconifyOptional from CommonIconProps
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
type ExtraIconProps = Omit<CommonIconProps, keyof IconifyOptional>;
|
|
21
21
|
/**
|
|
22
22
|
* Partials
|
|
23
23
|
*/
|
|
@@ -49,8 +49,8 @@ interface IconSetIconVariation extends IconWithPropsData, IconParentData {
|
|
|
49
49
|
/**
|
|
50
50
|
* All icon types
|
|
51
51
|
*/
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
type IconSetIconEntry = IconSetIcon | IconSetIconAlias | IconSetIconVariation;
|
|
53
|
+
type IconSetIconType = IconSetIconEntry['type'];
|
|
54
54
|
/**
|
|
55
55
|
* Full icon with extra stuff
|
|
56
56
|
*/
|
|
@@ -68,7 +68,7 @@ interface CheckThemeResult {
|
|
|
68
68
|
*
|
|
69
69
|
* Return false to stop loop
|
|
70
70
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
type IconSetAsyncForEachCallbackResult = void | false;
|
|
72
|
+
type IconSetAsyncForEachCallback = (name: string, type: IconSetIconEntry['type']) => Promise<IconSetAsyncForEachCallbackResult> | IconSetAsyncForEachCallbackResult;
|
|
73
73
|
|
|
74
74
|
export { CheckThemeResult, CommonIconProps, ExtraIconProps, IconCategory, IconParentData, IconSetAsyncForEachCallback, IconSetIcon, IconSetIconAlias, IconSetIconEntry, IconSetIconType, IconSetIconVariation, IconWithCategories, IconWithChars, IconWithPropsData, ResolvedIconifyIcon };
|
|
@@ -23,8 +23,8 @@ interface ImportDirectoryFileEntry {
|
|
|
23
23
|
*
|
|
24
24
|
* Callback can be asynchronous
|
|
25
25
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
type ImportDirectoryKeywordCallbackResult = string | undefined;
|
|
27
|
+
type ImportDirectoryKeywordCallback = (file: ImportDirectoryFileEntry, defaultKeyword: string, iconSet: IconSet) => ImportDirectoryKeywordCallbackResult | Promise<ImportDirectoryKeywordCallbackResult>;
|
|
28
28
|
/**
|
|
29
29
|
* Options
|
|
30
30
|
*/
|
|
@@ -25,7 +25,7 @@ interface FigmaDocumentNode extends BaseFigmaNode {
|
|
|
25
25
|
type: 'DOCUMENT';
|
|
26
26
|
children: FigmaNode[];
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
type FigmaNode = GenericFigmaNode | IconFigmaNode;
|
|
29
29
|
/**
|
|
30
30
|
* Document response from API
|
|
31
31
|
*/
|
|
@@ -7,8 +7,8 @@ import '../../../icon-set/types.js';
|
|
|
7
7
|
import '../../../svg/index.js';
|
|
8
8
|
import '@iconify/utils/lib/icon-set/tree';
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
type FigmaImportParentNodeType = 'CANVAS' | 'FRAME' | 'GROUP';
|
|
11
|
+
type FigmaImportIconNodeType = IconFigmaNode['type'];
|
|
12
12
|
/**
|
|
13
13
|
* Node information passed to callback
|
|
14
14
|
*/
|
|
@@ -30,14 +30,14 @@ interface FigmaImportNodeData {
|
|
|
30
30
|
*
|
|
31
31
|
* Used to speed up processing by eleminating pages, frames and groups that do not need processing
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
type FigmaImportParentNodeFilter = (node: FigmaParentNodeData[], document: FigmaDocument) => boolean;
|
|
34
34
|
/**
|
|
35
35
|
* Check if node is an icon.
|
|
36
36
|
*
|
|
37
37
|
* Returns icon name on success, null or undefined if not should be ignored.
|
|
38
38
|
* Function can also return FigmaIconNode object, where it can put extra properties that can be used later
|
|
39
39
|
*/
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
type FigmaIconNodeWithKeyword = Partial<FigmaIconNode> & Pick<FigmaIconNode, 'keyword'>;
|
|
41
|
+
type FigmaImportNodeFilter = (node: FigmaImportNodeData, nodes: FigmaNodesImportResult, document: FigmaDocument) => string | FigmaIconNodeWithKeyword | null | undefined;
|
|
42
42
|
|
|
43
43
|
export { FigmaImportIconNodeType, FigmaImportNodeData, FigmaImportNodeFilter, FigmaImportParentNodeFilter, FigmaImportParentNodeType, FigmaParentNodeData };
|
|
@@ -42,7 +42,7 @@ interface FigmaGetIconNodesOptions {
|
|
|
42
42
|
/**
|
|
43
43
|
* Callback to call before or after importing icon
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
type FigmaImportedIconCallback = (node: FigmaIconNode, iconSet: IconSet) => void | Promise<void>;
|
|
46
46
|
/**
|
|
47
47
|
* Options for main import function
|
|
48
48
|
*/
|
package/lib/misc/cheerio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shortcuts for Cheerio elements
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
type CheerioElement = cheerio.TagElement;
|
|
5
|
+
type WrappedCheerioElement = cheerio.Cheerio;
|
|
6
6
|
|
|
7
7
|
export { CheerioElement, WrappedCheerioElement };
|
package/lib/misc/scan.d.ts
CHANGED
|
@@ -13,11 +13,11 @@ import { Stats } from 'fs';
|
|
|
13
13
|
* - string to include custom string (such as file without extension)
|
|
14
14
|
* - custom object to return custom object
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
type ScanDirectoryCallbackFalseResult = boolean | null | undefined;
|
|
17
|
+
type ScanDirectoryCallbackStringResult = ScanDirectoryCallbackFalseResult | string;
|
|
18
|
+
type ScanDirectoryCallbackAsString = (ext: string, file: string, subdir: string, path: string, stat: Stats) => ScanDirectoryCallbackStringResult | Promise<ScanDirectoryCallbackStringResult>;
|
|
19
|
+
type ScanDirectoryCallbackAsCustom<T> = (ext: string, file: string, subdir: string, path: string, stat: Stats) => T | ScanDirectoryCallbackFalseResult | Promise<T | ScanDirectoryCallbackFalseResult>;
|
|
20
|
+
type ScanDirectoryCallback = ScanDirectoryCallbackAsCustom<unknown> | ScanDirectoryCallbackAsString;
|
|
21
21
|
/**
|
|
22
22
|
* Find all files in directory
|
|
23
23
|
*/
|
package/lib/optimise/svgo.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ interface SVGOptionsWithoutPlugin extends SVGOCommonOptions, CleanupIDsOption {
|
|
|
27
27
|
plugins?: undefined;
|
|
28
28
|
keepShapes?: boolean;
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
type SVGOOptions = SVGOOptionsWithPlugin | SVGOptionsWithoutPlugin;
|
|
31
31
|
/**
|
|
32
32
|
* Run SVGO on icon
|
|
33
33
|
*/
|
package/lib/svg/parse-style.d.ts
CHANGED
|
@@ -24,15 +24,15 @@ interface ParseSVGStyleCallbackItemGlobal extends ParseSVGStyleCallbackItemCommo
|
|
|
24
24
|
prevTokens: (CSSToken | null)[];
|
|
25
25
|
nextTokens: CSSToken[];
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
type ParseSVGStyleCallbackItem = ParseSVGStyleCallbackItemInline | ParseSVGStyleCallbackItemGlobal;
|
|
28
28
|
/**
|
|
29
29
|
* Result: undefined to remove item, string to change/keep item
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
type ParseSVGStyleCallbackResult = string | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* Callback function
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
type ParseSVGStyleCallback = (item: ParseSVGStyleCallbackItem) => ParseSVGStyleCallbackResult | Promise<ParseSVGStyleCallbackResult>;
|
|
36
36
|
/**
|
|
37
37
|
* Parse styles in SVG
|
|
38
38
|
*
|
package/lib/svg/parse.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ interface ParseSVGCallbackItem {
|
|
|
18
18
|
/**
|
|
19
19
|
* Callback function
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
type ParseSVGCallback = (item: ParseSVGCallbackItem) => void | Promise<void>;
|
|
22
22
|
/**
|
|
23
23
|
* Parse SVG
|
|
24
24
|
*
|
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": "2.1.
|
|
6
|
+
"version": "2.1.2",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"bugs": "https://github.com/iconify/tools/issues",
|
|
9
9
|
"homepage": "https://github.com/iconify/tools",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"node-fetch": "^2.6.7",
|
|
37
37
|
"pathe": "^0.3.9",
|
|
38
38
|
"svgo": "^2.8.0",
|
|
39
|
-
"tar": "^6.1.
|
|
39
|
+
"tar": "^6.1.12"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@iconify/types": "*"
|
|
@@ -45,379 +45,473 @@
|
|
|
45
45
|
"./*": "./*",
|
|
46
46
|
".": {
|
|
47
47
|
"require": "./lib/index.cjs",
|
|
48
|
-
"import": "./lib/index.mjs"
|
|
48
|
+
"import": "./lib/index.mjs",
|
|
49
|
+
"types": "./lib/index.d.ts"
|
|
49
50
|
},
|
|
50
51
|
"./lib/colors/attribs": {
|
|
51
52
|
"require": "./lib/colors/attribs.cjs",
|
|
52
|
-
"import": "./lib/colors/attribs.mjs"
|
|
53
|
+
"import": "./lib/colors/attribs.mjs",
|
|
54
|
+
"types": "./lib/colors/attribs.d.ts"
|
|
53
55
|
},
|
|
54
56
|
"./lib/colors/detect": {
|
|
55
57
|
"require": "./lib/colors/detect.cjs",
|
|
56
|
-
"import": "./lib/colors/detect.mjs"
|
|
58
|
+
"import": "./lib/colors/detect.mjs",
|
|
59
|
+
"types": "./lib/colors/detect.d.ts"
|
|
57
60
|
},
|
|
58
61
|
"./lib/colors/parse": {
|
|
59
62
|
"require": "./lib/colors/parse.cjs",
|
|
60
|
-
"import": "./lib/colors/parse.mjs"
|
|
63
|
+
"import": "./lib/colors/parse.mjs",
|
|
64
|
+
"types": "./lib/colors/parse.d.ts"
|
|
61
65
|
},
|
|
62
66
|
"./lib/colors/validate": {
|
|
63
67
|
"require": "./lib/colors/validate.cjs",
|
|
64
|
-
"import": "./lib/colors/validate.mjs"
|
|
68
|
+
"import": "./lib/colors/validate.mjs",
|
|
69
|
+
"types": "./lib/colors/validate.d.ts"
|
|
65
70
|
},
|
|
66
71
|
"./lib/css/parse": {
|
|
67
72
|
"require": "./lib/css/parse.cjs",
|
|
68
|
-
"import": "./lib/css/parse.mjs"
|
|
73
|
+
"import": "./lib/css/parse.mjs",
|
|
74
|
+
"types": "./lib/css/parse.d.ts"
|
|
69
75
|
},
|
|
70
76
|
"./lib/css/parser/error": {
|
|
71
77
|
"require": "./lib/css/parser/error.cjs",
|
|
72
|
-
"import": "./lib/css/parser/error.mjs"
|
|
78
|
+
"import": "./lib/css/parser/error.mjs",
|
|
79
|
+
"types": "./lib/css/parser/error.d.ts"
|
|
73
80
|
},
|
|
74
81
|
"./lib/css/parser/export": {
|
|
75
82
|
"require": "./lib/css/parser/export.cjs",
|
|
76
|
-
"import": "./lib/css/parser/export.mjs"
|
|
83
|
+
"import": "./lib/css/parser/export.mjs",
|
|
84
|
+
"types": "./lib/css/parser/export.d.ts"
|
|
77
85
|
},
|
|
78
86
|
"./lib/css/parser/strings": {
|
|
79
87
|
"require": "./lib/css/parser/strings.cjs",
|
|
80
|
-
"import": "./lib/css/parser/strings.mjs"
|
|
88
|
+
"import": "./lib/css/parser/strings.mjs",
|
|
89
|
+
"types": "./lib/css/parser/strings.d.ts"
|
|
81
90
|
},
|
|
82
91
|
"./lib/css/parser/text": {
|
|
83
92
|
"require": "./lib/css/parser/text.cjs",
|
|
84
|
-
"import": "./lib/css/parser/text.mjs"
|
|
93
|
+
"import": "./lib/css/parser/text.mjs",
|
|
94
|
+
"types": "./lib/css/parser/text.d.ts"
|
|
85
95
|
},
|
|
86
96
|
"./lib/css/parser/tokens": {
|
|
87
97
|
"require": "./lib/css/parser/tokens.cjs",
|
|
88
|
-
"import": "./lib/css/parser/tokens.mjs"
|
|
98
|
+
"import": "./lib/css/parser/tokens.mjs",
|
|
99
|
+
"types": "./lib/css/parser/tokens.d.ts"
|
|
89
100
|
},
|
|
90
101
|
"./lib/css/parser/tree": {
|
|
91
102
|
"require": "./lib/css/parser/tree.cjs",
|
|
92
|
-
"import": "./lib/css/parser/tree.mjs"
|
|
103
|
+
"import": "./lib/css/parser/tree.mjs",
|
|
104
|
+
"types": "./lib/css/parser/tree.d.ts"
|
|
93
105
|
},
|
|
94
106
|
"./lib/css/parser/types": {
|
|
95
107
|
"require": "./lib/css/parser/types.cjs",
|
|
96
|
-
"import": "./lib/css/parser/types.mjs"
|
|
108
|
+
"import": "./lib/css/parser/types.mjs",
|
|
109
|
+
"types": "./lib/css/parser/types.d.ts"
|
|
97
110
|
},
|
|
98
111
|
"./lib/download/api/cache": {
|
|
99
112
|
"require": "./lib/download/api/cache.cjs",
|
|
100
|
-
"import": "./lib/download/api/cache.mjs"
|
|
113
|
+
"import": "./lib/download/api/cache.mjs",
|
|
114
|
+
"types": "./lib/download/api/cache.d.ts"
|
|
101
115
|
},
|
|
102
116
|
"./lib/download/api/download": {
|
|
103
117
|
"require": "./lib/download/api/download.cjs",
|
|
104
|
-
"import": "./lib/download/api/download.mjs"
|
|
118
|
+
"import": "./lib/download/api/download.mjs",
|
|
119
|
+
"types": "./lib/download/api/download.d.ts"
|
|
105
120
|
},
|
|
106
121
|
"./lib/download/api": {
|
|
107
122
|
"require": "./lib/download/api/index.cjs",
|
|
108
|
-
"import": "./lib/download/api/index.mjs"
|
|
123
|
+
"import": "./lib/download/api/index.mjs",
|
|
124
|
+
"types": "./lib/download/api/index.d.ts"
|
|
109
125
|
},
|
|
110
126
|
"./lib/download/api/index": {
|
|
111
127
|
"require": "./lib/download/api/index.cjs",
|
|
112
|
-
"import": "./lib/download/api/index.mjs"
|
|
128
|
+
"import": "./lib/download/api/index.mjs",
|
|
129
|
+
"types": "./lib/download/api/index.d.ts"
|
|
113
130
|
},
|
|
114
131
|
"./lib/download/api/types": {
|
|
115
132
|
"require": "./lib/download/api/types.cjs",
|
|
116
|
-
"import": "./lib/download/api/types.mjs"
|
|
133
|
+
"import": "./lib/download/api/types.mjs",
|
|
134
|
+
"types": "./lib/download/api/types.d.ts"
|
|
117
135
|
},
|
|
118
136
|
"./lib/download/git/branch": {
|
|
119
137
|
"require": "./lib/download/git/branch.cjs",
|
|
120
|
-
"import": "./lib/download/git/branch.mjs"
|
|
138
|
+
"import": "./lib/download/git/branch.mjs",
|
|
139
|
+
"types": "./lib/download/git/branch.d.ts"
|
|
121
140
|
},
|
|
122
141
|
"./lib/download/git/hash": {
|
|
123
142
|
"require": "./lib/download/git/hash.cjs",
|
|
124
|
-
"import": "./lib/download/git/hash.mjs"
|
|
143
|
+
"import": "./lib/download/git/hash.mjs",
|
|
144
|
+
"types": "./lib/download/git/hash.d.ts"
|
|
125
145
|
},
|
|
126
146
|
"./lib/download/git": {
|
|
127
147
|
"require": "./lib/download/git/index.cjs",
|
|
128
|
-
"import": "./lib/download/git/index.mjs"
|
|
148
|
+
"import": "./lib/download/git/index.mjs",
|
|
149
|
+
"types": "./lib/download/git/index.d.ts"
|
|
129
150
|
},
|
|
130
151
|
"./lib/download/git/index": {
|
|
131
152
|
"require": "./lib/download/git/index.cjs",
|
|
132
|
-
"import": "./lib/download/git/index.mjs"
|
|
153
|
+
"import": "./lib/download/git/index.mjs",
|
|
154
|
+
"types": "./lib/download/git/index.d.ts"
|
|
133
155
|
},
|
|
134
156
|
"./lib/download/git/reset": {
|
|
135
157
|
"require": "./lib/download/git/reset.cjs",
|
|
136
|
-
"import": "./lib/download/git/reset.mjs"
|
|
158
|
+
"import": "./lib/download/git/reset.mjs",
|
|
159
|
+
"types": "./lib/download/git/reset.d.ts"
|
|
137
160
|
},
|
|
138
161
|
"./lib/download/github/hash": {
|
|
139
162
|
"require": "./lib/download/github/hash.cjs",
|
|
140
|
-
"import": "./lib/download/github/hash.mjs"
|
|
163
|
+
"import": "./lib/download/github/hash.mjs",
|
|
164
|
+
"types": "./lib/download/github/hash.d.ts"
|
|
141
165
|
},
|
|
142
166
|
"./lib/download/github": {
|
|
143
167
|
"require": "./lib/download/github/index.cjs",
|
|
144
|
-
"import": "./lib/download/github/index.mjs"
|
|
168
|
+
"import": "./lib/download/github/index.mjs",
|
|
169
|
+
"types": "./lib/download/github/index.d.ts"
|
|
145
170
|
},
|
|
146
171
|
"./lib/download/github/index": {
|
|
147
172
|
"require": "./lib/download/github/index.cjs",
|
|
148
|
-
"import": "./lib/download/github/index.mjs"
|
|
173
|
+
"import": "./lib/download/github/index.mjs",
|
|
174
|
+
"types": "./lib/download/github/index.d.ts"
|
|
149
175
|
},
|
|
150
176
|
"./lib/download/github/types": {
|
|
151
177
|
"require": "./lib/download/github/types.cjs",
|
|
152
|
-
"import": "./lib/download/github/types.mjs"
|
|
178
|
+
"import": "./lib/download/github/types.mjs",
|
|
179
|
+
"types": "./lib/download/github/types.d.ts"
|
|
153
180
|
},
|
|
154
181
|
"./lib/download/gitlab/hash": {
|
|
155
182
|
"require": "./lib/download/gitlab/hash.cjs",
|
|
156
|
-
"import": "./lib/download/gitlab/hash.mjs"
|
|
183
|
+
"import": "./lib/download/gitlab/hash.mjs",
|
|
184
|
+
"types": "./lib/download/gitlab/hash.d.ts"
|
|
157
185
|
},
|
|
158
186
|
"./lib/download/gitlab": {
|
|
159
187
|
"require": "./lib/download/gitlab/index.cjs",
|
|
160
|
-
"import": "./lib/download/gitlab/index.mjs"
|
|
188
|
+
"import": "./lib/download/gitlab/index.mjs",
|
|
189
|
+
"types": "./lib/download/gitlab/index.d.ts"
|
|
161
190
|
},
|
|
162
191
|
"./lib/download/gitlab/index": {
|
|
163
192
|
"require": "./lib/download/gitlab/index.cjs",
|
|
164
|
-
"import": "./lib/download/gitlab/index.mjs"
|
|
193
|
+
"import": "./lib/download/gitlab/index.mjs",
|
|
194
|
+
"types": "./lib/download/gitlab/index.d.ts"
|
|
165
195
|
},
|
|
166
196
|
"./lib/download/gitlab/types": {
|
|
167
197
|
"require": "./lib/download/gitlab/types.cjs",
|
|
168
|
-
"import": "./lib/download/gitlab/types.mjs"
|
|
198
|
+
"import": "./lib/download/gitlab/types.mjs",
|
|
199
|
+
"types": "./lib/download/gitlab/types.d.ts"
|
|
169
200
|
},
|
|
170
201
|
"./lib/download/helpers/untar": {
|
|
171
202
|
"require": "./lib/download/helpers/untar.cjs",
|
|
172
|
-
"import": "./lib/download/helpers/untar.mjs"
|
|
203
|
+
"import": "./lib/download/helpers/untar.mjs",
|
|
204
|
+
"types": "./lib/download/helpers/untar.d.ts"
|
|
173
205
|
},
|
|
174
206
|
"./lib/download/helpers/unzip": {
|
|
175
207
|
"require": "./lib/download/helpers/unzip.cjs",
|
|
176
|
-
"import": "./lib/download/helpers/unzip.mjs"
|
|
208
|
+
"import": "./lib/download/helpers/unzip.mjs",
|
|
209
|
+
"types": "./lib/download/helpers/unzip.d.ts"
|
|
177
210
|
},
|
|
178
211
|
"./lib/download": {
|
|
179
212
|
"require": "./lib/download/index.cjs",
|
|
180
|
-
"import": "./lib/download/index.mjs"
|
|
213
|
+
"import": "./lib/download/index.mjs",
|
|
214
|
+
"types": "./lib/download/index.d.ts"
|
|
181
215
|
},
|
|
182
216
|
"./lib/download/index": {
|
|
183
217
|
"require": "./lib/download/index.cjs",
|
|
184
|
-
"import": "./lib/download/index.mjs"
|
|
218
|
+
"import": "./lib/download/index.mjs",
|
|
219
|
+
"types": "./lib/download/index.d.ts"
|
|
185
220
|
},
|
|
186
221
|
"./lib/download/npm": {
|
|
187
222
|
"require": "./lib/download/npm/index.cjs",
|
|
188
|
-
"import": "./lib/download/npm/index.mjs"
|
|
223
|
+
"import": "./lib/download/npm/index.mjs",
|
|
224
|
+
"types": "./lib/download/npm/index.d.ts"
|
|
189
225
|
},
|
|
190
226
|
"./lib/download/npm/index": {
|
|
191
227
|
"require": "./lib/download/npm/index.cjs",
|
|
192
|
-
"import": "./lib/download/npm/index.mjs"
|
|
228
|
+
"import": "./lib/download/npm/index.mjs",
|
|
229
|
+
"types": "./lib/download/npm/index.d.ts"
|
|
193
230
|
},
|
|
194
231
|
"./lib/download/npm/types": {
|
|
195
232
|
"require": "./lib/download/npm/types.cjs",
|
|
196
|
-
"import": "./lib/download/npm/types.mjs"
|
|
233
|
+
"import": "./lib/download/npm/types.mjs",
|
|
234
|
+
"types": "./lib/download/npm/types.d.ts"
|
|
197
235
|
},
|
|
198
236
|
"./lib/download/npm/version": {
|
|
199
237
|
"require": "./lib/download/npm/version.cjs",
|
|
200
|
-
"import": "./lib/download/npm/version.mjs"
|
|
238
|
+
"import": "./lib/download/npm/version.mjs",
|
|
239
|
+
"types": "./lib/download/npm/version.d.ts"
|
|
201
240
|
},
|
|
202
241
|
"./lib/download/types/modified": {
|
|
203
242
|
"require": "./lib/download/types/modified.cjs",
|
|
204
|
-
"import": "./lib/download/types/modified.mjs"
|
|
243
|
+
"import": "./lib/download/types/modified.mjs",
|
|
244
|
+
"types": "./lib/download/types/modified.d.ts"
|
|
205
245
|
},
|
|
206
246
|
"./lib/download/types/sources": {
|
|
207
247
|
"require": "./lib/download/types/sources.cjs",
|
|
208
|
-
"import": "./lib/download/types/sources.mjs"
|
|
248
|
+
"import": "./lib/download/types/sources.mjs",
|
|
249
|
+
"types": "./lib/download/types/sources.d.ts"
|
|
209
250
|
},
|
|
210
251
|
"./lib/export/directory": {
|
|
211
252
|
"require": "./lib/export/directory.cjs",
|
|
212
|
-
"import": "./lib/export/directory.mjs"
|
|
253
|
+
"import": "./lib/export/directory.mjs",
|
|
254
|
+
"types": "./lib/export/directory.d.ts"
|
|
213
255
|
},
|
|
214
256
|
"./lib/export/helpers/custom-files": {
|
|
215
257
|
"require": "./lib/export/helpers/custom-files.cjs",
|
|
216
|
-
"import": "./lib/export/helpers/custom-files.mjs"
|
|
258
|
+
"import": "./lib/export/helpers/custom-files.mjs",
|
|
259
|
+
"types": "./lib/export/helpers/custom-files.d.ts"
|
|
217
260
|
},
|
|
218
261
|
"./lib/export/helpers/prepare": {
|
|
219
262
|
"require": "./lib/export/helpers/prepare.cjs",
|
|
220
|
-
"import": "./lib/export/helpers/prepare.mjs"
|
|
263
|
+
"import": "./lib/export/helpers/prepare.mjs",
|
|
264
|
+
"types": "./lib/export/helpers/prepare.d.ts"
|
|
221
265
|
},
|
|
222
266
|
"./lib/export/helpers/types-version": {
|
|
223
267
|
"require": "./lib/export/helpers/types-version.cjs",
|
|
224
|
-
"import": "./lib/export/helpers/types-version.mjs"
|
|
268
|
+
"import": "./lib/export/helpers/types-version.mjs",
|
|
269
|
+
"types": "./lib/export/helpers/types-version.d.ts"
|
|
225
270
|
},
|
|
226
271
|
"./lib/export/icon-package": {
|
|
227
272
|
"require": "./lib/export/icon-package.cjs",
|
|
228
|
-
"import": "./lib/export/icon-package.mjs"
|
|
273
|
+
"import": "./lib/export/icon-package.mjs",
|
|
274
|
+
"types": "./lib/export/icon-package.d.ts"
|
|
229
275
|
},
|
|
230
276
|
"./lib/export/json-package": {
|
|
231
277
|
"require": "./lib/export/json-package.cjs",
|
|
232
|
-
"import": "./lib/export/json-package.mjs"
|
|
278
|
+
"import": "./lib/export/json-package.mjs",
|
|
279
|
+
"types": "./lib/export/json-package.d.ts"
|
|
233
280
|
},
|
|
234
281
|
"./lib/icon-set": {
|
|
235
282
|
"require": "./lib/icon-set/index.cjs",
|
|
236
|
-
"import": "./lib/icon-set/index.mjs"
|
|
283
|
+
"import": "./lib/icon-set/index.mjs",
|
|
284
|
+
"types": "./lib/icon-set/index.d.ts"
|
|
237
285
|
},
|
|
238
286
|
"./lib/icon-set/index": {
|
|
239
287
|
"require": "./lib/icon-set/index.cjs",
|
|
240
|
-
"import": "./lib/icon-set/index.mjs"
|
|
288
|
+
"import": "./lib/icon-set/index.mjs",
|
|
289
|
+
"types": "./lib/icon-set/index.d.ts"
|
|
241
290
|
},
|
|
242
291
|
"./lib/icon-set/match": {
|
|
243
292
|
"require": "./lib/icon-set/match.cjs",
|
|
244
|
-
"import": "./lib/icon-set/match.mjs"
|
|
293
|
+
"import": "./lib/icon-set/match.mjs",
|
|
294
|
+
"types": "./lib/icon-set/match.d.ts"
|
|
245
295
|
},
|
|
246
296
|
"./lib/icon-set/merge": {
|
|
247
297
|
"require": "./lib/icon-set/merge.cjs",
|
|
248
|
-
"import": "./lib/icon-set/merge.mjs"
|
|
298
|
+
"import": "./lib/icon-set/merge.mjs",
|
|
299
|
+
"types": "./lib/icon-set/merge.d.ts"
|
|
249
300
|
},
|
|
250
301
|
"./lib/icon-set/modified": {
|
|
251
302
|
"require": "./lib/icon-set/modified.cjs",
|
|
252
|
-
"import": "./lib/icon-set/modified.mjs"
|
|
303
|
+
"import": "./lib/icon-set/modified.mjs",
|
|
304
|
+
"types": "./lib/icon-set/modified.d.ts"
|
|
253
305
|
},
|
|
254
306
|
"./lib/icon-set/props": {
|
|
255
307
|
"require": "./lib/icon-set/props.cjs",
|
|
256
|
-
"import": "./lib/icon-set/props.mjs"
|
|
308
|
+
"import": "./lib/icon-set/props.mjs",
|
|
309
|
+
"types": "./lib/icon-set/props.d.ts"
|
|
257
310
|
},
|
|
258
311
|
"./lib/icon-set/tags": {
|
|
259
312
|
"require": "./lib/icon-set/tags.cjs",
|
|
260
|
-
"import": "./lib/icon-set/tags.mjs"
|
|
313
|
+
"import": "./lib/icon-set/tags.mjs",
|
|
314
|
+
"types": "./lib/icon-set/tags.d.ts"
|
|
261
315
|
},
|
|
262
316
|
"./lib/icon-set/types": {
|
|
263
317
|
"require": "./lib/icon-set/types.cjs",
|
|
264
|
-
"import": "./lib/icon-set/types.mjs"
|
|
318
|
+
"import": "./lib/icon-set/types.mjs",
|
|
319
|
+
"types": "./lib/icon-set/types.d.ts"
|
|
265
320
|
},
|
|
266
321
|
"./lib/import/directory": {
|
|
267
322
|
"require": "./lib/import/directory.cjs",
|
|
268
|
-
"import": "./lib/import/directory.mjs"
|
|
323
|
+
"import": "./lib/import/directory.mjs",
|
|
324
|
+
"types": "./lib/import/directory.d.ts"
|
|
269
325
|
},
|
|
270
326
|
"./lib/import/figma": {
|
|
271
327
|
"require": "./lib/import/figma/index.cjs",
|
|
272
|
-
"import": "./lib/import/figma/index.mjs"
|
|
328
|
+
"import": "./lib/import/figma/index.mjs",
|
|
329
|
+
"types": "./lib/import/figma/index.d.ts"
|
|
273
330
|
},
|
|
274
331
|
"./lib/import/figma/index": {
|
|
275
332
|
"require": "./lib/import/figma/index.cjs",
|
|
276
|
-
"import": "./lib/import/figma/index.mjs"
|
|
333
|
+
"import": "./lib/import/figma/index.mjs",
|
|
334
|
+
"types": "./lib/import/figma/index.d.ts"
|
|
277
335
|
},
|
|
278
336
|
"./lib/import/figma/nodes": {
|
|
279
337
|
"require": "./lib/import/figma/nodes.cjs",
|
|
280
|
-
"import": "./lib/import/figma/nodes.mjs"
|
|
338
|
+
"import": "./lib/import/figma/nodes.mjs",
|
|
339
|
+
"types": "./lib/import/figma/nodes.d.ts"
|
|
281
340
|
},
|
|
282
341
|
"./lib/import/figma/query": {
|
|
283
342
|
"require": "./lib/import/figma/query.cjs",
|
|
284
|
-
"import": "./lib/import/figma/query.mjs"
|
|
343
|
+
"import": "./lib/import/figma/query.mjs",
|
|
344
|
+
"types": "./lib/import/figma/query.d.ts"
|
|
285
345
|
},
|
|
286
346
|
"./lib/import/figma/types/api": {
|
|
287
347
|
"require": "./lib/import/figma/types/api.cjs",
|
|
288
|
-
"import": "./lib/import/figma/types/api.mjs"
|
|
348
|
+
"import": "./lib/import/figma/types/api.mjs",
|
|
349
|
+
"types": "./lib/import/figma/types/api.d.ts"
|
|
289
350
|
},
|
|
290
351
|
"./lib/import/figma/types/nodes": {
|
|
291
352
|
"require": "./lib/import/figma/types/nodes.cjs",
|
|
292
|
-
"import": "./lib/import/figma/types/nodes.mjs"
|
|
353
|
+
"import": "./lib/import/figma/types/nodes.mjs",
|
|
354
|
+
"types": "./lib/import/figma/types/nodes.d.ts"
|
|
293
355
|
},
|
|
294
356
|
"./lib/import/figma/types/options": {
|
|
295
357
|
"require": "./lib/import/figma/types/options.cjs",
|
|
296
|
-
"import": "./lib/import/figma/types/options.mjs"
|
|
358
|
+
"import": "./lib/import/figma/types/options.mjs",
|
|
359
|
+
"types": "./lib/import/figma/types/options.d.ts"
|
|
297
360
|
},
|
|
298
361
|
"./lib/import/figma/types/result": {
|
|
299
362
|
"require": "./lib/import/figma/types/result.cjs",
|
|
300
|
-
"import": "./lib/import/figma/types/result.mjs"
|
|
363
|
+
"import": "./lib/import/figma/types/result.mjs",
|
|
364
|
+
"types": "./lib/import/figma/types/result.d.ts"
|
|
301
365
|
},
|
|
302
366
|
"./lib": {
|
|
303
367
|
"require": "./lib/index.cjs",
|
|
304
|
-
"import": "./lib/index.mjs"
|
|
368
|
+
"import": "./lib/index.mjs",
|
|
369
|
+
"types": "./lib/index.d.ts"
|
|
305
370
|
},
|
|
306
371
|
"./lib/index": {
|
|
307
372
|
"require": "./lib/index.cjs",
|
|
308
|
-
"import": "./lib/index.mjs"
|
|
373
|
+
"import": "./lib/index.mjs",
|
|
374
|
+
"types": "./lib/index.d.ts"
|
|
309
375
|
},
|
|
310
376
|
"./lib/misc/bump-version": {
|
|
311
377
|
"require": "./lib/misc/bump-version.cjs",
|
|
312
|
-
"import": "./lib/misc/bump-version.mjs"
|
|
378
|
+
"import": "./lib/misc/bump-version.mjs",
|
|
379
|
+
"types": "./lib/misc/bump-version.d.ts"
|
|
313
380
|
},
|
|
314
381
|
"./lib/misc/cheerio": {
|
|
315
382
|
"require": "./lib/misc/cheerio.cjs",
|
|
316
|
-
"import": "./lib/misc/cheerio.mjs"
|
|
383
|
+
"import": "./lib/misc/cheerio.mjs",
|
|
384
|
+
"types": "./lib/misc/cheerio.d.ts"
|
|
317
385
|
},
|
|
318
386
|
"./lib/misc/compare-dirs": {
|
|
319
387
|
"require": "./lib/misc/compare-dirs.cjs",
|
|
320
|
-
"import": "./lib/misc/compare-dirs.mjs"
|
|
388
|
+
"import": "./lib/misc/compare-dirs.mjs",
|
|
389
|
+
"types": "./lib/misc/compare-dirs.d.ts"
|
|
321
390
|
},
|
|
322
391
|
"./lib/misc/exec": {
|
|
323
392
|
"require": "./lib/misc/exec.cjs",
|
|
324
|
-
"import": "./lib/misc/exec.mjs"
|
|
393
|
+
"import": "./lib/misc/exec.mjs",
|
|
394
|
+
"types": "./lib/misc/exec.d.ts"
|
|
325
395
|
},
|
|
326
396
|
"./lib/misc/keyword": {
|
|
327
397
|
"require": "./lib/misc/keyword.cjs",
|
|
328
|
-
"import": "./lib/misc/keyword.mjs"
|
|
398
|
+
"import": "./lib/misc/keyword.mjs",
|
|
399
|
+
"types": "./lib/misc/keyword.d.ts"
|
|
329
400
|
},
|
|
330
401
|
"./lib/misc/scan": {
|
|
331
402
|
"require": "./lib/misc/scan.cjs",
|
|
332
|
-
"import": "./lib/misc/scan.mjs"
|
|
403
|
+
"import": "./lib/misc/scan.mjs",
|
|
404
|
+
"types": "./lib/misc/scan.d.ts"
|
|
333
405
|
},
|
|
334
406
|
"./lib/misc/write-json": {
|
|
335
407
|
"require": "./lib/misc/write-json.cjs",
|
|
336
|
-
"import": "./lib/misc/write-json.mjs"
|
|
408
|
+
"import": "./lib/misc/write-json.mjs",
|
|
409
|
+
"types": "./lib/misc/write-json.d.ts"
|
|
337
410
|
},
|
|
338
411
|
"./lib/optimise/flags": {
|
|
339
412
|
"require": "./lib/optimise/flags.cjs",
|
|
340
|
-
"import": "./lib/optimise/flags.mjs"
|
|
413
|
+
"import": "./lib/optimise/flags.mjs",
|
|
414
|
+
"types": "./lib/optimise/flags.d.ts"
|
|
341
415
|
},
|
|
342
416
|
"./lib/optimise/global-style": {
|
|
343
417
|
"require": "./lib/optimise/global-style.cjs",
|
|
344
|
-
"import": "./lib/optimise/global-style.mjs"
|
|
418
|
+
"import": "./lib/optimise/global-style.mjs",
|
|
419
|
+
"types": "./lib/optimise/global-style.d.ts"
|
|
345
420
|
},
|
|
346
421
|
"./lib/optimise/scale": {
|
|
347
422
|
"require": "./lib/optimise/scale.cjs",
|
|
348
|
-
"import": "./lib/optimise/scale.mjs"
|
|
423
|
+
"import": "./lib/optimise/scale.mjs",
|
|
424
|
+
"types": "./lib/optimise/scale.d.ts"
|
|
349
425
|
},
|
|
350
426
|
"./lib/optimise/svgo": {
|
|
351
427
|
"require": "./lib/optimise/svgo.cjs",
|
|
352
|
-
"import": "./lib/optimise/svgo.mjs"
|
|
428
|
+
"import": "./lib/optimise/svgo.mjs",
|
|
429
|
+
"types": "./lib/optimise/svgo.d.ts"
|
|
353
430
|
},
|
|
354
431
|
"./lib/svg/analyse": {
|
|
355
432
|
"require": "./lib/svg/analyse.cjs",
|
|
356
|
-
"import": "./lib/svg/analyse.mjs"
|
|
433
|
+
"import": "./lib/svg/analyse.mjs",
|
|
434
|
+
"types": "./lib/svg/analyse.d.ts"
|
|
357
435
|
},
|
|
358
436
|
"./lib/svg/analyse/error": {
|
|
359
437
|
"require": "./lib/svg/analyse/error.cjs",
|
|
360
|
-
"import": "./lib/svg/analyse/error.mjs"
|
|
438
|
+
"import": "./lib/svg/analyse/error.mjs",
|
|
439
|
+
"types": "./lib/svg/analyse/error.d.ts"
|
|
361
440
|
},
|
|
362
441
|
"./lib/svg/analyse/types": {
|
|
363
442
|
"require": "./lib/svg/analyse/types.cjs",
|
|
364
|
-
"import": "./lib/svg/analyse/types.mjs"
|
|
443
|
+
"import": "./lib/svg/analyse/types.mjs",
|
|
444
|
+
"types": "./lib/svg/analyse/types.d.ts"
|
|
365
445
|
},
|
|
366
446
|
"./lib/svg/cleanup": {
|
|
367
447
|
"require": "./lib/svg/cleanup.cjs",
|
|
368
|
-
"import": "./lib/svg/cleanup.mjs"
|
|
448
|
+
"import": "./lib/svg/cleanup.mjs",
|
|
449
|
+
"types": "./lib/svg/cleanup.d.ts"
|
|
369
450
|
},
|
|
370
451
|
"./lib/svg/cleanup/attribs": {
|
|
371
452
|
"require": "./lib/svg/cleanup/attribs.cjs",
|
|
372
|
-
"import": "./lib/svg/cleanup/attribs.mjs"
|
|
453
|
+
"import": "./lib/svg/cleanup/attribs.mjs",
|
|
454
|
+
"types": "./lib/svg/cleanup/attribs.d.ts"
|
|
373
455
|
},
|
|
374
456
|
"./lib/svg/cleanup/bad-tags": {
|
|
375
457
|
"require": "./lib/svg/cleanup/bad-tags.cjs",
|
|
376
|
-
"import": "./lib/svg/cleanup/bad-tags.mjs"
|
|
458
|
+
"import": "./lib/svg/cleanup/bad-tags.mjs",
|
|
459
|
+
"types": "./lib/svg/cleanup/bad-tags.d.ts"
|
|
377
460
|
},
|
|
378
461
|
"./lib/svg/cleanup/inline-style": {
|
|
379
462
|
"require": "./lib/svg/cleanup/inline-style.cjs",
|
|
380
|
-
"import": "./lib/svg/cleanup/inline-style.mjs"
|
|
463
|
+
"import": "./lib/svg/cleanup/inline-style.mjs",
|
|
464
|
+
"types": "./lib/svg/cleanup/inline-style.d.ts"
|
|
381
465
|
},
|
|
382
466
|
"./lib/svg/cleanup/root-style": {
|
|
383
467
|
"require": "./lib/svg/cleanup/root-style.cjs",
|
|
384
|
-
"import": "./lib/svg/cleanup/root-style.mjs"
|
|
468
|
+
"import": "./lib/svg/cleanup/root-style.mjs",
|
|
469
|
+
"types": "./lib/svg/cleanup/root-style.d.ts"
|
|
385
470
|
},
|
|
386
471
|
"./lib/svg/cleanup/root-svg": {
|
|
387
472
|
"require": "./lib/svg/cleanup/root-svg.cjs",
|
|
388
|
-
"import": "./lib/svg/cleanup/root-svg.mjs"
|
|
473
|
+
"import": "./lib/svg/cleanup/root-svg.mjs",
|
|
474
|
+
"types": "./lib/svg/cleanup/root-svg.d.ts"
|
|
389
475
|
},
|
|
390
476
|
"./lib/svg/cleanup/svgo-style": {
|
|
391
477
|
"require": "./lib/svg/cleanup/svgo-style.cjs",
|
|
392
|
-
"import": "./lib/svg/cleanup/svgo-style.mjs"
|
|
478
|
+
"import": "./lib/svg/cleanup/svgo-style.mjs",
|
|
479
|
+
"types": "./lib/svg/cleanup/svgo-style.d.ts"
|
|
393
480
|
},
|
|
394
481
|
"./lib/svg/data/attributes": {
|
|
395
482
|
"require": "./lib/svg/data/attributes.cjs",
|
|
396
|
-
"import": "./lib/svg/data/attributes.mjs"
|
|
483
|
+
"import": "./lib/svg/data/attributes.mjs",
|
|
484
|
+
"types": "./lib/svg/data/attributes.d.ts"
|
|
397
485
|
},
|
|
398
486
|
"./lib/svg/data/tags": {
|
|
399
487
|
"require": "./lib/svg/data/tags.cjs",
|
|
400
|
-
"import": "./lib/svg/data/tags.mjs"
|
|
488
|
+
"import": "./lib/svg/data/tags.mjs",
|
|
489
|
+
"types": "./lib/svg/data/tags.d.ts"
|
|
401
490
|
},
|
|
402
491
|
"./lib/svg": {
|
|
403
492
|
"require": "./lib/svg/index.cjs",
|
|
404
|
-
"import": "./lib/svg/index.mjs"
|
|
493
|
+
"import": "./lib/svg/index.mjs",
|
|
494
|
+
"types": "./lib/svg/index.d.ts"
|
|
405
495
|
},
|
|
406
496
|
"./lib/svg/index": {
|
|
407
497
|
"require": "./lib/svg/index.cjs",
|
|
408
|
-
"import": "./lib/svg/index.mjs"
|
|
498
|
+
"import": "./lib/svg/index.mjs",
|
|
499
|
+
"types": "./lib/svg/index.d.ts"
|
|
409
500
|
},
|
|
410
501
|
"./lib/svg/parse": {
|
|
411
502
|
"require": "./lib/svg/parse.cjs",
|
|
412
|
-
"import": "./lib/svg/parse.mjs"
|
|
503
|
+
"import": "./lib/svg/parse.mjs",
|
|
504
|
+
"types": "./lib/svg/parse.d.ts"
|
|
413
505
|
},
|
|
414
506
|
"./lib/svg/parse-style": {
|
|
415
507
|
"require": "./lib/svg/parse-style.cjs",
|
|
416
|
-
"import": "./lib/svg/parse-style.mjs"
|
|
508
|
+
"import": "./lib/svg/parse-style.mjs",
|
|
509
|
+
"types": "./lib/svg/parse-style.d.ts"
|
|
417
510
|
},
|
|
418
511
|
"./lib/tests/load": {
|
|
419
512
|
"require": "./lib/tests/load.cjs",
|
|
420
|
-
"import": "./lib/tests/load.mjs"
|
|
513
|
+
"import": "./lib/tests/load.mjs",
|
|
514
|
+
"types": "./lib/tests/load.d.ts"
|
|
421
515
|
}
|
|
422
516
|
}
|
|
423
517
|
}
|