@@ -83,6 +83,8 @@ export type Browser =
8383 | 'fxios'
8484 | 'opera-mini'
8585 | 'opera'
86+ | 'pie'
87+ | 'netfront'
8688 | 'ie'
8789 | 'bb10'
8890 | 'android'
@@ -111,6 +113,7 @@ export type OperatingSystem =
111113 | 'Windows 8.1'
112114 | 'Windows 10'
113115 | 'Windows ME'
116+ | 'Windows CE'
114117 | 'Open BSD'
115118 | 'Sun OS'
116119 | 'Linux'
@@ -151,6 +154,9 @@ const userAgentRules: UserAgentRule[] = [
151154 [ 'opera-mini' , / O p e r a M i n i .* V e r s i o n \/ ( [ 0 - 9 \. ] + ) / ] ,
152155 [ 'opera' , / O p e r a \/ ( [ 0 - 9 \. ] + ) (?: \s | $ ) / ] ,
153156 [ 'opera' , / O P R \/ ( [ 0 - 9 \. ] + ) ( : ? \s | $ ) / ] ,
157+ [ 'pie' , / ^ M i c r o s o f t P o c k e t I n t e r n e t E x p l o r e r \/ ( \d + \. \d + ) $ / ] ,
158+ [ 'pie' , / ^ M o z i l l a \/ \d \. \d + \s \( c o m p a t i b l e ; \s (?: M S P ? I E | M S I n t e r n e t E x p l o r e r ) ( \d + \. \d + ) ; .* W i n d o w s C E .* \) $ / ] ,
159+ [ 'netfront' , / ^ M o z i l l a \/ \d \. \d + .* N e t F r o n t \/ ( \d .\d ) / ] ,
154160 [ 'ie' , / T r i d e n t \/ 7 \. 0 .* r v \: ( [ 0 - 9 \. ] + ) .* \) .* G e c k o $ / ] ,
155161 [ 'ie' , / M S I E \s ( [ 0 - 9 \. ] + ) ; .* T r i d e n t \/ [ 4 - 7 ] .0 / ] ,
156162 [ 'ie' , / M S I E \s ( 7 \. 0 ) / ] ,
@@ -183,6 +189,7 @@ const operatingSystemRules: OperatingSystemRule[] = [
183189 [ 'Windows 8.1' , / ( W i n d o w s N T 6 .3 ) / ] ,
184190 [ 'Windows 10' , / ( W i n d o w s N T 1 0 .0 ) / ] ,
185191 [ 'Windows ME' , / W i n d o w s M E / ] ,
192+ [ 'Windows CE' , / W i n d o w s C E | W i n C E | M i c r o s o f t P o c k e t I n t e r n e t E x p l o r e r / ] ,
186193 [ 'Open BSD' , / O p e n B S D / ] ,
187194 [ 'Sun OS' , / S u n O S / ] ,
188195 [ 'Chrome OS' , / C r O S / ] ,
0 commit comments