fugu-api-data 1.13.1 → 1.14.1
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 +2 -2
- package/patterns.js +7 -7
- package/patterns.mjs +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fugu-api-data",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.1",
|
|
4
4
|
"description": "Data about Project Fugu 🐡 APIs.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"homepage": "https://github.com/tomayac/fugu-api-data#readme",
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"node-fetch": "^3.3.0",
|
|
27
|
-
"prettier": "^2.8.
|
|
27
|
+
"prettier": "^2.8.4"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/patterns.js
CHANGED
|
@@ -328,10 +328,10 @@ const patterns = {
|
|
|
328
328
|
blinkFeatureID: 1792,
|
|
329
329
|
},
|
|
330
330
|
'Multi-Screen Window Placement': {
|
|
331
|
-
regEx: /
|
|
331
|
+
regEx: /getScreenDetails\s*\(\)/g,
|
|
332
332
|
where: 'JavaScript',
|
|
333
|
-
supported: (async () => '
|
|
334
|
-
featureDetection: `(async () => '
|
|
333
|
+
supported: (async () => 'getScreenDetails' in self)(),
|
|
334
|
+
featureDetection: `(async () => 'getScreenDetails' in self)()`,
|
|
335
335
|
documentation:
|
|
336
336
|
'https://developer.chrome.com/articles/multi-screen-window-placement/',
|
|
337
337
|
blinkFeatureID: 3388,
|
|
@@ -548,7 +548,7 @@ const patterns = {
|
|
|
548
548
|
documentation: 'https://developer.chrome.com/articles/web-share-target/',
|
|
549
549
|
blinkFeatureID: undefined,
|
|
550
550
|
},
|
|
551
|
-
'
|
|
551
|
+
'Web Bluetooth': {
|
|
552
552
|
regEx: /navigator\.bluetooth\.requestDevice\s*\(/g,
|
|
553
553
|
where: 'JavaScript',
|
|
554
554
|
supported: (async () => 'bluetooth' in navigator)(),
|
|
@@ -580,7 +580,7 @@ const patterns = {
|
|
|
580
580
|
documentation: 'https://developer.chrome.com/articles/hid/',
|
|
581
581
|
blinkFeatureID: 2866,
|
|
582
582
|
},
|
|
583
|
-
'
|
|
583
|
+
'Web MIDI': {
|
|
584
584
|
regEx: /navigator\.requestMIDIAccess\s*\(/g,
|
|
585
585
|
where: 'JavaScript',
|
|
586
586
|
supported: (async () => 'requestMIDIAccess' in navigator)(),
|
|
@@ -589,7 +589,7 @@ const patterns = {
|
|
|
589
589
|
'https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API',
|
|
590
590
|
blinkFeatureID: 2029,
|
|
591
591
|
},
|
|
592
|
-
'
|
|
592
|
+
'Web NFC': {
|
|
593
593
|
regEx: /new\s+NDEFReader\s*\(/g,
|
|
594
594
|
where: 'JavaScript',
|
|
595
595
|
supported: (async () => 'NDEFReader' in self)(),
|
|
@@ -605,7 +605,7 @@ const patterns = {
|
|
|
605
605
|
documentation: 'https://web.dev/web-otp/',
|
|
606
606
|
blinkFeatureID: 2880,
|
|
607
607
|
},
|
|
608
|
-
'
|
|
608
|
+
'Web Serial': {
|
|
609
609
|
regEx: /navigator\.serial\.requestPort\s*\(/g,
|
|
610
610
|
where: 'JavaScript',
|
|
611
611
|
supported: (async () => 'serial' in navigator)(),
|
package/patterns.mjs
CHANGED
|
@@ -328,10 +328,10 @@ export default {
|
|
|
328
328
|
blinkFeatureID: 1792,
|
|
329
329
|
},
|
|
330
330
|
'Multi-Screen Window Placement': {
|
|
331
|
-
regEx: /
|
|
331
|
+
regEx: /getScreenDetails\s*\(\)/g,
|
|
332
332
|
where: 'JavaScript',
|
|
333
|
-
supported: (async () => '
|
|
334
|
-
featureDetection: `(async () => '
|
|
333
|
+
supported: (async () => 'getScreenDetails' in self)(),
|
|
334
|
+
featureDetection: `(async () => 'getScreenDetails' in self)()`,
|
|
335
335
|
documentation:
|
|
336
336
|
'https://developer.chrome.com/articles/multi-screen-window-placement/',
|
|
337
337
|
blinkFeatureID: 3388,
|
|
@@ -548,7 +548,7 @@ export default {
|
|
|
548
548
|
documentation: 'https://developer.chrome.com/articles/web-share-target/',
|
|
549
549
|
blinkFeatureID: undefined,
|
|
550
550
|
},
|
|
551
|
-
'
|
|
551
|
+
'Web Bluetooth': {
|
|
552
552
|
regEx: /navigator\.bluetooth\.requestDevice\s*\(/g,
|
|
553
553
|
where: 'JavaScript',
|
|
554
554
|
supported: (async () => 'bluetooth' in navigator)(),
|
|
@@ -580,7 +580,7 @@ export default {
|
|
|
580
580
|
documentation: 'https://developer.chrome.com/articles/hid/',
|
|
581
581
|
blinkFeatureID: 2866,
|
|
582
582
|
},
|
|
583
|
-
'
|
|
583
|
+
'Web MIDI': {
|
|
584
584
|
regEx: /navigator\.requestMIDIAccess\s*\(/g,
|
|
585
585
|
where: 'JavaScript',
|
|
586
586
|
supported: (async () => 'requestMIDIAccess' in navigator)(),
|
|
@@ -589,7 +589,7 @@ export default {
|
|
|
589
589
|
'https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API',
|
|
590
590
|
blinkFeatureID: 2029,
|
|
591
591
|
},
|
|
592
|
-
'
|
|
592
|
+
'Web NFC': {
|
|
593
593
|
regEx: /new\s+NDEFReader\s*\(/g,
|
|
594
594
|
where: 'JavaScript',
|
|
595
595
|
supported: (async () => 'NDEFReader' in self)(),
|
|
@@ -605,7 +605,7 @@ export default {
|
|
|
605
605
|
documentation: 'https://web.dev/web-otp/',
|
|
606
606
|
blinkFeatureID: 2880,
|
|
607
607
|
},
|
|
608
|
-
'
|
|
608
|
+
'Web Serial': {
|
|
609
609
|
regEx: /navigator\.serial\.requestPort\s*\(/g,
|
|
610
610
|
where: 'JavaScript',
|
|
611
611
|
supported: (async () => 'serial' in navigator)(),
|