fugu-api-data 1.14.1 → 1.15.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fugu-api-data",
3
- "version": "1.14.1",
3
+ "version": "1.15.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.1",
27
+ "prettier": "^2.8.6"
28
28
  }
29
29
  }
package/patterns.js CHANGED
@@ -516,6 +516,15 @@ const patterns = {
516
516
  'https://github.com/WICG/pwa-url-handler/blob/main/handle_links/explainer.md',
517
517
  blinkFeatureID: undefined,
518
518
  },
519
+ 'Web Audio': {
520
+ regEx: /new\s+AudioContext\s*\(/g,
521
+ where: 'JavaScript',
522
+ supported: (async () => 'AudioContext' in self)(),
523
+ featureDetection: `(async () => 'AudioContext' in self)()`,
524
+ documentation:
525
+ 'https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API',
526
+ blinkFeatureID: 1698,
527
+ },
519
528
  'Web Share': {
520
529
  regEx: /navigator\.share\s*\(/g,
521
530
  where: 'JavaScript',
package/patterns.mjs CHANGED
@@ -516,6 +516,15 @@ export default {
516
516
  'https://github.com/WICG/pwa-url-handler/blob/main/handle_links/explainer.md',
517
517
  blinkFeatureID: undefined,
518
518
  },
519
+ 'Web Audio': {
520
+ regEx: /new\s+AudioContext\s*\(/g,
521
+ where: 'JavaScript',
522
+ supported: (async () => 'AudioContext' in self)(),
523
+ featureDetection: `(async () => 'AudioContext' in self)()`,
524
+ documentation:
525
+ 'https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API',
526
+ blinkFeatureID: 1698,
527
+ },
519
528
  'Web Share': {
520
529
  regEx: /navigator\.share\s*\(/g,
521
530
  where: 'JavaScript',