fugu-api-data 1.15.0 → 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 +22 -16
  3. package/patterns.mjs +22 -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.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.1",
27
- "prettier": "^2.8.6"
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',
@@ -603,7 +609,7 @@ const patterns = {
603
609
  where: 'JavaScript',
604
610
  supported: (async () => 'NDEFReader' in self)(),
605
611
  featureDetection: `(async () => 'NDEFReader' in self)()`,
606
- documentation: 'https://web.dev/nfc/',
612
+ documentation: 'https://developer.chrome.com/articles/nfc/',
607
613
  blinkFeatureID: 3094,
608
614
  },
609
615
  'WebOTP': {
@@ -611,7 +617,7 @@ const patterns = {
611
617
  where: 'JavaScript',
612
618
  supported: (async () => 'OTPCredential' in self)(),
613
619
  featureDetection: `(async () => 'OTPCredential' in self)()`,
614
- documentation: 'https://web.dev/web-otp/',
620
+ documentation: 'https://developer.chrome.com/articles/web-otp/',
615
621
  blinkFeatureID: 2880,
616
622
  },
617
623
  'Web Serial': {
@@ -635,7 +641,7 @@ const patterns = {
635
641
  where: 'JavaScript',
636
642
  supported: (async () => 'WebTransport' in self)(),
637
643
  featureDetection: `(async () => 'WebTransport' in self)()`,
638
- documentation: 'https://web.dev/webtransport/',
644
+ documentation: 'https://developer.chrome.com/articles/webtransport/',
639
645
  blinkFeatureID: 3472,
640
646
  },
641
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',
@@ -603,7 +609,7 @@ export default {
603
609
  where: 'JavaScript',
604
610
  supported: (async () => 'NDEFReader' in self)(),
605
611
  featureDetection: `(async () => 'NDEFReader' in self)()`,
606
- documentation: 'https://web.dev/nfc/',
612
+ documentation: 'https://developer.chrome.com/articles/nfc/',
607
613
  blinkFeatureID: 3094,
608
614
  },
609
615
  'WebOTP': {
@@ -611,7 +617,7 @@ export default {
611
617
  where: 'JavaScript',
612
618
  supported: (async () => 'OTPCredential' in self)(),
613
619
  featureDetection: `(async () => 'OTPCredential' in self)()`,
614
- documentation: 'https://web.dev/web-otp/',
620
+ documentation: 'https://developer.chrome.com/articles/web-otp/',
615
621
  blinkFeatureID: 2880,
616
622
  },
617
623
  'Web Serial': {
@@ -635,7 +641,7 @@ export default {
635
641
  where: 'JavaScript',
636
642
  supported: (async () => 'WebTransport' in self)(),
637
643
  featureDetection: `(async () => 'WebTransport' in self)()`,
638
- documentation: 'https://web.dev/webtransport/',
644
+ documentation: 'https://developer.chrome.com/articles/webtransport/',
639
645
  blinkFeatureID: 3472,
640
646
  },
641
647
  'WebUSB': {