@d-mok/quasar-app-extension-quasar-axe 0.0.91 → 0.0.95

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": "@d-mok/quasar-app-extension-quasar-axe",
3
- "version": "0.0.91",
3
+ "version": "0.0.95",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -20,18 +20,18 @@
20
20
  "yarn": ">= 1.6.0"
21
21
  },
22
22
  "dependencies": {
23
- "@supabase/supabase-js": "^1.21.1",
23
+ "@supabase/supabase-js": "^1.29.1",
24
24
  "@types/papaparse": "^5.2.6",
25
25
  "@types/webpack-env": "^1.16.2",
26
26
  "papaparse": "^5.3.1",
27
- "sapphire-js": "^1.0.11"
27
+ "sapphire-js": "^1.0.61"
28
28
  },
29
29
  "devDependencies": {
30
- "@quasar/app": "^3.0.4",
31
- "@quasar/extras": "^1.10.10",
32
- "@types/node": "^16.6.1",
33
- "core-js": "^3.16.1",
34
- "quasar": "^2.0.3",
35
- "typescript": "^4.3.5"
30
+ "@quasar/app": "^3.2.5",
31
+ "@quasar/extras": "^1.12.2",
32
+ "@types/node": "^17.0.4",
33
+ "core-js": "^3.20.0",
34
+ "quasar": "^2.3.4",
35
+ "typescript": "^4.5.4"
36
36
  }
37
37
  }
@@ -22,7 +22,7 @@ function schemaEqual(obj1: object, obj2: object): boolean {
22
22
  }
23
23
 
24
24
  function extractObj<T extends object>(source: T, fields: strKeyOf<T>[]): Partial<T> {
25
- let obj: any = {};
25
+ let obj: any = {}
26
26
  for (let f of fields)
27
27
  obj[f] = source[f as keyof T]
28
28
  return obj
@@ -155,7 +155,7 @@ class QDialog {
155
155
  model: "",
156
156
  type: 'radio',
157
157
  items: items.map($ => ({ label: $, value: $ })),
158
- isValid: ($: string) => items.includes($)
158
+ isValid: ($: string | any[]) => typeof $ === 'string' && items.includes($)
159
159
  },
160
160
  })
161
161
  }
@@ -182,7 +182,7 @@ class QDialog {
182
182
  model: "",
183
183
  type: 'radio',
184
184
  items: items.map($ => ({ label: labelFunc($), value: labelFunc($) })),
185
- isValid: ($: string) => values.includes($)
185
+ isValid: ($: string | any[]) => typeof $ === 'string' && values.includes($)
186
186
  },
187
187
  })
188
188