diff --git a/package.json b/package.json index 6b856015627..8de469e860c 100644 --- a/package.json +++ b/package.json @@ -239,8 +239,8 @@ "file-loader": "^6.1.0", "givens": "^1.3.6", "history": "^5.0.1", - "html-webpack-harddisk-plugin": "^1.0.2", - "html-webpack-plugin": "^4.5.2", + "html-webpack-harddisk-plugin": "^2.0.0", + "html-webpack-plugin": "^5.5.3", "jest": "^29.3.1", "jest-canvas-mock": "^2.4.0", "jest-environment-jsdom": "^29.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6d14303b3d3..46d93694aed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -520,11 +520,11 @@ devDependencies: specifier: ^5.0.1 version: 5.3.0 html-webpack-harddisk-plugin: - specifier: ^1.0.2 - version: 1.0.2(html-webpack-plugin@4.5.2)(webpack@5.88.2) + specifier: ^2.0.0 + version: 2.0.0(html-webpack-plugin@5.5.3)(webpack@5.88.2) html-webpack-plugin: - specifier: ^4.5.2 - version: 4.5.2(webpack@5.88.2) + specifier: ^5.5.3 + version: 5.5.3(webpack@5.88.2) jest: specifier: ^29.3.1 version: 29.3.1(@types/node@18.11.9)(ts-node@10.9.1) @@ -2925,13 +2925,6 @@ packages: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} - /@jridgewell/source-map@0.3.2: - resolution: {integrity: sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==} - dependencies: - '@jridgewell/gen-mapping': 0.3.2 - '@jridgewell/trace-mapping': 0.3.17 - dev: true - /@jridgewell/source-map@0.3.5: resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} dependencies: @@ -5457,6 +5450,10 @@ packages: resolution: {integrity: sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w==} dev: true + /@types/html-minifier-terser@6.1.0: + resolution: {integrity: sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==} + dev: true + /@types/image-blob-reduce@4.1.1: resolution: {integrity: sha512-Oe2EPjW+iZSsXccxZPebqHqXAUaOLir3eQVqPx0ryXeJZdCZx+gYvWBZtqYEcluP6f3bll1m06ahT26bX0+LOg==} dependencies: @@ -6321,7 +6318,7 @@ packages: /acorn-globals@7.0.1: resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} dependencies: - acorn: 8.8.1 + acorn: 8.10.0 acorn-walk: 8.2.0 dev: true @@ -7893,6 +7890,13 @@ packages: source-map: 0.6.1 dev: true + /clean-css@5.3.2: + resolution: {integrity: sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==} + engines: {node: '>= 10.0'} + dependencies: + source-map: 0.6.1 + dev: true + /clean-stack@2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} @@ -8102,6 +8106,11 @@ packages: engines: {node: '>= 10'} dev: false + /commander@8.3.0: + resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} + engines: {node: '>= 12'} + dev: true + /commander@9.4.1: resolution: {integrity: sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw==} engines: {node: ^12.20.0 || >=14} @@ -11467,6 +11476,20 @@ packages: terser: 4.8.1 dev: true + /html-minifier-terser@6.1.0: + resolution: {integrity: sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==} + engines: {node: '>=12'} + hasBin: true + dependencies: + camel-case: 4.1.2 + clean-css: 5.3.2 + commander: 8.3.0 + he: 1.2.0 + param-case: 3.0.4 + relateurl: 0.2.7 + terser: 5.19.1 + dev: true + /html-tags@3.2.0: resolution: {integrity: sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==} engines: {node: '>=8'} @@ -11484,15 +11507,14 @@ packages: resolution: {integrity: sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w==} dev: true - /html-webpack-harddisk-plugin@1.0.2(html-webpack-plugin@4.5.2)(webpack@5.88.2): - resolution: {integrity: sha512-s0F0qAxug9fgztJyWWa8cUlVvgbAD/+J9Dhg22REU637DV9RhrKt0EsFBOXkRuSuwSeYLUtyLcQYpARPBZe51g==} - engines: {node: '>=6.9'} + /html-webpack-harddisk-plugin@2.0.0(html-webpack-plugin@5.5.3)(webpack@5.88.2): + resolution: {integrity: sha512-fWKH72FyaQ5K/j+kYy6LnQsQucSDnsEkghmB6g29TtpJ4sxHYFduEeUV1hfDqyDpCRW+bP7yacjQ+1ikeIDqeg==} + engines: {node: '>=10.13'} peerDependencies: - html-webpack-plugin: ^2.0.0 || ^3.0.0 || ^4.0.0 - webpack: ^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0 + html-webpack-plugin: ^5.0.0 + webpack: ^5.0.0 dependencies: - html-webpack-plugin: 4.5.2(webpack@5.88.2) - mkdirp: 0.5.6 + html-webpack-plugin: 5.5.3(webpack@5.88.2) webpack: 5.88.2(esbuild@0.14.54)(webpack-cli@5.1.4) dev: true @@ -11514,21 +11536,17 @@ packages: webpack: 4.46.0(webpack-cli@5.1.4) dev: true - /html-webpack-plugin@4.5.2(webpack@5.88.2): - resolution: {integrity: sha512-q5oYdzjKUIPQVjOosjgvCHQOv9Ett9CYYHlgvJeXG0qQvdSojnBq4vAdQBwn1+yGveAwHCoe/rMR86ozX3+c2A==} - engines: {node: '>=6.9'} + /html-webpack-plugin@5.5.3(webpack@5.88.2): + resolution: {integrity: sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg==} + engines: {node: '>=10.13.0'} peerDependencies: - webpack: ^4.0.0 || ^5.0.0 + webpack: ^5.20.0 dependencies: - '@types/html-minifier-terser': 5.1.2 - '@types/tapable': 1.0.8 - '@types/webpack': 4.41.33 - html-minifier-terser: 5.1.1 - loader-utils: 1.4.0 + '@types/html-minifier-terser': 6.1.0 + html-minifier-terser: 6.1.0 lodash: 4.17.21 - pretty-error: 2.1.2 - tapable: 1.1.3 - util.promisify: 1.0.0 + pretty-error: 4.0.0 + tapable: 2.2.1 webpack: 5.88.2(esbuild@0.14.54)(webpack-cli@5.1.4) dev: true @@ -15895,6 +15913,13 @@ packages: renderkid: 2.0.7 dev: true + /pretty-error@4.0.0: + resolution: {integrity: sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==} + dependencies: + lodash: 4.17.21 + renderkid: 3.0.0 + dev: true + /pretty-format@27.5.1: resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -17494,6 +17519,16 @@ packages: strip-ansi: 3.0.1 dev: true + /renderkid@3.0.0: + resolution: {integrity: sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg==} + dependencies: + css-select: 4.3.0 + dom-converter: 0.2.0 + htmlparser2: 6.1.0 + lodash: 4.17.21 + strip-ansi: 6.0.1 + dev: true + /repeat-element@1.1.4: resolution: {integrity: sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==} engines: {node: '>=0.10.0'} @@ -18825,7 +18860,7 @@ packages: schema-utils: 3.1.1 serialize-javascript: 5.0.1 source-map: 0.6.1 - terser: 5.15.1 + terser: 5.19.1 webpack: 4.46.0(webpack-cli@5.1.4) webpack-sources: 1.4.3 transitivePeerDependencies: @@ -18862,23 +18897,12 @@ packages: engines: {node: '>=6.0.0'} hasBin: true dependencies: - acorn: 8.8.1 + acorn: 8.10.0 commander: 2.20.3 source-map: 0.6.1 source-map-support: 0.5.21 dev: true - /terser@5.15.1: - resolution: {integrity: sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==} - engines: {node: '>=10'} - hasBin: true - dependencies: - '@jridgewell/source-map': 0.3.2 - acorn: 8.8.1 - commander: 2.20.3 - source-map-support: 0.5.21 - dev: true - /terser@5.19.1: resolution: {integrity: sha512-27hxBUVdV6GoNg1pKQ7Z5cbR6V9txPVyBA+FQw3BaZ1Wuzvztce5p156DaP0NVZNrMZZ+6iG9Syf7WgMNKDg2Q==} engines: {node: '>=10'}