diff --git a/packages/vant/package.json b/packages/vant/package.json index 473a13d216a..ff981b9a598 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -66,7 +66,7 @@ "@vue/test-utils": "^2.4.6", "csstype": "^3.1.3", "diffable-html": "^5.0.0", - "jsdom": "^24.1.3", + "jsdom": "^25.0.1", "typescript": "^5.6.2", "vite": "^5.4.8", "vitest": "^1.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a8a51a015bc..17e9562b302 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -90,7 +90,7 @@ importers: version: 4.0.1(vite@5.4.8(@types/node@20.16.10)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0))(vue@3.5.10(typescript@5.6.2)) '@vitest/coverage-istanbul': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@20.16.10)(jsdom@24.1.3)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0)) + version: 1.6.0(vitest@1.6.0(@types/node@20.16.10)(jsdom@25.0.1)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0)) '@vue/runtime-core': specifier: ^3.5.10 version: 3.5.10 @@ -104,8 +104,8 @@ importers: specifier: ^5.0.0 version: 5.0.0 jsdom: - specifier: ^24.1.3 - version: 24.1.3 + specifier: ^25.0.1 + version: 25.0.1 typescript: specifier: ^5.6.2 version: 5.6.2 @@ -114,10 +114,10 @@ importers: version: 5.4.8(@types/node@20.16.10)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.16.10)(jsdom@24.1.3)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0) + version: 1.6.0(@types/node@20.16.10)(jsdom@25.0.1)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0) vitest-canvas-mock: specifier: ^0.3.3 - version: 0.3.3(vitest@1.6.0(@types/node@20.16.10)(jsdom@24.1.3)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0)) + version: 0.3.3(vitest@1.6.0(@types/node@20.16.10)(jsdom@25.0.1)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0)) vue: specifier: ^3.5.10 version: 3.5.10(typescript@5.6.2) @@ -1656,8 +1656,8 @@ packages: cssfontparser@1.2.1: resolution: {integrity: sha512-6tun4LoZnj7VN6YeegOVb67KBX/7JJsqvj+pv3ZA7F878/eN33AbGa5b/S/wXxS/tcp8nc40xRUrsPlxIyNUPg==} - cssstyle@4.0.1: - resolution: {integrity: sha512-8ZYiJ3A/3OkDd093CBT/0UKDWry7ak4BdPTFP2+QEP7cmhouyq/Up709ASSj2cK02BbZiMgk7kYjZNS4QP5qrQ==} + cssstyle@4.1.0: + resolution: {integrity: sha512-h66W1URKpBS5YMI/V8PyXvTMFT8SupJ1IzoIV8IeBC/ji8WVmrO8dGlTi+2dh6whmdk6BiKJLD/ZBkhWbcg6nA==} engines: {node: '>=18'} csstype@3.1.3: @@ -2145,8 +2145,8 @@ packages: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true - jsdom@24.1.3: - resolution: {integrity: sha512-MyL55p3Ut3cXbeBEG7Hcv0mVM8pp8PBNWxRqchZnSfAiES1v1mRnMeFfaHWIPULpwsYfvO+ZmMZz5tGCnjzDUQ==} + jsdom@25.0.1: + resolution: {integrity: sha512-8i7LzZj7BF8uplX+ZyOlIz86V6TAsSs+np6m1kpW9u0JWi4z/1t+FzcK1aek+ybTnAC4KhBL4uXCNT0wcUIeCw==} engines: {node: '>=18'} peerDependencies: canvas: ^2.11.2 @@ -2511,9 +2511,6 @@ packages: prr@1.0.1: resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} - psl@1.9.0: - resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} - punycode.js@2.3.1: resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} engines: {node: '>=6'} @@ -2522,9 +2519,6 @@ packages: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} - querystringify@2.2.0: - resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} - queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -2545,9 +2539,6 @@ packages: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} - requires-port@1.0.0: - resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} - resolve-from@4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} @@ -2571,9 +2562,6 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true - rrweb-cssom@0.6.0: - resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} - rrweb-cssom@0.7.1: resolution: {integrity: sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==} @@ -2884,6 +2872,13 @@ packages: resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} engines: {node: '>=14.0.0'} + tldts-core@6.1.49: + resolution: {integrity: sha512-ctRO/wzBasOCxAStJG/60Qe8/QpGmaVPsE8djdk0vioxN4uCOgKoveH71Qc2EOmVMIjVf0BjigI5p9ZDuLOygg==} + + tldts@6.1.49: + resolution: {integrity: sha512-E5se9HuCyfwWvmc0JiXiocOw+Cm4tlJCKewdB5RKMH8MmtiTsQCc+yu5BBYB5ZN4lNbz8Xg65bqJ1odS9+RhIA==} + hasBin: true + to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} @@ -2892,9 +2887,9 @@ packages: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} - tough-cookie@4.1.4: - resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} - engines: {node: '>=6'} + tough-cookie@5.0.0: + resolution: {integrity: sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==} + engines: {node: '>=16'} tr46@5.0.0: resolution: {integrity: sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==} @@ -2943,10 +2938,6 @@ packages: undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} - universalify@0.2.0: - resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} - engines: {node: '>= 4.0.0'} - universalify@2.0.1: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} @@ -2964,9 +2955,6 @@ packages: uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} - url-parse@1.5.10: - resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} - util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -4088,7 +4076,7 @@ snapshots: vite: 5.4.8(@types/node@20.16.10)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0) vue: 3.5.10(typescript@5.6.2) - '@vitest/coverage-istanbul@1.6.0(vitest@1.6.0(@types/node@20.16.10)(jsdom@24.1.3)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0))': + '@vitest/coverage-istanbul@1.6.0(vitest@1.6.0(@types/node@20.16.10)(jsdom@25.0.1)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0))': dependencies: debug: 4.3.4 istanbul-lib-coverage: 3.2.2 @@ -4099,7 +4087,7 @@ snapshots: magicast: 0.3.4 picocolors: 1.1.0 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@20.16.10)(jsdom@24.1.3)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0) + vitest: 1.6.0(@types/node@20.16.10)(jsdom@25.0.1)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0) transitivePeerDependencies: - supports-color @@ -4568,9 +4556,9 @@ snapshots: cssfontparser@1.2.1: {} - cssstyle@4.0.1: + cssstyle@4.1.0: dependencies: - rrweb-cssom: 0.6.0 + rrweb-cssom: 0.7.1 csstype@3.1.3: {} @@ -5129,9 +5117,9 @@ snapshots: dependencies: argparse: 2.0.1 - jsdom@24.1.3: + jsdom@25.0.1: dependencies: - cssstyle: 4.0.1 + cssstyle: 4.1.0 data-urls: 5.0.0 decimal.js: 10.4.3 form-data: 4.0.0 @@ -5144,7 +5132,7 @@ snapshots: rrweb-cssom: 0.7.1 saxes: 6.0.0 symbol-tree: 3.2.4 - tough-cookie: 4.1.4 + tough-cookie: 5.0.0 w3c-xmlserializer: 5.0.0 webidl-conversions: 7.0.0 whatwg-encoding: 3.1.1 @@ -5486,14 +5474,10 @@ snapshots: prr@1.0.1: optional: true - psl@1.9.0: {} - punycode.js@2.3.1: {} punycode@2.3.1: {} - querystringify@2.2.0: {} - queue-microtask@1.2.3: {} randombytes@2.1.0: @@ -5514,8 +5498,6 @@ snapshots: require-directory@2.1.1: {} - requires-port@1.0.0: {} - resolve-from@4.0.0: {} reusify@1.0.4: {} @@ -5551,8 +5533,6 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.21.2 fsevents: 2.3.3 - rrweb-cssom@0.6.0: {} - rrweb-cssom@0.7.1: {} rslog@1.2.3: {} @@ -5800,18 +5780,21 @@ snapshots: tinyspy@2.2.1: {} + tldts-core@6.1.49: {} + + tldts@6.1.49: + dependencies: + tldts-core: 6.1.49 + to-fast-properties@2.0.0: {} to-regex-range@5.0.1: dependencies: is-number: 7.0.0 - tough-cookie@4.1.4: + tough-cookie@5.0.0: dependencies: - psl: 1.9.0 - punycode: 2.3.1 - universalify: 0.2.0 - url-parse: 1.5.10 + tldts: 6.1.49 tr46@5.0.0: dependencies: @@ -5845,8 +5828,6 @@ snapshots: undici-types@6.19.8: {} - universalify@0.2.0: {} - universalify@2.0.1: {} upath@2.0.1: {} @@ -5867,11 +5848,6 @@ snapshots: dependencies: punycode: 2.3.1 - url-parse@1.5.10: - dependencies: - querystringify: 2.2.0 - requires-port: 1.0.0 - util-deprecate@1.0.2: {} varint@6.0.0: {} @@ -5906,12 +5882,12 @@ snapshots: sass-embedded: 1.78.0 terser: 5.33.0 - vitest-canvas-mock@0.3.3(vitest@1.6.0(@types/node@20.16.10)(jsdom@24.1.3)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0)): + vitest-canvas-mock@0.3.3(vitest@1.6.0(@types/node@20.16.10)(jsdom@25.0.1)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0)): dependencies: jest-canvas-mock: 2.5.2 - vitest: 1.6.0(@types/node@20.16.10)(jsdom@24.1.3)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0) + vitest: 1.6.0(@types/node@20.16.10)(jsdom@25.0.1)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0) - vitest@1.6.0(@types/node@20.16.10)(jsdom@24.1.3)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0): + vitest@1.6.0(@types/node@20.16.10)(jsdom@25.0.1)(less@4.2.0)(sass-embedded@1.78.0)(terser@5.33.0): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -5935,7 +5911,7 @@ snapshots: why-is-node-running: 2.2.2 optionalDependencies: '@types/node': 20.16.10 - jsdom: 24.1.3 + jsdom: 25.0.1 transitivePeerDependencies: - less - lightningcss