From f54bf456c979206d478f86307e47d5b9c94f3122 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 28 Jan 2024 20:26:57 -0500 Subject: [PATCH] Some fixes. --- .husky/pre-commit | 3 -- package.json | 66 ++++++++++++------------ pnpm-lock.yaml | 124 +++++++++++++++++++++------------------------- 3 files changed, 89 insertions(+), 104 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index fab6428a..cb2c84d5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - pnpm lint-staged diff --git a/package.json b/package.json index b5131435..e03ef7c2 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "postinstall": "husky install", "prebuild:dev": "pnpm clean && node generate_translations.js", "prebuild:prod": "pnpm clean && node generate_translations.js", - "prepare": "husky install", + "prepare": "husky", "themes:build": "sass src/assets/css/themes/:src/assets/css/themes", "themes:watch": "sass --watch src/assets/css/themes/:src/assets/css/themes", "translations:generate": "node generate_translations.js", @@ -26,32 +26,32 @@ "node": ">=8.9.0" }, "dependencies": { - "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-proposal-decorators": "^7.23.7", - "@babel/plugin-transform-runtime": "^7.23.7", + "@babel/plugin-proposal-decorators": "^7.23.9", + "@babel/plugin-transform-class-properties": "^7.23.3", + "@babel/plugin-transform-runtime": "^7.23.9", "@babel/plugin-transform-typescript": "^7.23.6", - "@babel/preset-env": "^7.23.8", - "@babel/preset-typescript": "^7.21.5", - "@babel/runtime": "^7.23.8", - "@emoji-mart/data": "^1.1.0", - "@shortcm/qr-image": "^9.0.2", + "@babel/preset-env": "^7.23.9", + "@babel/preset-typescript": "^7.23.3", + "@babel/runtime": "^7.23.9", + "@emoji-mart/data": "^1.1.2", + "@shortcm/qr-image": "^9.0.4", "autosize": "^6.0.1", "babel-loader": "^9.1.3", "babel-plugin-inferno": "^6.7.1", - "bootstrap": "^5.3.1", + "bootstrap": "^5.3.2", "check-password-strength": "^2.0.7", "classnames": "^2.5.1", "clean-webpack-plugin": "^4.0.0", "cookie": "^0.6.0", "copy-webpack-plugin": "^12.0.2", "css-loader": "^6.9.1", - "date-fns": "^3.2.0", - "emoji-mart": "^5.4.0", + "date-fns": "^3.3.1", + "emoji-mart": "^5.5.2", "emoji-short-name": "^2.0.0", "express": "~4.18.2", "history": "^5.3.0", "html-to-text": "^9.0.5", - "i18next": "^23.7.16", + "i18next": "^23.8.0", "inferno": "^8.2.3", "inferno-create-element": "^8.2.3", "inferno-helmet": "^5.2.1", @@ -85,46 +85,46 @@ "tippy.js": "^6.3.7", "toastify-js": "^1.12.0", "tributejs": "^5.1.3", - "webpack": "^5.89.0", + "webpack": "^5.90.0", "webpack-cli": "^5.1.4", "webpack-node-externals": "^3.0.0" }, "devDependencies": { - "@babel/core": "^7.23.7", - "@types/autosize": "^4.0.0", - "@types/bootstrap": "^5.2.6", + "@babel/core": "^7.23.9", + "@types/autosize": "^4.0.3", + "@types/bootstrap": "^5.2.10", "@types/cookie": "^0.6.0", - "@types/express": "^4.17.17", - "@types/html-to-text": "^9.0.0", - "@types/lodash.isequal": "^4.5.6", + "@types/express": "^4.17.21", + "@types/html-to-text": "^9.0.4", + "@types/lodash.isequal": "^4.5.8", "@types/markdown-it": "^13.0.7", - "@types/markdown-it-container": "^2.0.6", - "@types/node": "^20.11.5", - "@types/path-browserify": "^1.0.0", - "@types/sanitize-html": "^2.9.0", - "@types/serialize-javascript": "^5.0.1", - "@types/toastify-js": "^1.12.0", - "@typescript-eslint/eslint-plugin": "^6.19.0", - "@typescript-eslint/parser": "^6.19.0", + "@types/markdown-it-container": "^2.0.9", + "@types/node": "^20.11.10", + "@types/path-browserify": "^1.0.2", + "@types/sanitize-html": "^2.9.5", + "@types/serialize-javascript": "^5.0.4", + "@types/toastify-js": "^1.12.3", + "@typescript-eslint/eslint-plugin": "^6.19.1", + "@typescript-eslint/parser": "^6.19.1", "eslint": "^8.56.0", "eslint-plugin-inferno": "^7.33.3", - "eslint-plugin-jsx-a11y": "^6.7.1", + "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-prettier": "^5.1.3", - "husky": "^8.0.3", + "husky": "^9.0.6", "import-sort-style-module": "^6.0.0", "lint-staged": "^15.2.0", "prettier": "^3.2.4", "prettier-plugin-import-sort": "^0.0.7", - "prettier-plugin-organize-imports": "^3.2.3", + "prettier-plugin-organize-imports": "^3.2.4", "prettier-plugin-packagejson": "^2.4.9", "qs": "^6.11.2", - "rimraf": "^5.0.0", + "rimraf": "^5.0.5", "sortpack": "^2.4.0", "style-loader": "^3.3.4", "terser": "^5.27.0", "typescript": "^5.3.3", "typescript-language-server": "^4.3.1", - "webpack-bundle-analyzer": "^4.9.0", + "webpack-bundle-analyzer": "^4.10.1", "webpack-dev-server": "4.15.1" }, "lint-staged": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 65925742..062be815 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,32 +5,32 @@ settings: excludeLinksFromLockfile: false dependencies: - '@babel/plugin-proposal-class-properties': - specifier: ^7.18.6 - version: 7.18.6(@babel/core@7.23.9) '@babel/plugin-proposal-decorators': - specifier: ^7.23.7 + specifier: ^7.23.9 version: 7.23.9(@babel/core@7.23.9) + '@babel/plugin-transform-class-properties': + specifier: ^7.23.3 + version: 7.23.3(@babel/core@7.23.9) '@babel/plugin-transform-runtime': - specifier: ^7.23.7 + specifier: ^7.23.9 version: 7.23.9(@babel/core@7.23.9) '@babel/plugin-transform-typescript': specifier: ^7.23.6 version: 7.23.6(@babel/core@7.23.9) '@babel/preset-env': - specifier: ^7.23.8 + specifier: ^7.23.9 version: 7.23.9(@babel/core@7.23.9) '@babel/preset-typescript': - specifier: ^7.21.5 + specifier: ^7.23.3 version: 7.23.3(@babel/core@7.23.9) '@babel/runtime': - specifier: ^7.23.8 + specifier: ^7.23.9 version: 7.23.9 '@emoji-mart/data': - specifier: ^1.1.0 + specifier: ^1.1.2 version: 1.1.2 '@shortcm/qr-image': - specifier: ^9.0.2 + specifier: ^9.0.4 version: 9.0.4 autosize: specifier: ^6.0.1 @@ -42,7 +42,7 @@ dependencies: specifier: ^6.7.1 version: 6.7.1(@babel/core@7.23.9) bootstrap: - specifier: ^5.3.1 + specifier: ^5.3.2 version: 5.3.2(@popperjs/core@2.11.8) check-password-strength: specifier: ^2.0.7 @@ -63,10 +63,10 @@ dependencies: specifier: ^6.9.1 version: 6.9.1(webpack@5.90.0) date-fns: - specifier: ^3.2.0 + specifier: ^3.3.1 version: 3.3.1 emoji-mart: - specifier: ^5.4.0 + specifier: ^5.5.2 version: 5.5.2 emoji-short-name: specifier: ^2.0.0 @@ -81,7 +81,7 @@ dependencies: specifier: ^9.0.5 version: 9.0.5 i18next: - specifier: ^23.7.16 + specifier: ^23.8.0 version: 23.8.0 inferno: specifier: ^8.2.3 @@ -183,7 +183,7 @@ dependencies: specifier: ^5.1.3 version: 5.1.3 webpack: - specifier: ^5.89.0 + specifier: ^5.90.0 version: 5.90.0(webpack-cli@5.1.4) webpack-cli: specifier: ^5.1.4 @@ -194,52 +194,52 @@ dependencies: devDependencies: '@babel/core': - specifier: ^7.23.7 + specifier: ^7.23.9 version: 7.23.9 '@types/autosize': - specifier: ^4.0.0 + specifier: ^4.0.3 version: 4.0.3 '@types/bootstrap': - specifier: ^5.2.6 + specifier: ^5.2.10 version: 5.2.10 '@types/cookie': specifier: ^0.6.0 version: 0.6.0 '@types/express': - specifier: ^4.17.17 + specifier: ^4.17.21 version: 4.17.21 '@types/html-to-text': - specifier: ^9.0.0 + specifier: ^9.0.4 version: 9.0.4 '@types/lodash.isequal': - specifier: ^4.5.6 + specifier: ^4.5.8 version: 4.5.8 '@types/markdown-it': specifier: ^13.0.7 version: 13.0.7 '@types/markdown-it-container': - specifier: ^2.0.6 + specifier: ^2.0.9 version: 2.0.9 '@types/node': - specifier: ^20.11.5 - version: 20.11.9 + specifier: ^20.11.10 + version: 20.11.10 '@types/path-browserify': - specifier: ^1.0.0 + specifier: ^1.0.2 version: 1.0.2 '@types/sanitize-html': - specifier: ^2.9.0 + specifier: ^2.9.5 version: 2.9.5 '@types/serialize-javascript': - specifier: ^5.0.1 + specifier: ^5.0.4 version: 5.0.4 '@types/toastify-js': - specifier: ^1.12.0 + specifier: ^1.12.3 version: 1.12.3 '@typescript-eslint/eslint-plugin': - specifier: ^6.19.0 + specifier: ^6.19.1 version: 6.19.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0)(typescript@5.3.3) '@typescript-eslint/parser': - specifier: ^6.19.0 + specifier: ^6.19.1 version: 6.19.1(eslint@8.56.0)(typescript@5.3.3) eslint: specifier: ^8.56.0 @@ -248,14 +248,14 @@ devDependencies: specifier: ^7.33.3 version: 7.33.3(eslint@8.56.0) eslint-plugin-jsx-a11y: - specifier: ^6.7.1 + specifier: ^6.8.0 version: 6.8.0(eslint@8.56.0) eslint-plugin-prettier: specifier: ^5.1.3 version: 5.1.3(eslint@8.56.0)(prettier@3.2.4) husky: - specifier: ^8.0.3 - version: 8.0.3 + specifier: ^9.0.6 + version: 9.0.6 import-sort-style-module: specifier: ^6.0.0 version: 6.0.0 @@ -269,7 +269,7 @@ devDependencies: specifier: ^0.0.7 version: 0.0.7(prettier@3.2.4) prettier-plugin-organize-imports: - specifier: ^3.2.3 + specifier: ^3.2.4 version: 3.2.4(prettier@3.2.4)(typescript@5.3.3) prettier-plugin-packagejson: specifier: ^2.4.9 @@ -278,7 +278,7 @@ devDependencies: specifier: ^6.11.2 version: 6.11.2 rimraf: - specifier: ^5.0.0 + specifier: ^5.0.5 version: 5.0.5 sortpack: specifier: ^2.4.0 @@ -296,7 +296,7 @@ devDependencies: specifier: ^4.3.1 version: 4.3.1 webpack-bundle-analyzer: - specifier: ^4.9.0 + specifier: ^4.10.1 version: 4.10.1 webpack-dev-server: specifier: 4.15.1 @@ -616,18 +616,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: false - /@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.23.9): - resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} - engines: {node: '>=6.9.0'} - deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - dev: false - /@babel/plugin-proposal-decorators@7.23.9(@babel/core@7.23.9): resolution: {integrity: sha512-hJhBCb0+NnTWybvWq2WpbCYDOcflSbx0t+BYP65e5R9GVnukiDTi+on5bFkk4p7QGuv190H6KfNiV9Knf/3cZA==} engines: {node: '>=6.9.0'} @@ -1820,12 +1808,12 @@ packages: resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} dependencies: '@types/connect': 3.4.38 - '@types/node': 20.11.9 + '@types/node': 20.11.10 /@types/bonjour@3.5.13: resolution: {integrity: sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 /@types/bootstrap@5.2.10: resolution: {integrity: sha512-F2X+cd6551tep0MvVZ6nM8v7XgGN/twpdNDjqS1TUM7YFNEtQYWk+dKAnH+T1gr6QgCoGMPl487xw/9hXooa2g==} @@ -1837,12 +1825,12 @@ packages: resolution: {integrity: sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==} dependencies: '@types/express-serve-static-core': 4.17.42 - '@types/node': 20.11.9 + '@types/node': 20.11.10 /@types/connect@3.4.38: resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 /@types/cookie@0.6.0: resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} @@ -1870,7 +1858,7 @@ packages: /@types/express-serve-static-core@4.17.42: resolution: {integrity: sha512-ckM3jm2bf/MfB3+spLPWYPUH573plBFwpOhqQ2WottxYV85j1HQFlxmnTq57X1yHY9awZPig06hL/cLMgNWHIQ==} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 '@types/qs': 6.9.11 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -1887,7 +1875,7 @@ packages: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.11.9 + '@types/node': 20.11.10 dev: false /@types/html-to-text@9.0.4: @@ -1900,7 +1888,7 @@ packages: /@types/http-proxy@1.17.14: resolution: {integrity: sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 /@types/json-schema@7.0.15: resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -1949,10 +1937,10 @@ packages: /@types/node-forge@1.3.11: resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 - /@types/node@20.11.9: - resolution: {integrity: sha512-CQXNuMoS/VcoAMISe5pm4JnEd1Br5jildbQEToEMQvutmv+EaQr90ry9raiudgpyDuqFiV9e4rnjSfLNq12M5w==} + /@types/node@20.11.10: + resolution: {integrity: sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==} dependencies: undici-types: 5.26.5 @@ -1969,7 +1957,7 @@ packages: /@types/resolve@1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 dev: false /@types/retry@0.12.0: @@ -1989,7 +1977,7 @@ packages: resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} dependencies: '@types/mime': 1.3.5 - '@types/node': 20.11.9 + '@types/node': 20.11.10 /@types/serialize-javascript@5.0.4: resolution: {integrity: sha512-Z2R7UKFuNWCP8eoa2o9e5rkD3hmWxx/1L0CYz0k2BZzGh0PhEVMp9kfGiqEml/0IglwNERXZ2hwNzIrSz/KHTA==} @@ -2005,12 +1993,12 @@ packages: dependencies: '@types/http-errors': 2.0.4 '@types/mime': 3.0.4 - '@types/node': 20.11.9 + '@types/node': 20.11.10 /@types/sockjs@0.3.36: resolution: {integrity: sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 /@types/toastify-js@1.12.3: resolution: {integrity: sha512-9RjLlbAHMSaae/KZNHGv19VG4gcLIm3YjvacCXBtfMfYn26h76YP5oxXI8k26q4iKXCB9LNfv18lsoS0JnFPTg==} @@ -2023,7 +2011,7 @@ packages: /@types/ws@8.5.10: resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 /@typescript-eslint/eslint-plugin@6.19.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0)(typescript@5.3.3): resolution: {integrity: sha512-roQScUGFruWod9CEyoV5KlCYrubC/fvG8/1zXuT0WTcxX87GnMMmnksMwSg99lo1xiKrBzw2icsJPMAw1OtKxg==} @@ -4216,9 +4204,9 @@ packages: engines: {node: '>=16.17.0'} dev: true - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + /husky@9.0.6: + resolution: {integrity: sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==} + engines: {node: '>=18'} hasBin: true dev: true @@ -4770,7 +4758,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 merge-stream: 2.0.0 supports-color: 7.2.0 dev: false @@ -4779,7 +4767,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.11.9 + '@types/node': 20.11.10 merge-stream: 2.0.0 supports-color: 8.1.1