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 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.11.0",
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.2.10",
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://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': {
@@ -373,16 +373,18 @@ const patterns = {
373
373
  regEx: /unadjustedMovement\s*\:\s*/g,
374
374
  where: 'JavaScript',
375
375
  supported: (async () =>
376
- await (async () => {
377
- try {
378
- return !!(await document
379
- .createElement('p')
380
- .requestPointerLock({ unadjustedMovement: true }));
381
- } catch {
382
- return 'requestPointerLock' in HTMLParagraphElement.prototype;
383
- }
384
- })())(),
385
- featureDetection: `(async () => await (async () => { try { return !!await document.createElement("p").requestPointerLock({ unadjustedMovement: true }) } catch { return 'requestPointerLock' in HTMLParagraphElement.prototype } })())()`,
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://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': {
@@ -373,16 +373,18 @@ export default {
373
373
  regEx: /unadjustedMovement\s*\:\s*/g,
374
374
  where: 'JavaScript',
375
375
  supported: (async () =>
376
- await (async () => {
377
- try {
378
- return !!(await document
379
- .createElement('p')
380
- .requestPointerLock({ unadjustedMovement: true }));
381
- } catch {
382
- return 'requestPointerLock' in HTMLParagraphElement.prototype;
383
- }
384
- })())(),
385
- featureDetection: `(async () => await (async () => { try { return !!await document.createElement("p").requestPointerLock({ unadjustedMovement: true }) } catch { return 'requestPointerLock' in HTMLParagraphElement.prototype } })())()`,
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
  },