fugu-api-data 1.14.1 → 1.16.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.
Files changed (3) hide show
  1. package/package.json +3 -3
  2. package/patterns.js +31 -16
  3. package/patterns.mjs +31 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fugu-api-data",
3
- "version": "1.14.1",
3
+ "version": "1.16.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.3.0",
27
- "prettier": "^2.8.4"
26
+ "node-fetch": "^3.3.2",
27
+ "prettier": "^3.0.3"
28
28
  }
29
29
  }
package/patterns.js CHANGED
@@ -93,7 +93,7 @@ const patterns = {
93
93
  where: 'JavaScript',
94
94
  supported: (async () => 'CompressionStream' in self)(),
95
95
  featureDetection: `(async () => 'CompressionStream' in self)()`,
96
- documentation: 'https://wicg.github.io/compression/',
96
+ documentation: 'https://developer.chrome.com/blog/compression-streams-api/',
97
97
  blinkFeatureID: 3060,
98
98
  },
99
99
  'Compute Pressure': {
@@ -187,15 +187,6 @@ const patterns = {
187
187
  documentation: 'https://developer.chrome.com/articles/file-system-access/',
188
188
  blinkFeatureID: 3340,
189
189
  },
190
- 'Origin Private File System': {
191
- regEx: /navigator\.storage\.getDirectory\s*\(\)/g,
192
- where: 'JavaScript',
193
- supported: (async () => 'getDirectory' in StorageManager.prototype)(),
194
- featureDetection: `(async () => 'getDirectory' in StorageManager.prototype)()`,
195
- documentation:
196
- 'https://developer.chrome.com/articles/file-system-access/#accessing-the-origin-private-file-system',
197
- blinkFeatureID: 3428,
198
- },
199
190
  'Gamepad': {
200
191
  regEx: /navigator\.getGamepads\s*\(/g,
201
192
  where: 'JavaScript',
@@ -327,13 +318,12 @@ const patterns = {
327
318
  'https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API',
328
319
  blinkFeatureID: 1792,
329
320
  },
330
- 'Multi-Screen Window Placement': {
321
+ 'Window Management': {
331
322
  regEx: /getScreenDetails\s*\(\)/g,
332
323
  where: 'JavaScript',
333
324
  supported: (async () => 'getScreenDetails' in self)(),
334
325
  featureDetection: `(async () => 'getScreenDetails' in self)()`,
335
- documentation:
336
- 'https://developer.chrome.com/articles/multi-screen-window-placement/',
326
+ documentation: 'https://developer.chrome.com/articles/window-management/',
337
327
  blinkFeatureID: 3388,
338
328
  },
339
329
  'Navigation Preload': {
@@ -348,6 +338,14 @@ const patterns = {
348
338
  'https://developer.mozilla.org/en-US/docs/Web/API/NavigationPreloadManager',
349
339
  blinkFeatureID: 1803,
350
340
  },
341
+ 'Origin Private File System': {
342
+ regEx: /navigator\.storage\.getDirectory\s*\(\)/g,
343
+ where: 'JavaScript',
344
+ supported: (async () => 'getDirectory' in StorageManager.prototype)(),
345
+ featureDetection: `(async () => 'getDirectory' in StorageManager.prototype)()`,
346
+ documentation: 'https://web.dev/origin-private-file-system/',
347
+ blinkFeatureID: 3428,
348
+ },
351
349
  'Payment Handler': {
352
350
  regEx: /\.paymentManager\.instruments\.set\s*\(/g,
353
351
  where: 'JavaScript',
@@ -384,6 +382,14 @@ const patterns = {
384
382
  'https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist',
385
383
  blinkFeatureID: 1369,
386
384
  },
385
+ 'Storage Buckets': {
386
+ regEx: /navigator\.storageBuckets\.open\s*\(/g,
387
+ where: 'JavaScript',
388
+ supported: (async () => 'storageBuckets' in navigator)(),
389
+ featureDetection: `(async () => 'storageBuckets' in navigator)()`,
390
+ documentation: 'https://developer.chrome.com/blog/storage-buckets/',
391
+ blinkFeatureID: 4378,
392
+ },
387
393
  'Pointer Lock (unadjustedMovement)': {
388
394
  regEx: /unadjustedMovement\s*\:\s*/g,
389
395
  where: 'JavaScript',
@@ -516,6 +522,15 @@ const patterns = {
516
522
  'https://github.com/WICG/pwa-url-handler/blob/main/handle_links/explainer.md',
517
523
  blinkFeatureID: undefined,
518
524
  },
525
+ 'Web Audio': {
526
+ regEx: /new\s+AudioContext\s*\(/g,
527
+ where: 'JavaScript',
528
+ supported: (async () => 'AudioContext' in self)(),
529
+ featureDetection: `(async () => 'AudioContext' in self)()`,
530
+ documentation:
531
+ 'https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API',
532
+ blinkFeatureID: 1698,
533
+ },
519
534
  'Web Share': {
520
535
  regEx: /navigator\.share\s*\(/g,
521
536
  where: 'JavaScript',
@@ -594,7 +609,7 @@ const patterns = {
594
609
  where: 'JavaScript',
595
610
  supported: (async () => 'NDEFReader' in self)(),
596
611
  featureDetection: `(async () => 'NDEFReader' in self)()`,
597
- documentation: 'https://web.dev/nfc/',
612
+ documentation: 'https://developer.chrome.com/articles/nfc/',
598
613
  blinkFeatureID: 3094,
599
614
  },
600
615
  'WebOTP': {
@@ -602,7 +617,7 @@ const patterns = {
602
617
  where: 'JavaScript',
603
618
  supported: (async () => 'OTPCredential' in self)(),
604
619
  featureDetection: `(async () => 'OTPCredential' in self)()`,
605
- documentation: 'https://web.dev/web-otp/',
620
+ documentation: 'https://developer.chrome.com/articles/web-otp/',
606
621
  blinkFeatureID: 2880,
607
622
  },
608
623
  'Web Serial': {
@@ -626,7 +641,7 @@ const patterns = {
626
641
  where: 'JavaScript',
627
642
  supported: (async () => 'WebTransport' in self)(),
628
643
  featureDetection: `(async () => 'WebTransport' in self)()`,
629
- documentation: 'https://web.dev/webtransport/',
644
+ documentation: 'https://developer.chrome.com/articles/webtransport/',
630
645
  blinkFeatureID: 3472,
631
646
  },
632
647
  'WebUSB': {
package/patterns.mjs CHANGED
@@ -93,7 +93,7 @@ export default {
93
93
  where: 'JavaScript',
94
94
  supported: (async () => 'CompressionStream' in self)(),
95
95
  featureDetection: `(async () => 'CompressionStream' in self)()`,
96
- documentation: 'https://wicg.github.io/compression/',
96
+ documentation: 'https://developer.chrome.com/blog/compression-streams-api/',
97
97
  blinkFeatureID: 3060,
98
98
  },
99
99
  'Compute Pressure': {
@@ -187,15 +187,6 @@ export default {
187
187
  documentation: 'https://developer.chrome.com/articles/file-system-access/',
188
188
  blinkFeatureID: 3340,
189
189
  },
190
- 'Origin Private File System': {
191
- regEx: /navigator\.storage\.getDirectory\s*\(\)/g,
192
- where: 'JavaScript',
193
- supported: (async () => 'getDirectory' in StorageManager.prototype)(),
194
- featureDetection: `(async () => 'getDirectory' in StorageManager.prototype)()`,
195
- documentation:
196
- 'https://developer.chrome.com/articles/file-system-access/#accessing-the-origin-private-file-system',
197
- blinkFeatureID: 3428,
198
- },
199
190
  'Gamepad': {
200
191
  regEx: /navigator\.getGamepads\s*\(/g,
201
192
  where: 'JavaScript',
@@ -327,13 +318,12 @@ export default {
327
318
  'https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API',
328
319
  blinkFeatureID: 1792,
329
320
  },
330
- 'Multi-Screen Window Placement': {
321
+ 'Window Management': {
331
322
  regEx: /getScreenDetails\s*\(\)/g,
332
323
  where: 'JavaScript',
333
324
  supported: (async () => 'getScreenDetails' in self)(),
334
325
  featureDetection: `(async () => 'getScreenDetails' in self)()`,
335
- documentation:
336
- 'https://developer.chrome.com/articles/multi-screen-window-placement/',
326
+ documentation: 'https://developer.chrome.com/articles/window-management/',
337
327
  blinkFeatureID: 3388,
338
328
  },
339
329
  'Navigation Preload': {
@@ -348,6 +338,14 @@ export default {
348
338
  'https://developer.mozilla.org/en-US/docs/Web/API/NavigationPreloadManager',
349
339
  blinkFeatureID: 1803,
350
340
  },
341
+ 'Origin Private File System': {
342
+ regEx: /navigator\.storage\.getDirectory\s*\(\)/g,
343
+ where: 'JavaScript',
344
+ supported: (async () => 'getDirectory' in StorageManager.prototype)(),
345
+ featureDetection: `(async () => 'getDirectory' in StorageManager.prototype)()`,
346
+ documentation: 'https://web.dev/origin-private-file-system/',
347
+ blinkFeatureID: 3428,
348
+ },
351
349
  'Payment Handler': {
352
350
  regEx: /\.paymentManager\.instruments\.set\s*\(/g,
353
351
  where: 'JavaScript',
@@ -384,6 +382,14 @@ export default {
384
382
  'https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist',
385
383
  blinkFeatureID: 1369,
386
384
  },
385
+ 'Storage Buckets': {
386
+ regEx: /navigator\.storageBuckets\.open\s*\(/g,
387
+ where: 'JavaScript',
388
+ supported: (async () => 'storageBuckets' in navigator)(),
389
+ featureDetection: `(async () => 'storageBuckets' in navigator)()`,
390
+ documentation: 'https://developer.chrome.com/blog/storage-buckets/',
391
+ blinkFeatureID: 4378,
392
+ },
387
393
  'Pointer Lock (unadjustedMovement)': {
388
394
  regEx: /unadjustedMovement\s*\:\s*/g,
389
395
  where: 'JavaScript',
@@ -516,6 +522,15 @@ export default {
516
522
  'https://github.com/WICG/pwa-url-handler/blob/main/handle_links/explainer.md',
517
523
  blinkFeatureID: undefined,
518
524
  },
525
+ 'Web Audio': {
526
+ regEx: /new\s+AudioContext\s*\(/g,
527
+ where: 'JavaScript',
528
+ supported: (async () => 'AudioContext' in self)(),
529
+ featureDetection: `(async () => 'AudioContext' in self)()`,
530
+ documentation:
531
+ 'https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API',
532
+ blinkFeatureID: 1698,
533
+ },
519
534
  'Web Share': {
520
535
  regEx: /navigator\.share\s*\(/g,
521
536
  where: 'JavaScript',
@@ -594,7 +609,7 @@ export default {
594
609
  where: 'JavaScript',
595
610
  supported: (async () => 'NDEFReader' in self)(),
596
611
  featureDetection: `(async () => 'NDEFReader' in self)()`,
597
- documentation: 'https://web.dev/nfc/',
612
+ documentation: 'https://developer.chrome.com/articles/nfc/',
598
613
  blinkFeatureID: 3094,
599
614
  },
600
615
  'WebOTP': {
@@ -602,7 +617,7 @@ export default {
602
617
  where: 'JavaScript',
603
618
  supported: (async () => 'OTPCredential' in self)(),
604
619
  featureDetection: `(async () => 'OTPCredential' in self)()`,
605
- documentation: 'https://web.dev/web-otp/',
620
+ documentation: 'https://developer.chrome.com/articles/web-otp/',
606
621
  blinkFeatureID: 2880,
607
622
  },
608
623
  'Web Serial': {
@@ -626,7 +641,7 @@ export default {
626
641
  where: 'JavaScript',
627
642
  supported: (async () => 'WebTransport' in self)(),
628
643
  featureDetection: `(async () => 'WebTransport' in self)()`,
629
- documentation: 'https://web.dev/webtransport/',
644
+ documentation: 'https://developer.chrome.com/articles/webtransport/',
630
645
  blinkFeatureID: 3472,
631
646
  },
632
647
  'WebUSB': {