From 497fce03c33391e5de34315be9a3fd01fb1a2adf Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Wed, 16 Sep 2026 08:02:24 +0200 Subject: [PATCH] fix(ignore): update zigbee-herdsman-converters to 26.110.0 (#33126) --- package.json | 2 +- pnpm-lock.yaml | 100 +++++++++++++++++++------------- test/extensions/receive.test.ts | 5 +- 3 files changed, 66 insertions(+), 41 deletions(-) diff --git a/package.json b/package.json index 67452ef94..70736c1e9 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "winston-transport": "^4.9.0", "ws": "^8.21.3", "zigbee-herdsman": "10.9.3", - "zigbee-herdsman-converters": "26.108.1", + "zigbee-herdsman-converters": "26.110.0", "zigbee2mqtt-frontend": "0.9.21", "zigbee2mqtt-windfront": "2.15.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cec64bb95..7c9d61768 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,7 +31,7 @@ importers: version: 5.4.1 mqtt: specifier: ^5.15.2 - version: 5.15.2 + version: 5.15.2(supports-color@7.2.0) semver: specifier: ^7.8.5 version: 7.8.5 @@ -55,10 +55,10 @@ importers: version: 8.21.3 zigbee-herdsman: specifier: 10.9.3 - version: 10.9.3 + version: 10.9.3(supports-color@7.2.0) zigbee-herdsman-converters: - specifier: 26.108.1 - version: 26.108.1 + specifier: 26.110.0 + version: 26.110.0(supports-color@7.2.0) zigbee2mqtt-frontend: specifier: 0.9.21 version: 0.9.21 @@ -83,7 +83,7 @@ importers: version: 8.18.1 '@vitest/coverage-v8': specifier: ^3.2.7 - version: 3.2.7(vitest@3.2.7(@types/node@26.4.0)) + version: 3.2.7(supports-color@7.2.0)(vitest@3.2.7(@types/node@26.4.0)(supports-color@7.2.0)) tmp: specifier: ^0.2.7 version: 0.2.7 @@ -92,7 +92,7 @@ importers: version: 7.0.2 vitest: specifier: ^3.2.7 - version: 3.2.7(@types/node@26.4.0) + version: 3.2.7(@types/node@26.4.0)(supports-color@7.2.0) optionalDependencies: unix-dgram: specifier: ^2.0.7 @@ -151,24 +151,28 @@ packages: engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] + libc: [musl] '@biomejs/cli-linux-arm64@2.5.11': resolution: {integrity: sha512-3PVLSTD9RR73rvVPt5G3T1gc+ycggWEGfTD7RvzzbtcDPD27NxgxBbAFfpm7DXJKW6VLHWE1lLMGvFt2Qxjcow==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] + libc: [glibc] '@biomejs/cli-linux-x64-musl@2.5.11': resolution: {integrity: sha512-oRRlrchG5EfrEL/EmtT1qUjSNHk3/5LGeZhQqADBBAJF1b1ET6964xEKe7aGlGARzDfza8H/seEsFJl7S6Ql9w==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] + libc: [musl] '@biomejs/cli-linux-x64@2.5.11': resolution: {integrity: sha512-JOytptlsgM33B2MMFUg8iBrb4IKpbD5JnJrSeYiaFEeAj4vuXx0iQSQZ4qK7sqyMtfjZxxPdNdMZZVL4y/mFyA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] + libc: [glibc] '@biomejs/cli-win32-arm64@2.5.11': resolution: {integrity: sha512-e49E6K9hzH/ohJNx8Y26mY8HaV4I4ZViIeoqhKsmoXLKHhQnMeBAVqCgsGf2Wa3lXlS7RkporDXMHHWkzvZzFw==} @@ -377,6 +381,7 @@ packages: engines: {node: ^22.20 || ^24.12 || >=25} cpu: [x64] os: [linux] + libc: [glibc] '@pkgjs/parseargs@0.11.0': resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} @@ -416,66 +421,79 @@ packages: resolution: {integrity: sha512-YDUNvVM85TI3g/1OpnqKP1h4NeW/j64DfWMf+G3M809xNk1bJSnpFp4sh83NpmVE5DXnkh8ULor4LTVZKoYLHw==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.63.1': resolution: {integrity: sha512-7Mcn71p9ZuQFAj+h+dhQXy/yeLePRS2yKRnmW1DijA9thKO5qap0GNOIQK4yQ6iP3SU0Mrb/yWo8h8vgRba8lw==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.63.1': resolution: {integrity: sha512-4YiLQTX6U4CSl0L9cluep9A9W6UmTfqBDc2/CH6wlu54pl4E7Jn3cOD8oxzvBDEGk/JMKgJ47C8g+radF7mwvg==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.63.1': resolution: {integrity: sha512-2ra8F7w8OquwZN9z2/fKFnli69wa8PLwaVzRMIPGb13ByMJwC28Fbp8YcVGoUhlYMTt7j5j9bNgpysrN2UM+vw==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-loong64-gnu@4.63.1': resolution: {integrity: sha512-Sy20ncyhjmBP0Ml+UvQbimjlk6VFgjW5uNP+qqwHB00mTE8Bl2C1TuHTlRwK2YoXeZbee5lP2XevBWVkAQAtSQ==} cpu: [loong64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-loong64-musl@4.63.1': resolution: {integrity: sha512-noITLp8oNjYliPnGWmLyelIHwULGqbHloQHGw1rtxbWhTuWooRpnZarZQJ1y9EUC4szuCusCc+HEpUtxpIwYvA==} cpu: [loong64] os: [linux] + libc: [musl] '@rollup/rollup-linux-ppc64-gnu@4.63.1': resolution: {integrity: sha512-hlxxXd+F1mWiAcaFR7Sv9ZQT6m6UfI8+Vy/kFJzztq2pDMU/0wZ9sish0iszNZvsQDo8Gc0i5yuFEOz5dDf6fA==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-ppc64-musl@4.63.1': resolution: {integrity: sha512-EF7OpqQTQ/BvGqLzUi4rEHuagCV9MugAUXSHemwPW5vxZ75RR+jxO/2j95Ph2dalMpFHSVECjRoioHZgA9zOYA==} cpu: [ppc64] os: [linux] + libc: [musl] '@rollup/rollup-linux-riscv64-gnu@4.63.1': resolution: {integrity: sha512-wQO3JesW9PRkwlabQ27y7sPfVOOTLRG73I4F2UYHG5PXun3J9U3y+b7ezVKSYbsvSKGQ1k1cq8Qlun4C9kLt3w==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-musl@4.63.1': resolution: {integrity: sha512-ouAGwhO6wHRXdnOVCOsB0tRFkA7nhNB2Nwax6oECXN0YiN8EYUTBAOudADOB1PI+yDL61TeNx/u7MVCzksNbkQ==} cpu: [riscv64] os: [linux] + libc: [musl] '@rollup/rollup-linux-s390x-gnu@4.63.1': resolution: {integrity: sha512-q2R38Sn+1J8RxhfJ+T54wSWmyKXWec+9jgDfqO2AtArEqHO5R2aeayp5H5OYLr5UYDVGsVaZPEFUooMhYCdz5A==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.63.1': resolution: {integrity: sha512-gfI5T24WLLuFfSKw7Go/zDXjAAV0fny0swTaDv+WjK7vqcw4cRhFfdsyKL1n+ukI+ooBxn3bVQnyrn06WpI50w==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.63.1': resolution: {integrity: sha512-4h6XqthmB4Hspji84wvgk+ElodTsGj+dbZqHJHHtKxj4mYq0ANSEEPX9ys3moJueqsRjwpaJYH7874Itwnj2ow==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-openbsd-x64@4.63.1': resolution: {integrity: sha512-dlfCOa87o1VAYegLQ9EKilx2JCeRofiyPGhTCmqnuXZ6bMPiycO1rq1+sKoulAp7pGLIsTIw+1x5R+zgh5LhhA==} @@ -1437,9 +1455,9 @@ packages: utf-8-validate: optional: true - zigbee-herdsman-converters@26.108.1: - resolution: {integrity: sha512-eyA4ruyPC60gSaWMU17hNdPWnGSucFBTxcOCIjt1pvwzGMwhZ/Ut+pnbbMA/8mt/oS45EFO95IhERVkG7ETRPw==} - engines: {node: '>=20.15.0'} + zigbee-herdsman-converters@26.110.0: + resolution: {integrity: sha512-XlBL0lItMjBrW0UbCf5D42ufvD7NuhV8k/JojqhG9IfdOTpBAhw1hkyQblC8sGMs6A+vXWZCAqbZzZBk9Rd75Q==} + engines: {node: ^22.2.0 || ^24 || <=26.2} zigbee-herdsman@10.9.3: resolution: {integrity: sha512-RvtSnvTHtlymnCDCDKIyzGi/uAq/q3oxeCWliIYJ7l65HskVwjXwo0qLgFIEZg/B73E4x4OTaYebgsfaDahVFw==} @@ -1711,11 +1729,11 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.63.1': optional: true - '@serialport/bindings-cpp@13.0.1': + '@serialport/bindings-cpp@13.0.1(supports-color@7.2.0)': dependencies: '@serialport/bindings-interface': 1.2.2 '@serialport/parser-readline': 13.0.0 - debug: 4.4.0 + debug: 4.4.0(supports-color@7.2.0) node-addon-api: 8.3.0 node-gyp-build: 4.8.4 transitivePeerDependencies: @@ -1729,10 +1747,10 @@ snapshots: dependencies: '@serialport/parser-delimiter': 13.0.0 - '@serialport/stream@13.0.0': + '@serialport/stream@13.0.0(supports-color@7.2.0)': dependencies: '@serialport/bindings-interface': 1.2.2 - debug: 4.4.0 + debug: 4.4.0(supports-color@7.2.0) transitivePeerDependencies: - supports-color @@ -1826,22 +1844,22 @@ snapshots: '@typescript/typescript-win32-x64@7.0.2': optional: true - '@vitest/coverage-v8@3.2.7(vitest@3.2.7(@types/node@26.4.0))': + '@vitest/coverage-v8@3.2.7(supports-color@7.2.0)(vitest@3.2.7(@types/node@26.4.0)(supports-color@7.2.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 1.0.2 ast-v8-to-istanbul: 0.3.12 - debug: 4.4.3 + debug: 4.4.3(supports-color@7.2.0) istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 - istanbul-lib-source-maps: 5.0.6 + istanbul-lib-source-maps: 5.0.6(supports-color@7.2.0) istanbul-reports: 3.2.0 magic-string: 0.30.21 magicast: 0.3.5 std-env: 3.10.0 test-exclude: 7.0.2 tinyrainbow: 2.0.0 - vitest: 3.2.7(@types/node@26.4.0) + vitest: 3.2.7(@types/node@26.4.0)(supports-color@7.2.0) transitivePeerDependencies: - supports-color @@ -2017,13 +2035,17 @@ snapshots: debounce@3.0.0: {} - debug@4.4.0: + debug@4.4.0(supports-color@7.2.0): dependencies: ms: 2.1.3 + optionalDependencies: + supports-color: 7.2.0 - debug@4.4.3: + debug@4.4.3(supports-color@7.2.0): dependencies: ms: 2.1.3 + optionalDependencies: + supports-color: 7.2.0 deep-eql@5.0.2: {} @@ -2153,10 +2175,10 @@ snapshots: make-dir: 4.0.0 supports-color: 7.2.0 - istanbul-lib-source-maps@5.0.6: + istanbul-lib-source-maps@5.0.6(supports-color@7.2.0): dependencies: '@jridgewell/trace-mapping': 0.3.31 - debug: 4.4.3 + debug: 4.4.3(supports-color@7.2.0) istanbul-lib-coverage: 3.2.2 transitivePeerDependencies: - supports-color @@ -2225,26 +2247,26 @@ snapshots: minipass@7.1.3: {} - mqtt-packet@9.0.2: + mqtt-packet@9.0.2(supports-color@7.2.0): dependencies: bl: 6.1.6 - debug: 4.4.3 + debug: 4.4.3(supports-color@7.2.0) process-nextick-args: 2.0.1 transitivePeerDependencies: - supports-color - mqtt@5.15.2: + mqtt@5.15.2(supports-color@7.2.0): dependencies: '@types/readable-stream': 4.0.24 '@types/ws': 8.18.1 commist: 3.2.0 concat-stream: 2.0.0 - debug: 4.4.3 + debug: 4.4.3(supports-color@7.2.0) help-me: 5.0.0 lru-cache: 10.4.3 minimist: 1.2.8 - mqtt-packet: 9.0.2 - number-allocator: 1.0.14 + mqtt-packet: 9.0.2(supports-color@7.2.0) + number-allocator: 1.0.14(supports-color@7.2.0) readable-stream: 4.7.0 rfdc: 1.4.1 socks: 2.8.9 @@ -2272,9 +2294,9 @@ snapshots: node-gyp-build@4.8.4: {} - number-allocator@1.0.14: + number-allocator@1.0.14(supports-color@7.2.0): dependencies: - debug: 4.4.3 + debug: 4.4.3(supports-color@7.2.0) js-sdsl: 4.3.0 transitivePeerDependencies: - supports-color @@ -2505,10 +2527,10 @@ snapshots: util-deprecate@1.0.2: {} - vite-node@3.2.4(@types/node@26.4.0): + vite-node@3.2.4(@types/node@26.4.0)(supports-color@7.2.0): dependencies: cac: 6.7.14 - debug: 4.4.3 + debug: 4.4.3(supports-color@7.2.0) es-module-lexer: 1.7.0 pathe: 2.0.3 vite: 7.3.6(@types/node@26.4.0) @@ -2538,7 +2560,7 @@ snapshots: '@types/node': 26.4.0 fsevents: 2.3.3 - vitest@3.2.7(@types/node@26.4.0): + vitest@3.2.7(@types/node@26.4.0)(supports-color@7.2.0): dependencies: '@types/chai': 5.2.3 '@vitest/expect': 3.2.7 @@ -2549,7 +2571,7 @@ snapshots: '@vitest/spy': 3.2.7 '@vitest/utils': 3.2.7 chai: 5.3.3 - debug: 4.4.3 + debug: 4.4.3(supports-color@7.2.0) expect-type: 1.4.0 magic-string: 0.30.21 pathe: 2.0.3 @@ -2561,7 +2583,7 @@ snapshots: tinypool: 1.1.1 tinyrainbow: 2.0.0 vite: 7.3.6(@types/node@26.4.0) - vite-node: 3.2.4(@types/node@26.4.0) + vite-node: 3.2.4(@types/node@26.4.0)(supports-color@7.2.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 26.4.0 @@ -2658,20 +2680,20 @@ snapshots: ws@8.21.3: {} - zigbee-herdsman-converters@26.108.1: + zigbee-herdsman-converters@26.110.0(supports-color@7.2.0): dependencies: iconv-lite: 0.7.3 semver: 7.8.5 - zigbee-herdsman: 10.9.3 + zigbee-herdsman: 10.9.3(supports-color@7.2.0) transitivePeerDependencies: - supports-color - zigbee-herdsman@10.9.3: + zigbee-herdsman@10.9.3(supports-color@7.2.0): dependencies: '@date-fns/tz': 1.5.0 - '@serialport/bindings-cpp': 13.0.1 + '@serialport/bindings-cpp': 13.0.1(supports-color@7.2.0) '@serialport/parser-delimiter': 13.0.0 - '@serialport/stream': 13.0.0 + '@serialport/stream': 13.0.0(supports-color@7.2.0) bonjour-service: 1.4.4 debounce: 3.0.0 fast-deep-equal: 3.1.3 diff --git a/test/extensions/receive.test.ts b/test/extensions/receive.test.ts index e44d44cbd..b5abd17a0 100644 --- a/test/extensions/receive.test.ts +++ b/test/extensions/receive.test.ts @@ -688,9 +688,12 @@ describe("Extension: Receive", () => { settings.set(["advanced", "elapsed"], true); const device = devices.E1743; const payload = {data: {}, cluster: "genLevelCtrl", device, endpoint: device.getEndpoint(1), type: "commandStopWithOnOff"}; - vi.spyOn(Date, "now").mockReturnValueOnce(150).mockReturnValueOnce(200); + // Advance the (faked) clock instead of mocking `Date.now`, zigbee-herdsman-converters calls it too while converting. + const start = Date.now(); + vi.setSystemTime(start + 150); await mockZHEvents.message({...payload, meta: {zclTransactionSequenceNumber: 2}}); await flushPromises(); + vi.setSystemTime(start + 200); await mockZHEvents.message({...payload, meta: {zclTransactionSequenceNumber: 3}}); await flushPromises(); expect(mockMQTTPublishAsync).toHaveBeenCalledTimes(2);