From dcb1b1bb5976b4f95d5dac2d7a10bcf3002278b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:35:54 +0000 Subject: [PATCH 1/2] Bump @stylistic/eslint-plugin from 2.8.0 to 2.11.0 Bumps [@stylistic/eslint-plugin](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin) from 2.8.0 to 2.11.0. - [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases) - [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v2.11.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@stylistic/eslint-plugin" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- packages/eslint-config/package.json | 2 +- pnpm-lock.yaml | 49 ++++++++++++++++------------- 2 files changed, 28 insertions(+), 23 deletions(-) diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index ceef3aca4..79d4fb969 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -7,7 +7,7 @@ "index.js" ], "dependencies": { - "@stylistic/eslint-plugin": "^2.8.0", + "@stylistic/eslint-plugin": "^2.11.0", "@tanstack/eslint-plugin-query": "^5.62.1", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.17.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 868d0ddce..97bb811e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1553,8 +1553,8 @@ importers: packages/eslint-config: dependencies: '@stylistic/eslint-plugin': - specifier: ^2.8.0 - version: 2.8.0(eslint@8.57.0)(typescript@5.7.2) + specifier: ^2.11.0 + version: 2.11.0(eslint@8.57.0)(typescript@5.7.2) '@tanstack/eslint-plugin-query': specifier: ^5.62.1 version: 5.62.1(eslint@8.57.0)(typescript@5.7.2) @@ -5186,8 +5186,8 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 - '@stylistic/eslint-plugin@2.8.0': - resolution: {integrity: sha512-Ufvk7hP+bf+pD35R/QfunF793XlSRIC7USr3/EdgduK9j13i2JjmsM0LUz3/foS+jDYp2fzyWZA9N44CPur0Ow==} + '@stylistic/eslint-plugin@2.11.0': + resolution: {integrity: sha512-PNRHbydNG5EH8NK4c+izdJlxajIR6GxcUhzsYNRsn6Myep4dsZt0qFCz3rCPnkvgO5FYibDcMqgNHUT+zvjYZw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' @@ -6619,6 +6619,11 @@ packages: engines: {node: '>=0.4.0'} hasBin: true + acorn@8.14.0: + resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} + engines: {node: '>=0.4.0'} + hasBin: true + agent-base@6.0.2: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} @@ -8315,10 +8320,6 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@4.0.0: - resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-visitor-keys@4.2.0: resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -8329,8 +8330,8 @@ packages: deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true - espree@10.1.0: - resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==} + espree@10.3.0: + resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} espree@9.6.1: @@ -16971,12 +16972,12 @@ snapshots: dependencies: storybook: 8.4.5(prettier@3.3.3) - '@stylistic/eslint-plugin@2.8.0(eslint@8.57.0)(typescript@5.7.2)': + '@stylistic/eslint-plugin@2.11.0(eslint@8.57.0)(typescript@5.7.2)': dependencies: '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.7.2) eslint: 8.57.0 - eslint-visitor-keys: 4.0.0 - espree: 10.1.0 + eslint-visitor-keys: 4.2.0 + espree: 10.3.0 estraverse: 5.3.0 picomatch: 4.0.2 transitivePeerDependencies: @@ -19422,12 +19423,18 @@ snapshots: dependencies: acorn: 8.12.1 + acorn-jsx@5.3.2(acorn@8.14.0): + dependencies: + acorn: 8.14.0 + acorn-walk@8.3.3: dependencies: acorn: 8.12.1 acorn@8.12.1: {} + acorn@8.14.0: {} + agent-base@6.0.2: dependencies: debug: 4.4.0 @@ -21581,8 +21588,6 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint-visitor-keys@4.0.0: {} - eslint-visitor-keys@4.2.0: {} eslint@8.57.0: @@ -21628,11 +21633,11 @@ snapshots: transitivePeerDependencies: - supports-color - espree@10.1.0: + espree@10.3.0: dependencies: - acorn: 8.12.1 - acorn-jsx: 5.3.2(acorn@8.12.1) - eslint-visitor-keys: 4.0.0 + acorn: 8.14.0 + acorn-jsx: 5.3.2(acorn@8.14.0) + eslint-visitor-keys: 4.2.0 espree@9.6.1: dependencies: @@ -23794,7 +23799,7 @@ snapshots: mlly@1.7.1: dependencies: - acorn: 8.12.1 + acorn: 8.14.0 pathe: 1.1.2 pkg-types: 1.1.3 ufo: 1.5.4 @@ -25837,7 +25842,7 @@ snapshots: terser@5.36.0: dependencies: '@jridgewell/source-map': 0.3.6 - acorn: 8.12.1 + acorn: 8.14.0 commander: 2.20.3 source-map-support: 0.5.21 @@ -26203,7 +26208,7 @@ snapshots: unplugin@1.12.0: dependencies: - acorn: 8.12.1 + acorn: 8.14.0 chokidar: 3.6.0 webpack-sources: 3.2.3 webpack-virtual-modules: 0.6.2 From 8a491d049aef1a025cacf3aa3131c39b92a933f9 Mon Sep 17 00:00:00 2001 From: Ana Maksimovskikh Date: Tue, 26 Nov 2024 17:30:13 +0000 Subject: [PATCH 2/2] Fix eslint-plugin-react warning --- apps/web/src/Layout.tsx | 2 +- packages/state/src/hooks/labels.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/Layout.tsx b/apps/web/src/Layout.tsx index b2f7bcb24..6e6027c41 100644 --- a/apps/web/src/Layout.tsx +++ b/apps/web/src/Layout.tsx @@ -73,7 +73,7 @@ export const Layout = () => { gridTemplateColumns={{ base: "1fr", md: "340px minmax(min-content, 1060px)" }} gridTemplateAreas={{ base: '"header" "sidebar" "main" "footer" "nav"', - md: `"header header" "sidebar nav" "sidebar main" "footer main"`, + md: '"header header" "sidebar nav" "sidebar main" "footer main"', }} height={{ md: "100vh" }} minHeight={{ base: "100dvh" }} diff --git a/packages/state/src/hooks/labels.ts b/packages/state/src/hooks/labels.ts index 7bb25cb46..5c8caf245 100644 --- a/packages/state/src/hooks/labels.ts +++ b/packages/state/src/hooks/labels.ts @@ -1,7 +1,7 @@ import { useAllContacts } from "./contacts"; import { useAllAccounts } from "./getAccountData"; -export const PROHIBITED_CHARACTERS = `/\\"'<>:{}$#|\`\t\r\n`.split(""); +export const PROHIBITED_CHARACTERS = "/\\\"'<>:{}$#|`\t\r\n".split(""); /** Hook for validating name for account or contact. */ export const useValidateName = (oldName?: string | undefined) => {