diff --git a/package.json b/package.json index ac9c5bbd..21abda6f 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "homepage": "https://docs.nexmoe.com/", "devDependencies": { "cz-conventional-changelog": "3.3.0", - "eslint": "8.39.0", + "eslint": "8.43.0", "eslint-config-hexo": "^5.0.0", "eslint-plugin-json": "^3.1.0", "eslint-plugin-react": "^7.32.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 119cbbf2..11426140 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + dependencies: '@nexmoe/hexo-renderer-inferno': specifier: ^0.2.0 @@ -22,17 +26,17 @@ devDependencies: specifier: 3.3.0 version: registry.npmmirror.com/cz-conventional-changelog@3.3.0 eslint: - specifier: 8.39.0 - version: 8.39.0 + specifier: 8.43.0 + version: 8.43.0 eslint-config-hexo: specifier: ^5.0.0 - version: registry.npmmirror.com/eslint-config-hexo@5.0.0(eslint@8.39.0)(typescript@4.9.5) + version: registry.npmmirror.com/eslint-config-hexo@5.0.0(eslint@8.43.0)(typescript@4.9.5) eslint-plugin-json: specifier: ^3.1.0 version: registry.npmmirror.com/eslint-plugin-json@3.1.0 eslint-plugin-react: specifier: ^7.32.2 - version: registry.npmmirror.com/eslint-plugin-react@7.32.2(eslint@8.39.0) + version: registry.npmmirror.com/eslint-plugin-react@7.32.2(eslint@8.43.0) packages: @@ -61,14 +65,14 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.3.0(eslint@8.39.0): + /@eslint-community/eslint-utils@4.3.0(eslint@8.43.0): resolution: {integrity: sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.39.0 - eslint-visitor-keys: 3.4.0 + eslint: 8.43.0 + eslint-visitor-keys: 3.4.1 dev: true /@eslint-community/regexpp@4.4.0: @@ -76,13 +80,13 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true - /@eslint/eslintrc@2.0.2: - resolution: {integrity: sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==} + /@eslint/eslintrc@2.0.3: + resolution: {integrity: sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 debug: 4.3.4 - espree: 9.5.1 + espree: 9.5.2 globals: 13.20.0 ignore: 5.2.4 import-fresh: 3.3.0 @@ -93,13 +97,13 @@ packages: - supports-color dev: true - /@eslint/js@8.39.0: - resolution: {integrity: sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==} + /@eslint/js@8.43.0: + resolution: {integrity: sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@humanwhocodes/config-array@0.11.8: - resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} + /@humanwhocodes/config-array@0.11.10: + resolution: {integrity: sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==} engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 @@ -380,21 +384,21 @@ packages: engines: {node: '>=4'} dev: true - /eslint-visitor-keys@3.4.0: - resolution: {integrity: sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==} + /eslint-visitor-keys@3.4.1: + resolution: {integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint@8.39.0: - resolution: {integrity: sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==} + /eslint@8.43.0: + resolution: {integrity: sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.3.0(eslint@8.39.0) + '@eslint-community/eslint-utils': 4.3.0(eslint@8.43.0) '@eslint-community/regexpp': 4.4.0 - '@eslint/eslintrc': 2.0.2 - '@eslint/js': 8.39.0 - '@humanwhocodes/config-array': 0.11.8 + '@eslint/eslintrc': 2.0.3 + '@eslint/js': 8.43.0 + '@humanwhocodes/config-array': 0.11.10 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 ajv: 6.12.6 @@ -404,8 +408,8 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.0 - eslint-visitor-keys: 3.4.0 - espree: 9.5.1 + eslint-visitor-keys: 3.4.1 + espree: 9.5.2 esquery: 1.5.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 @@ -413,13 +417,12 @@ packages: find-up: 5.0.0 glob-parent: 6.0.2 globals: 13.20.0 - grapheme-splitter: 1.0.4 + graphemer: 1.4.0 ignore: 5.2.4 import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 - js-sdsl: 4.3.0 js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 @@ -434,13 +437,13 @@ packages: - supports-color dev: true - /espree@9.5.1: - resolution: {integrity: sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==} + /espree@9.5.2: + resolution: {integrity: sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: acorn: 8.8.2 acorn-jsx: 5.3.2(acorn@8.8.2) - eslint-visitor-keys: 3.4.0 + eslint-visitor-keys: 3.4.1 dev: true /esquery@1.5.0: @@ -576,8 +579,8 @@ packages: dev: true optional: true - /grapheme-splitter@1.0.4: - resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} + /graphemer@1.4.0: + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} dev: true /has-flag@3.0.0: @@ -685,10 +688,6 @@ packages: /isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - /js-sdsl@4.3.0: - resolution: {integrity: sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==} - dev: true - /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -2647,7 +2646,7 @@ packages: version: 7.3.13 dev: true - registry.npmmirror.com/@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@5.55.0)(eslint@8.39.0)(typescript@4.9.5): + registry.npmmirror.com/@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@5.55.0)(eslint@8.43.0)(typescript@4.9.5): resolution: {integrity: sha512-IZGc50rtbjk+xp5YQoJvmMPmJEYoC53SiKPXyqWfv15XoD2Y5Kju6zN0DwlmaGJp1Iw33JsWJcQ7nw0lGCGjVg==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.55.0.tgz} id: registry.npmmirror.com/@typescript-eslint/eslint-plugin/5.55.0 name: '@typescript-eslint/eslint-plugin' @@ -2662,12 +2661,12 @@ packages: optional: true dependencies: '@eslint-community/regexpp': registry.npmmirror.com/@eslint-community/regexpp@4.4.0 - '@typescript-eslint/parser': registry.npmmirror.com/@typescript-eslint/parser@5.55.0(eslint@8.39.0)(typescript@4.9.5) + '@typescript-eslint/parser': registry.npmmirror.com/@typescript-eslint/parser@5.55.0(eslint@8.43.0)(typescript@4.9.5) '@typescript-eslint/scope-manager': registry.npmmirror.com/@typescript-eslint/scope-manager@5.55.0 - '@typescript-eslint/type-utils': registry.npmmirror.com/@typescript-eslint/type-utils@5.55.0(eslint@8.39.0)(typescript@4.9.5) - '@typescript-eslint/utils': registry.npmmirror.com/@typescript-eslint/utils@5.55.0(eslint@8.39.0)(typescript@4.9.5) + '@typescript-eslint/type-utils': registry.npmmirror.com/@typescript-eslint/type-utils@5.55.0(eslint@8.43.0)(typescript@4.9.5) + '@typescript-eslint/utils': registry.npmmirror.com/@typescript-eslint/utils@5.55.0(eslint@8.43.0)(typescript@4.9.5) debug: registry.npmmirror.com/debug@4.3.4 - eslint: 8.39.0 + eslint: 8.43.0 grapheme-splitter: registry.npmmirror.com/grapheme-splitter@1.0.4 ignore: registry.npmmirror.com/ignore@5.2.4 natural-compare-lite: registry.npmmirror.com/natural-compare-lite@1.4.0 @@ -2678,7 +2677,7 @@ packages: - supports-color dev: true - registry.npmmirror.com/@typescript-eslint/parser@5.55.0(eslint@8.39.0)(typescript@4.9.5): + registry.npmmirror.com/@typescript-eslint/parser@5.55.0(eslint@8.43.0)(typescript@4.9.5): resolution: {integrity: sha512-ppvmeF7hvdhUUZWSd2EEWfzcFkjJzgNQzVST22nzg958CR+sphy8A6K7LXQZd6V75m1VKjp+J4g/PCEfSCmzhw==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.55.0.tgz} id: registry.npmmirror.com/@typescript-eslint/parser/5.55.0 name: '@typescript-eslint/parser' @@ -2695,7 +2694,7 @@ packages: '@typescript-eslint/types': registry.npmmirror.com/@typescript-eslint/types@5.55.0 '@typescript-eslint/typescript-estree': registry.npmmirror.com/@typescript-eslint/typescript-estree@5.55.0(typescript@4.9.5) debug: registry.npmmirror.com/debug@4.3.4 - eslint: 8.39.0 + eslint: 8.43.0 typescript: 4.9.5 transitivePeerDependencies: - supports-color @@ -2711,7 +2710,7 @@ packages: '@typescript-eslint/visitor-keys': registry.npmmirror.com/@typescript-eslint/visitor-keys@5.55.0 dev: true - registry.npmmirror.com/@typescript-eslint/type-utils@5.55.0(eslint@8.39.0)(typescript@4.9.5): + registry.npmmirror.com/@typescript-eslint/type-utils@5.55.0(eslint@8.43.0)(typescript@4.9.5): resolution: {integrity: sha512-ObqxBgHIXj8rBNm0yh8oORFrICcJuZPZTqtAFh0oZQyr5DnAHZWfyw54RwpEEH+fD8suZaI0YxvWu5tYE/WswA==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-5.55.0.tgz} id: registry.npmmirror.com/@typescript-eslint/type-utils/5.55.0 name: '@typescript-eslint/type-utils' @@ -2725,9 +2724,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': registry.npmmirror.com/@typescript-eslint/typescript-estree@5.55.0(typescript@4.9.5) - '@typescript-eslint/utils': registry.npmmirror.com/@typescript-eslint/utils@5.55.0(eslint@8.39.0)(typescript@4.9.5) + '@typescript-eslint/utils': registry.npmmirror.com/@typescript-eslint/utils@5.55.0(eslint@8.43.0)(typescript@4.9.5) debug: 4.3.4 - eslint: 8.39.0 + eslint: 8.43.0 tsutils: registry.npmmirror.com/tsutils@3.21.0(typescript@4.9.5) typescript: 4.9.5 transitivePeerDependencies: @@ -2765,7 +2764,7 @@ packages: - supports-color dev: true - registry.npmmirror.com/@typescript-eslint/utils@5.55.0(eslint@8.39.0)(typescript@4.9.5): + registry.npmmirror.com/@typescript-eslint/utils@5.55.0(eslint@8.43.0)(typescript@4.9.5): resolution: {integrity: sha512-FkW+i2pQKcpDC3AY6DU54yl8Lfl14FVGYDgBTyGKB75cCwV3KpkpTMFi9d9j2WAJ4271LR2HeC5SEWF/CZmmfw==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-5.55.0.tgz} id: registry.npmmirror.com/@typescript-eslint/utils/5.55.0 name: '@typescript-eslint/utils' @@ -2774,13 +2773,13 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.3.0(eslint@8.39.0) + '@eslint-community/eslint-utils': 4.3.0(eslint@8.43.0) '@types/json-schema': registry.npmmirror.com/@types/json-schema@7.0.11 '@types/semver': registry.npmmirror.com/@types/semver@7.3.13 '@typescript-eslint/scope-manager': registry.npmmirror.com/@typescript-eslint/scope-manager@5.55.0 '@typescript-eslint/types': registry.npmmirror.com/@typescript-eslint/types@5.55.0 '@typescript-eslint/typescript-estree': registry.npmmirror.com/@typescript-eslint/typescript-estree@5.55.0(typescript@4.9.5) - eslint: 8.39.0 + eslint: 8.43.0 eslint-scope: 5.1.1 semver: registry.npmmirror.com/semver@7.3.8 transitivePeerDependencies: @@ -2795,7 +2794,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: '@typescript-eslint/types': registry.npmmirror.com/@typescript-eslint/types@5.55.0 - eslint-visitor-keys: 3.4.0 + eslint-visitor-keys: 3.4.1 dev: true registry.npmmirror.com/a-sync-waterfall@1.0.1: @@ -3486,7 +3485,7 @@ packages: engines: {node: '>=6'} dev: false - registry.npmmirror.com/eslint-config-hexo@5.0.0(eslint@8.39.0)(typescript@4.9.5): + registry.npmmirror.com/eslint-config-hexo@5.0.0(eslint@8.43.0)(typescript@4.9.5): resolution: {integrity: sha512-fSfgurmn11lNUtaw+Bbr5LgfFP5rS4BtDYWGWgkhAbWKORIwKM+kMxNxa+iy/fY3LJICM3T3i9Jrhjl7qgcCLg==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/eslint-config-hexo/-/eslint-config-hexo-5.0.0.tgz} id: registry.npmmirror.com/eslint-config-hexo/5.0.0 name: eslint-config-hexo @@ -3495,16 +3494,16 @@ packages: peerDependencies: eslint: '>= 8.1.0' dependencies: - '@typescript-eslint/eslint-plugin': registry.npmmirror.com/@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@5.55.0)(eslint@8.39.0)(typescript@4.9.5) - '@typescript-eslint/parser': registry.npmmirror.com/@typescript-eslint/parser@5.55.0(eslint@8.39.0)(typescript@4.9.5) - eslint: 8.39.0 - eslint-plugin-node: registry.npmmirror.com/eslint-plugin-node@11.1.0(eslint@8.39.0) + '@typescript-eslint/eslint-plugin': registry.npmmirror.com/@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@5.55.0)(eslint@8.43.0)(typescript@4.9.5) + '@typescript-eslint/parser': registry.npmmirror.com/@typescript-eslint/parser@5.55.0(eslint@8.43.0)(typescript@4.9.5) + eslint: 8.43.0 + eslint-plugin-node: registry.npmmirror.com/eslint-plugin-node@11.1.0(eslint@8.43.0) transitivePeerDependencies: - supports-color - typescript dev: true - registry.npmmirror.com/eslint-plugin-es@3.0.1(eslint@8.39.0): + registry.npmmirror.com/eslint-plugin-es@3.0.1(eslint@8.43.0): resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz} id: registry.npmmirror.com/eslint-plugin-es/3.0.1 name: eslint-plugin-es @@ -3513,7 +3512,7 @@ packages: peerDependencies: eslint: '>=4.19.1' dependencies: - eslint: 8.39.0 + eslint: 8.43.0 eslint-utils: registry.npmmirror.com/eslint-utils@2.1.0 regexpp: registry.npmmirror.com/regexpp@3.2.0 dev: true @@ -3528,7 +3527,7 @@ packages: vscode-json-languageservice: registry.npmmirror.com/vscode-json-languageservice@4.2.1 dev: true - registry.npmmirror.com/eslint-plugin-node@11.1.0(eslint@8.39.0): + registry.npmmirror.com/eslint-plugin-node@11.1.0(eslint@8.43.0): resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz} id: registry.npmmirror.com/eslint-plugin-node/11.1.0 name: eslint-plugin-node @@ -3537,8 +3536,8 @@ packages: peerDependencies: eslint: '>=5.16.0' dependencies: - eslint: 8.39.0 - eslint-plugin-es: registry.npmmirror.com/eslint-plugin-es@3.0.1(eslint@8.39.0) + eslint: 8.43.0 + eslint-plugin-es: registry.npmmirror.com/eslint-plugin-es@3.0.1(eslint@8.43.0) eslint-utils: registry.npmmirror.com/eslint-utils@2.1.0 ignore: registry.npmmirror.com/ignore@5.2.4 minimatch: registry.npmmirror.com/minimatch@3.1.2 @@ -3546,7 +3545,7 @@ packages: semver: registry.npmmirror.com/semver@6.3.0 dev: true - registry.npmmirror.com/eslint-plugin-react@7.32.2(eslint@8.39.0): + registry.npmmirror.com/eslint-plugin-react@7.32.2(eslint@8.43.0): resolution: {integrity: sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==, registry: https://registry.npmjs.org/, tarball: https://registry.npmmirror.com/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz} id: registry.npmmirror.com/eslint-plugin-react/7.32.2 name: eslint-plugin-react @@ -3559,7 +3558,7 @@ packages: array.prototype.flatmap: registry.npmmirror.com/array.prototype.flatmap@1.3.1 array.prototype.tosorted: registry.npmmirror.com/array.prototype.tosorted@1.1.1 doctrine: registry.npmmirror.com/doctrine@2.1.0 - eslint: 8.39.0 + eslint: 8.43.0 estraverse: registry.npmmirror.com/estraverse@5.3.0 jsx-ast-utils: registry.npmmirror.com/jsx-ast-utils@3.3.3 minimatch: registry.npmmirror.com/minimatch@3.1.2