fugu-api-data 1.11.0 → 1.12.1
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 +0 -1
- package/package.json +2 -2
- package/patterns.js +13 -11
- package/patterns.mjs +13 -11
package/.prettierrc
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fugu-api-data",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.1",
|
|
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.
|
|
26
|
+
"node-fetch": "^3.3.0",
|
|
27
27
|
"prettier": "^2.7.1"
|
|
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://
|
|
167
|
+
documentation: 'https://web.dev/eyedropper/',
|
|
168
168
|
blinkFeatureID: undefined,
|
|
169
169
|
},
|
|
170
170
|
'File Handling': {
|
|
@@ -373,16 +373,18 @@ const patterns = {
|
|
|
373
373
|
regEx: /unadjustedMovement\s*\:\s*/g,
|
|
374
374
|
where: 'JavaScript',
|
|
375
375
|
supported: (async () =>
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
376
|
+
'HTMLParagraphElement' in self
|
|
377
|
+
? await (async () => {
|
|
378
|
+
try {
|
|
379
|
+
return !!(await document
|
|
380
|
+
.createElement('p')
|
|
381
|
+
.requestPointerLock({ unadjustedMovement: true }));
|
|
382
|
+
} catch {
|
|
383
|
+
return 'requestPointerLock' in HTMLParagraphElement.prototype;
|
|
384
|
+
}
|
|
385
|
+
})()
|
|
386
|
+
: undefined)(),
|
|
387
|
+
featureDetection: `(async () => 'HTMLParagraphElement' in self ? await (async () => { try { return !!await document.createElement("p").requestPointerLock({ unadjustedMovement: true }) } catch { return 'requestPointerLock' in HTMLParagraphElement.prototype } })() : undefined)()`,
|
|
386
388
|
documentation: 'https://web.dev/disable-mouse-acceleration/',
|
|
387
389
|
blinkFeatureID: 3027,
|
|
388
390
|
},
|
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://
|
|
167
|
+
documentation: 'https://web.dev/eyedropper/',
|
|
168
168
|
blinkFeatureID: undefined,
|
|
169
169
|
},
|
|
170
170
|
'File Handling': {
|
|
@@ -373,16 +373,18 @@ export default {
|
|
|
373
373
|
regEx: /unadjustedMovement\s*\:\s*/g,
|
|
374
374
|
where: 'JavaScript',
|
|
375
375
|
supported: (async () =>
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
376
|
+
'HTMLParagraphElement' in self
|
|
377
|
+
? await (async () => {
|
|
378
|
+
try {
|
|
379
|
+
return !!(await document
|
|
380
|
+
.createElement('p')
|
|
381
|
+
.requestPointerLock({ unadjustedMovement: true }));
|
|
382
|
+
} catch {
|
|
383
|
+
return 'requestPointerLock' in HTMLParagraphElement.prototype;
|
|
384
|
+
}
|
|
385
|
+
})()
|
|
386
|
+
: undefined)(),
|
|
387
|
+
featureDetection: `(async () => 'HTMLParagraphElement' in self ? await (async () => { try { return !!await document.createElement("p").requestPointerLock({ unadjustedMovement: true }) } catch { return 'requestPointerLock' in HTMLParagraphElement.prototype } })() : undefined)()`,
|
|
386
388
|
documentation: 'https://web.dev/disable-mouse-acceleration/',
|
|
387
389
|
blinkFeatureID: 3027,
|
|
388
390
|
},
|