fugu-api-data 1.12.1 → 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/package.json +2 -2
- package/patterns.js +9 -0
- package/patterns.mjs +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fugu-api-data",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Data about Project Fugu 🐡 APIs.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"homepage": "https://github.com/tomayac/fugu-api-data#readme",
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"node-fetch": "^3.3.0",
|
|
27
|
-
"prettier": "^2.
|
|
27
|
+
"prettier": "^2.8.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/patterns.js
CHANGED
|
@@ -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
|
@@ -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',
|