@umijs/bundler-vite 4.0.89 → 4.1.0
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.
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
// Type definitions for caniuse-lite 1.0
|
|
2
|
-
// Project: https://github.com/ben-eb/caniuse-lite#readme
|
|
3
|
-
// Definitions by: Michael Utech <https://github.com/mutech>
|
|
4
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
5
|
-
// TypeScript Version: 2.2
|
|
6
|
-
|
|
7
1
|
/**
|
|
8
2
|
* Information about user agents (browsers, platforms) indexed by their ID.
|
|
9
3
|
*/
|
|
@@ -14,7 +8,7 @@ export const agents: AgentsByID;
|
|
|
14
8
|
* associated value is a packed version of information about the feature that
|
|
15
9
|
* can be unpacked using the function `feature(packed)`
|
|
16
10
|
*/
|
|
17
|
-
export const features: { [featureID: string]: PackedFeature
|
|
11
|
+
export const features: { [featureID: string]: PackedFeature };
|
|
18
12
|
|
|
19
13
|
/**
|
|
20
14
|
* @param packedFeature a packed feature obtained from `features[key]` for some valid key.
|
|
@@ -73,7 +67,7 @@ export type FeatureStatus = "ls" | "rec" | "pr" | "cr" | "wd" | "other" | "unoff
|
|
|
73
67
|
* The support status can additionally have one or more footnote references as `#<n>`, f.e.
|
|
74
68
|
* `a x #1 #3`.
|
|
75
69
|
*/
|
|
76
|
-
export type SupportStatus =
|
|
70
|
+
export type SupportStatus = "n" | "p" | "u" | "a x" | "a" | "y x" | "y" | string;
|
|
77
71
|
|
|
78
72
|
/**
|
|
79
73
|
* Provides information about the Agent.
|
|
@@ -93,20 +87,77 @@ export interface Agent {
|
|
|
93
87
|
* Version matrix. See [caniuse](https://caniuse.com)
|
|
94
88
|
*/
|
|
95
89
|
versions: [ // Tuple of 70 version slots:
|
|
96
|
-
string
|
|
97
|
-
string
|
|
98
|
-
string
|
|
99
|
-
string
|
|
100
|
-
string
|
|
101
|
-
string
|
|
102
|
-
string
|
|
103
|
-
string
|
|
104
|
-
string
|
|
105
|
-
string
|
|
106
|
-
string
|
|
107
|
-
string
|
|
108
|
-
string
|
|
109
|
-
string
|
|
90
|
+
string | null,
|
|
91
|
+
string | null,
|
|
92
|
+
string | null,
|
|
93
|
+
string | null,
|
|
94
|
+
string | null,
|
|
95
|
+
string | null,
|
|
96
|
+
string | null,
|
|
97
|
+
string | null,
|
|
98
|
+
string | null,
|
|
99
|
+
string | null,
|
|
100
|
+
string | null,
|
|
101
|
+
string | null,
|
|
102
|
+
string | null,
|
|
103
|
+
string | null,
|
|
104
|
+
string | null,
|
|
105
|
+
string | null,
|
|
106
|
+
string | null,
|
|
107
|
+
string | null,
|
|
108
|
+
string | null,
|
|
109
|
+
string | null,
|
|
110
|
+
string | null,
|
|
111
|
+
string | null,
|
|
112
|
+
string | null,
|
|
113
|
+
string | null,
|
|
114
|
+
string | null,
|
|
115
|
+
string | null,
|
|
116
|
+
string | null,
|
|
117
|
+
string | null,
|
|
118
|
+
string | null,
|
|
119
|
+
string | null,
|
|
120
|
+
string | null,
|
|
121
|
+
string | null,
|
|
122
|
+
string | null,
|
|
123
|
+
string | null,
|
|
124
|
+
string | null,
|
|
125
|
+
string | null,
|
|
126
|
+
string | null,
|
|
127
|
+
string | null,
|
|
128
|
+
string | null,
|
|
129
|
+
string | null,
|
|
130
|
+
string | null,
|
|
131
|
+
string | null,
|
|
132
|
+
string | null,
|
|
133
|
+
string | null,
|
|
134
|
+
string | null,
|
|
135
|
+
string | null,
|
|
136
|
+
string | null,
|
|
137
|
+
string | null,
|
|
138
|
+
string | null,
|
|
139
|
+
string | null,
|
|
140
|
+
string | null,
|
|
141
|
+
string | null,
|
|
142
|
+
string | null,
|
|
143
|
+
string | null,
|
|
144
|
+
string | null,
|
|
145
|
+
string | null,
|
|
146
|
+
string | null,
|
|
147
|
+
string | null,
|
|
148
|
+
string | null,
|
|
149
|
+
string | null,
|
|
150
|
+
string | null,
|
|
151
|
+
string | null,
|
|
152
|
+
string | null,
|
|
153
|
+
string | null,
|
|
154
|
+
string | null,
|
|
155
|
+
string | null,
|
|
156
|
+
string | null,
|
|
157
|
+
string | null,
|
|
158
|
+
string | null,
|
|
159
|
+
string | null,
|
|
160
|
+
];
|
|
110
161
|
|
|
111
162
|
/**
|
|
112
163
|
* The agent's name
|
|
@@ -142,6 +193,11 @@ export interface Feature {
|
|
|
142
193
|
* Agent support matrix for this feature.
|
|
143
194
|
*/
|
|
144
195
|
stats: StatsByAgentID;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Whether the feature appears on caniuse.com.
|
|
199
|
+
*/
|
|
200
|
+
shown: boolean;
|
|
145
201
|
}
|
|
146
202
|
|
|
147
203
|
/**
|