fugu-api-data 1.7.0 → 1.10.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.
- package/package.json +3 -3
- package/patterns.js +26 -48
- package/patterns.mjs +26 -48
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fugu-api-data",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Data about Project Fugu 🐡 APIs.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/tomayac/fugu-api-data#readme",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"node-fetch": "^3.2.
|
|
27
|
-
"prettier": "^2.
|
|
26
|
+
"node-fetch": "^3.2.8",
|
|
27
|
+
"prettier": "^2.7.1"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/patterns.js
CHANGED
|
@@ -31,8 +31,8 @@ const patterns = {
|
|
|
31
31
|
'HapticsDevice': {
|
|
32
32
|
regEx: /\.haptics\.play\s*\(/g,
|
|
33
33
|
where: 'JavaScript',
|
|
34
|
-
supported: (async () => 'HapticsDevice' in
|
|
35
|
-
featureDetection: `(async () => 'HapticsDevice' in
|
|
34
|
+
supported: (async () => 'HapticsDevice' in self)(),
|
|
35
|
+
featureDetection: `(async () => 'HapticsDevice' in self)()`,
|
|
36
36
|
documentation:
|
|
37
37
|
'https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/HapticsDevice/explainer.md',
|
|
38
38
|
blinkFeatureID: undefined,
|
|
@@ -353,15 +353,6 @@ const patterns = {
|
|
|
353
353
|
documentation: 'https://web.dev/nfc/',
|
|
354
354
|
blinkFeatureID: 3094,
|
|
355
355
|
},
|
|
356
|
-
'Run On Login': {
|
|
357
|
-
regEx: /navigator\.runOnOsLogin\.set\s*\(/g,
|
|
358
|
-
where: 'JavaScript',
|
|
359
|
-
supported: (async () => 'runOnOsLogin' in navigator)(),
|
|
360
|
-
featureDetection: `(async () => 'runOnOsLogin' in navigator)()`,
|
|
361
|
-
documentation:
|
|
362
|
-
'https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/RunOnLogin/Explainer.md',
|
|
363
|
-
blinkFeatureID: undefined,
|
|
364
|
-
},
|
|
365
356
|
'WebCodecs': {
|
|
366
357
|
regEx: /new\s+MediaStreamTrackProcessor\s*\(/g,
|
|
367
358
|
where: 'JavaScript',
|
|
@@ -387,14 +378,6 @@ const patterns = {
|
|
|
387
378
|
documentation: 'https://web.dev/idle-detection/',
|
|
388
379
|
blinkFeatureID: 2834,
|
|
389
380
|
},
|
|
390
|
-
'Storage Foundation': {
|
|
391
|
-
regEx: /storageFoundation\.open\s*\(/g,
|
|
392
|
-
where: 'JavaScript',
|
|
393
|
-
supported: (async () => 'storageFoundation' in self)(),
|
|
394
|
-
featureDetection: `(async () => 'storageFoundation' in self)()`,
|
|
395
|
-
documentation: 'https://web.dev/storage-foundation/',
|
|
396
|
-
blinkFeatureID: 3822,
|
|
397
|
-
},
|
|
398
381
|
'Handwriting Recognition': {
|
|
399
382
|
regEx: /navigator\.queryHandwritingRecognizerSupport\s*\(/g,
|
|
400
383
|
where: 'JavaScript',
|
|
@@ -475,22 +458,13 @@ const patterns = {
|
|
|
475
458
|
documentation: 'https://web.dev/generic-sensor/',
|
|
476
459
|
blinkFeatureID: 1901,
|
|
477
460
|
},
|
|
478
|
-
'Notification Triggers': {
|
|
479
|
-
regEx: /showTrigger\s*\:\s*new\s+TimestampTrigger\s*\(/g,
|
|
480
|
-
where: 'JavaScript',
|
|
481
|
-
supported: (async () =>
|
|
482
|
-
'Notification' in self && 'showTrigger' in Notification.prototype)(),
|
|
483
|
-
featureDetection: `(async () => 'Notification' in self && 'showTrigger' in Notification.prototype)()`,
|
|
484
|
-
documentation: 'https://web.dev/notification-triggers/',
|
|
485
|
-
blinkFeatureID: 3017,
|
|
486
|
-
},
|
|
487
461
|
'Local Font Access': {
|
|
488
|
-
regEx: /
|
|
462
|
+
regEx: /queryLocalFonts\s*\(/g,
|
|
489
463
|
where: 'JavaScript',
|
|
490
|
-
supported: (async () => '
|
|
491
|
-
featureDetection: `(async () => '
|
|
464
|
+
supported: (async () => 'queryLocalFonts' in self)(),
|
|
465
|
+
featureDetection: `(async () => 'queryLocalFonts' in self)()`,
|
|
492
466
|
documentation: 'https://web.dev/local-fonts/',
|
|
493
|
-
blinkFeatureID:
|
|
467
|
+
blinkFeatureID: 4211,
|
|
494
468
|
},
|
|
495
469
|
'Multi-Screen Window Placement': {
|
|
496
470
|
regEx: /getScreens\s*\(\)/g,
|
|
@@ -558,6 +532,17 @@ const patterns = {
|
|
|
558
532
|
'https://github.com/w3c/device-posture/blob/gh-pages/README.md',
|
|
559
533
|
blinkFeatureID: undefined,
|
|
560
534
|
},
|
|
535
|
+
'Insertable streams for MediaStreamTrack': {
|
|
536
|
+
regEx: /MediaStreamTrackProcessor\s*\(/g,
|
|
537
|
+
where: 'JavaScript',
|
|
538
|
+
supported: (async () =>
|
|
539
|
+
'MediaStreamTrackProcessor' in self &&
|
|
540
|
+
'MediaStreamTrackGenerator' in self)(),
|
|
541
|
+
featureDetection: `(async () => 'MediaStreamTrackProcessor' in self && 'MediaStreamTrackGenerator' in self)()`,
|
|
542
|
+
documentation:
|
|
543
|
+
'https://web.dev/mediastreamtrack-insertable-media-processing/',
|
|
544
|
+
blinkFeatureID: 3729,
|
|
545
|
+
},
|
|
561
546
|
'Ink': {
|
|
562
547
|
regEx: /navigator\.ink\.requestPresenter\s*\(/g,
|
|
563
548
|
where: 'JavaScript',
|
|
@@ -599,14 +584,6 @@ const patterns = {
|
|
|
599
584
|
documentation: 'https://web.dev/app-shortcuts/',
|
|
600
585
|
blinkFeatureID: undefined,
|
|
601
586
|
},
|
|
602
|
-
'Declarative Link Capturing': {
|
|
603
|
-
regEx: /"capture_links"/g,
|
|
604
|
-
where: 'Web App Manifest',
|
|
605
|
-
supported: (async () => undefined)(),
|
|
606
|
-
featureDetection: `(async () => undefined)()`,
|
|
607
|
-
documentation: 'https://web.dev/declarative-link-capturing/',
|
|
608
|
-
blinkFeatureID: 3813,
|
|
609
|
-
},
|
|
610
587
|
'Tabbed Application Mode': {
|
|
611
588
|
regEx: /"tabbed"/g,
|
|
612
589
|
where: 'Web App Manifest',
|
|
@@ -615,14 +592,6 @@ const patterns = {
|
|
|
615
592
|
documentation: 'https://web.dev/tabbed-application-mode/',
|
|
616
593
|
blinkFeatureID: undefined,
|
|
617
594
|
},
|
|
618
|
-
'URL Handlers': {
|
|
619
|
-
regEx: /"url_handlers"/g,
|
|
620
|
-
where: 'Web App Manifest',
|
|
621
|
-
supported: (async () => undefined)(),
|
|
622
|
-
featureDetection: `(async () => undefined)()`,
|
|
623
|
-
documentation: 'https://web.dev/pwa-url-handler/',
|
|
624
|
-
blinkFeatureID: 3851,
|
|
625
|
-
},
|
|
626
595
|
'Protocol Handlers': {
|
|
627
596
|
regEx: /"protocol_handlers"/g,
|
|
628
597
|
where: 'Web App Manifest',
|
|
@@ -649,4 +618,13 @@ const patterns = {
|
|
|
649
618
|
documentation: 'https://web.dev/launch-handler/',
|
|
650
619
|
blinkFeatureID: undefined,
|
|
651
620
|
},
|
|
621
|
+
'Web App Link Handling': {
|
|
622
|
+
regEx: /"handle_links"/g,
|
|
623
|
+
where: 'Web App Manifest',
|
|
624
|
+
supported: (async () => undefined)(),
|
|
625
|
+
featureDetection: `(async () => undefined)()`,
|
|
626
|
+
documentation:
|
|
627
|
+
'https://github.com/WICG/pwa-url-handler/blob/main/handle_links/explainer.md',
|
|
628
|
+
blinkFeatureID: undefined,
|
|
629
|
+
},
|
|
652
630
|
};
|
package/patterns.mjs
CHANGED
|
@@ -31,8 +31,8 @@ export default {
|
|
|
31
31
|
'HapticsDevice': {
|
|
32
32
|
regEx: /\.haptics\.play\s*\(/g,
|
|
33
33
|
where: 'JavaScript',
|
|
34
|
-
supported: (async () => 'HapticsDevice' in
|
|
35
|
-
featureDetection: `(async () => 'HapticsDevice' in
|
|
34
|
+
supported: (async () => 'HapticsDevice' in self)(),
|
|
35
|
+
featureDetection: `(async () => 'HapticsDevice' in self)()`,
|
|
36
36
|
documentation:
|
|
37
37
|
'https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/HapticsDevice/explainer.md',
|
|
38
38
|
blinkFeatureID: undefined,
|
|
@@ -353,15 +353,6 @@ export default {
|
|
|
353
353
|
documentation: 'https://web.dev/nfc/',
|
|
354
354
|
blinkFeatureID: 3094,
|
|
355
355
|
},
|
|
356
|
-
'Run On Login': {
|
|
357
|
-
regEx: /navigator\.runOnOsLogin\.set\s*\(/g,
|
|
358
|
-
where: 'JavaScript',
|
|
359
|
-
supported: (async () => 'runOnOsLogin' in navigator)(),
|
|
360
|
-
featureDetection: `(async () => 'runOnOsLogin' in navigator)()`,
|
|
361
|
-
documentation:
|
|
362
|
-
'https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/RunOnLogin/Explainer.md',
|
|
363
|
-
blinkFeatureID: undefined,
|
|
364
|
-
},
|
|
365
356
|
'WebCodecs': {
|
|
366
357
|
regEx: /new\s+MediaStreamTrackProcessor\s*\(/g,
|
|
367
358
|
where: 'JavaScript',
|
|
@@ -387,14 +378,6 @@ export default {
|
|
|
387
378
|
documentation: 'https://web.dev/idle-detection/',
|
|
388
379
|
blinkFeatureID: 2834,
|
|
389
380
|
},
|
|
390
|
-
'Storage Foundation': {
|
|
391
|
-
regEx: /storageFoundation\.open\s*\(/g,
|
|
392
|
-
where: 'JavaScript',
|
|
393
|
-
supported: (async () => 'storageFoundation' in self)(),
|
|
394
|
-
featureDetection: `(async () => 'storageFoundation' in self)()`,
|
|
395
|
-
documentation: 'https://web.dev/storage-foundation/',
|
|
396
|
-
blinkFeatureID: 3822,
|
|
397
|
-
},
|
|
398
381
|
'Handwriting Recognition': {
|
|
399
382
|
regEx: /navigator\.queryHandwritingRecognizerSupport\s*\(/g,
|
|
400
383
|
where: 'JavaScript',
|
|
@@ -475,22 +458,13 @@ export default {
|
|
|
475
458
|
documentation: 'https://web.dev/generic-sensor/',
|
|
476
459
|
blinkFeatureID: 1901,
|
|
477
460
|
},
|
|
478
|
-
'Notification Triggers': {
|
|
479
|
-
regEx: /showTrigger\s*\:\s*new\s+TimestampTrigger\s*\(/g,
|
|
480
|
-
where: 'JavaScript',
|
|
481
|
-
supported: (async () =>
|
|
482
|
-
'Notification' in self && 'showTrigger' in Notification.prototype)(),
|
|
483
|
-
featureDetection: `(async () => 'Notification' in self && 'showTrigger' in Notification.prototype)()`,
|
|
484
|
-
documentation: 'https://web.dev/notification-triggers/',
|
|
485
|
-
blinkFeatureID: 3017,
|
|
486
|
-
},
|
|
487
461
|
'Local Font Access': {
|
|
488
|
-
regEx: /
|
|
462
|
+
regEx: /queryLocalFonts\s*\(/g,
|
|
489
463
|
where: 'JavaScript',
|
|
490
|
-
supported: (async () => '
|
|
491
|
-
featureDetection: `(async () => '
|
|
464
|
+
supported: (async () => 'queryLocalFonts' in self)(),
|
|
465
|
+
featureDetection: `(async () => 'queryLocalFonts' in self)()`,
|
|
492
466
|
documentation: 'https://web.dev/local-fonts/',
|
|
493
|
-
blinkFeatureID:
|
|
467
|
+
blinkFeatureID: 4211,
|
|
494
468
|
},
|
|
495
469
|
'Multi-Screen Window Placement': {
|
|
496
470
|
regEx: /getScreens\s*\(\)/g,
|
|
@@ -558,6 +532,17 @@ export default {
|
|
|
558
532
|
'https://github.com/w3c/device-posture/blob/gh-pages/README.md',
|
|
559
533
|
blinkFeatureID: undefined,
|
|
560
534
|
},
|
|
535
|
+
'Insertable streams for MediaStreamTrack': {
|
|
536
|
+
regEx: /MediaStreamTrackProcessor\s*\(/g,
|
|
537
|
+
where: 'JavaScript',
|
|
538
|
+
supported: (async () =>
|
|
539
|
+
'MediaStreamTrackProcessor' in self &&
|
|
540
|
+
'MediaStreamTrackGenerator' in self)(),
|
|
541
|
+
featureDetection: `(async () => 'MediaStreamTrackProcessor' in self && 'MediaStreamTrackGenerator' in self)()`,
|
|
542
|
+
documentation:
|
|
543
|
+
'https://web.dev/mediastreamtrack-insertable-media-processing/',
|
|
544
|
+
blinkFeatureID: 3729,
|
|
545
|
+
},
|
|
561
546
|
'Ink': {
|
|
562
547
|
regEx: /navigator\.ink\.requestPresenter\s*\(/g,
|
|
563
548
|
where: 'JavaScript',
|
|
@@ -599,14 +584,6 @@ export default {
|
|
|
599
584
|
documentation: 'https://web.dev/app-shortcuts/',
|
|
600
585
|
blinkFeatureID: undefined,
|
|
601
586
|
},
|
|
602
|
-
'Declarative Link Capturing': {
|
|
603
|
-
regEx: /"capture_links"/g,
|
|
604
|
-
where: 'Web App Manifest',
|
|
605
|
-
supported: (async () => undefined)(),
|
|
606
|
-
featureDetection: `(async () => undefined)()`,
|
|
607
|
-
documentation: 'https://web.dev/declarative-link-capturing/',
|
|
608
|
-
blinkFeatureID: 3813,
|
|
609
|
-
},
|
|
610
587
|
'Tabbed Application Mode': {
|
|
611
588
|
regEx: /"tabbed"/g,
|
|
612
589
|
where: 'Web App Manifest',
|
|
@@ -615,14 +592,6 @@ export default {
|
|
|
615
592
|
documentation: 'https://web.dev/tabbed-application-mode/',
|
|
616
593
|
blinkFeatureID: undefined,
|
|
617
594
|
},
|
|
618
|
-
'URL Handlers': {
|
|
619
|
-
regEx: /"url_handlers"/g,
|
|
620
|
-
where: 'Web App Manifest',
|
|
621
|
-
supported: (async () => undefined)(),
|
|
622
|
-
featureDetection: `(async () => undefined)()`,
|
|
623
|
-
documentation: 'https://web.dev/pwa-url-handler/',
|
|
624
|
-
blinkFeatureID: 3851,
|
|
625
|
-
},
|
|
626
595
|
'Protocol Handlers': {
|
|
627
596
|
regEx: /"protocol_handlers"/g,
|
|
628
597
|
where: 'Web App Manifest',
|
|
@@ -649,4 +618,13 @@ export default {
|
|
|
649
618
|
documentation: 'https://web.dev/launch-handler/',
|
|
650
619
|
blinkFeatureID: undefined,
|
|
651
620
|
},
|
|
621
|
+
'Web App Link Handling': {
|
|
622
|
+
regEx: /"handle_links"/g,
|
|
623
|
+
where: 'Web App Manifest',
|
|
624
|
+
supported: (async () => undefined)(),
|
|
625
|
+
featureDetection: `(async () => undefined)()`,
|
|
626
|
+
documentation:
|
|
627
|
+
'https://github.com/WICG/pwa-url-handler/blob/main/handle_links/explainer.md',
|
|
628
|
+
blinkFeatureID: undefined,
|
|
629
|
+
},
|
|
652
630
|
};
|