fugu-api-data 1.12.0 → 1.13.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/.prettierrc CHANGED
@@ -4,7 +4,6 @@
4
4
  "embeddedLanguageFormatting": "auto",
5
5
  "htmlWhitespaceSensitivity": "css",
6
6
  "insertPragma": false,
7
- "jsxBracketSameLine": false,
8
7
  "jsxSingleQuote": false,
9
8
  "printWidth": 80,
10
9
  "proseWrap": "always",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fugu-api-data",
3
- "version": "1.12.0",
3
+ "version": "1.13.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.2.10",
27
- "prettier": "^2.7.1"
26
+ "node-fetch": "^3.3.0",
27
+ "prettier": "^2.8.0"
28
28
  }
29
29
  }
package/patterns.js CHANGED
@@ -164,7 +164,7 @@ const patterns = {
164
164
  where: 'JavaScript',
165
165
  supported: (async () => 'EyeDropper' in self)(),
166
166
  featureDetection: `(async () => 'EyeDropper' in self)()`,
167
- documentation: 'https://github.com/WICG/eyedropper-api/blob/main/README.md',
167
+ documentation: 'https://web.dev/eyedropper/',
168
168
  blinkFeatureID: undefined,
169
169
  },
170
170
  'File Handling': {
@@ -185,6 +185,15 @@ const patterns = {
185
185
  documentation: 'https://web.dev/file-system-access/',
186
186
  blinkFeatureID: 3340,
187
187
  },
188
+ 'Origin Private File System': {
189
+ regEx: /navigator\.storage\.getDirectory\s*\(\)/g,
190
+ where: 'JavaScript',
191
+ supported: (async () => 'getDirectory' in StorageManager.prototype)(),
192
+ featureDetection: `(async () => 'getDirectory' in StorageManager.prototype)()`,
193
+ documentation:
194
+ 'https://developer.chrome.com/articles/file-system-access/#accessing-the-origin-private-file-system',
195
+ blinkFeatureID: 3428,
196
+ },
188
197
  'Gamepad': {
189
198
  regEx: /navigator\.getGamepads\s*\(/g,
190
199
  where: 'JavaScript',
package/patterns.mjs CHANGED
@@ -164,7 +164,7 @@ export default {
164
164
  where: 'JavaScript',
165
165
  supported: (async () => 'EyeDropper' in self)(),
166
166
  featureDetection: `(async () => 'EyeDropper' in self)()`,
167
- documentation: 'https://github.com/WICG/eyedropper-api/blob/main/README.md',
167
+ documentation: 'https://web.dev/eyedropper/',
168
168
  blinkFeatureID: undefined,
169
169
  },
170
170
  'File Handling': {
@@ -185,6 +185,15 @@ export default {
185
185
  documentation: 'https://web.dev/file-system-access/',
186
186
  blinkFeatureID: 3340,
187
187
  },
188
+ 'Origin Private File System': {
189
+ regEx: /navigator\.storage\.getDirectory\s*\(\)/g,
190
+ where: 'JavaScript',
191
+ supported: (async () => 'getDirectory' in StorageManager.prototype)(),
192
+ featureDetection: `(async () => 'getDirectory' in StorageManager.prototype)()`,
193
+ documentation:
194
+ 'https://developer.chrome.com/articles/file-system-access/#accessing-the-origin-private-file-system',
195
+ blinkFeatureID: 3428,
196
+ },
188
197
  'Gamepad': {
189
198
  regEx: /navigator\.getGamepads\s*\(/g,
190
199
  where: 'JavaScript',