You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ha...@apache.org on 2025/07/24 02:38:06 UTC

(superset) branch master updated: chore(deps-dev): bump prettier from 3.5.3 to 3.6.2 in /superset-frontend (#33997)

This is an automated email from the ASF dual-hosted git repository.

hainenber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 800c1639ec chore(deps-dev): bump prettier from 3.5.3 to 3.6.2 in /superset-frontend (#33997)
800c1639ec is described below

commit 800c1639ec4e7686cac5fe85ad63f0fc370057c1
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Thu Jul 24 09:38:00 2025 +0700

    chore(deps-dev): bump prettier from 3.5.3 to 3.6.2 in /superset-frontend (#33997)
---
 .pre-commit-config.yaml                                    |  8 --------
 superset-frontend/package-lock.json                        |  8 ++++----
 superset-frontend/package.json                             |  2 +-
 .../superset-ui-chart-controls/src/components/Select.tsx   |  4 +++-
 .../src/SqlLab/components/TableElement/index.tsx           |  4 +++-
 superset-frontend/src/dashboard/styles.ts                  | 14 +++++++-------
 6 files changed, 18 insertions(+), 22 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e0b7090a30..f1d2e032ac 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -52,14 +52,6 @@ repos:
       - id: trailing-whitespace
         exclude: ^.*\.(snap)
         args: ["--markdown-linebreak-ext=md"]
-  - repo: https://github.com/pre-commit/mirrors-prettier
-    rev: v4.0.0-alpha.8 # Use the sha or tag you want to point at
-    hooks:
-      - id: prettier
-        additional_dependencies:
-          - prettier@3.5.3
-        args: ["--ignore-path=./superset-frontend/.prettierignore", "--exclude", "site-packages"]
-        files: "superset-frontend"
   - repo: local
     hooks:
     - id: eslint-frontend
diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json
index 153e37f54f..b306d1aac0 100644
--- a/superset-frontend/package-lock.json
+++ b/superset-frontend/package-lock.json
@@ -249,7 +249,7 @@
         "mini-css-extract-plugin": "^2.9.0",
         "open-cli": "^8.0.0",
         "po2json": "^0.4.5",
-        "prettier": "3.5.3",
+        "prettier": "3.6.2",
         "prettier-plugin-packagejson": "^2.5.3",
         "process": "^0.11.10",
         "react-resizable": "^3.0.5",
@@ -46219,9 +46219,9 @@
       }
     },
     "node_modules/prettier": {
-      "version": "3.5.3",
-      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
-      "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
+      "version": "3.6.2",
+      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
+      "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",
       "devOptional": true,
       "license": "MIT",
       "bin": {
diff --git a/superset-frontend/package.json b/superset-frontend/package.json
index 479eb4ece5..3893c8f62c 100644
--- a/superset-frontend/package.json
+++ b/superset-frontend/package.json
@@ -317,7 +317,7 @@
     "mini-css-extract-plugin": "^2.9.0",
     "open-cli": "^8.0.0",
     "po2json": "^0.4.5",
-    "prettier": "3.5.3",
+    "prettier": "3.6.2",
     "prettier-plugin-packagejson": "^2.5.3",
     "process": "^0.11.10",
     "react-resizable": "^3.0.5",
diff --git a/superset-frontend/packages/superset-ui-chart-controls/src/components/Select.tsx b/superset-frontend/packages/superset-ui-chart-controls/src/components/Select.tsx
index 4831dcba10..293b063517 100644
--- a/superset-frontend/packages/superset-ui-chart-controls/src/components/Select.tsx
+++ b/superset-frontend/packages/superset-ui-chart-controls/src/components/Select.tsx
@@ -86,7 +86,9 @@ export default function Select<VT extends string | number>({
         minWidth,
       }}
     >
-      {options?.map(([val, label]) => <Option value={val}>{label}</Option>)}
+      {options?.map(([val, label]) => (
+        <Option value={val}>{label}</Option>
+      ))}
       {children}
       {value && !optionsHasValue && (
         <Option key={value} value={value}>
diff --git a/superset-frontend/src/SqlLab/components/TableElement/index.tsx b/superset-frontend/src/SqlLab/components/TableElement/index.tsx
index 152cdfceea..1bef2037d9 100644
--- a/superset-frontend/src/SqlLab/components/TableElement/index.tsx
+++ b/superset-frontend/src/SqlLab/components/TableElement/index.tsx
@@ -368,7 +368,9 @@ const TableElement = ({ table, ...props }: TableElementProps) => {
       <div data-test="table-element" css={{ paddingTop: 6 }}>
         {renderWell()}
         <div>
-          {cols?.map(col => <ColumnElement column={col} key={col.name} />)}
+          {cols?.map(col => (
+            <ColumnElement column={col} key={col.name} />
+          ))}
         </div>
       </div>
     );
diff --git a/superset-frontend/src/dashboard/styles.ts b/superset-frontend/src/dashboard/styles.ts
index 94ccecdecc..68000ebada 100644
--- a/superset-frontend/src/dashboard/styles.ts
+++ b/superset-frontend/src/dashboard/styles.ts
@@ -100,13 +100,13 @@ export const focusStyle = (theme: SupersetTheme) => css`
       text-decoration: none;
     }
     &:not(
-        .superset-button,
-        .ant-menu-item,
-        a,
-        .fave-unfave-icon,
-        .ant-tabs-tabpane,
-        .header-controls span
-      ) {
+      .superset-button,
+      .ant-menu-item,
+      a,
+      .fave-unfave-icon,
+      .ant-tabs-tabpane,
+      .header-controls span
+    ) {
       &:focus-visible {
         padding: ${theme.sizeUnit / 2}px;
       }