diff --git a/package.json b/package.json index 1ae4dcc..18dc40c 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "eslint": "^9.38.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.32.0", - "eslint-plugin-jest": "^29.0.1", + "eslint-plugin-jest": "^29.5.0", "markdownlint": "^0.39.0", "prettier": "^3.6.2", "prettier-plugin-apex": "^2.2.6" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fd3395e..52fae08 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,13 +10,13 @@ importers: devDependencies: '@lwc/eslint-plugin-lwc': specifier: ^3.3.0 - version: 3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.26.0)(eslint@9.38.0))(eslint@9.38.0) + version: 3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.28.0)(eslint@9.38.0))(eslint@9.38.0) '@prettier/plugin-xml': specifier: ^3.4.2 version: 3.4.2(prettier@3.6.2) '@salesforce/eslint-config-lwc': specifier: ^4.1.1 - version: 4.1.1(@lwc/eslint-plugin-lwc@3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.26.0)(eslint@9.38.0))(eslint@9.38.0))(@salesforce/eslint-plugin-lightning@2.0.0(eslint@9.38.0))(eslint-plugin-import@2.32.0(eslint@9.38.0))(eslint-plugin-jest@29.0.1(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2))(eslint@9.38.0) + version: 4.1.1(@lwc/eslint-plugin-lwc@3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.28.0)(eslint@9.38.0))(eslint@9.38.0))(@salesforce/eslint-plugin-lightning@2.0.0(eslint@9.38.0))(eslint-plugin-import@2.32.0(eslint@9.38.0))(eslint-plugin-jest@29.5.0(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2))(eslint@9.38.0) '@salesforce/eslint-plugin-aura': specifier: ^3.0.0 version: 3.0.0(@eslint/js@9.38.0)(eslint@9.38.0) @@ -36,8 +36,8 @@ importers: specifier: ^2.32.0 version: 2.32.0(eslint@9.38.0) eslint-plugin-jest: - specifier: ^29.0.1 - version: 29.0.1(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2) + specifier: ^29.5.0 + version: 29.5.0(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2) markdownlint: specifier: ^0.39.0 version: 0.39.0 @@ -853,41 +853,41 @@ packages: '@types/yargs@17.0.32': resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} - '@typescript-eslint/project-service@8.46.2': - resolution: {integrity: sha512-PULOLZ9iqwI7hXcmL4fVfIsBi6AN9YxRc0frbvmg8f+4hQAjQ5GYNKK0DIArNo+rOKmR/iBYwkpBmnIwin4wBg==} + '@typescript-eslint/project-service@8.49.0': + resolution: {integrity: sha512-/wJN0/DKkmRUMXjZUXYZpD1NEQzQAAn9QWfGwo+Ai8gnzqH7tvqS7oNVdTjKqOcPyVIdZdyCMoqN66Ia789e7g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/scope-manager@8.46.2': - resolution: {integrity: sha512-LF4b/NmGvdWEHD2H4MsHD8ny6JpiVNDzrSZr3CsckEgCbAGZbYM4Cqxvi9L+WqDMT+51Ozy7lt2M+d0JLEuBqA==} + '@typescript-eslint/scope-manager@8.49.0': + resolution: {integrity: sha512-npgS3zi+/30KSOkXNs0LQXtsg9ekZ8OISAOLGWA/ZOEn0ZH74Ginfl7foziV8DT+D98WfQ5Kopwqb/PZOaIJGg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/tsconfig-utils@8.46.2': - resolution: {integrity: sha512-a7QH6fw4S57+F5y2FIxxSDyi5M4UfGF+Jl1bCGd7+L4KsaUY80GsiF/t0UoRFDHAguKlBaACWJRmdrc6Xfkkag==} + '@typescript-eslint/tsconfig-utils@8.49.0': + resolution: {integrity: sha512-8prixNi1/6nawsRYxet4YOhnbW+W9FK/bQPxsGB1D3ZrDzbJ5FXw5XmzxZv82X3B+ZccuSxo/X8q9nQ+mFecWA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/types@8.46.2': - resolution: {integrity: sha512-lNCWCbq7rpg7qDsQrd3D6NyWYu+gkTENkG5IKYhUIcxSb59SQC/hEQ+MrG4sTgBVghTonNWq42bA/d4yYumldQ==} + '@typescript-eslint/types@8.49.0': + resolution: {integrity: sha512-e9k/fneezorUo6WShlQpMxXh8/8wfyc+biu6tnAqA81oWrEic0k21RHzP9uqqpyBBeBKu4T+Bsjy9/b8u7obXQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.46.2': - resolution: {integrity: sha512-f7rW7LJ2b7Uh2EiQ+7sza6RDZnajbNbemn54Ob6fRwQbgcIn+GWfyuHDHRYgRoZu1P4AayVScrRW+YfbTvPQoQ==} + '@typescript-eslint/typescript-estree@8.49.0': + resolution: {integrity: sha512-jrLdRuAbPfPIdYNppHJ/D0wN+wwNfJ32YTAm10eJVsFmrVpXQnDWBn8niCSMlWjvml8jsce5E/O+86IQtTbJWA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/utils@8.46.2': - resolution: {integrity: sha512-sExxzucx0Tud5tE0XqR0lT0psBQvEpnpiul9XbGUB1QwpWJJAps1O/Z7hJxLGiZLBKMCutjTzDgmd1muEhBnVg==} + '@typescript-eslint/utils@8.49.0': + resolution: {integrity: sha512-N3W7rJw7Rw+z1tRsHZbK395TWSYvufBXumYtEGzypgMUthlg0/hmCImeA8hgO2d2G4pd7ftpxxul2J8OdtdaFA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/visitor-keys@8.46.2': - resolution: {integrity: sha512-tUFMXI4gxzzMXt4xpGJEsBsTox0XbNQ1y94EwlD/CuZwFcQP79xfQqMhau9HsRc/J0cAPA/HZt1dZPtGn9V/7w==} + '@typescript-eslint/visitor-keys@8.49.0': + resolution: {integrity: sha512-LlKaciDe3GmZFphXIc79THF/YYBugZ7FS1pO581E/edlVVNbZKDy93evqmrfQ9/Y4uN0vVhX4iuchq26mK/iiA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@xml-tools/parser@1.0.11': @@ -1214,6 +1214,15 @@ packages: supports-color: optional: true + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + decimal.js@10.4.3: resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} @@ -1424,8 +1433,8 @@ packages: '@typescript-eslint/parser': optional: true - eslint-plugin-jest@29.0.1: - resolution: {integrity: sha512-EE44T0OSMCeXhDrrdsbKAhprobKkPtJTbQz5yEktysNpHeDZTAL1SfDTNKmcFfJkY6yrQLtTKZALrD3j/Gpmiw==} + eslint-plugin-jest@29.5.0: + resolution: {integrity: sha512-DAi9H8xN/TUuNOt+xDP1RqpCJLsSxBb5u1zXSpCyp0VAWGL8MBAg5t7/Dk+76iX7d1LhWu4DDH77IQNUolLDyg==} engines: {node: ^20.12.0 || ^22.0.0 || >=24.0.0} peerDependencies: '@typescript-eslint/eslint-plugin': ^8.0.0 @@ -1517,10 +1526,6 @@ packages: fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} - fast-glob@3.3.3: resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} engines: {node: '>=8.6.0'} @@ -1541,6 +1546,15 @@ packages: fb-watchman@2.0.2: resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} @@ -2508,6 +2522,10 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.3: + resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} + engines: {node: '>=12'} + pirates@4.0.6: resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} engines: {node: '>= 6'} @@ -2676,6 +2694,11 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.7.3: + resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} + engines: {node: '>=10'} + hasBin: true + set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} @@ -2816,6 +2839,10 @@ packages: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} + tinyglobby@0.2.15: + resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} + engines: {node: '>=12.0.0'} + tmpl@1.0.5: resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} @@ -3103,6 +3130,14 @@ snapshots: eslint-visitor-keys: 2.1.0 semver: 6.3.1 + '@babel/eslint-parser@7.25.9(@babel/core@7.28.0)(eslint@9.38.0)': + dependencies: + '@babel/core': 7.28.0 + '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 + eslint: 9.38.0 + eslint-visitor-keys: 2.1.0 + semver: 6.3.1 + '@babel/generator@7.22.10': dependencies: '@babel/types': 7.26.0 @@ -3850,9 +3885,9 @@ snapshots: '@lwc/errors@8.20.4': {} - '@lwc/eslint-plugin-lwc@3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.26.0)(eslint@9.38.0))(eslint@9.38.0)': + '@lwc/eslint-plugin-lwc@3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.28.0)(eslint@9.38.0))(eslint@9.38.0)': dependencies: - '@babel/eslint-parser': 7.25.9(@babel/core@7.26.0)(eslint@9.38.0) + '@babel/eslint-parser': 7.25.9(@babel/core@7.28.0)(eslint@9.38.0) eslint: 9.38.0 fast-xml-parser: 4.5.3 globals: 15.14.0 @@ -3981,16 +4016,16 @@ snapshots: '@rtsao/scc@1.1.0': {} - '@salesforce/eslint-config-lwc@4.1.1(@lwc/eslint-plugin-lwc@3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.26.0)(eslint@9.38.0))(eslint@9.38.0))(@salesforce/eslint-plugin-lightning@2.0.0(eslint@9.38.0))(eslint-plugin-import@2.32.0(eslint@9.38.0))(eslint-plugin-jest@29.0.1(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2))(eslint@9.38.0)': + '@salesforce/eslint-config-lwc@4.1.1(@lwc/eslint-plugin-lwc@3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.28.0)(eslint@9.38.0))(eslint@9.38.0))(@salesforce/eslint-plugin-lightning@2.0.0(eslint@9.38.0))(eslint-plugin-import@2.32.0(eslint@9.38.0))(eslint-plugin-jest@29.5.0(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2))(eslint@9.38.0)': dependencies: '@babel/core': 7.26.0 '@babel/eslint-parser': 7.25.9(@babel/core@7.26.0)(eslint@9.38.0) '@eslint/js': 9.17.0 - '@lwc/eslint-plugin-lwc': 3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.26.0)(eslint@9.38.0))(eslint@9.38.0) + '@lwc/eslint-plugin-lwc': 3.3.0(@babel/eslint-parser@7.25.9(@babel/core@7.28.0)(eslint@9.38.0))(eslint@9.38.0) '@salesforce/eslint-plugin-lightning': 2.0.0(eslint@9.38.0) eslint: 9.38.0 eslint-plugin-import: 2.32.0(eslint@9.38.0) - eslint-plugin-jest: 29.0.1(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2) + eslint-plugin-jest: 29.5.0(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2) eslint-restricted-globals: 0.2.0 globals: 15.14.0 semver: 7.6.3 @@ -4134,56 +4169,55 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/project-service@8.46.2(typescript@5.3.2)': + '@typescript-eslint/project-service@8.49.0(typescript@5.3.2)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.46.2(typescript@5.3.2) - '@typescript-eslint/types': 8.46.2 - debug: 4.3.4 + '@typescript-eslint/tsconfig-utils': 8.49.0(typescript@5.3.2) + '@typescript-eslint/types': 8.49.0 + debug: 4.4.3 typescript: 5.3.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.46.2': + '@typescript-eslint/scope-manager@8.49.0': dependencies: - '@typescript-eslint/types': 8.46.2 - '@typescript-eslint/visitor-keys': 8.46.2 + '@typescript-eslint/types': 8.49.0 + '@typescript-eslint/visitor-keys': 8.49.0 - '@typescript-eslint/tsconfig-utils@8.46.2(typescript@5.3.2)': + '@typescript-eslint/tsconfig-utils@8.49.0(typescript@5.3.2)': dependencies: typescript: 5.3.2 - '@typescript-eslint/types@8.46.2': {} + '@typescript-eslint/types@8.49.0': {} - '@typescript-eslint/typescript-estree@8.46.2(typescript@5.3.2)': + '@typescript-eslint/typescript-estree@8.49.0(typescript@5.3.2)': dependencies: - '@typescript-eslint/project-service': 8.46.2(typescript@5.3.2) - '@typescript-eslint/tsconfig-utils': 8.46.2(typescript@5.3.2) - '@typescript-eslint/types': 8.46.2 - '@typescript-eslint/visitor-keys': 8.46.2 - debug: 4.3.4 - fast-glob: 3.3.2 - is-glob: 4.0.3 + '@typescript-eslint/project-service': 8.49.0(typescript@5.3.2) + '@typescript-eslint/tsconfig-utils': 8.49.0(typescript@5.3.2) + '@typescript-eslint/types': 8.49.0 + '@typescript-eslint/visitor-keys': 8.49.0 + debug: 4.4.3 minimatch: 9.0.5 - semver: 7.6.3 + semver: 7.7.3 + tinyglobby: 0.2.15 ts-api-utils: 2.1.0(typescript@5.3.2) typescript: 5.3.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.46.2(eslint@9.38.0)(typescript@5.3.2)': + '@typescript-eslint/utils@8.49.0(eslint@9.38.0)(typescript@5.3.2)': dependencies: '@eslint-community/eslint-utils': 4.9.0(eslint@9.38.0) - '@typescript-eslint/scope-manager': 8.46.2 - '@typescript-eslint/types': 8.46.2 - '@typescript-eslint/typescript-estree': 8.46.2(typescript@5.3.2) + '@typescript-eslint/scope-manager': 8.49.0 + '@typescript-eslint/types': 8.49.0 + '@typescript-eslint/typescript-estree': 8.49.0(typescript@5.3.2) eslint: 9.38.0 typescript: 5.3.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/visitor-keys@8.46.2': + '@typescript-eslint/visitor-keys@8.49.0': dependencies: - '@typescript-eslint/types': 8.46.2 + '@typescript-eslint/types': 8.49.0 eslint-visitor-keys: 4.2.1 '@xml-tools/parser@1.0.11': @@ -4209,7 +4243,7 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.4 + debug: 4.4.3 transitivePeerDependencies: - supports-color @@ -4572,6 +4606,10 @@ snapshots: dependencies: ms: 2.1.2 + debug@4.4.3: + dependencies: + ms: 2.1.3 + decimal.js@10.4.3: {} decode-named-character-reference@1.0.2: @@ -4877,9 +4915,9 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-plugin-jest@29.0.1(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2): + eslint-plugin-jest@29.5.0(eslint@9.38.0)(jest@29.7.0(@types/node@20.10.0))(typescript@5.3.2): dependencies: - '@typescript-eslint/utils': 8.46.2(eslint@9.38.0)(typescript@5.3.2) + '@typescript-eslint/utils': 8.49.0(eslint@9.38.0)(typescript@5.3.2) eslint: 9.38.0 optionalDependencies: jest: 29.7.0(@types/node@20.10.0) @@ -4995,14 +5033,6 @@ snapshots: fast-deep-equal@3.1.3: {} - fast-glob@3.3.2: - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.5 - fast-glob@3.3.3: dependencies: '@nodelib/fs.stat': 2.0.5 @@ -5027,6 +5057,10 @@ snapshots: dependencies: bser: 2.1.1 + fdir@6.5.0(picomatch@4.0.3): + optionalDependencies: + picomatch: 4.0.3 + file-entry-cache@8.0.0: dependencies: flat-cache: 4.0.1 @@ -5488,7 +5522,7 @@ snapshots: '@babel/parser': 7.26.2 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 - semver: 7.6.3 + semver: 7.7.3 transitivePeerDependencies: - supports-color @@ -5500,7 +5534,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.3.4 + debug: 4.4.3 istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: @@ -5954,7 +5988,7 @@ snapshots: make-dir@4.0.0: dependencies: - semver: 7.6.3 + semver: 7.7.3 makeerror@1.0.12: dependencies: @@ -6323,6 +6357,8 @@ snapshots: picomatch@2.3.1: {} + picomatch@4.0.3: {} + pirates@4.0.6: {} pkg-dir@4.2.0: @@ -6501,6 +6537,8 @@ snapshots: semver@7.6.3: {} + semver@7.7.3: {} + set-function-length@1.2.2: dependencies: define-data-property: 1.1.4 @@ -6666,6 +6704,11 @@ snapshots: glob: 7.2.3 minimatch: 3.1.2 + tinyglobby@0.2.15: + dependencies: + fdir: 6.5.0(picomatch@4.0.3) + picomatch: 4.0.3 + tmpl@1.0.5: {} to-regex-range@5.0.1: