فهرست منبع

chore(deps) Update dependency eslint-config-standard-with-typescript to v24 (#5832)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
renovate[bot] 2 سال پیش
والد
کامیت
488a7562bb

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
core/tauri/scripts/bundle.global.js


+ 1 - 1
tooling/api/package.json

@@ -45,7 +45,7 @@
     "@typescript-eslint/parser": "5.47.0",
     "eslint": "8.30.0",
     "eslint-config-prettier": "8.5.0",
-    "eslint-config-standard-with-typescript": "23.0.0",
+    "eslint-config-standard-with-typescript": "24.0.0",
     "eslint-plugin-import": "2.26.0",
     "eslint-plugin-n": "15.6.0",
     "eslint-plugin-node": "11.1.0",

+ 1 - 1
tooling/api/src/cli.ts

@@ -39,7 +39,7 @@ interface SubcommandMatch {
  * @since 1.0.0
  */
 interface CliMatches {
-  args: { [name: string]: ArgMatch }
+  args: Record<string, ArgMatch>
   subcommand: SubcommandMatch | null
 }
 

+ 1 - 1
tooling/api/src/shell.ts

@@ -85,7 +85,7 @@ interface SpawnOptions {
   /** Current working directory. */
   cwd?: string
   /** Environment variables. set to `null` to clear the process env. */
-  env?: { [name: string]: string }
+  env?: Record<string, string>
   /**
    * Character encoding for stdout/stderr
    *

+ 1 - 3
tooling/api/src/tauri.ts

@@ -60,9 +60,7 @@ function transformCallback(
  *
  * @since 1.0.0
  */
-interface InvokeArgs {
-  [key: string]: unknown
-}
+type InvokeArgs = Record<string, unknown>
 
 /**
  * Sends a message to the backend.

+ 1 - 1
tooling/api/src/window.ts

@@ -313,7 +313,7 @@ class WebviewWindowHandle {
   /** The window label. It is a unique identifier for the window, can be used to reference it later. */
   label: WindowLabel
   /** Local event listeners. */
-  listeners: { [key: string]: Array<EventCallback<any>> }
+  listeners: Record<string, Array<EventCallback<any>>>
 
   constructor(label: WindowLabel) {
     this.label = label

+ 4 - 4
tooling/api/yarn.lock

@@ -641,10 +641,10 @@ eslint-config-prettier@8.5.0:
   resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1"
   integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==
 
-eslint-config-standard-with-typescript@23.0.0:
-  version "23.0.0"
-  resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-23.0.0.tgz#aa4b656740bbb2592d4cadec735d41e36245a44b"
-  integrity sha512-iaaWifImn37Z1OXbNW1es7KI+S7D408F9ys0bpaQf2temeBWlvb0Nc5qHkOgYaRb5QxTZT32GGeN1gtswASOXA==
+eslint-config-standard-with-typescript@24.0.0:
+  version "24.0.0"
+  resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-24.0.0.tgz#30e83b580380fd71477bf80bcb5405e8a46f555f"
+  integrity sha512-vEnGXZ5aiR1enl9652iIP4nTpY3GPcNEwuhrsPbKO3Ce3D6T3yCqZdkUPk8nJetfdL/yO0DLsHg2d/l9iECIdg==
   dependencies:
     "@typescript-eslint/parser" "^5.0.0"
     eslint-config-standard "17.0.0"

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است