fugu-api-data 1.15.0 → 1.17.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 +23 -16
  3. package/patterns.mjs +23 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fugu-api-data",
3
- "version": "1.15.0",
3
+ "version": "1.17.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.1",
27
- "prettier": "^2.8.6"
26
+ "node-fetch": "^3.3.2",
27
+ "prettier": "^3.1.1"
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,15 @@ 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 () =>
345
+ 'StorageManager' in self && 'getDirectory' in StorageManager.prototype)(),
346
+ featureDetection: `(async () => 'StorageManager' in self && 'getDirectory' in StorageManager.prototype)()`,
347
+ documentation: 'https://web.dev/origin-private-file-system/',
348
+ blinkFeatureID: 3428,
349
+ },
351
350
  'Payment Handler': {
352
351
  regEx: /\.paymentManager\.instruments\.set\s*\(/g,
353
352
  where: 'JavaScript',
@@ -384,6 +383,14 @@ const patterns = {
384
383
  'https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist',
385
384
  blinkFeatureID: 1369,
386
385
  },
386
+ 'Storage Buckets': {
387
+ regEx: /navigator\.storageBuckets\.open\s*\(/g,
388
+ where: 'JavaScript',
389
+ supported: (async () => 'storageBuckets' in navigator)(),
390
+ featureDetection: `(async () => 'storageBuckets' in navigator)()`,
391
+ documentation: 'https://developer.chrome.com/blog/storage-buckets/',
392
+ blinkFeatureID: 4378,
393
+ },
387
394
  'Pointer Lock (unadjustedMovement)': {
388
395
  regEx: /unadjustedMovement\s*\:\s*/g,
389
396
  where: 'JavaScript',
@@ -603,7 +610,7 @@ const patterns = {
603
610
  where: 'JavaScript',
604
611
  supported: (async () => 'NDEFReader' in self)(),
605
612
  featureDetection: `(async () => 'NDEFReader' in self)()`,
606
- documentation: 'https://web.dev/nfc/',
613
+ documentation: 'https://developer.chrome.com/articles/nfc/',
607
614
  blinkFeatureID: 3094,
608
615
  },
609
616
  'WebOTP': {
@@ -611,7 +618,7 @@ const patterns = {
611
618
  where: 'JavaScript',
612
619
  supported: (async () => 'OTPCredential' in self)(),
613
620
  featureDetection: `(async () => 'OTPCredential' in self)()`,
614
- documentation: 'https://web.dev/web-otp/',
621
+ documentation: 'https://developer.chrome.com/articles/web-otp/',
615
622
  blinkFeatureID: 2880,
616
623
  },
617
624
  'Web Serial': {
@@ -635,7 +642,7 @@ const patterns = {
635
642
  where: 'JavaScript',
636
643
  supported: (async () => 'WebTransport' in self)(),
637
644
  featureDetection: `(async () => 'WebTransport' in self)()`,
638
- documentation: 'https://web.dev/webtransport/',
645
+ documentation: 'https://developer.chrome.com/articles/webtransport/',
639
646
  blinkFeatureID: 3472,
640
647
  },
641
648
  '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,15 @@ 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 () =>
345
+ 'StorageManager' in self && 'getDirectory' in StorageManager.prototype)(),
346
+ featureDetection: `(async () => 'StorageManager' in self && 'getDirectory' in StorageManager.prototype)()`,
347
+ documentation: 'https://web.dev/origin-private-file-system/',
348
+ blinkFeatureID: 3428,
349
+ },
351
350
  'Payment Handler': {
352
351
  regEx: /\.paymentManager\.instruments\.set\s*\(/g,
353
352
  where: 'JavaScript',
@@ -384,6 +383,14 @@ export default {
384
383
  'https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist',
385
384
  blinkFeatureID: 1369,
386
385
  },
386
+ 'Storage Buckets': {
387
+ regEx: /navigator\.storageBuckets\.open\s*\(/g,
388
+ where: 'JavaScript',
389
+ supported: (async () => 'storageBuckets' in navigator)(),
390
+ featureDetection: `(async () => 'storageBuckets' in navigator)()`,
391
+ documentation: 'https://developer.chrome.com/blog/storage-buckets/',
392
+ blinkFeatureID: 4378,
393
+ },
387
394
  'Pointer Lock (unadjustedMovement)': {
388
395
  regEx: /unadjustedMovement\s*\:\s*/g,
389
396
  where: 'JavaScript',
@@ -603,7 +610,7 @@ export default {
603
610
  where: 'JavaScript',
604
611
  supported: (async () => 'NDEFReader' in self)(),
605
612
  featureDetection: `(async () => 'NDEFReader' in self)()`,
606
- documentation: 'https://web.dev/nfc/',
613
+ documentation: 'https://developer.chrome.com/articles/nfc/',
607
614
  blinkFeatureID: 3094,
608
615
  },
609
616
  'WebOTP': {
@@ -611,7 +618,7 @@ export default {
611
618
  where: 'JavaScript',
612
619
  supported: (async () => 'OTPCredential' in self)(),
613
620
  featureDetection: `(async () => 'OTPCredential' in self)()`,
614
- documentation: 'https://web.dev/web-otp/',
621
+ documentation: 'https://developer.chrome.com/articles/web-otp/',
615
622
  blinkFeatureID: 2880,
616
623
  },
617
624
  'Web Serial': {
@@ -635,7 +642,7 @@ export default {
635
642
  where: 'JavaScript',
636
643
  supported: (async () => 'WebTransport' in self)(),
637
644
  featureDetection: `(async () => 'WebTransport' in self)()`,
638
- documentation: 'https://web.dev/webtransport/',
645
+ documentation: 'https://developer.chrome.com/articles/webtransport/',
639
646
  blinkFeatureID: 3472,
640
647
  },
641
648
  'WebUSB': {