From 11602d3725ffe684374f01b13d9ed8693052902e Mon Sep 17 00:00:00 2001 From: "Ghislain B." Date: Thu, 12 Sep 2024 23:07:09 -0400 Subject: [PATCH] chore(deps): upgrade Biome to v1.9.0 and fix formatting (#299) --- package.json | 2 +- .../src/MultipleSelectInstance.ts | 2 +- pnpm-lock.yaml | 60 +++++++++---------- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index 61aa3f66..5c5067cb 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "playwright:install": "pnpm exec playwright install" }, "devDependencies": { - "@biomejs/biome": "^1.8.3", + "@biomejs/biome": "^1.9.0", "@lerna-lite/cli": "^3.9.0", "@lerna-lite/publish": "^3.9.0", "@lerna-lite/watch": "^3.9.0", diff --git a/packages/multiple-select-vanilla/src/MultipleSelectInstance.ts b/packages/multiple-select-vanilla/src/MultipleSelectInstance.ts index 4ba6eaf4..84198d58 100644 --- a/packages/multiple-select-vanilla/src/MultipleSelectInstance.ts +++ b/packages/multiple-select-vanilla/src/MultipleSelectInstance.ts @@ -1803,7 +1803,7 @@ export class MultipleSelectInstance { const isDropPositionBottom = position !== 'top'; const filterHeight = this.filterParentElm?.getBoundingClientRect().height ?? 0; const okButtonHeight = this.okButtonElm?.getBoundingClientRect().height ?? 0; - const selectAllHeight = this.options.single ? 0 : this.selectAllParentElm?.getBoundingClientRect().height ?? 0; + const selectAllHeight = this.options.single ? 0 : (this.selectAllParentElm?.getBoundingClientRect().height ?? 0); const msDropMinimalHeight = filterHeight + okButtonHeight + selectAllHeight + 5; const { bottom: spaceBottom, top: spaceTop } = calculateAvailableSpace(this.parentElm); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8f3bcd5f..a6bb0753 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,8 +14,8 @@ importers: .: devDependencies: '@biomejs/biome': - specifier: ^1.8.3 - version: 1.8.3 + specifier: ^1.9.0 + version: 1.9.0 '@lerna-lite/cli': specifier: ^3.9.0 version: 3.9.0(@lerna-lite/publish@3.9.0)(@lerna-lite/version@3.9.0)(@lerna-lite/watch@3.9.0)(typescript@5.5.4) @@ -145,24 +145,24 @@ packages: js-tokens: 4.0.0 dev: true - /@biomejs/biome@1.8.3: - resolution: {integrity: sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w==} + /@biomejs/biome@1.9.0: + resolution: {integrity: sha512-NlWh2F1wbxB3O/wE+aohGL0BziTS6e+6+dyFvpdeqLsbQZY7EsiklFb9W5Xs41U4vEmY7ANgdNp+oVDij6sQdA==} engines: {node: '>=14.21.3'} hasBin: true requiresBuild: true optionalDependencies: - '@biomejs/cli-darwin-arm64': 1.8.3 - '@biomejs/cli-darwin-x64': 1.8.3 - '@biomejs/cli-linux-arm64': 1.8.3 - '@biomejs/cli-linux-arm64-musl': 1.8.3 - '@biomejs/cli-linux-x64': 1.8.3 - '@biomejs/cli-linux-x64-musl': 1.8.3 - '@biomejs/cli-win32-arm64': 1.8.3 - '@biomejs/cli-win32-x64': 1.8.3 - dev: true - - /@biomejs/cli-darwin-arm64@1.8.3: - resolution: {integrity: sha512-9DYOjclFpKrH/m1Oz75SSExR8VKvNSSsLnVIqdnKexj6NwmiMlKk94Wa1kZEdv6MCOHGHgyyoV57Cw8WzL5n3A==} + '@biomejs/cli-darwin-arm64': 1.9.0 + '@biomejs/cli-darwin-x64': 1.9.0 + '@biomejs/cli-linux-arm64': 1.9.0 + '@biomejs/cli-linux-arm64-musl': 1.9.0 + '@biomejs/cli-linux-x64': 1.9.0 + '@biomejs/cli-linux-x64-musl': 1.9.0 + '@biomejs/cli-win32-arm64': 1.9.0 + '@biomejs/cli-win32-x64': 1.9.0 + dev: true + + /@biomejs/cli-darwin-arm64@1.9.0: + resolution: {integrity: sha512-2w9v/NRtYSmodx5QWQ49OGcyGKSECdWKbzc7n532Iq5sBhkKk996fd19icT6BuL54f01KFKRCRibAW+A2rg1Kw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [darwin] @@ -170,8 +170,8 @@ packages: dev: true optional: true - /@biomejs/cli-darwin-x64@1.8.3: - resolution: {integrity: sha512-UeW44L/AtbmOF7KXLCoM+9PSgPo0IDcyEUfIoOXYeANaNXXf9mLUwV1GeF2OWjyic5zj6CnAJ9uzk2LT3v/wAw==} + /@biomejs/cli-darwin-x64@1.9.0: + resolution: {integrity: sha512-fBVt8jJQi0zX0SJ1C+tdzUbRpuX/07sgtBXEhunWRkPjdi6W/2S1sYHQ1wKn4OKiRAKfHM2Cf2FNO7hQvY61dA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [darwin] @@ -179,8 +179,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-arm64-musl@1.8.3: - resolution: {integrity: sha512-9yjUfOFN7wrYsXt/T/gEWfvVxKlnh3yBpnScw98IF+oOeCYb5/b/+K7YNqKROV2i1DlMjg9g/EcN9wvj+NkMuQ==} + /@biomejs/cli-linux-arm64-musl@1.9.0: + resolution: {integrity: sha512-Jy84mZ4vcppdmWMgQWOCfd8qIVC/vHmlaS5gy7GXkdWlBKSQ56YxEXTU58MHTbZ16LwJQpK2IulqRCC/rqWLBA==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] @@ -188,8 +188,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-arm64@1.8.3: - resolution: {integrity: sha512-fed2ji8s+I/m8upWpTJGanqiJ0rnlHOK3DdxsyVLZQ8ClY6qLuPc9uehCREBifRJLl/iJyQpHIRufLDeotsPtw==} + /@biomejs/cli-linux-arm64@1.9.0: + resolution: {integrity: sha512-l8U2lcqsl9yKPP5WUdIrKH//C1pWyM2cSUfcTBn6GSvXmsSjBNEdGSdM4Wfne777Oe/9ONaD1Ga53U2HksHHLw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] @@ -197,8 +197,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-x64-musl@1.8.3: - resolution: {integrity: sha512-UHrGJX7PrKMKzPGoEsooKC9jXJMa28TUSMjcIlbDnIO4EAavCoVmNQaIuUSH0Ls2mpGMwUIf+aZJv657zfWWjA==} + /@biomejs/cli-linux-x64-musl@1.9.0: + resolution: {integrity: sha512-N3enoFoIrkB6qJWyYfTiYmFdB1R/Mrij1dd1xBHqxxCKZY9GRkEswRX3F1Uqzo5T+9Iu8nAQobDqI/ygicYy/Q==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] @@ -206,8 +206,8 @@ packages: dev: true optional: true - /@biomejs/cli-linux-x64@1.8.3: - resolution: {integrity: sha512-I8G2QmuE1teISyT8ie1HXsjFRz9L1m5n83U1O6m30Kw+kPMPSKjag6QGUn+sXT8V+XWIZxFFBoTDEDZW2KPDDw==} + /@biomejs/cli-linux-x64@1.9.0: + resolution: {integrity: sha512-8jAzjrrJTj510pwq4aVs7ZKkOvEy1D+nzl9DKvrPh4TOyUw5Ie+0EDwXGE2RAkCKHkGNOQBZ78WtIdsATgz5sA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] @@ -215,8 +215,8 @@ packages: dev: true optional: true - /@biomejs/cli-win32-arm64@1.8.3: - resolution: {integrity: sha512-J+Hu9WvrBevfy06eU1Na0lpc7uR9tibm9maHynLIoAjLZpQU3IW+OKHUtyL8p6/3pT2Ju5t5emReeIS2SAxhkQ==} + /@biomejs/cli-win32-arm64@1.9.0: + resolution: {integrity: sha512-AIjwJTGfdWGMRluSQ9pDB29nzce077dfHh0/HMqzztKzgD3spyuo2R9VoaFpbR0hLHPWEH6g6OxxDO7hfkXNkQ==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [win32] @@ -224,8 +224,8 @@ packages: dev: true optional: true - /@biomejs/cli-win32-x64@1.8.3: - resolution: {integrity: sha512-/PJ59vA1pnQeKahemaQf4Nyj7IKUvGQSc3Ze1uIGi+Wvr1xF7rGobSrAAG01T/gUDG21vkDsZYM03NAmPiVkqg==} + /@biomejs/cli-win32-x64@1.9.0: + resolution: {integrity: sha512-4/4wTjNSoyNkm1SzcUaStDx46baX1VJRXtUoeEHjX9LfedR5N3qwZz5KfrRUnCd2fl5bmXK1CwMqKBkoF6zEiA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [win32]