diff --git a/action-sheet/package.json b/action-sheet/package.json index ce4bf2a54..fb8b4aa37 100644 --- a/action-sheet/package.json +++ b/action-sheet/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/app-launcher/package.json b/app-launcher/package.json index 9bc4b48c9..0c1230c12 100644 --- a/app-launcher/package.json +++ b/app-launcher/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.2", diff --git a/app/package.json b/app/package.json index 25bbf2421..be87059ee 100644 --- a/app/package.json +++ b/app/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/browser/package.json b/browser/package.json index 0a9241072..a3167548f 100644 --- a/browser/package.json +++ b/browser/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/camera/package.json b/camera/package.json index d64dea8fa..7909243ed 100644 --- a/camera/package.json +++ b/camera/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/clipboard/package.json b/clipboard/package.json index 65338a94b..0a6f71073 100644 --- a/clipboard/package.json +++ b/clipboard/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/device/package.json b/device/package.json index 2f0249a2e..2c26fa32c 100644 --- a/device/package.json +++ b/device/package.json @@ -52,10 +52,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "esm": "^3.2.25", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", diff --git a/device/src/web.ts b/device/src/web.ts index 9893a0b77..fadcff4cd 100644 --- a/device/src/web.ts +++ b/device/src/web.ts @@ -39,7 +39,7 @@ export class DeviceWeb extends WebPlugin implements DevicePlugin { return { model: uaFields.model, - platform: 'web', + platform: 'web' as const, operatingSystem: uaFields.operatingSystem, osVersion: uaFields.osVersion, manufacturer: navigator.vendor, diff --git a/dialog/package.json b/dialog/package.json index 4b0a958ed..725359c64 100644 --- a/dialog/package.json +++ b/dialog/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/filesystem/package.json b/filesystem/package.json index dee048f12..e64f92c3b 100644 --- a/filesystem/package.json +++ b/filesystem/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/geolocation/README.md b/geolocation/README.md index a12cbc32b..2c2f86313 100644 --- a/geolocation/README.md +++ b/geolocation/README.md @@ -203,17 +203,6 @@ Request location permissions. Will throw if system location services are disabl ### Type Aliases -#### Position - -A Position is an array of coordinates. -https://tools.ietf.org/html/rfc7946#section-3.1.1 -Array should contain between two and three elements. -The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values), -but the current specification only allows X, Y, and (optionally) Z to be defined. - -number[] - - #### WatchPositionCallback (position: Position | null, err?: any): void diff --git a/geolocation/package.json b/geolocation/package.json index 44f5b2293..dca86b923 100644 --- a/geolocation/package.json +++ b/geolocation/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/haptics/package.json b/haptics/package.json index 5d2ef22d5..84223f37b 100644 --- a/haptics/package.json +++ b/haptics/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/keyboard/package.json b/keyboard/package.json index 515987aab..6cdf8b4e8 100644 --- a/keyboard/package.json +++ b/keyboard/package.json @@ -52,10 +52,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/local-notifications/package.json b/local-notifications/package.json index 628c010b3..9673cee82 100644 --- a/local-notifications/package.json +++ b/local-notifications/package.json @@ -52,10 +52,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/motion/package.json b/motion/package.json index ba372a549..fffe63060 100644 --- a/motion/package.json +++ b/motion/package.json @@ -43,9 +43,9 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/network/package.json b/network/package.json index 097cf53d0..26149a305 100644 --- a/network/package.json +++ b/network/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/preferences/package.json b/preferences/package.json index 3c56144ee..7098a03ac 100644 --- a/preferences/package.json +++ b/preferences/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/push-notifications/package.json b/push-notifications/package.json index 6ab3a7525..2bc6c1575 100644 --- a/push-notifications/package.json +++ b/push-notifications/package.json @@ -52,10 +52,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/screen-orientation/package.json b/screen-orientation/package.json index 8b3eac707..a30bb6826 100644 --- a/screen-orientation/package.json +++ b/screen-orientation/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/screen-reader/package.json b/screen-reader/package.json index 3caca55ee..3e751fb43 100644 --- a/screen-reader/package.json +++ b/screen-reader/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/share/package.json b/share/package.json index d6365ed51..2e35382a9 100644 --- a/share/package.json +++ b/share/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/splash-screen/package.json b/splash-screen/package.json index b47d96cdf..fe6f887f8 100644 --- a/splash-screen/package.json +++ b/splash-screen/package.json @@ -52,10 +52,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.2", diff --git a/status-bar/package.json b/status-bar/package.json index c78091fc1..3d9d60a7a 100644 --- a/status-bar/package.json +++ b/status-bar/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/text-zoom/package.json b/text-zoom/package.json index 8647cc981..c7a7e86e6 100644 --- a/text-zoom/package.json +++ b/text-zoom/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0", diff --git a/toast/package.json b/toast/package.json index f6b9da23a..177b3e278 100644 --- a/toast/package.json +++ b/toast/package.json @@ -51,10 +51,10 @@ "@capacitor/core": "^6.0.0", "@capacitor/docgen": "0.2.2", "@capacitor/ios": "^6.0.0", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "~1.0.1", "@ionic/swiftlint-config": "^1.1.2", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.3.0", "prettier-plugin-java": "~1.0.2", "rimraf": "^3.0.0",