@@ -193,7 +193,12 @@ module.exports = {
193
193
] ,
194
194
"versions" : {
195
195
"12.0.0" : {
196
- "features" : [ ]
196
+ "features" : [
197
+ {
198
+ "name" : "HTMLPictureElement" ,
199
+ "detectSource" : "\"HTMLPictureElement\"in self||\"picturefill\"in self\n"
200
+ }
201
+ ]
197
202
} ,
198
203
"13.0.0" : {
199
204
"features" : [
@@ -225,6 +230,10 @@ module.exports = {
225
230
"name" : "Element.prototype.closest" ,
226
231
"detectSource" : "\"document\"in self&&\"closest\"in document.documentElement\n"
227
232
} ,
233
+ {
234
+ "name" : "Element.prototype.matches" ,
235
+ "detectSource" : "\"document\"in self&&\"matches\"in document.documentElement\n"
236
+ } ,
228
237
{
229
238
"name" : "HTMLTemplateElement"
230
239
}
@@ -296,10 +305,6 @@ module.exports = {
296
305
"name" : "DOMTokenList.prototype.replace" ,
297
306
"detectSource" : "\"replace\"in(document.createElement(\"div\").classList||{})\n"
298
307
} ,
299
- {
300
- "name" : "Element.prototype.matches" ,
301
- "detectSource" : "\"document\"in self&&\"matches\"in document.documentElement\n"
302
- } ,
303
308
{
304
309
"name" : "Element.prototype.toggleAttribute" ,
305
310
"detectSource" : "\"document\"in self&&\"toggleAttribute\"in document.documentElement\n"
@@ -308,10 +313,26 @@ module.exports = {
308
313
} ,
309
314
"18.0.0" : {
310
315
"features" : [
316
+ {
317
+ "name" : "Blob" ,
318
+ "detectSource" : "\"Blob\"in self&&function(){try{return new Blob,!0}catch(n){return!1}}()&&function(){try{return Blob(),!1}catch(n){return!0}}()\n"
319
+ } ,
311
320
{
312
321
"name" : "DOMRect" ,
313
322
"detectSource" : "\"DOMRect\"in self&&function(e){try{return new e}catch(t){return!1}}(self.DOMRect)\n"
314
323
} ,
324
+ {
325
+ "name" : "EventSource" ,
326
+ "detectSource" : "\"EventSource\"in self&&\"function\"==typeof self.EventSource\n"
327
+ } ,
328
+ {
329
+ "name" : "HTMLCanvasElement.prototype.toBlob" ,
330
+ "detectSource" : "\"toBlob\"in HTMLCanvasElement.prototype\n"
331
+ } ,
332
+ {
333
+ "name" : "ResizeObserver" ,
334
+ "detectSource" : "\"ResizeObserver\"in self\n"
335
+ } ,
315
336
{
316
337
"name" : "TextEncoder" ,
317
338
"detectSource" : "\"TextEncoder\"in self&&\"TextDecoder\"in self\n"
@@ -324,6 +345,30 @@ module.exports = {
324
345
"name" : "UserTiming" ,
325
346
"detectSource" : "\"performance\"in self&&\"function\"==typeof self.performance.getEntriesByType&&\"function\"==typeof self.performance.mark\n"
326
347
} ,
348
+ {
349
+ "name" : "WebAnimations" ,
350
+ "detectSource" : "\"function\"==typeof document.head.animate\n"
351
+ } ,
352
+ {
353
+ "name" : "globalThis" ,
354
+ "detectSource" : "\"object\"==typeof globalThis\n"
355
+ } ,
356
+ {
357
+ "name" : "queueMicrotask" ,
358
+ "detectSource" : "\"queueMicrotask\"in self\n"
359
+ } ,
360
+ {
361
+ "name" : "requestIdleCallback" ,
362
+ "detectSource" : "\"requestIdleCallback\"in self\n"
363
+ } ,
364
+ {
365
+ "name" : "screen.orientation" ,
366
+ "detectSource" : "\"screen\"in self&&\"orientation\"in self.screen&&\"object\"==typeof self.screen.orientation\n"
367
+ } ,
368
+ {
369
+ "name" : "smoothscroll" ,
370
+ "detectSource" : "\"document\"in self&&\"documentElement\"in self.document&&\"style\"in self.document.documentElement&&\"scrollBehavior\"in document.documentElement.style||function(){try{var e=!1,t={top:1,left:0}\nObject.defineProperty(t,\"behavior\",{get:function(){return e=!0,\"smooth\"},enumerable:!0})\nvar n=document.createElement(\"DIV\"),o=document.createElement(\"DIV\")\nreturn n.setAttribute(\"style\",\"height: 1px; overflow: scroll;\"),o.setAttribute(\"style\",\"height: 2px; overflow: scroll;\"),n.appendChild(o),n.scrollTo(t),e}catch(l){return!1}}()\n"
371
+ } ,
327
372
{
328
373
"name" : "~shadydom"
329
374
} ,
@@ -375,10 +420,6 @@ module.exports = {
375
420
"name" : "Element.prototype.previousElementSibling" ,
376
421
"detectSource" : "\"document\"in self&&\"previousElementSibling\"in document.documentElement\n"
377
422
} ,
378
- {
379
- "name" : "HTMLPictureElement" ,
380
- "detectSource" : "\"HTMLPictureElement\"in self||\"picturefill\"in self\n"
381
- } ,
382
423
{
383
424
"name" : "MutationObserver" ,
384
425
"detectSource" : "\"MutationObserver\"in self\n"
0 commit comments