From 8fd81deccab2c692d9c6b9f378e810335deef7cf Mon Sep 17 00:00:00 2001 From: Fechin Date: Wed, 18 Jun 2025 22:47:16 +0800 Subject: [PATCH] feat: fix code highlighting and upgrade dependencies - Fix markdown-it-highlightjs configuration for Hexo 7.0+ - Create custom highlight.js instance to handle unknown languages gracefully - Eliminate 'Could not find language' warning messages - Upgrade ESLint to v9 with flat config format - Update Fuse.js from 6.4.6 to 7.1.0 - Update multiple dependencies to latest versions Technical changes: - Set syntax_highlighter to empty in _config.yml - Add langPrefix: 'hljs language-' configuration - Migrate ESLint to eslint.config.js (flat config) - Update Service Worker for new Fuse.js version --- .eslintignore | 13 - .eslintrc.js | 52 -- _config.yml | 2 + eslint.config.js | 65 ++ package.json | 64 +- pnpm-lock.yaml | 879 +++++++++++++------------- source/_posts/chatgpt.md | 30 +- source/_posts/fastapi.md | 27 +- source/_posts/flask.md | 42 +- source/_posts/htmx.md | 81 +-- source/_posts/matplotlib.md | 30 +- source/_posts/python.md | 49 +- source/_posts/ssh.md | 27 +- source/sw.js | 16 +- themes/coo/scripts/markdown_plugin.js | 126 +++- themes/coo/source/js/fuse_6.4.6.js | 9 - themes/coo/source/js/fuse_7.1.0.js | 9 + themes/coo/source/js/main.js | 4 +- 18 files changed, 756 insertions(+), 769 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.js create mode 100644 eslint.config.js delete mode 100644 themes/coo/source/js/fuse_6.4.6.js create mode 100644 themes/coo/source/js/fuse_7.1.0.js diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 48cad8b..0000000 --- a/.eslintignore +++ /dev/null @@ -1,13 +0,0 @@ -node_modules/ -public/ -themes/coo/source/js/fuse_6.4.6.js -themes/coo/scripts/ -*.min.js -gulpfile.js -.eslintrc.js -.prettierrc.js -.stylelintrc.js -.commitlintrc.js -.lintstagedrc.js -postcss.config.js -tailwind.config.js diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index add2514..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,52 +0,0 @@ -module.exports = { - env: { - browser: true, - es2022: true, - node: true - }, - extends: ['eslint:recommended', 'prettier'], - parserOptions: { - ecmaVersion: 'latest', - sourceType: 'module' - }, - rules: { - // Error level rules - 'no-console': 'warn', - 'no-debugger': 'error', - 'no-unused-vars': [ - 'error', - { - argsIgnorePattern: '^_', - varsIgnorePattern: '^_' - } - ], - - // ES6+ best practices - 'prefer-const': 'error', - 'no-var': 'error', - 'object-shorthand': 'error', - 'prefer-template': 'error', - 'prefer-arrow-callback': 'error', - - // Best practices - eqeqeq: ['error', 'always'], - curly: ['error', 'all'], - 'no-eval': 'error', - 'no-implied-eval': 'error', - 'no-new-func': 'error', - 'no-script-url': 'error', - - // Function related - 'func-style': ['error', 'declaration', { allowArrowFunctions: true }], - 'no-loop-func': 'error', - - // Objects and arrays - 'dot-notation': 'error' - }, - - globals: { - hexo: 'readonly', - Utils: 'readonly', - Fuse: 'readonly' - } -}; diff --git a/_config.yml b/_config.yml index 5796c3c..cac05b3 100644 --- a/_config.yml +++ b/_config.yml @@ -45,6 +45,7 @@ render_drafts: false post_asset_folder: false relative_link: false future: true +syntax_highlighter: # empty to disable built-in syntax highlighting highlight: enable: false @@ -132,6 +133,7 @@ markdown: linkify: false typographer: false quotes: "“”‘’" + langPrefix: "hljs language-" anchors: level: 2 collisionSuffix: "" diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..5aadb94 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,65 @@ +const js = require('@eslint/js'); +const globals = require('globals'); + +module.exports = [ + js.configs.recommended, + { + languageOptions: { + ecmaVersion: 2022, + sourceType: 'module', + globals: { + ...globals.browser, + ...globals.node + } + }, + rules: { + 'no-unused-vars': 'warn', + 'no-console': 'off' + } + }, + { + files: ['**/*.js'], + languageOptions: { + sourceType: 'script', + globals: { + ...globals.node, + ...globals.browser + } + } + }, + { + files: ['source/sw.js'], + languageOptions: { + globals: { + ...globals.serviceworker + } + } + }, + { + files: ['themes/coo/scripts/**/*.js'], + languageOptions: { + globals: { + ...globals.node, + hexo: 'readonly' + } + } + }, + { + files: ['themes/coo/source/js/main.js'], + languageOptions: { + globals: { + ...globals.browser, + Fuse: 'readonly' + } + } + }, + { + ignores: [ + 'node_modules/**', + 'public/**', + 'db.json', + '.deploy_git/**', + 'themes/coo/source/js/fuse_*.js' + ] + } +]; diff --git a/package.json b/package.json index 984d30e..7cdce6c 100644 --- a/package.json +++ b/package.json @@ -27,11 +27,11 @@ "commit": "cz" }, "hexo": { - "version": "5.4.2" + "version": "7.3.0" }, "dependencies": { - "gulp": "^5.0.0", - "gulp-cli": "^3.0.0", + "gulp": "^5.0.1", + "gulp-cli": "^3.1.0", "gulp-ext-replace": "^0.3.0", "gulp-htmlclean": "^2.7.22", "gulp-htmlmin": "^5.0.1", @@ -39,58 +39,58 @@ "gulp-postcss": "^10.0.0", "gulp-uglify-es": "^3.0.0", "gulp-version-number": "^0.2.4", - "hexo": "^5.4.0", + "hexo": "^7.3.0", "hexo-browsersync": "^0.3.0", - "hexo-excerpt": "^1.2.1", + "hexo-excerpt": "^1.3.1", "hexo-filter-nofollow": "^2.0.2", - "hexo-generator-index": "^2.0.0", - "hexo-generator-sitemap": "^2.2.0", - "hexo-log": "^3.0.0", - "hexo-pagination": "^2.0.0", + "hexo-generator-index": "^4.0.0", + "hexo-generator-sitemap": "^3.0.1", + "hexo-log": "^4.1.0", + "hexo-pagination": "^4.0.0", "hexo-related-popular-posts": "^5.0.1", "hexo-renderer-ejs": "^2.0.0", "hexo-renderer-markdown-it": "^5.0.0", - "hexo-renderer-stylus": "^2.0.1", - "hexo-server": "^2.0.0", - "markdown-it-abbr": "^1.0.4", - "markdown-it-anchor": "^8.4.1", + "hexo-renderer-stylus": "^3.0.1", + "hexo-server": "^3.0.0", + "markdown-it-abbr": "^2.0.0", + "markdown-it-anchor": "^9.2.0", "markdown-it-attrs": "^4.3.1", "markdown-it-checkbox": "^1.1.0", - "markdown-it-emoji": "^2.0.0", - "markdown-it-footnote": "^3.0.3", + "markdown-it-emoji": "^3.0.0", + "markdown-it-footnote": "^4.0.0", "markdown-it-highlight-lines": "^1.0.2", "markdown-it-highlightjs": "^4.2.0", - "markdown-it-ins": "^3.0.1", + "markdown-it-ins": "^4.0.0", "markdown-it-shortcode-tag": "^1.1.0", - "markdown-it-sub": "^1.0.0", - "markdown-it-sup": "^1.0.0", + "markdown-it-sub": "^2.0.0", + "markdown-it-sup": "^2.0.0", "markdown-it-task-lists": "^2.1.1" }, "devDependencies": { - "@commitlint/cli": "^19.5.0", - "@commitlint/config-conventional": "^19.5.0", - "autoprefixer": "^10.4.20", + "@commitlint/cli": "^19.8.1", + "@commitlint/config-conventional": "^19.8.1", + "autoprefixer": "^10.4.21", "commitizen": "^4.3.1", "cssnano": "^7.0.7", "cz-conventional-changelog": "^3.3.0", - "eslint": "^8.57.1", + "eslint": "^9.29.0", "eslint-config-prettier": "^10.1.5", "gulp-clean-css": "^4.3.0", "gulp-filesize": "^0.0.6", "gulp-javascript-obfuscator": "^1.1.6", "gulp-replace": "^1.1.4", - "gulp-rev": "^10.0.0", + "gulp-rev": "^11.0.0", "gulp-terser": "^2.1.0", - "husky": "^9.1.6", - "lint-staged": "^15.2.10", - "npm-run-all2": "^6.2.6", + "husky": "^9.1.7", + "lint-staged": "^16.1.2", + "npm-run-all2": "^8.0.4", "postcss": "^8.5.6", - "postcss-cli": "^11.0.0", - "postcss-import": "^16.1.0", - "prettier": "^3.3.3", - "prettier-plugin-tailwindcss": "^0.6.8", - "stylelint": "^16.10.0", - "stylelint-config-standard": "^36.0.1", + "postcss-cli": "^11.0.1", + "postcss-import": "^16.1.1", + "prettier": "^3.5.3", + "prettier-plugin-tailwindcss": "^0.6.12", + "stylelint": "^16.20.0", + "stylelint-config-standard": "^38.0.0", "tailwindcss": "^3.4.14", "tailwindcss-animate": "^1.0.7" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f19c6bb..9277f35 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,10 +9,10 @@ importers: .: dependencies: gulp: - specifier: ^5.0.0 + specifier: ^5.0.1 version: 5.0.1 gulp-cli: - specifier: ^3.0.0 + specifier: ^3.1.0 version: 3.1.0 gulp-ext-replace: specifier: ^0.3.0 @@ -36,29 +36,29 @@ importers: specifier: ^0.2.4 version: 0.2.4 hexo: - specifier: ^5.4.0 - version: 5.4.2(chokidar@3.6.0) + specifier: ^7.3.0 + version: 7.3.0(chokidar@3.6.0) hexo-browsersync: specifier: ^0.3.0 version: 0.3.0 hexo-excerpt: - specifier: ^1.2.1 + specifier: ^1.3.1 version: 1.3.1 hexo-filter-nofollow: specifier: ^2.0.2 version: 2.0.2 hexo-generator-index: - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^4.0.0 + version: 4.0.0 hexo-generator-sitemap: - specifier: ^2.2.0 - version: 2.2.0(chokidar@3.6.0) + specifier: ^3.0.1 + version: 3.0.1(chokidar@3.6.0) hexo-log: - specifier: ^3.0.0 - version: 3.2.0 + specifier: ^4.1.0 + version: 4.1.0 hexo-pagination: - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^4.0.0 + version: 4.0.0 hexo-related-popular-posts: specifier: ^5.0.1 version: 5.0.1 @@ -69,29 +69,29 @@ importers: specifier: ^5.0.0 version: 5.0.0 hexo-renderer-stylus: - specifier: ^2.0.1 - version: 2.1.0 + specifier: ^3.0.1 + version: 3.0.1 hexo-server: + specifier: ^3.0.0 + version: 3.0.0 + markdown-it-abbr: specifier: ^2.0.0 version: 2.0.0 - markdown-it-abbr: - specifier: ^1.0.4 - version: 1.0.4 markdown-it-anchor: - specifier: ^8.4.1 - version: 8.6.7(@types/markdown-it@14.1.2)(markdown-it@12.3.2) + specifier: ^9.2.0 + version: 9.2.0(@types/markdown-it@14.1.2)(markdown-it@13.0.2) markdown-it-attrs: specifier: ^4.3.1 - version: 4.3.1(markdown-it@12.3.2) + version: 4.3.1(markdown-it@13.0.2) markdown-it-checkbox: specifier: ^1.1.0 version: 1.1.0 markdown-it-emoji: - specifier: ^2.0.0 - version: 2.0.2 + specifier: ^3.0.0 + version: 3.0.0 markdown-it-footnote: - specifier: ^3.0.3 - version: 3.0.3 + specifier: ^4.0.0 + version: 4.0.0 markdown-it-highlight-lines: specifier: ^1.0.2 version: 1.0.2 @@ -99,29 +99,29 @@ importers: specifier: ^4.2.0 version: 4.2.0 markdown-it-ins: - specifier: ^3.0.1 - version: 3.0.1 + specifier: ^4.0.0 + version: 4.0.0 markdown-it-shortcode-tag: specifier: ^1.1.0 version: 1.1.0 markdown-it-sub: - specifier: ^1.0.0 - version: 1.0.0 + specifier: ^2.0.0 + version: 2.0.0 markdown-it-sup: - specifier: ^1.0.0 - version: 1.0.0 + specifier: ^2.0.0 + version: 2.0.0 markdown-it-task-lists: specifier: ^2.1.1 version: 2.1.1 devDependencies: '@commitlint/cli': - specifier: ^19.5.0 + specifier: ^19.8.1 version: 19.8.1(@types/node@24.0.3)(typescript@5.8.3) '@commitlint/config-conventional': - specifier: ^19.5.0 + specifier: ^19.8.1 version: 19.8.1 autoprefixer: - specifier: ^10.4.20 + specifier: ^10.4.21 version: 10.4.21(postcss@8.5.6) commitizen: specifier: ^4.3.1 @@ -133,11 +133,11 @@ importers: specifier: ^3.3.0 version: 3.3.0(@types/node@24.0.3)(typescript@5.8.3) eslint: - specifier: ^8.57.1 - version: 8.57.1 + specifier: ^9.29.0 + version: 9.29.0(jiti@2.4.2) eslint-config-prettier: specifier: ^10.1.5 - version: 10.1.5(eslint@8.57.1) + version: 10.1.5(eslint@9.29.0(jiti@2.4.2)) gulp-clean-css: specifier: ^4.3.0 version: 4.3.0 @@ -151,41 +151,41 @@ importers: specifier: ^1.1.4 version: 1.1.4 gulp-rev: - specifier: ^10.0.0 - version: 10.0.0(gulp@5.0.1) + specifier: ^11.0.0 + version: 11.0.0(gulp@5.0.1) gulp-terser: specifier: ^2.1.0 version: 2.1.0 husky: - specifier: ^9.1.6 + specifier: ^9.1.7 version: 9.1.7 lint-staged: - specifier: ^15.2.10 - version: 15.5.2 + specifier: ^16.1.2 + version: 16.1.2 npm-run-all2: - specifier: ^6.2.6 - version: 6.2.6 + specifier: ^8.0.4 + version: 8.0.4 postcss: specifier: ^8.5.6 version: 8.5.6 postcss-cli: - specifier: ^11.0.0 + specifier: ^11.0.1 version: 11.0.1(jiti@2.4.2)(postcss@8.5.6) postcss-import: - specifier: ^16.1.0 + specifier: ^16.1.1 version: 16.1.1(postcss@8.5.6) prettier: - specifier: ^3.3.3 + specifier: ^3.5.3 version: 3.5.3 prettier-plugin-tailwindcss: - specifier: ^0.6.8 + specifier: ^0.6.12 version: 0.6.12(prettier@3.5.3) stylelint: - specifier: ^16.10.0 + specifier: ^16.20.0 version: 16.20.0(typescript@5.8.3) stylelint-config-standard: - specifier: ^36.0.1 - version: 36.0.1(stylelint@16.20.0(typescript@5.8.3)) + specifier: ^38.0.0 + version: 38.0.0(stylelint@16.20.0(typescript@5.8.3)) tailwindcss: specifier: ^3.4.14 version: 3.4.17 @@ -195,6 +195,9 @@ importers: packages: + '@adobe/css-tools@4.3.3': + resolution: {integrity: sha512-rE0Pygv0sEZ4vBWHlAgJLGDU7Pm8xoO6p3wsEceb7GYAjScrOHpEo8KK/eVkAcnSM+slAEtXjA2JpdjLp4fJQQ==} + '@alloc/quick-lru@5.2.0': resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'} @@ -312,13 +315,37 @@ packages: resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/eslintrc@2.1.4': - resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/config-array@0.20.1': + resolution: {integrity: sha512-OL0RJzC/CBzli0DrrR31qzj6d6i6Mm3HByuhflhl4LOBiWxN+3i6/t/ZQQNii4tjksXi8r2CRW1wMpWA2ULUEw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@8.57.1': - resolution: {integrity: sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/config-helpers@0.2.3': + resolution: {integrity: sha512-u180qk2Um1le4yf0ruXH3PYFeEZeYC3p/4wCTKrr2U1CmGdzGi3KtY0nuPDH48UJxlKCC5RDzbcbh4X0XlqgHg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/core@0.14.0': + resolution: {integrity: sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/core@0.15.0': + resolution: {integrity: sha512-b7ePw78tEWWkpgZCDYkbqDOP8dmM6qe+AOC6iuJqlq1R/0ahMAeH3qynpnqKFGkMltrp44ohV4ubGyvLX28tzw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/eslintrc@3.3.1': + resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/js@9.29.0': + resolution: {integrity: sha512-3PIF4cBw/y+1u2EazflInpV+lYsSG0aByVIQzAgb1m1MhHFSbqTyNqtBKHgWf/9Ykud+DhILS9EGkmekVhbKoQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/object-schema@2.1.6': + resolution: {integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/plugin-kit@0.3.2': + resolution: {integrity: sha512-4SaFZCNfJqvk/kenHpI8xvN42DMaoycy4PzKc5otHxRswww1kAt82OlBuwRVLofCACCTZEcla2Ydxv8scMXaTg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@gulpjs/messages@1.1.0': resolution: {integrity: sha512-Ys9sazDatyTgZVb4xPlDufLweJ/Os2uHWOv+Caxvy2O85JcnT4M3vc73bi8pdLWlv3fdWQz3pdI9tVwo8rQQSg==} @@ -328,18 +355,25 @@ packages: resolution: {integrity: sha512-kjotm7XJrJ6v+7knhPaRgaT6q8F8K2jiafwYdNHLzmV0uGLuZY43FK6smNSHUPrhq5kX2slCUy+RGG/xGqmIKA==} engines: {node: '>=10.13.0'} - '@humanwhocodes/config-array@0.13.0': - resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} - engines: {node: '>=10.10.0'} - deprecated: Use @eslint/config-array instead + '@humanfs/core@0.19.1': + resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} + engines: {node: '>=18.18.0'} + + '@humanfs/node@0.16.6': + resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==} + engines: {node: '>=18.18.0'} '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - '@humanwhocodes/object-schema@2.0.3': - resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} - deprecated: Use @eslint/object-schema instead + '@humanwhocodes/retry@0.3.1': + resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==} + engines: {node: '>=18.18'} + + '@humanwhocodes/retry@0.4.3': + resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==} + engines: {node: '>=18.18'} '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} @@ -406,9 +440,15 @@ packages: '@types/cors@2.8.19': resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==} + '@types/estree@1.0.8': + resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} + '@types/expect@1.20.4': resolution: {integrity: sha512-Q5Vn3yjTDyCMV50TB6VRIbQNxSE4OmZR86VSbGaNpfUolm0iePBB4KdEEHmxoY5sT2+2DIvXW0rvMDP2nHZ4Mg==} + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@types/linkify-it@5.0.0': resolution: {integrity: sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==} @@ -430,9 +470,6 @@ packages: '@types/vinyl@2.0.12': resolution: {integrity: sha512-Sr2fYMBUVGYq8kj3UthXFAu5UN6ZW+rYr4NACjZQJvHvj+c8lYv0CahmZ2P/r7iUkN44gGUBwqxZkrKXYPb7cw==} - '@ungap/structured-clone@1.3.0': - resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} - JSONStream@1.3.5: resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} hasBin: true @@ -440,9 +477,6 @@ packages: a-sync-waterfall@1.0.1: resolution: {integrity: sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==} - abbrev@1.1.1: - resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} - abbrev@2.0.0: resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -1076,9 +1110,9 @@ packages: resolution: {integrity: sha512-zS5PnTI22FIRM6ylNW8G4Ap0IEOyk62fhLSD0+uHRT9McRCLGpkVNvao4bjimpK/GShynyQkFFxHhwMcETmduA==} engines: {node: '>=14'} - commander@13.1.0: - resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} - engines: {node: '>=18'} + commander@14.0.0: + resolution: {integrity: sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==} + engines: {node: '>=20'} commander@2.17.1: resolution: {integrity: sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==} @@ -1249,9 +1283,6 @@ packages: resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} engines: {node: '>= 6'} - css@3.0.0: - resolution: {integrity: sha512-DG9pFfwOrzc+hawpmqX/dHYHJG+Bsdb0klhyi1sDneOgGOXy9wQIC8hzyVp1e4NRYDBdxcylvywPkkXCHAzTyQ==} - cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} @@ -1370,6 +1401,10 @@ packages: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} + define-lazy-prop@2.0.0: + resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} + engines: {node: '>=8'} + define-properties@1.2.1: resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} engines: {node: '>= 0.4'} @@ -1436,10 +1471,6 @@ packages: dlv@1.1.3: resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} - doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dom-serializer@1.4.1: resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==} @@ -1550,9 +1581,6 @@ packages: entities@2.0.3: resolution: {integrity: sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==} - entities@2.1.0: - resolution: {integrity: sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==} - entities@2.2.0: resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==} @@ -1619,9 +1647,9 @@ packages: resolution: {integrity: sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-scope@8.4.0: + resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint-visitor-keys@3.3.0: resolution: {integrity: sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==} @@ -1631,15 +1659,23 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint@8.57.1: - resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. - hasBin: true + eslint-visitor-keys@4.2.1: + resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint@9.29.0: + resolution: {integrity: sha512-GsGizj2Y1rCWDu6XoEekL3RLilp0voSePurjZIkxL3wlm5o5EC9VpgaP7lrCvjnkuLvzFBQWB3vWB3K5KQTveQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + hasBin: true + peerDependencies: + jiti: '*' + peerDependenciesMeta: + jiti: + optional: true + + espree@10.4.0: + resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} @@ -1672,10 +1708,6 @@ packages: eventemitter3@5.0.1: resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} - execa@8.0.1: - resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} - engines: {node: '>=16.17'} - expand-brackets@0.1.5: resolution: {integrity: sha512-hxx03P2dJxss6ceIeri9cmYOT4SRs3Zk3afZwWpOsRqLqprhTR8u++SlC+sFGsQr7WGFPdMF7Gjc1njDLDK6UA==} engines: {node: '>=0.10.0'} @@ -1730,6 +1762,9 @@ packages: fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + fast-equals@3.0.3: + resolution: {integrity: sha512-NCe8qxnZFARSHGztGMZOO/PC1qa5MIFB5Hp66WdzbCRAz8U8US3bx1UTgLS49efBQPcUtO9gf5oVEY8o7y/7Kg==} + fast-fifo@1.3.2: resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==} @@ -1771,9 +1806,9 @@ packages: file-entry-cache@10.1.1: resolution: {integrity: sha512-zcmsHjg2B2zjuBgjdnB+9q0+cWcgWfykIcsDkWDB4GTPtl1eXUA+gTI6sO0u01AqK3cliHryTU55/b2Ow1hfZg==} - file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} + file-entry-cache@8.0.0: + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} @@ -1847,9 +1882,9 @@ packages: resolution: {integrity: sha512-Gq/a6YCi8zexmGHMuJwahTGzXlAZAOsbCVKduWXC6TlLCjjFRlExMJc4GC2NYPYZ0r/brw9P7CpRgQmlPVeOoA==} engines: {node: '>= 10.13.0'} - flat-cache@3.2.0: - resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} - engines: {node: ^10.12.0 || >=12.0.0} + flat-cache@4.0.1: + resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} + engines: {node: '>=16'} flat-cache@6.1.10: resolution: {integrity: sha512-B6/v1f0NwjxzmeOhzfXPGWpKBVA207LS7lehaVKQnFrVktcFRfkzjZZ2gwj2i1TkEUMQht7ZMJbABUT5N+V1Nw==} @@ -1973,10 +2008,6 @@ packages: resolution: {integrity: sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==} engines: {node: '>=0.10.0'} - get-stream@8.0.1: - resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} - engines: {node: '>=16'} - get-value@2.0.6: resolution: {integrity: sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==} engines: {node: '>=0.10.0'} @@ -2040,9 +2071,9 @@ packages: resolution: {integrity: sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==} engines: {node: '>=6'} - globals@13.24.0: - resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} - engines: {node: '>=8'} + globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} @@ -2073,9 +2104,6 @@ packages: graceful-readlink@1.0.1: resolution: {integrity: sha512-8tLu60LgxF6XpdbK8OW3FA+IfTNBn1ZHGHKF4KQbEeSkajYw5PlYJcKluntgegDPTg8UkHjpet1T82vk6TQ68w==} - graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - gulp-clean-css@4.3.0: resolution: {integrity: sha512-mGyeT3qqFXTy61j0zOIciS4MkYziF2U594t2Vs9rUnpkEHqfu6aDITMp8xOvZcvdX61Uz3y1mVERRYmjzQF5fg==} @@ -2105,6 +2133,10 @@ packages: resolution: {integrity: sha512-byBqFQM/HrZoUVYihu/03iYH4m7U5TjSGhr6/7JvpMHh9+woewsCtEp6Noif2VXB+idDoM4ECd9sw+St+KFqsg==} deprecated: Please use gulp-clean-css + gulp-plugin-extras@0.3.0: + resolution: {integrity: sha512-I/kOBSpo61QsGQZcqozZYEnDseKvpudUafVVWDLYgBFAUJ37kW5R8Sjw9cMYzpGyPUfEYOeoY4p+dkfLqgyJUQ==} + engines: {node: '>=18'} + gulp-postcss@10.0.0: resolution: {integrity: sha512-z1RF2RJEX/BvFsKN11PXai8lRmihZTiHnlJf7Zu8uHaA/Q7Om4IeN8z1NtMAW5OiLwUY02H0DIFl9tHl0CNSgA==} engines: {node: '>=18'} @@ -2115,9 +2147,9 @@ packages: resolution: {integrity: sha512-SVSF7ikuWKhpAW4l4wapAqPPSToJoiNKsbDoUnRrSgwZHH7lH8pbPeQj1aOVYQrbZKhfSVBxVW+Py7vtulRktw==} engines: {node: '>=10'} - gulp-rev@10.0.0: - resolution: {integrity: sha512-5mP6oOGp1DUzBQuiy9IrtyAWHWUOz2n1qLUHfo7LU0p111t7sTkUhKW01b70B2MsDWgScTdz6sGLg76KCbqclw==} - engines: {node: '>=16'} + gulp-rev@11.0.0: + resolution: {integrity: sha512-KJSyw0qMQBL0xB3YhYrdinelbnWnYHDxj3jqVL2Xvn8bUA1lh7py5/2Z6fUgIWiX+F1XyKYVxI8yy9asIAvZJA==} + engines: {node: '>=18'} peerDependencies: gulp: '>=4' peerDependenciesMeta: @@ -2248,53 +2280,41 @@ packages: resolution: {integrity: sha512-roIkEIkGOR22EPMoy8iKrufDoAH25LOT5ZeVXVLavEpM757Y96kfUhyathryMLXr326EURffgkZAKsVf3EDl0A==} engines: {node: '>= 8.6.0'} - hexo-front-matter@2.0.0: - resolution: {integrity: sha512-IR3tjAyK2Ga/0a/WDAoNy5+n3ju2/mkuAsCDEeGgGLf5+7kkiOkkG/FrnueuYgz0h2MPfWDLBiDsSTCmB0sLCA==} - engines: {node: '>=10.13.0'} + hexo-front-matter@4.2.1: + resolution: {integrity: sha512-sJJI0GNmejYiwBvgnGRKn5V3sbODB4dNPr8jyw2Qp0PRHr4Uuyv8iyxw6WfK3+T7yvzYvJOh+tZ7jnwr2BYARA==} + engines: {node: '>=14'} hexo-fs@0.2.3: resolution: {integrity: sha512-rLB1rMVUW3csAljvJgHfyjemL0BrmcUZfBf9hJe6S0pA53igFa3ON0PFwomvoLs1Wdmjs9Awnw9Tru4PjWFSlQ==} engines: {node: '>=6.9.0'} - hexo-fs@3.1.0: - resolution: {integrity: sha512-SfoDH7zlU9Iop+bAfEONXezbNIkpVX1QqjNCBYpapilZR+xVOCfTEdlNixanrKBbLGPb2fXqrdDBFgrKuiVGQQ==} - engines: {node: '>=10.13.0'} - hexo-fs@4.1.3: resolution: {integrity: sha512-Q92zQ5PlVDouvSWFLXQoFSTLIUIODikUJs2BfAXQglyOEjN1dOQn1Z5Nimk/7GHof17R5h/uObCQLnZAjzI2tg==} engines: {node: '>=14'} - hexo-generator-index@2.0.0: - resolution: {integrity: sha512-q/29Vj9BZs0dwBcF+s9IT8ymS4aYZsDwBEYDnh96C8tsX+KPY5v6TzCdttz58BchifaJpP/l9mi6u9rZuYqA0g==} - engines: {node: '>=10.13.0'} + hexo-generator-index@4.0.0: + resolution: {integrity: sha512-KeM7mOCKWINGFAk1E+CkjMMgqFIv8oaRbGxR7ipkQAp44o4aopkVftma4sdIplOq9WQEWfVYDUK5gEv9J3nzUg==} + engines: {node: '>=18'} - hexo-generator-sitemap@2.2.0: - resolution: {integrity: sha512-WoS/GpdrazoiFuhZXS3Qnb22L0uaiKHHWefcsoE7JLjh8WsksFom4v2FoNhr1RIYwFV7SudQFs91P5xcW+Gfow==} - engines: {node: '>=10.13.0'} + hexo-generator-sitemap@3.0.1: + resolution: {integrity: sha512-n+0KLNmq6TLbiZPTQF6NY5MbEem/O+DFx0lgQZNQcU4tdjXIZRrQJs+KRKeT66NTkdlYTqb4WwCxswLqQz0crA==} + engines: {node: '>=12.13.0'} - hexo-i18n@1.0.0: - resolution: {integrity: sha512-yw90JHr7ybUHN/QOkpHmlWJj1luVk5/v8CUU5NRA0n4TFp6av8NT7ujZ10GDawgnQEdMHnN5PUfAbNIVGR6axg==} - engines: {node: '>=8.6.0'} - - hexo-log@2.0.0: - resolution: {integrity: sha512-U7zdDae74pXcyhQEyNmpJdq3UI6zWKxQ7/zLoMr/d3CBRdIfB5yO8DWqKUnewfibYv0gODyTWUIhxQDWuwloow==} - engines: {node: '>=10.13.0'} - - hexo-log@3.2.0: - resolution: {integrity: sha512-fk7jOW3hvKiAv4Q/d8UxaQlARwcv+5KjGcnxexUrqBqyWbMCLmw7jhMHTSRLNNQpaoTlF5ff+kQkPi4yhp9iag==} - engines: {node: '>=12.4.0'} + hexo-i18n@2.0.0: + resolution: {integrity: sha512-dkUXecEtChaQMdTHN4WR13c8GwKqjbSOZPJS9qDqV6Ebnb77Wa/nQzWFckhP0dCps3a9lUQBd8hYGOMbOosiQQ==} + engines: {node: '>=14'} hexo-log@4.1.0: resolution: {integrity: sha512-i2Sgxk8Cgx5viSjq5qW5N/rBFfwoCKQcH8qnnW1fawCapcdEAhIsq+Y3vbrs9bssyDlyU6Vqm4oQmosREaNI7Q==} engines: {node: '>=14'} - hexo-pagination@1.0.0: - resolution: {integrity: sha512-miEVFgxchPr2qNWxw0JWpJ9R/Yaf7HjHBZVjvCCcqfbsLyYtCvIfJDxcEwz1sDOC/fLzYPqNnhUI73uNxBHRSA==} - engines: {node: '>=8.6.0'} + hexo-pagination@3.0.0: + resolution: {integrity: sha512-8oo1iozloZo7TojPVYg4IxL3SJKCBdSJ908fTlIxIK7TWJIKdYnQlW31+12DBJ0NhVZA/lZisPObGF08wT8fKw==} + engines: {node: '>=14'} - hexo-pagination@2.0.0: - resolution: {integrity: sha512-ZZQli5UwFWTW6bJNF4zwp2PCeGsipgoPxadud8+cPPxvygTP5GjTS5eVWcUTcfEaCluP+O1maxZCCWmYQoJkiQ==} - engines: {node: '>=10.13.0'} + hexo-pagination@4.0.0: + resolution: {integrity: sha512-jNG6AX3EHzY3FRfdzB46tZ833CUX4WudZue3yv6kKaVCCWR61iwFL9LD6xQadvwHBuT1oHy444dJClWORG4sxg==} + engines: {node: '>=18'} hexo-related-popular-posts@5.0.1: resolution: {integrity: sha512-X+7leZ708sXq1bgayful2HaGU22XAGPDZjqzpFUoeP8mXmJL51E2p66gqs7Xu+rygu4MMJQJvRK/fzGbHa8eqQ==} @@ -2308,13 +2328,13 @@ packages: resolution: {integrity: sha512-9A4Dpy80hk7+SQ3RGqpWCV1LxnV1gjHSj4N0oGmXIfl/yjy+jMKLRAXIDVonxaD72rg4kzW4ZSqYZBIcgxTAeg==} engines: {node: '>=10.13.0'} - hexo-renderer-stylus@2.1.0: - resolution: {integrity: sha512-Nef4YCr7JX8jaRaByhzXMSsWnDed+RgJj6aU/ARnYu3Bn5xz/qRz52VJG7KqD0Xuysxa9TIBdVUgNzBrSFn3DQ==} - engines: {node: '>=12.13.0'} + hexo-renderer-stylus@3.0.1: + resolution: {integrity: sha512-cFm8ZwShBBeFcQwOXc8EK7lIZnSYVD6OJykdL4GBw99hxc4eD5Hlsi32nRzE8sgKv00jhX1s9Da3GVVFMPAVQg==} + engines: {node: '>=14'} - hexo-server@2.0.0: - resolution: {integrity: sha512-GnxCU0hjepjmqMENcKOKxpzOajb9YrjQczWsZPXU25l5Ze+M9KJLSVljIRFR+ikDRIPDtXaUY2WgYrWPbNEGfg==} - engines: {node: '>=10.13.0'} + hexo-server@3.0.0: + resolution: {integrity: sha512-u4s0ty9Aew6jV+a9oMrXBwhrRpUQ0U8PWM/88a5aHgDru58VY81mVrxOFxs788NAsWQ8OvsJtF5m7mnXoRnSIA==} + engines: {node: '>=12.13.0'} hexo-util@2.7.0: resolution: {integrity: sha512-hQM3h34nhDg0bSe/Tg1lnpODvNkz7h2u0+lZGzlKL0Oufp+5KCAEUX9wal7/xC7ax3/cwEn8IuoU75kNpZLpJQ==} @@ -2324,9 +2344,9 @@ packages: resolution: {integrity: sha512-YvGngXijE2muEh5L/VI4Fmjqb+/yAkmY+VuyhWVoRwQu1X7bmWodsfYRXX7CUYhi5LqsvH8FAe/yBW1+f6ZX4Q==} engines: {node: '>=14'} - hexo@5.4.2: - resolution: {integrity: sha512-Af6mxKwx9byalaffKgiQ8/bZfbXPo2SGEn2Q9hFh++15g15/IulvOhu8lQkJdyZNzmj3hOuSrJdqoUvIr3K/qw==} - engines: {node: '>=10.13.0'} + hexo@7.3.0: + resolution: {integrity: sha512-dOe8mzBKrvjubW5oBmyhcnQDpC+M2xmAMLae5K+o+SkHxyvAhShkS2VQZoTsOLIJKY6xilv7dzCjCvE7ol/NHQ==} + engines: {node: '>=14'} hasBin: true highlight.js@11.11.1: @@ -2393,10 +2413,6 @@ packages: resolution: {integrity: sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==} engines: {node: '>=0.8', npm: '>=1.3.7'} - human-signals@5.0.0: - resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} - engines: {node: '>=16.17.0'} - husky@9.1.7: resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==} engines: {node: '>=18'} @@ -2611,10 +2627,6 @@ packages: resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==} engines: {node: '>=8'} - is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - is-plain-obj@4.1.0: resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} engines: {node: '>=12'} @@ -2647,10 +2659,6 @@ packages: resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} engines: {node: '>=0.10.0'} - is-stream@3.0.0: - resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - is-text-path@2.0.0: resolution: {integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==} engines: {node: '>=8'} @@ -2698,6 +2706,10 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + isexe@3.1.1: + resolution: {integrity: sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==} + engines: {node: '>=16'} + isobject@2.1.0: resolution: {integrity: sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==} engines: {node: '>=0.10.0'} @@ -2741,9 +2753,10 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - js-yaml@3.14.1: - resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} - hasBin: true + js-yaml-js-types@1.0.1: + resolution: {integrity: sha512-5tpfyORs8OQ43alNERbWfYRCtWgykvzYgY46fUhrQi2+kS7N0NuuFYLZ/IrfmVm5muLTndeMublgraXiFRjEPw==} + peerDependencies: + js-yaml: 4.x js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} @@ -2758,9 +2771,9 @@ packages: json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - json-parse-even-better-errors@3.0.2: - resolution: {integrity: sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + json-parse-even-better-errors@4.0.0: + resolution: {integrity: sha512-lR4MXjGNgkJc7tkQ97kb2nuEMnNCyU//XYVH0MKTGcXEiSudQ5MKGKen3C5QubYy0vmq+JGitUg92uuywGEwIA==} + engines: {node: ^18.17.0 || >=20.5.0} json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} @@ -2857,9 +2870,12 @@ packages: linkify-it@3.0.3: resolution: {integrity: sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==} - lint-staged@15.5.2: - resolution: {integrity: sha512-YUSOLq9VeRNAo/CTaVmhGDKG+LBtA8KF1X4K5+ykMSwWST1vDxJRB2kv2COgLb1fvpCo+A/y9A0G0znNVmdx4w==} - engines: {node: '>=18.12.0'} + linkify-it@4.0.1: + resolution: {integrity: sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==} + + lint-staged@16.1.2: + resolution: {integrity: sha512-sQKw2Si2g9KUZNY3XNvRuDq4UJqpHwF0/FQzZR2M7I5MvtpWvibikCjUVJzZdGE0ByurEl3KQNvsGetd1ty1/Q==} + engines: {node: '>=20.17'} hasBin: true listr2@8.3.3: @@ -3073,8 +3089,11 @@ packages: markdown-it-abbr@1.0.4: resolution: {integrity: sha512-ZeA4Z4SaBbYysZap5iZcxKmlPL6bYA8grqhzJIHB1ikn7njnzaP8uwbtuXc4YXD5LicI4/2Xmc0VwmSiFV04gg==} - markdown-it-anchor@8.6.7: - resolution: {integrity: sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==} + markdown-it-abbr@2.0.0: + resolution: {integrity: sha512-of7C8pXSjXjDojW4neNP+jD7inUYH/DO0Ca+K/4FUEccg0oHAEX/nfscw0jfz66PJbYWOAT9U8mjO21X5p6aAw==} + + markdown-it-anchor@9.2.0: + resolution: {integrity: sha512-sa2ErMQ6kKOA4l31gLGYliFQrMKkqSO0ZJgGhDHKijPf0pNFM9vghjAh3gn26pS4JDRs7Iwa9S36gxm3vgZTzg==} peerDependencies: '@types/markdown-it': '*' markdown-it: '*' @@ -3100,12 +3119,15 @@ packages: markdown-it-emoji@1.4.0: resolution: {integrity: sha512-QCz3Hkd+r5gDYtS2xsFXmBYrgw6KuWcJZLCEkdfAuwzZbShCmCfta+hwAMq4NX/4xPzkSHduMKgMkkPUJxSXNg==} - markdown-it-emoji@2.0.2: - resolution: {integrity: sha512-zLftSaNrKuYl0kR5zm4gxXjHaOI3FAOEaloKmRA5hijmJZvSjmxcokOLlzycb/HXlUFWzXqpIEoyEMCE4i9MvQ==} + markdown-it-emoji@3.0.0: + resolution: {integrity: sha512-+rUD93bXHubA4arpEZO3q80so0qgoFJEKRkRbjKX8RTdca89v2kfyF+xR3i2sQTwql9tpPZPOQN5B+PunspXRg==} markdown-it-footnote@3.0.3: resolution: {integrity: sha512-YZMSuCGVZAjzKMn+xqIco9d1cLGxbELHZ9do/TSYVzraooV8ypsppKNmUJ0fVH5ljkCInQAtFpm8Rb3eXSrt5w==} + markdown-it-footnote@4.0.0: + resolution: {integrity: sha512-WYJ7urf+khJYl3DqofQpYfEYkZKbmXmwxQV8c8mO/hGIhgZ1wOe7R4HLFNwqx7TjILbnC98fuyeSsin19JdFcQ==} + markdown-it-highlight-lines@1.0.2: resolution: {integrity: sha512-9Pyt/B+Ca3QBSXDS/znmojy/k6HDe8FJlJwIj/BKgvxE3MQWK9GHQCJJT5Lb1er23svZT99kJ/YRhLpDK+5GUQ==} @@ -3115,6 +3137,9 @@ packages: markdown-it-ins@3.0.1: resolution: {integrity: sha512-32SSfZqSzqyAmmQ4SHvhxbFqSzPDqsZgMHDwxqPzp+v+t8RsmqsBZRG+RfRQskJko9PfKC2/oxyOs4Yg/CfiRw==} + markdown-it-ins@4.0.0: + resolution: {integrity: sha512-sWbjK2DprrkINE4oYDhHdCijGT+MIDhEupjSHLXe5UXeVr5qmVxs/nTUVtgi0Oh/qtF+QKV0tNWDhQBEPxiMew==} + markdown-it-mark@3.0.1: resolution: {integrity: sha512-HyxjAu6BRsdt6Xcv6TKVQnkz/E70TdGXEFHRYBGLncRE9lBFwDNLVtFojKxjJWgJ+5XxUwLaHXy+2sGBbDn+4A==} @@ -3125,9 +3150,15 @@ packages: markdown-it-sub@1.0.0: resolution: {integrity: sha512-z2Rm/LzEE1wzwTSDrI+FlPEveAAbgdAdPhdWarq/ZGJrGW/uCQbKAnhoCsE4hAbc3SEym26+W2z/VQB0cQiA9Q==} + markdown-it-sub@2.0.0: + resolution: {integrity: sha512-iCBKgwCkfQBRg2vApy9vx1C1Tu6D8XYo8NvevI3OlwzBRmiMtsJ2sXupBgEA7PPxiDwNni3qIUkhZ6j5wofDUA==} + markdown-it-sup@1.0.0: resolution: {integrity: sha512-E32m0nV9iyhRR7CrhnzL5msqic7rL1juWre6TQNxsnApg7Uf+F97JOKxUijg5YwXz86lZ0mqfOnutoryyNdntQ==} + markdown-it-sup@2.0.0: + resolution: {integrity: sha512-5VgmdKlkBd8sgXuoDoxMpiU+BiEt3I49GItBzzw7Mxq9CxvnhE/k09HFli09zgfFDRixDQDfDxi0mgBCXtaTvA==} + markdown-it-task-lists@2.1.1: resolution: {integrity: sha512-TxFAc76Jnhb2OUu+n3yz9RMu4CwGfaT788br6HhEDlvWfdeJcLUsxk1Hgw2yJio0OXsxv7pyIPmvECY7bMbluA==} @@ -3135,8 +3166,8 @@ packages: resolution: {integrity: sha512-aU1TzmBKcWNNYvH9pjq6u92BML+Hz3h5S/QpfTFwiQF852pLT+9qHsrhM9JYipkOXZxGn+sGH8oyJE9FD9WezQ==} hasBin: true - markdown-it@12.3.2: - resolution: {integrity: sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==} + markdown-it@13.0.2: + resolution: {integrity: sha512-FtwnEuuK+2yVU7goGn/MJ0WBZMM9ZPgU9spqlFs7/A/pDIUNSOQZhUgOqYCficIuR2QaFnrt8LHqBWsbTAoI5w==} hasBin: true math-intrinsics@1.1.0: @@ -3184,9 +3215,6 @@ packages: resolution: {integrity: sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==} engines: {node: '>=0.10.0'} - merge-stream@2.0.0: - resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} @@ -3194,6 +3222,9 @@ packages: merge@2.1.1: resolution: {integrity: sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==} + micro-memoize@4.1.3: + resolution: {integrity: sha512-DzRMi8smUZXT7rCGikRwldEh6eO6qzKiPPopcr1+2EY3AYKpy5fu159PKWwIS9A6IWnrvPKDMcuFtyrroZa8Bw==} + micromatch@2.3.11: resolution: {integrity: sha512-LnU2XFEk9xxSJ6rfgAry/ty5qwUTyHYOBU0g4R6tIw5ljwgGIBmiKhRWLw5NpMOnrgUNcDJ4WMp8rl3sYVHLNA==} engines: {node: '>=0.10.0'} @@ -3239,19 +3270,15 @@ packages: engines: {node: '>=4'} hasBin: true - mime@2.6.0: - resolution: {integrity: sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==} - engines: {node: '>=4.0.0'} + mime@3.0.0: + resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} + engines: {node: '>=10.0.0'} hasBin: true mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} - mimic-fn@4.0.0: - resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} - engines: {node: '>=12'} - mimic-function@5.0.1: resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==} engines: {node: '>=18'} @@ -3304,6 +3331,9 @@ packages: resolution: {integrity: sha512-VX9/MdgUN9StpSLImJ0+AyV2dxJJtyojIwRHF/Ja942tW7FTzxXI186jDSTk4k5wj2+59a4bRzFnJUgMSi+ygg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + moize@6.1.6: + resolution: {integrity: sha512-vSKdIUO61iCmTqhdoIDrqyrtp87nWZUmBPniNjO0fX49wEYmyDO4lvlnFXiGcaH1JLE/s/9HbiK4LSHsbiUY6Q==} + moment-timezone@0.5.48: resolution: {integrity: sha512-f22b8LV1gbTO2ms2j2z13MuPogNoh5UzxL3nzNAYKGraILnbGc9NEE6dyiiiLv46DGRb8A4kg8UKWLjPthxBHw==} @@ -3343,6 +3373,10 @@ packages: nan@2.22.2: resolution: {integrity: sha512-DANghxFkS1plDdRsX0X9pm0Z6SJNN6gBdtXfanwoZ8hooC5gosGFSBGRYHUVPz1asKA/kMRqDRdHrluZ61SpBQ==} + nano-spawn@1.0.2: + resolution: {integrity: sha512-21t+ozMQDAL/UGgQVBbZ/xXvNO10++ZPuTmKRO8k9V3AClVRht49ahtDjfY8l1q6nSHOrE5ASfthzH3ol6R/hg==} + engines: {node: '>=20.17'} + nanoid@3.3.11: resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -3401,19 +3435,15 @@ packages: resolution: {integrity: sha512-pGO4pzSdaxhWTGkfSfHx3hVzJVslFPwBp2Myq9MYN/ChfJZF87ochMAXnvz6/58RJSf5ik2q9tXprBBrk2cpcg==} engines: {node: '>= 10.13.0'} - npm-normalize-package-bin@3.0.1: - resolution: {integrity: sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + npm-normalize-package-bin@4.0.0: + resolution: {integrity: sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w==} + engines: {node: ^18.17.0 || >=20.5.0} - npm-run-all2@6.2.6: - resolution: {integrity: sha512-tkyb4pc0Zb0oOswCb5tORPk9MvVL6gcDq1cMItQHmsbVk1skk7YF6cH+UU2GxeNLHMuk6wFEOSmEmJ2cnAK1jg==} - engines: {node: ^14.18.0 || ^16.13.0 || >=18.0.0, npm: '>= 8'} + npm-run-all2@8.0.4: + resolution: {integrity: sha512-wdbB5My48XKp2ZfJUlhnLVihzeuA1hgBnqB2J9ahV77wLS+/YAJAlN8I+X3DIFIPZ3m5L7nplmlbhNiFDmXRDA==} + engines: {node: ^20.5.0 || >=22.0.0, npm: '>= 10'} hasBin: true - npm-run-path@5.3.0: - resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} @@ -3499,17 +3529,13 @@ packages: resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} engines: {node: '>=6'} - onetime@6.0.0: - resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} - engines: {node: '>=12'} - onetime@7.0.0: resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==} engines: {node: '>=18'} - open@7.4.2: - resolution: {integrity: sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==} - engines: {node: '>=8'} + open@8.4.2: + resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} + engines: {node: '>=12'} opencollective-postinstall@2.0.3: resolution: {integrity: sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==} @@ -3628,10 +3654,6 @@ packages: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} - path-key@4.0.0: - resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} - engines: {node: '>=12'} - path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} @@ -4087,9 +4109,9 @@ packages: read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} - read-package-json-fast@3.0.2: - resolution: {integrity: sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + read-package-json-fast@4.0.0: + resolution: {integrity: sha512-qpt8EwugBWDw2cgE2W+/3oxC+KTez2uSVR8JU9Q36TXPAGCaozfQUs59v4j4GFpWTaw0i6hAZSvOmu1J0uOEUg==} + engines: {node: ^18.17.0 || >=20.5.0} read-pkg-up@1.0.1: resolution: {integrity: sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==} @@ -4259,11 +4281,6 @@ packages: rfdc@1.4.1: resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} - rimraf@3.0.2: - resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - deprecated: Rimraf versions prior to v4 are no longer supported - hasBin: true - run-async@2.4.1: resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} engines: {node: '>=0.12.0'} @@ -4293,8 +4310,8 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - sax@1.2.4: - resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==} + sax@1.3.0: + resolution: {integrity: sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==} semver-greatest-satisfied-range@2.0.0: resolution: {integrity: sha512-lH3f6kMbwyANB7HuOWRMlLCa2itaCrZJ+SAqqkSZrZKO/cAsk2EOyaKHUtNkVLFyFW9pct22SFesFp3Z7zpA0g==} @@ -4433,10 +4450,6 @@ packages: resolution: {integrity: sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==} deprecated: See https://github.com/lydell/source-map-resolve#deprecated - source-map-resolve@0.6.0: - resolution: {integrity: sha512-KXBr9d/fO/bWo97NXsPIAW1bFSBOuCnjbNTBMO7N59hsv5i9yzRDfcYwwt0l04+VqnKC+EwzvJZIP/qkuMgR/w==} - deprecated: See https://github.com/lydell/source-map-resolve#deprecated - source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} @@ -4607,10 +4620,6 @@ packages: resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} engines: {node: '>=8'} - strip-final-newline@3.0.0: - resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} - engines: {node: '>=12'} - strip-indent@1.0.1: resolution: {integrity: sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==} engines: {node: '>=0.10.0'} @@ -4630,25 +4639,25 @@ packages: peerDependencies: postcss: ^8.4.32 - stylelint-config-recommended@14.0.1: - resolution: {integrity: sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==} + stylelint-config-recommended@16.0.0: + resolution: {integrity: sha512-4RSmPjQegF34wNcK1e1O3Uz91HN8P1aFdFzio90wNK9mjgAI19u5vsU868cVZboKzCaa5XbpvtTzAAGQAxpcXA==} engines: {node: '>=18.12.0'} peerDependencies: - stylelint: ^16.1.0 + stylelint: ^16.16.0 - stylelint-config-standard@36.0.1: - resolution: {integrity: sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==} + stylelint-config-standard@38.0.0: + resolution: {integrity: sha512-uj3JIX+dpFseqd/DJx8Gy3PcRAJhlEZ2IrlFOc4LUxBX/PNMEQ198x7LCOE2Q5oT9Vw8nyc4CIL78xSqPr6iag==} engines: {node: '>=18.12.0'} peerDependencies: - stylelint: ^16.1.0 + stylelint: ^16.18.0 stylelint@16.20.0: resolution: {integrity: sha512-B5Myu9WRxrgKuLs3YyUXLP2H0mrbejwNxPmyADlACWwFsrL8Bmor/nTSh4OMae5sHjOz6gkSeccQH34gM4/nAw==} engines: {node: '>=18.12.0'} hasBin: true - stylus@0.57.0: - resolution: {integrity: sha512-yOI6G8WYfr0q8v8rRvE91wbxFU+rJPo760Va4MF6K0I6BZjO4r+xSynkvyPBP9tV1CIEUeRsiidjIs2rzb1CnQ==} + stylus@0.62.0: + resolution: {integrity: sha512-v3YCf31atbwJQIMtPNX8hcQ+okD4NQaTuKGUWfII8eaqn+3otrbttGL1zSMZAAtiPsBztQnujVBugg/cXFUpyg==} hasBin: true sucrase@3.35.0: @@ -4761,9 +4770,6 @@ packages: resolution: {integrity: sha512-gLCeArryy2yNTRzTGKbZbloctj64jkZ57hj5zdraXue6aFgd6PmvVtEyiUU+hvU0v7q08oVv8r8ev0tRo6bvgw==} engines: {node: '>=0.10.0'} - timsort@0.3.0: - resolution: {integrity: sha512-qsdtZH+vMoCARQtyod4imc2nIJwg9Cc7lPRrw9CzF8ZKR0khdr8+2nX80PBhET3tcyTtJDxAffGh2rXH4tyU8A==} - tinyexec@1.0.1: resolution: {integrity: sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==} @@ -4848,10 +4854,6 @@ packages: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} - type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} @@ -5021,9 +5023,9 @@ packages: resolution: {integrity: sha512-0QwqXteBNXgnLCdWdvPQBX6FXRHtIH3VhJPTd5Lwn28tJXc34YqSCWUmkOvtJHBmB3gGoPtrOKk3Ts8/kEZ9aA==} engines: {node: '>=10.13.0'} - warehouse@4.0.2: - resolution: {integrity: sha512-GixS7SolBGu81rnxYM6bScxdElLM97Jx/kr0a6B6PGBWFqvHeuWFj7QbgEX1YWZSxiJt/aR6dBVQKC/PvvihdQ==} - engines: {node: '>=10.13.0'} + warehouse@5.0.1: + resolution: {integrity: sha512-5BQEQP56bPY+cqocTho4syazuGgSoyKd0y3PsS2j8tGN10HH+CEfJSIY+KUw9D0k4jaVEFMXLz0KqCiUzTYb8A==} + engines: {node: '>=14'} wcwidth@1.0.1: resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} @@ -5049,9 +5051,9 @@ packages: engines: {node: '>= 8'} hasBin: true - which@3.0.1: - resolution: {integrity: sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + which@5.0.0: + resolution: {integrity: sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==} + engines: {node: ^18.17.0 || >=20.5.0} hasBin: true word-wrap@1.2.5: @@ -5147,6 +5149,8 @@ packages: snapshots: + '@adobe/css-tools@4.3.3': {} + '@alloc/quick-lru@5.2.0': {} '@babel/code-frame@7.27.1': @@ -5284,19 +5288,37 @@ snapshots: '@dual-bundle/import-meta-resolve@4.1.0': {} - '@eslint-community/eslint-utils@4.7.0(eslint@8.57.1)': + '@eslint-community/eslint-utils@4.7.0(eslint@9.29.0(jiti@2.4.2))': dependencies: - eslint: 8.57.1 + eslint: 9.29.0(jiti@2.4.2) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.1': {} - '@eslint/eslintrc@2.1.4': + '@eslint/config-array@0.20.1': + dependencies: + '@eslint/object-schema': 2.1.6 + debug: 4.4.1 + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + + '@eslint/config-helpers@0.2.3': {} + + '@eslint/core@0.14.0': + dependencies: + '@types/json-schema': 7.0.15 + + '@eslint/core@0.15.0': + dependencies: + '@types/json-schema': 7.0.15 + + '@eslint/eslintrc@3.3.1': dependencies: ajv: 6.12.6 debug: 4.4.1 - espree: 9.6.1 - globals: 13.24.0 + espree: 10.4.0 + globals: 14.0.0 ignore: 5.3.2 import-fresh: 3.3.1 js-yaml: 4.1.0 @@ -5305,7 +5327,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@8.57.1': {} + '@eslint/js@9.29.0': {} + + '@eslint/object-schema@2.1.6': {} + + '@eslint/plugin-kit@0.3.2': + dependencies: + '@eslint/core': 0.15.0 + levn: 0.4.1 '@gulpjs/messages@1.1.0': {} @@ -5313,17 +5342,18 @@ snapshots: dependencies: is-negated-glob: 1.0.0 - '@humanwhocodes/config-array@0.13.0': + '@humanfs/core@0.19.1': {} + + '@humanfs/node@0.16.6': dependencies: - '@humanwhocodes/object-schema': 2.0.3 - debug: 4.4.1 - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color + '@humanfs/core': 0.19.1 + '@humanwhocodes/retry': 0.3.1 '@humanwhocodes/module-importer@1.0.1': {} - '@humanwhocodes/object-schema@2.0.3': {} + '@humanwhocodes/retry@0.3.1': {} + + '@humanwhocodes/retry@0.4.3': {} '@isaacs/cliui@8.0.2': dependencies: @@ -5398,8 +5428,12 @@ snapshots: dependencies: '@types/node': 24.0.3 + '@types/estree@1.0.8': {} + '@types/expect@1.20.4': {} + '@types/json-schema@7.0.15': {} + '@types/linkify-it@5.0.0': {} '@types/markdown-it@14.1.2': @@ -5422,8 +5456,6 @@ snapshots: '@types/expect': 1.20.4 '@types/node': 24.0.3 - '@ungap/structured-clone@1.3.0': {} - JSONStream@1.3.5: dependencies: jsonparse: 1.3.1 @@ -5431,8 +5463,6 @@ snapshots: a-sync-waterfall@1.0.1: {} - abbrev@1.1.1: {} - abbrev@2.0.0: {} accepts@1.3.8: @@ -6119,7 +6149,7 @@ snapshots: commander@10.0.0: {} - commander@13.1.0: {} + commander@14.0.0: {} commander@2.17.1: {} @@ -6321,12 +6351,6 @@ snapshots: css-what@6.1.0: {} - css@3.0.0: - dependencies: - inherits: 2.0.4 - source-map: 0.6.1 - source-map-resolve: 0.6.0 - cssesc@3.0.0: {} cssnano-preset-default@7.0.7(postcss@8.5.6): @@ -6448,6 +6472,8 @@ snapshots: es-errors: 1.3.0 gopd: 1.2.0 + define-lazy-prop@2.0.0: {} + define-properties@1.2.1: dependencies: define-data-property: 1.1.4 @@ -6495,10 +6521,6 @@ snapshots: dlv@1.1.3: {} - doctrine@3.0.0: - dependencies: - esutils: 2.0.3 - dom-serializer@1.4.1: dependencies: domelementtype: 2.3.0 @@ -6634,8 +6656,6 @@ snapshots: entities@2.0.3: {} - entities@2.1.0: {} - entities@2.2.0: {} entities@3.0.1: {} @@ -6670,16 +6690,16 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-prettier@10.1.5(eslint@8.57.1): + eslint-config-prettier@10.1.5(eslint@9.29.0(jiti@2.4.2)): dependencies: - eslint: 8.57.1 + eslint: 9.29.0(jiti@2.4.2) eslint-scope@7.1.1: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 - eslint-scope@7.2.2: + eslint-scope@8.4.0: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 @@ -6688,54 +6708,55 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint@8.57.1: + eslint-visitor-keys@4.2.1: {} + + eslint@9.29.0(jiti@2.4.2): dependencies: - '@eslint-community/eslint-utils': 4.7.0(eslint@8.57.1) + '@eslint-community/eslint-utils': 4.7.0(eslint@9.29.0(jiti@2.4.2)) '@eslint-community/regexpp': 4.12.1 - '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.57.1 - '@humanwhocodes/config-array': 0.13.0 + '@eslint/config-array': 0.20.1 + '@eslint/config-helpers': 0.2.3 + '@eslint/core': 0.14.0 + '@eslint/eslintrc': 3.3.1 + '@eslint/js': 9.29.0 + '@eslint/plugin-kit': 0.3.2 + '@humanfs/node': 0.16.6 '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.3.0 + '@humanwhocodes/retry': 0.4.3 + '@types/estree': 1.0.8 + '@types/json-schema': 7.0.15 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.6 debug: 4.4.1 - doctrine: 3.0.0 escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 + eslint-scope: 8.4.0 + eslint-visitor-keys: 4.2.1 + espree: 10.4.0 esquery: 1.6.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 + file-entry-cache: 8.0.0 find-up: 5.0.0 glob-parent: 6.0.2 - globals: 13.24.0 - graphemer: 1.4.0 ignore: 5.3.2 imurmurhash: 0.1.4 is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 lodash.merge: 4.6.2 minimatch: 3.1.2 natural-compare: 1.4.0 optionator: 0.9.4 - strip-ansi: 6.0.1 - text-table: 0.2.0 + optionalDependencies: + jiti: 2.4.2 transitivePeerDependencies: - supports-color - espree@9.6.1: + espree@10.4.0: dependencies: acorn: 8.15.0 acorn-jsx: 5.3.2(acorn@8.15.0) - eslint-visitor-keys: 3.4.3 + eslint-visitor-keys: 4.2.1 esprima@4.0.1: {} @@ -6757,18 +6778,6 @@ snapshots: eventemitter3@5.0.1: {} - execa@8.0.1: - dependencies: - cross-spawn: 7.0.6 - get-stream: 8.0.1 - human-signals: 5.0.0 - is-stream: 3.0.0 - merge-stream: 2.0.0 - npm-run-path: 5.3.0 - onetime: 6.0.0 - signal-exit: 4.1.0 - strip-final-newline: 3.0.0 - expand-brackets@0.1.5: dependencies: is-posix-bracket: 0.1.1 @@ -6842,6 +6851,8 @@ snapshots: fast-deep-equal@3.1.3: {} + fast-equals@3.0.3: {} + fast-fifo@1.3.2: {} fast-glob@3.3.3: @@ -6880,9 +6891,9 @@ snapshots: dependencies: flat-cache: 6.1.10 - file-entry-cache@6.0.1: + file-entry-cache@8.0.0: dependencies: - flat-cache: 3.2.0 + flat-cache: 4.0.1 file-uri-to-path@1.0.0: optional: true @@ -6987,11 +6998,10 @@ snapshots: flagged-respawn@2.0.0: {} - flat-cache@3.2.0: + flat-cache@4.0.1: dependencies: flatted: 3.3.3 keyv: 4.5.4 - rimraf: 3.0.2 flat-cache@6.1.10: dependencies: @@ -7126,8 +7136,6 @@ snapshots: get-stdin@4.0.1: {} - get-stream@8.0.1: {} - get-value@2.0.6: {} getpass@0.1.7: @@ -7219,9 +7227,7 @@ snapshots: kind-of: 6.0.3 which: 1.3.1 - globals@13.24.0: - dependencies: - type-fest: 0.20.2 + globals@14.0.0: {} globby@11.1.0: dependencies: @@ -7255,8 +7261,6 @@ snapshots: graceful-readlink@1.0.1: {} - graphemer@1.4.0: {} - gulp-clean-css@4.3.0: dependencies: clean-css: 4.2.3 @@ -7317,6 +7321,12 @@ snapshots: vinyl-bufferstream: 1.0.1 vinyl-sourcemaps-apply: 0.2.1 + gulp-plugin-extras@0.3.0: + dependencies: + '@types/vinyl': 2.0.12 + chalk: 5.4.1 + easy-transform-stream: 1.0.1 + gulp-postcss@10.0.0(jiti@2.4.2)(postcss@8.5.6): dependencies: fancy-log: 2.0.0 @@ -7336,11 +7346,10 @@ snapshots: replacestream: 4.0.3 yargs-parser: 22.0.0 - gulp-rev@10.0.0(gulp@5.0.1): + gulp-rev@11.0.0(gulp@5.0.1): dependencies: - easy-transform-stream: 1.0.1 + gulp-plugin-extras: 0.3.0 modify-filename: 2.0.0 - plugin-error: 2.0.1 rev-hash: 4.1.0 rev-path: 3.0.0 sort-keys: 5.1.0 @@ -7518,9 +7527,9 @@ snapshots: hexo-filter-nofollow@2.0.2: {} - hexo-front-matter@2.0.0: + hexo-front-matter@4.2.1: dependencies: - js-yaml: 3.14.1 + js-yaml: 4.1.0 hexo-fs@0.2.3: dependencies: @@ -7531,13 +7540,6 @@ snapshots: transitivePeerDependencies: - supports-color - hexo-fs@3.1.0: - dependencies: - bluebird: 3.7.2 - chokidar: 3.6.0 - graceful-fs: 4.2.11 - hexo-util: 2.7.0 - hexo-fs@4.1.3: dependencies: bluebird: 3.7.2 @@ -7545,12 +7547,11 @@ snapshots: graceful-fs: 4.2.11 hexo-util: 3.3.0 - hexo-generator-index@2.0.0: + hexo-generator-index@4.0.0: dependencies: - hexo-pagination: 1.0.0 - timsort: 0.3.0 + hexo-pagination: 3.0.0 - hexo-generator-sitemap@2.2.0(chokidar@3.6.0): + hexo-generator-sitemap@3.0.1(chokidar@3.6.0): dependencies: hexo-util: 2.7.0 micromatch: 4.0.8 @@ -7558,25 +7559,17 @@ snapshots: transitivePeerDependencies: - chokidar - hexo-i18n@1.0.0: + hexo-i18n@2.0.0: dependencies: sprintf-js: 1.1.3 - hexo-log@2.0.0: - dependencies: - chalk: 4.1.2 - - hexo-log@3.2.0: - dependencies: - picocolors: 1.1.1 - hexo-log@4.1.0: dependencies: picocolors: 1.1.1 - hexo-pagination@1.0.0: {} + hexo-pagination@3.0.0: {} - hexo-pagination@2.0.0: {} + hexo-pagination@4.0.0: {} hexo-related-popular-posts@5.0.1: dependencies: @@ -7611,22 +7604,22 @@ snapshots: markdown-it-sub: 1.0.0 markdown-it-sup: 1.0.0 - hexo-renderer-stylus@2.1.0: + hexo-renderer-stylus@3.0.1: dependencies: - nib: 1.2.0(stylus@0.57.0) - stylus: 0.57.0 + nib: 1.2.0(stylus@0.62.0) + stylus: 0.62.0 transitivePeerDependencies: - supports-color - hexo-server@2.0.0: + hexo-server@3.0.0: dependencies: bluebird: 3.7.2 - chalk: 4.1.2 compression: 1.8.0 connect: 3.7.0 - mime: 2.6.0 + mime: 3.0.0 morgan: 1.10.0 - open: 7.4.2 + open: 8.4.2 + picocolors: 1.1.1 serve-static: 1.16.2 transitivePeerDependencies: - supports-color @@ -7652,30 +7645,32 @@ snapshots: prismjs: 1.30.0 strip-indent: 3.0.0 - hexo@5.4.2(chokidar@3.6.0): + hexo@7.3.0(chokidar@3.6.0): dependencies: - abbrev: 1.1.1 + abbrev: 2.0.0 archy: 1.0.0 bluebird: 3.7.2 - chalk: 4.1.2 hexo-cli: 4.3.2 - hexo-front-matter: 2.0.0 - hexo-fs: 3.1.0 - hexo-i18n: 1.0.0 - hexo-log: 2.0.0 - hexo-util: 2.7.0 - js-yaml: 3.14.1 + hexo-front-matter: 4.2.1 + hexo-fs: 4.1.3 + hexo-i18n: 2.0.0 + hexo-log: 4.1.0 + hexo-util: 3.3.0 + js-yaml: 4.1.0 + js-yaml-js-types: 1.0.1(js-yaml@4.1.0) micromatch: 4.0.8 + moize: 6.1.6 moment: 2.30.1 moment-timezone: 0.5.48 nunjucks: 3.2.4(chokidar@3.6.0) + picocolors: 1.1.1 pretty-hrtime: 1.0.3 resolve: 1.22.10 strip-ansi: 6.0.1 text-table: 0.2.0 tildify: 2.0.0 titlecase: 1.1.3 - warehouse: 4.0.2 + warehouse: 5.0.1 transitivePeerDependencies: - chokidar @@ -7768,8 +7763,6 @@ snapshots: jsprim: 1.4.2 sshpk: 1.18.0 - human-signals@5.0.0: {} - husky@9.1.7: {} iconv-lite@0.4.24: @@ -7958,8 +7951,6 @@ snapshots: is-obj@2.0.0: {} - is-path-inside@3.0.3: {} - is-plain-obj@4.1.0: {} is-plain-object@2.0.4: @@ -7985,8 +7976,6 @@ snapshots: is-stream@1.1.0: {} - is-stream@3.0.0: {} - is-text-path@2.0.0: dependencies: text-extensions: 2.4.0 @@ -8021,6 +8010,8 @@ snapshots: isexe@2.0.0: {} + isexe@3.1.1: {} + isobject@2.1.0: dependencies: isarray: 1.0.0 @@ -8081,10 +8072,10 @@ snapshots: js-tokens@4.0.0: {} - js-yaml@3.14.1: + js-yaml-js-types@1.0.1(js-yaml@4.1.0): dependencies: - argparse: 1.0.10 esprima: 4.0.1 + js-yaml: 4.1.0 js-yaml@4.1.0: dependencies: @@ -8096,7 +8087,7 @@ snapshots: json-parse-even-better-errors@2.3.1: {} - json-parse-even-better-errors@3.0.2: {} + json-parse-even-better-errors@4.0.0: {} json-schema-traverse@0.4.1: {} @@ -8200,15 +8191,19 @@ snapshots: dependencies: uc.micro: 1.0.6 - lint-staged@15.5.2: + linkify-it@4.0.1: + dependencies: + uc.micro: 1.0.6 + + lint-staged@16.1.2: dependencies: chalk: 5.4.1 - commander: 13.1.0 + commander: 14.0.0 debug: 4.4.1 - execa: 8.0.1 lilconfig: 3.1.3 listr2: 8.3.3 micromatch: 4.0.8 + nano-spawn: 1.0.2 pidtree: 0.6.0 string-argv: 0.3.2 yaml: 2.8.0 @@ -8440,14 +8435,16 @@ snapshots: markdown-it-abbr@1.0.4: {} - markdown-it-anchor@8.6.7(@types/markdown-it@14.1.2)(markdown-it@12.3.2): + markdown-it-abbr@2.0.0: {} + + markdown-it-anchor@9.2.0(@types/markdown-it@14.1.2)(markdown-it@13.0.2): dependencies: '@types/markdown-it': 14.1.2 - markdown-it: 12.3.2 + markdown-it: 13.0.2 - markdown-it-attrs@4.3.1(markdown-it@12.3.2): + markdown-it-attrs@4.3.1(markdown-it@13.0.2): dependencies: - markdown-it: 12.3.2 + markdown-it: 13.0.2 markdown-it-checkbox@1.1.0: dependencies: @@ -8463,10 +8460,12 @@ snapshots: markdown-it-emoji@1.4.0: {} - markdown-it-emoji@2.0.2: {} + markdown-it-emoji@3.0.0: {} markdown-it-footnote@3.0.3: {} + markdown-it-footnote@4.0.0: {} + markdown-it-highlight-lines@1.0.2: {} markdown-it-highlightjs@4.2.0: @@ -8475,14 +8474,20 @@ snapshots: markdown-it-ins@3.0.1: {} + markdown-it-ins@4.0.0: {} + markdown-it-mark@3.0.1: {} markdown-it-shortcode-tag@1.1.0: {} markdown-it-sub@1.0.0: {} + markdown-it-sub@2.0.0: {} + markdown-it-sup@1.0.0: {} + markdown-it-sup@2.0.0: {} + markdown-it-task-lists@2.1.1: {} markdown-it@11.0.1: @@ -8493,11 +8498,11 @@ snapshots: mdurl: 1.0.1 uc.micro: 1.0.6 - markdown-it@12.3.2: + markdown-it@13.0.2: dependencies: argparse: 2.0.1 - entities: 2.1.0 - linkify-it: 3.0.3 + entities: 3.0.1 + linkify-it: 4.0.1 mdurl: 1.0.1 uc.micro: 1.0.6 @@ -8547,12 +8552,12 @@ snapshots: redent: 1.0.0 trim-newlines: 1.0.0 - merge-stream@2.0.0: {} - merge2@1.4.1: {} merge@2.1.1: {} + micro-memoize@4.1.3: {} + micromatch@2.3.11: dependencies: arr-diff: 2.0.0 @@ -8612,12 +8617,10 @@ snapshots: mime@1.6.0: {} - mime@2.6.0: {} + mime@3.0.0: {} mimic-fn@2.1.0: {} - mimic-fn@4.0.0: {} - mimic-function@5.0.1: {} min-indent@1.0.1: {} @@ -8657,6 +8660,11 @@ snapshots: modify-filename@2.0.0: {} + moize@6.1.6: + dependencies: + fast-equals: 3.0.3 + micro-memoize: 4.1.3 + moment-timezone@0.5.48: dependencies: moment: 2.30.1 @@ -8704,6 +8712,8 @@ snapshots: nan@2.22.2: optional: true + nano-spawn@1.0.2: {} + nanoid@3.3.11: {} nanomatch@1.2.13: @@ -8728,9 +8738,9 @@ snapshots: negotiator@0.6.4: {} - nib@1.2.0(stylus@0.57.0): + nib@1.2.0(stylus@0.62.0): dependencies: - stylus: 0.57.0 + stylus: 0.62.0 no-case@2.3.2: dependencies: @@ -8764,22 +8774,18 @@ snapshots: dependencies: once: 1.4.0 - npm-normalize-package-bin@3.0.1: {} + npm-normalize-package-bin@4.0.0: {} - npm-run-all2@6.2.6: + npm-run-all2@8.0.4: dependencies: ansi-styles: 6.2.1 cross-spawn: 7.0.6 memorystream: 0.3.1 - minimatch: 9.0.5 + picomatch: 4.0.2 pidtree: 0.6.0 - read-package-json-fast: 3.0.2 + read-package-json-fast: 4.0.0 shell-quote: 1.8.3 - which: 3.0.1 - - npm-run-path@5.3.0: - dependencies: - path-key: 4.0.0 + which: 5.0.0 nth-check@2.1.1: dependencies: @@ -8858,16 +8864,13 @@ snapshots: dependencies: mimic-fn: 2.1.0 - onetime@6.0.0: - dependencies: - mimic-fn: 4.0.0 - onetime@7.0.0: dependencies: mimic-function: 5.0.1 - open@7.4.2: + open@8.4.2: dependencies: + define-lazy-prop: 2.0.0 is-docker: 2.2.1 is-wsl: 2.2.0 @@ -8999,8 +9002,6 @@ snapshots: path-key@3.1.1: {} - path-key@4.0.0: {} - path-parse@1.0.7: {} path-root-regex@0.1.2: {} @@ -9351,10 +9352,10 @@ snapshots: dependencies: pify: 2.3.0 - read-package-json-fast@3.0.2: + read-package-json-fast@4.0.0: dependencies: - json-parse-even-better-errors: 3.0.2 - npm-normalize-package-bin: 3.0.1 + json-parse-even-better-errors: 4.0.0 + npm-normalize-package-bin: 4.0.0 read-pkg-up@1.0.1: dependencies: @@ -9557,10 +9558,6 @@ snapshots: rfdc@1.4.1: {} - rimraf@3.0.2: - dependencies: - glob: 7.2.3 - run-async@2.4.1: {} run-parallel@1.2.0: @@ -9589,7 +9586,7 @@ snapshots: safer-buffer@2.1.2: {} - sax@1.2.4: {} + sax@1.3.0: {} semver-greatest-satisfied-range@2.0.0: dependencies: @@ -9804,11 +9801,6 @@ snapshots: source-map-url: 0.4.1 urix: 0.1.0 - source-map-resolve@0.6.0: - dependencies: - atob: 2.1.2 - decode-uri-component: 0.2.2 - source-map-support@0.5.21: dependencies: buffer-from: 1.1.2 @@ -9970,8 +9962,6 @@ snapshots: strip-bom@4.0.0: {} - strip-final-newline@3.0.0: {} - strip-indent@1.0.1: dependencies: get-stdin: 4.0.1 @@ -9988,14 +9978,14 @@ snapshots: postcss: 8.5.6 postcss-selector-parser: 7.1.0 - stylelint-config-recommended@14.0.1(stylelint@16.20.0(typescript@5.8.3)): + stylelint-config-recommended@16.0.0(stylelint@16.20.0(typescript@5.8.3)): dependencies: stylelint: 16.20.0(typescript@5.8.3) - stylelint-config-standard@36.0.1(stylelint@16.20.0(typescript@5.8.3)): + stylelint-config-standard@38.0.0(stylelint@16.20.0(typescript@5.8.3)): dependencies: stylelint: 16.20.0(typescript@5.8.3) - stylelint-config-recommended: 14.0.1(stylelint@16.20.0(typescript@5.8.3)) + stylelint-config-recommended: 16.0.0(stylelint@16.20.0(typescript@5.8.3)) stylelint@16.20.0(typescript@5.8.3): dependencies: @@ -10041,13 +10031,12 @@ snapshots: - supports-color - typescript - stylus@0.57.0: + stylus@0.62.0: dependencies: - css: 3.0.0 + '@adobe/css-tools': 4.3.3 debug: 4.4.1 glob: 7.2.3 - safer-buffer: 2.1.2 - sax: 1.2.4 + sax: 1.3.0 source-map: 0.7.4 transitivePeerDependencies: - supports-color @@ -10191,8 +10180,6 @@ snapshots: time-stamp@1.1.0: {} - timsort@0.3.0: {} - tinyexec@1.0.1: {} tinyglobby@0.2.14: @@ -10271,8 +10258,6 @@ snapshots: dependencies: prelude-ls: 1.2.1 - type-fest@0.20.2: {} - type-fest@0.21.3: {} typedarray@0.0.7: {} @@ -10448,12 +10433,12 @@ snapshots: replace-ext: 2.0.0 teex: 1.0.1 - warehouse@4.0.2: + warehouse@5.0.1: dependencies: bluebird: 3.7.2 cuid: 2.1.8 graceful-fs: 4.2.11 - hexo-log: 3.2.0 + hexo-log: 4.1.0 is-plain-object: 5.0.0 jsonparse: 1.3.1 rfdc: 1.4.1 @@ -10487,9 +10472,9 @@ snapshots: dependencies: isexe: 2.0.0 - which@3.0.1: + which@5.0.0: dependencies: - isexe: 2.0.0 + isexe: 3.1.1 word-wrap@1.2.5: {} diff --git a/source/_posts/chatgpt.md b/source/_posts/chatgpt.md index aa32c2d..eb2c25e 100644 --- a/source/_posts/chatgpt.md +++ b/source/_posts/chatgpt.md @@ -137,12 +137,15 @@ Roleplay [verb] [task] [specifics] #### 5W1H Questions + Who + - Who is X? - Who is [involved | affected | responsible] for X? - Who should I contact for help with X? What + - [What is | define | explain | describe] X? - What does X do? - What did [entity | text] mean by [quote]? @@ -154,15 +157,18 @@ What - What are the top 5 X? When + - When [did | will] [entity | event] occur? - When is X due? - When is the best time to initiate X? Where + - Where did [entity | event] happen? - [Where to find X? | where to find resources about X? | suggest websites about X] Why + - Why did [entity] choose [approach]? - Why [did | will] [event] occur? - Why is [approach] being implemented? @@ -171,30 +177,36 @@ Why - Why is it important? How + - How to do X? - How does X work? - How does X do Y? - How to measure [metric] accurately? #### Utility + Generate And Expand Content -- Write [content type] to [entity] about [topic] should cover [aspects] ***(Content type examples: article, description, documentation, dummy data, email, resume, essay, guide, outline, program, recipe, SEO keywords, story, social media post, study plan, title, video script)*** + +- Write [content type] to [entity] about [topic] should cover [aspects] **_(Content type examples: article, description, documentation, dummy data, email, resume, essay, guide, outline, program, recipe, SEO keywords, story, social media post, study plan, title, video script)_** - Generate random [names | numbers | words | ideas | X] matching [criteria] - [Continue | expand] - Create image of X Summarize And Outline + - [Summarise | write key takeaways | write main points | write main lesson | highlight important info] - [Shorten | write concise] - Create outline Modify And Refine Text + - [Write better | improve] - Paraphrase - Correct spelling, grammar, punctuation errors - Change [narrative voice A] to [narrative voice B] Explain And Teach + - [Explain | elaborate] - Explain [how to do | each step of] X - Explain what X does @@ -203,14 +215,17 @@ Explain And Teach - Provide [example | analogy] Organize And Structure -- Sort X by [key] in [order] ***(Sort order examples: alphabetical, chronological, ascending, descending, lexicographical, custom)*** + +- Sort X by [key] in [order] **_(Sort order examples: alphabetical, chronological, ascending, descending, lexicographical, custom)_** - Categorize Plan And Strategize + - Plan [strategy for | goals and steps to achieve | milestones for | roadmap for] X - Create [schedule | timeline] for X Recommend And Advise + - Recommend [media type] [on | similar to] [topic] - Recommend [gift ideas | thing] for [entity | occasion] - Recommend improvements @@ -218,15 +233,17 @@ Recommend And Advise - Give feedback on idea for X Analyze And Compare + - Extract [themes | keywords | info] about X - Identify [similarities | differences] between X and Y - Analyse the [sentiment | tone] of X - Identify gaps in X - Evaluate [strengths and weaknesses | pros and cons] of X -- Is X [comparison operator] Y? ***(Can be abstractly expressed as a sentence like "is an apple bigger than a walnut"?)*** +- Is X [comparison operator] Y? **_(Can be abstractly expressed as a sentence like "is an apple bigger than a walnut"?)_** - Reverse engineer X Translate And Convert + - Translate [human language A] into [human language B] - Translate [programming language A] into [programming language B] - Translate into emojis @@ -234,25 +251,30 @@ Translate And Convert - Reformat as [output format] Filter And Choose + - Filter X where [condition] - Exclude X where [condition] - Choose best from [options] - Choose [top | lowest | first | last | random] [quantity] from [options] Real-Time Lookup And Verify + - Get up-to-date [facts | news | data] on X - Is this true? - Find [sources | references | citations] for X Engagement And Trivia + - Give questions about X Chat Memory + - What did you mean by X? - What was said earlier about X? - Use earlier context to do X #### Conditional Clauses + - [Verb] [item number] - [Verb] the [first | last | random] [quantity] of X - [Verb] the [first | last | random] [quantity] of X where [condition] @@ -260,6 +282,7 @@ Chat Memory - [Verb] X where not [condition] #### Database CRUD Operations + Create - [Write content about X|suggest ideas about X|suggest titles about X] @@ -375,6 +398,7 @@ Presentation - Check list Code + - Code Process diff --git a/source/_posts/fastapi.md b/source/_posts/fastapi.md index faca64f..832b0ab 100644 --- a/source/_posts/fastapi.md +++ b/source/_posts/fastapi.md @@ -1,7 +1,7 @@ --- -title: FastAPI -date: 2025-06-07 18:40:00 -background: bg-[#059669] +title: FastAPI +date: 2025-06-07 18:40:00 +background: bg-[#059669] tags: - web - python @@ -40,8 +40,6 @@ def root(): uvicorn main:app --reload ``` - - ## Routing & Parameters {.cols-3} ### Path Parameter @@ -68,8 +66,6 @@ def filter_data(limit: int = 10, active: bool = True): return {"limit": limit, "active": active} ``` - - ## Request Body & Validation {.cols-3} ### Using Pydantic @@ -98,8 +94,6 @@ def create(item: Item): return item ``` - - ## Forms, Files, Headers {.cols-3} ### Form Input @@ -132,8 +126,6 @@ def info(ua: str = Header(None)): return {"UA": ua} ``` - - ## Middleware & Dependency {.cols-2} ### Middleware @@ -159,8 +151,6 @@ def secure(_: bool = Depends(auth)): return {"secure": True} ``` - - ## Errors & JSON API {.cols-2} ### HTTP Error @@ -183,8 +173,6 @@ def get_data(): return {"status": "ok"} ``` - - ## Templates & Static {.cols-2} ### Mount Static @@ -201,8 +189,6 @@ from fastapi.templating import Jinja2Templates templates = Jinja2Templates("templates") ``` - - ## Routers & Structure {.cols-2} ### Routers (Blueprints) @@ -230,14 +216,12 @@ project/ └── models/ ``` - - ## Docs & Status {.cols-2} ### Built-in Docs -* Swagger: `/docs` -* ReDoc: `/redoc` +- Swagger: `/docs` +- ReDoc: `/redoc` ### Custom Status Code @@ -248,4 +232,3 @@ from fastapi import status def create(): return {"msg": "Created"} ``` - diff --git a/source/_posts/flask.md b/source/_posts/flask.md index c63797e..fe10ecc 100644 --- a/source/_posts/flask.md +++ b/source/_posts/flask.md @@ -1,7 +1,7 @@ --- -title: Flask -date: 2025-06-07 19:05:00 -background: bg-[#3598db] +title: Flask +date: 2025-06-07 19:05:00 +background: bg-[#3598db] tags: - web - python @@ -42,8 +42,6 @@ export FLASK_APP=app.py flask run ``` - - ## App Config & Environment {.cols-3} ### App Object @@ -62,13 +60,11 @@ app.config.from_pyfile("config.py") ### Common Config Keys -| Key | Description | -| | -- | -| `DEBUG` | Enable debug mode | +| Key | Description | +| | -- | +| `DEBUG` | Enable debug mode | | `SECRET_KEY` | For sessions/cookies | -| `ENV` | Set to 'development' | - - +| `ENV` | Set to 'development' | ## Routing & Methods {.cols-3} @@ -96,8 +92,6 @@ def user(name): return f"User: {name}" ``` - - ## Request & Response {.cols-3} ### Request Object @@ -112,9 +106,9 @@ def data(): ### Request Attributes -* `request.args`: Query params -* `request.form`: Form data -* `request.json`: JSON body +- `request.args`: Query params +- `request.form`: Form data +- `request.json`: JSON body ### Custom Response @@ -128,8 +122,6 @@ def custom(): return res ``` - - ## Templates & Static {.cols-3} ### Render Template @@ -146,17 +138,17 @@ def page(): ```html

Hello {{ name }}

-{% if name %}

Hi!

{% endif %} +{% if name %} +

Hi!

+{% endif %} ``` ### Static Files ```html - + ``` - - ## Sessions & Cookies {.cols-2} ### Using Sessions @@ -183,8 +175,6 @@ def cookie(): return resp ``` - - ## JSON API & Middleware {.cols-2} ### JSON Response @@ -210,8 +200,6 @@ def after(res): return res ``` - - ## Error Handling & Blueprints {.cols-2} ### Error Handling @@ -236,8 +224,6 @@ def dash(): app.register_blueprint(admin) ``` - - ## Project Structure {.cols-2} ### File Structure diff --git a/source/_posts/htmx.md b/source/_posts/htmx.md index 08b452e..df1a085 100644 --- a/source/_posts/htmx.md +++ b/source/_posts/htmx.md @@ -1,7 +1,7 @@ --- -title: HTMX -date: 2025-06-07 19:30:00 -background: bg-[#ff5f4d] +title: HTMX +date: 2025-06-07 19:30:00 +background: bg-[#ff5f4d] tags: - frontend - javascript @@ -14,8 +14,6 @@ plugins: - copyCode --- - - ## Getting Started {.cols-3} ### CDN Import @@ -27,11 +25,7 @@ plugins: ### Basic Usage ```html - +
``` @@ -42,8 +36,6 @@ plugins:

Hello from server

``` - - ## Core Attributes {.cols-3} ### `hx-get`, `hx-post`, etc. @@ -63,28 +55,24 @@ plugins: ### `hx-trigger` ```html - + hx-target="#results" +/> ``` - - ## Swap & Out of Band {.cols-3} ### `hx-swap` ```html -
-
+
``` -* `outerHTML` -* `innerHTML` -* `beforebegin`, `afterbegin`, etc. +- `outerHTML` +- `innerHTML` +- `beforebegin`, `afterbegin`, etc. ### `hx-swap-oob` @@ -92,7 +80,7 @@ plugins:
``` -*Useful for global updates from partials.* +_Useful for global updates from partials._ ### Swap Modifiers @@ -100,8 +88,6 @@ plugins: hx-swap="outerHTML transition:true swap:1s" ``` - - ## Forms & Events {.cols-3} ### Auto POST on Submit @@ -118,35 +104,21 @@ hx-swap="outerHTML transition:true swap:1s" ```html - + ``` ### `hx-vals` ```html - + ``` - - ## Advanced Features {.cols-3} ### Loading Indicator ```html - +
Loading...
``` @@ -162,23 +134,21 @@ hx-swap="outerHTML transition:true swap:1s"
``` - - ## Events & Extensions {.cols-3} ### Listen to Events ```js -document.body.addEventListener('htmx:afterSwap', e => { - console.log("Swap complete"); +document.body.addEventListener('htmx:afterSwap', (e) => { + console.log('Swap complete'); }); ``` ### Event Hooks -* `htmx:beforeRequest` -* `htmx:afterSwap` -* `htmx:responseError` +- `htmx:beforeRequest` +- `htmx:afterSwap` +- `htmx:responseError` ### Extensions @@ -187,8 +157,6 @@ document.body.addEventListener('htmx:afterSwap', e => {
``` - - ## Example Use Case {.cols-2} ### Python Backend (Flask) @@ -202,11 +170,6 @@ def hello(): ### HTML Client ```html - +
``` - diff --git a/source/_posts/matplotlib.md b/source/_posts/matplotlib.md index 3b6f05d..b5c2144 100644 --- a/source/_posts/matplotlib.md +++ b/source/_posts/matplotlib.md @@ -1,13 +1,13 @@ --- -title: "Matplotlib" +title: 'Matplotlib' date: 06-06-2025 background: bg-[#1a073e] tags: - - "data visualization" - - "matplotlib" - - "plotting" + - 'data visualization' + - 'matplotlib' + - 'plotting' categories: - - "Python" + - 'Python' intro: | [Matplotlib](https://matplotlib.org/) is a comprehensive library for creating static, animated, and interactive plots in Python. This cheat sheet provides a quick reference from basic to advanced usage, covering essential features for data science, machine learning, and scientific computing. @@ -15,10 +15,9 @@ plugins: - copyCode --- - --- -## Getting Started {.cols-2} +## Getting Started {.cols-2} ### Importing @@ -38,7 +37,7 @@ plt.show() # Display the plot --- -## Plot Types {.cols-2} +## Plot Types {.cols-2} ### Line Plot @@ -98,7 +97,7 @@ plt.show() --- -## Customization {.row-span-2} +## Customization {.row-span-2} | Feature | Code Example | Description | | --------------- | ------------------------------------------------------------------------------------ | ------------------------------------------- | @@ -117,7 +116,7 @@ plt.show() --- -## Subplots & Layouts +## Subplots & Layouts ### Multiple Subplots @@ -139,7 +138,7 @@ plt.figure(figsize=(10, 5)) # Set figure size (width, height in inches) --- -## Advanced Visualizations {.cols-2} +## Advanced Visualizations {.cols-2} ### Heatmap @@ -174,7 +173,7 @@ plt.show() --- -## Working with Images +## Working with Images ```python import matplotlib.image as mpimg @@ -233,7 +232,7 @@ plt.show() --- -## Saving Plots +## Saving Plots ```python plt.savefig("figure.png", dpi=300, bbox_inches='tight') # Save plot to file @@ -241,7 +240,7 @@ plt.savefig("figure.png", dpi=300, bbox_inches='tight') # Save plot to file --- -## Show & Clear +## Show & Clear ```python plt.show() # Show plot window @@ -251,7 +250,7 @@ plt.close() # Close figure window (useful in scripts or GUI apps) --- -## More Useful Functions +## More Useful Functions | Function | Use Case | | ------------------------------ | ------------------------------- | @@ -265,4 +264,3 @@ plt.close() # Close figure window (useful in scripts or GUI apps) | `plt.gcf()` | Get current figure | --- - diff --git a/source/_posts/python.md b/source/_posts/python.md index d6717f6..b824e18 100644 --- a/source/_posts/python.md +++ b/source/_posts/python.md @@ -957,8 +957,9 @@ else: Also see: [Python Tips](https://book.pythontips.com/en/latest/for_-_else.html) -### Over Dictionary -````python +### Over Dictionary + +```python johndict = { "firstname": "John", "lastname": "Doe", @@ -968,18 +969,17 @@ johndict = { x = johndict.items() print(x) -# Output: dict_items([('firstname', 'John'), +# Output: dict_items([('firstname', 'John'), # ('lastname', 'Doe'), # ('age', 30)]) for key, value in johndict.items(): - print(f"{key} : : {value}") + print(f"{key} : : {value}") # Output: firstname : : John # Output: lastname : : Doe # Output: age : : 30 -```` - +``` ## Python Comprehensions @@ -993,7 +993,7 @@ newlist = [x for x in languages if "l" not in x] print(newlist) #Output : [ 'go', 'rust', 'javascript', 'python'] -# List comprehension avoid this : +# List comprehension avoid this : oldlist = [] for x in languages: if "l" not in x: @@ -1016,10 +1016,10 @@ print(language_dict) # 'javascript': True, 'python': True} -# Dictionary comprehension avoid this : +# Dictionary comprehension avoid this : language_dict2 = {} - + for e in languages: if "l" not in e: language_dict2[e] = True @@ -1031,8 +1031,6 @@ print(language_dict2) # 'javascript': True, 'python': True} ``` - - ## Python Functions ### Basic @@ -1105,6 +1103,7 @@ add(5, 20) # => 25 # => 5 (lambda x, y: x ** 2 + y ** 2)(2, 1) ``` + ### @decorator {.col-span-2} ```python @@ -1120,13 +1119,14 @@ def handle_errors(func): return print(f"Error : {e}") return wrapper -# Decorate function or method +# Decorate function or method @handle_errors def divide(a, b): return a / b divide(10, 0) # Output : Error : division by zero ``` + ## Python Modules ### Import modules @@ -1395,8 +1395,7 @@ print(Yoki.legs) # => 4 Yoki.sound() # => Woof! ``` - -### @staticmethod {.col-span-2} +### @staticmethod {.col-span-2} ```python class MyClass: @@ -1640,24 +1639,20 @@ while (data := values[i]): # Expected result: 1, "text", True ``` -## Date & Time Handling +## Date & Time Handling ### Current date and time - ```python import datetime now = datetime.datetime.now() print(now) # e.g., 2024-04-27 14:35:22.123456 ``` - - -### Creating specific date/time objects +### Creating specific date/time objects - ```python import datetime @@ -1673,11 +1668,9 @@ print(t) # 15:30:45 dt = datetime.datetime(2024, 4, 27, 15, 30, 45) print(dt) # 2024-04-27 15:30:45 ``` - -### Converting between date formats +### Converting between date formats - ```python import datetime @@ -1690,11 +1683,10 @@ print(dt_obj) # 2024-04-27 14:00:00 formatted_str = dt_obj.strftime("%d/%m/%Y %H:%M") print(formatted_str) # 27/04/2024 14:00 ``` - ### Timestamps and Unix time -```python +```python import datetime # Get current timestamp @@ -1704,11 +1696,11 @@ print(timestamp) # e.g., 1714188922.123456 # Convert timestamp back to datetime dt_from_timestamp = datetime.datetime.fromtimestamp(timestamp) print(dt_from_timestamp) -``` +``` ### Date difference and timedelta {.col-span-2} -```python +```python import datetime date1 = datetime.date(2024, 4, 27) @@ -1722,7 +1714,6 @@ new_date = date1 + datetime.timedelta(days=10) print(new_date) # 2024-05-07 ``` - ## Miscellaneous ### Comments @@ -1781,7 +1772,7 @@ finally: # Execute under all circumstances print("We can clean up resources here") ``` -### Dispatcher Pattern {.col-span-3} +### Dispatcher Pattern {.col-span-3} ```python # Dispatcher allows dynamic selection and execution of functions based on user input or other runtime conditions diff --git a/source/_posts/ssh.md b/source/_posts/ssh.md index 74d23e0..fe60e4f 100644 --- a/source/_posts/ssh.md +++ b/source/_posts/ssh.md @@ -249,26 +249,25 @@ $ ssh-keygen -R - PEM - PKCS8 - - -## SSH Tunneling +## SSH Tunneling ### SSH Tunnel Options {.row-span-2} -| Option | Description | -|--------|:--------------------------------------------------------| -| `-L` | Local port forwarding | -| `-R` | Remote port forwarding | -| `-D` | Dynamic port forwarding | -| `-f` | Run in background | -| `-N` | Do not execute a remote command | -| `-g` | Allow remote hosts to connect to local forwarded ports | +| Option | Description | +| ------ | :----------------------------------------------------- | +| `-L` | Local port forwarding | +| `-R` | Remote port forwarding | +| `-D` | Dynamic port forwarding | +| `-f` | Run in background | +| `-N` | Do not execute a remote command | +| `-g` | Allow remote hosts to connect to local forwarded ports | {.left-text} more details on flag above with `man ssh` -### Local Port Forwarding {.col-span-2} +### Local Port Forwarding {.col-span-2} + ```bash # Forward a local port to a remote server ssh -L local_port:remote_host:remote_port user@ssh_server @@ -288,6 +287,7 @@ ssh -f -N -D 1080 user@ssh_server ``` ### Background Tunnel {.col-span-3} + ```bash # Create a local port forwarding tunnel in the background ssh -f -N -L local_port:remote_host:remote_port user@ssh_server @@ -305,8 +305,7 @@ ssh -L 8080:example.com:80 -L 3306:db.example.com:3306 user@ssh_server ```bash # In background, no command, allow remote host, local port forward, identity_file ssh -f -N -g -L 8080:example.com:80 -i ~/.ssh/custom_key user@ssh_server -``` - +``` ## Also see diff --git a/source/sw.js b/source/sw.js index ade65c4..e85bbfe 100644 --- a/source/sw.js +++ b/source/sw.js @@ -7,7 +7,7 @@ const STATIC_ASSETS = [ '/', '/css/style.css', '/js/main.js', - '/js/fuse_6.4.6.js', + '/js/fuse_7.1.0.js', '/manifest.json', '/search.json' ]; @@ -24,24 +24,20 @@ const CACHE_PATTERNS = [ // Service Worker installevent self.addEventListener('install', (event) => { - // eslint-disable-next-line no-console console.log('Service Worker: Installing...'); event.waitUntil( caches .open(STATIC_CACHE) .then((cache) => { - // eslint-disable-next-line no-console console.log('Service Worker: Caching static assets'); return cache.addAll(STATIC_ASSETS); }) .then(() => { - // eslint-disable-next-line no-console console.log('Service Worker: Static assets cached'); return self.skipWaiting(); }) .catch((error) => { - // eslint-disable-next-line no-console console.error('Service Worker: Cache failed', error); }) ); @@ -49,7 +45,6 @@ self.addEventListener('install', (event) => { // Service Worker activate event self.addEventListener('activate', (event) => { - // eslint-disable-next-line no-console console.log('Service Worker: Activating...'); event.waitUntil( @@ -60,7 +55,6 @@ self.addEventListener('activate', (event) => { cacheNames.map((cacheName) => { // Delete old cache versions if (cacheName !== STATIC_CACHE && cacheName !== DYNAMIC_CACHE) { - // eslint-disable-next-line no-console console.log('Service Worker: Deleting old cache', cacheName); return caches.delete(cacheName); } @@ -68,7 +62,6 @@ self.addEventListener('activate', (event) => { ); }) .then(() => { - // eslint-disable-next-line no-console console.log('Service Worker: Activated'); return self.clients.claim(); }) @@ -124,7 +117,6 @@ async function handleCacheRequest(request) { // 6. Nothing available, return offline page return createOfflineResponse(url.pathname); } catch (error) { - // eslint-disable-next-line no-console console.error('Service Worker: Fetch failed', error); // Network error, try to return cache @@ -250,7 +242,6 @@ async function doBackgroundSync() { cache.put('/search.json', response); } } catch (error) { - // eslint-disable-next-line no-console console.error('Background sync failed:', error); } } @@ -291,9 +282,6 @@ self.addEventListener('notificationclick', (event) => { event.notification.close(); if (event.action === 'explore') { - event.waitUntil( - // eslint-disable-next-line no-undef - clients.openWindow('/') - ); + event.waitUntil(clients.openWindow('/')); } }); diff --git a/themes/coo/scripts/markdown_plugin.js b/themes/coo/scripts/markdown_plugin.js index 1d05823..9b7c383 100644 --- a/themes/coo/scripts/markdown_plugin.js +++ b/themes/coo/scripts/markdown_plugin.js @@ -1,40 +1,104 @@ const fs = require('fs'); const path = require('path'); - -// Create a safe highlight.js wrapper const hljs = require('highlight.js'); -// Create a custom highlight function -const customHighlight = function (str, lang) { - if (lang && hljs.getLanguage(lang)) { - try { - return hljs.highlight(str, { language: lang, ignoreIllegals: true }).value; - } catch (err) { - console.warn(`Highlight.js error for language "${lang}":`, err.message); - } +// Helper function to safely require plugins that might be ES modules +function safeRequire(moduleName) { + const plugin = require(moduleName); + let result = plugin.default || plugin; + + // Special handling for markdown-it-emoji v3.0.0+ which exports an object with multiple functions + if (moduleName === 'markdown-it-emoji' && typeof result === 'object' && result.full) { + result = result.full; // Use the full emoji plugin } - // If the language is not supported, return an empty string, let markdown-it use the default processor - return ''; + + // Special handling for other ES modules with default export + if (typeof result === 'object' && result.default && typeof result.default === 'function') { + result = result.default; + } + + return result; +} + +// Create a custom highlight.js instance that handles unknown languages gracefully +const customHljs = { + highlight: function (code, options) { + const language = options && options.language ? options.language : ''; + + // If no language specified, try auto-detection + if (!language) { + try { + return hljs.highlightAuto(code); + } catch { + return { + value: hljs.util.escapeHTML(code), + language: 'plaintext', + relevance: 0 + }; + } + } + + // Check if the language is supported + if (hljs.getLanguage(language)) { + try { + return hljs.highlight(code, { + language: language, + ignoreIllegals: true + }); + } catch { + // If highlighting fails, fall back to plain text without warning + return { + value: hljs.util.escapeHTML(code), + language: 'plaintext', + relevance: 0 + }; + } + } else { + // Language not supported, try auto-detection or fall back to plain text + try { + const autoResult = hljs.highlightAuto(code); + // Only use auto-detection if confidence is reasonable + if (autoResult.relevance > 3) { + return autoResult; + } + } catch { + // Auto-detection failed, ignore + } + + // Fall back to plain text without warning + return { + value: hljs.util.escapeHTML(code), + language: 'plaintext', + relevance: 0 + }; + } + }, + + // Expose other hljs methods that might be needed + getLanguage: hljs.getLanguage.bind(hljs), + listLanguages: hljs.listLanguages.bind(hljs), + util: hljs.util }; hexo.extend.filter.register('markdown-it:renderer', (md) => { - md.use(require('markdown-it-abbr'), {}); - md.use(require('markdown-it-footnote'), {}); - md.use(require('markdown-it-ins'), {}); - md.use(require('markdown-it-sub'), {}); - md.use(require('markdown-it-sup'), {}); - md.use(require('markdown-it-task-lists'), {}); - md.use(require('markdown-it-emoji'), {}); - md.use(require('markdown-it-attrs'), {}); - md.use(require('markdown-it-highlightjs'), { - hljs: { - highlight: customHighlight - } + md.use(safeRequire('markdown-it-abbr'), {}); + md.use(safeRequire('markdown-it-footnote'), {}); + md.use(safeRequire('markdown-it-ins'), {}); + md.use(safeRequire('markdown-it-sub'), {}); + md.use(safeRequire('markdown-it-sup'), {}); + md.use(safeRequire('markdown-it-task-lists'), {}); + md.use(safeRequire('markdown-it-emoji'), {}); + md.use(safeRequire('markdown-it-attrs'), {}); + md.use(safeRequire('markdown-it-highlightjs'), { + hljs: customHljs, + auto: true, + code: true, + ignoreIllegals: true }); - md.use(require('markdown-it-checkbox'), {}); - md.use(require('markdown-it-shortcode-tag'), { + md.use(safeRequire('markdown-it-checkbox'), {}); + md.use(safeRequire('markdown-it-shortcode-tag'), { widget: { - render(attrs, _env) { + render(attrs) { const widgetPath = path.resolve(`./source/widget/${attrs.name}.html`); if (fs.existsSync(widgetPath)) { return fs.readFileSync(widgetPath, 'utf8').trim(); @@ -63,6 +127,12 @@ hexo.extend.filter.register('markdown-it:renderer', (md) => { function headerSections(md, options) { const opts = Object.assign({}, options); + // Check if the rule has already been added to prevent duplicate rules + // This is crucial for hexo-renderer-markdown-it v6.0.0+ where the md instance is reused + if (md.core.ruler.__rules__.some((rule) => rule.name === 'header_sections')) { + return; + } + function addSections(state) { const tokens = []; // output const Token = state.Token; @@ -164,7 +234,7 @@ function headerSections(md, options) { attrs = []; } let appended = false; - attrs.forEach((x, _i) => { + attrs.forEach((x) => { if (x[0] === 'class') { x[1] = `${cls} ${x[1]}`; appended = true; diff --git a/themes/coo/source/js/fuse_6.4.6.js b/themes/coo/source/js/fuse_6.4.6.js deleted file mode 100644 index 7def598..0000000 --- a/themes/coo/source/js/fuse_6.4.6.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Fuse.js v6.4.6 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2021 Kiro Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ -var e,t;e=this,t=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:3,t=new Map,n=Math.pow(10,e);return{get:function(e){var r=e.match(I).length;if(t.has(r))return t.get(r);var i=1/Math.sqrt(r),o=parseFloat(Math.round(i*n)/n);return t.set(r,o),o},clear:function(){t.clear()}}}var E=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.getFn,i=void 0===r?A.getFn:r;t(this,e),this.norm=C(3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}return r(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,g(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();g(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?A.getFn:r,o=new E({getFn:i});return o.setKeys(e.map(_)),o.setSources(t),o.create(),o}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,c=t.expectedLocation,a=void 0===c?0:c,s=t.distance,u=void 0===s?A.distance:s,h=t.ignoreLocation,f=void 0===h?A.ignoreLocation:h,l=r/e.length;if(f)return l;var d=Math.abs(a-o);return u?l+d/u:d?1:l}function F(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.minMatchCharLength,n=[],r=-1,i=-1,o=0,c=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}function P(e){for(var t={},n=0,r=e.length;n1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,c=void 0===o?A.location:o,a=i.threshold,s=void 0===a?A.threshold:a,u=i.distance,h=void 0===u?A.distance:u,f=i.includeMatches,l=void 0===f?A.includeMatches:f,d=i.findAllMatches,v=void 0===d?A.findAllMatches:d,g=i.minMatchCharLength,y=void 0===g?A.minMatchCharLength:g,p=i.isCaseSensitive,m=void 0===p?A.isCaseSensitive:p,k=i.ignoreLocation,M=void 0===k?A.ignoreLocation:k;if(t(this,e),this.options={location:c,threshold:s,distance:h,includeMatches:l,findAllMatches:v,minMatchCharLength:y,isCaseSensitive:m,ignoreLocation:M},this.pattern=m?n:n.toLowerCase(),this.chunks=[],this.pattern.length){var b=function(e,t){r.chunks.push({pattern:e,alphabet:P(e),startIndex:t})},x=this.pattern.length;if(x>32){for(var L=0,S=x%32,w=x-S;L3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?A.location:i,c=r.distance,a=void 0===c?A.distance:c,s=r.threshold,u=void 0===s?A.threshold:s,h=r.findAllMatches,f=void 0===h?A.findAllMatches:h,l=r.minMatchCharLength,d=void 0===l?A.minMatchCharLength:l,v=r.includeMatches,g=void 0===v?A.includeMatches:v,y=r.ignoreLocation,p=void 0===y?A.ignoreLocation:y;if(t.length>32)throw new Error(L(32));for(var m,k=t.length,M=e.length,b=Math.max(0,Math.min(o,M)),x=u,S=b,w=d>1||g,_=w?Array(M):[];(m=e.indexOf(t,S))>-1;){var O=R(t,{currentLocation:m,expectedLocation:b,distance:a,ignoreLocation:p});if(x=Math.min(O,x),S=m+k,w)for(var j=0;j=K;J-=1){var T=J-1,U=n[e.charAt(T)];if(w&&(_[T]=+!!U),W[J]=(W[J+1]<<1|1)&U,P&&(W[J]|=(I[J+1]|I[J])<<1|1|I[J+1]),W[J]&$&&(C=R(t,{errors:P,currentLocation:T,expectedLocation:b,distance:a,ignoreLocation:p}))<=x){if(x=C,(S=T)<=b)break;K=Math.max(1,2*b-S)}}var V=R(t,{errors:P+1,currentLocation:b,expectedLocation:b,distance:a,ignoreLocation:p});if(V>x)break;I=W}var B={isMatch:S>=0,score:Math.max(.001,C)};if(w){var G=F(_,d);G.length?g&&(B.indices=G):B.isMatch=!1}return B}(e,n,i,{location:c+o,distance:a,threshold:s,findAllMatches:u,minMatchCharLength:h,includeMatches:r,ignoreLocation:f}),p=y.isMatch,m=y.score,k=y.indices;p&&(g=!0),v+=m,p&&k&&(d=[].concat(l(d),l(k)))}));var y={isMatch:g,score:g?v/this.chunks.length:1};return g&&r&&(y.indices=d),y}}]),e}(),D=function(){function e(n){t(this,e),this.pattern=n}return r(e,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return z(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return z(e,this.singleRegex)}}]),e}();function z(e,t){var n=e.match(t);return n?n[1]:null}var K=function(e){a(i,e);var n=f(i);function i(e){return t(this,i),n.call(this,e)}return r(i,[{key:"search",value:function(e){var t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),i}(D),q=function(e){a(i,e);var n=f(i);function i(e){return t(this,i),n.call(this,e)}return r(i,[{key:"search",value:function(e){var t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),i}(D),W=function(e){a(i,e);var n=f(i);function i(e){return t(this,i),n.call(this,e)}return r(i,[{key:"search",value:function(e){var t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),i}(D),J=function(e){a(i,e);var n=f(i);function i(e){return t(this,i),n.call(this,e)}return r(i,[{key:"search",value:function(e){var t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),i}(D),T=function(e){a(i,e);var n=f(i);function i(e){return t(this,i),n.call(this,e)}return r(i,[{key:"search",value:function(e){var t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),i}(D),U=function(e){a(i,e);var n=f(i);function i(e){return t(this,i),n.call(this,e)}return r(i,[{key:"search",value:function(e){var t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),i}(D),V=function(e){a(i,e);var n=f(i);function i(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=o.location,a=void 0===c?A.location:c,s=o.threshold,u=void 0===s?A.threshold:s,h=o.distance,f=void 0===h?A.distance:h,l=o.includeMatches,d=void 0===l?A.includeMatches:l,v=o.findAllMatches,g=void 0===v?A.findAllMatches:v,y=o.minMatchCharLength,p=void 0===y?A.minMatchCharLength:y,m=o.isCaseSensitive,k=void 0===m?A.isCaseSensitive:m,M=o.ignoreLocation,b=void 0===M?A.ignoreLocation:M;return t(this,i),(r=n.call(this,e))._bitapSearch=new N(e,{location:a,threshold:u,distance:f,includeMatches:d,findAllMatches:g,minMatchCharLength:p,isCaseSensitive:k,ignoreLocation:b}),r}return r(i,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),i}(D),B=function(e){a(i,e);var n=f(i);function i(e){return t(this,i),n.call(this,e)}return r(i,[{key:"search",value:function(e){for(var t,n=0,r=[],i=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);var o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),i}(D),G=[K,B,W,J,U,T,q,V],H=G.length,Q=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/;function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(Q).filter((function(e){return e&&!!e.trim()})),r=[],i=0,o=n.length;i1&&void 0!==arguments[1]?arguments[1]:{},i=r.isCaseSensitive,o=void 0===i?A.isCaseSensitive:i,c=r.includeMatches,a=void 0===c?A.includeMatches:c,s=r.minMatchCharLength,u=void 0===s?A.minMatchCharLength:s,h=r.ignoreLocation,f=void 0===h?A.ignoreLocation:h,l=r.findAllMatches,d=void 0===l?A.findAllMatches:l,v=r.location,g=void 0===v?A.location:v,y=r.threshold,p=void 0===y?A.threshold:y,m=r.distance,k=void 0===m?A.distance:m;t(this,e),this.query=null,this.options={isCaseSensitive:o,includeMatches:a,minMatchCharLength:u,findAllMatches:d,ignoreLocation:f,location:g,threshold:p,distance:k},this.pattern=o?n:n.toLowerCase(),this.query=X(this.pattern,this.options)}return r(e,[{key:"searchIn",value:function(e){var t=this.query;if(!t)return{isMatch:!1,score:1};var n=this.options,r=n.includeMatches;e=n.isCaseSensitive?e:e.toLowerCase();for(var i=0,o=[],c=0,a=0,s=t.length;a-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function le(e,t){t.score=e.score}function de(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?A.includeMatches:r,o=n.includeScore,c=void 0===o?A.includeScore:o,a=[];return i&&a.push(fe),c&&a.push(le),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return a.length&&a.forEach((function(t){t(e,r)})),r}))}var ve=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;t(this,e),this.options=c({},A,{},r),this.options.useExtendedSearch,this._keyStore=new w(this.options.keys),this.setCollection(n,i)}return r(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof E))throw new Error("Incorrect 'index' type");this._myIndex=t||$(this.options.keys,this._docs,{getFn:this.options.getFn})}},{key:"add",value:function(e){k(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?-1:n,i=this.options,o=i.includeMatches,c=i.includeScore,a=i.shouldSort,s=i.sortFn,u=i.ignoreFieldNorm,h=g(e)?g(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return he(h,{ignoreFieldNorm:u}),a&&h.sort(s),y(r)&&r>-1&&(h=h.slice(0,r)),de(h,this._docs,{includeMatches:o,includeScore:c})}},{key:"_searchStringList",value:function(e){var t=te(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,i=e.i,o=e.n;if(k(n)){var c=t.searchIn(n),a=c.isMatch,s=c.score,u=c.indices;a&&r.push({item:n,idx:i,matches:[{score:s,value:n,norm:o,indices:u}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.auto,i=void 0===r||r,o=function e(n){var r=Object.keys(n),o=ae(n);if(!o&&r.length>1&&!ce(n))return e(ue(n));if(se(n)){var c=o?n[ie]:r[0],a=o?n[oe]:n[c];if(!g(a))throw new Error(x(c));var s={keyId:j(c),pattern:a};return i&&(s.searcher=te(a,t)),s}var u={children:[],operator:r[0]};return r.forEach((function(t){var r=n[t];v(r)&&r.forEach((function(t){u.children.push(e(t))}))})),u};return ce(e)||(e=ue(e)),o(e)}(e,this.options),r=this._myIndex.records,i={},o=[];return r.forEach((function(e){var r=e.$,c=e.i;if(k(r)){var a=function e(n,r,i){if(!n.children){var o=n.keyId,c=n.searcher,a=t._findMatches({key:t._keyStore.get(o),value:t._myIndex.getValueForItemAtKeyId(r,o),searcher:c});return a&&a.length?[{idx:i,item:r,matches:a}]:[]}switch(n.operator){case ne:for(var s=[],u=0,h=n.children.length;u1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?A.getFn:n,i=e.keys,o=e.records,c=new E({getFn:r});return c.setKeys(i),c.setIndexRecords(o),c},ve.config=A,function(){ee.push.apply(ee,arguments)}(Z),ve},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Fuse=t(); \ No newline at end of file diff --git a/themes/coo/source/js/fuse_7.1.0.js b/themes/coo/source/js/fuse_7.1.0.js new file mode 100644 index 0000000..0d509f3 --- /dev/null +++ b/themes/coo/source/js/fuse_7.1.0.js @@ -0,0 +1,9 @@ +/** + * Fuse.js v7.1.0 - Lightweight fuzzy-search (http://fusejs.io) + * + * Copyright (c) 2025 Kiro Risk (http://kiro.me) + * All Rights Reserved. Apache Software License 2.0 + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ +var e,t;e=this,t=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,i=void 0===n?O.getFn:n,u=t.fieldNormWeight,o=void 0===u?O.fieldNormWeight:u;r(this,e),this.norm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=new Map,r=Math.pow(10,t);return{get:function(t){var i=t.match(j).length;if(n.has(i))return n.get(i);var u=1/Math.pow(i,.5*e),o=parseFloat(Math.round(u*r)/r);return n.set(i,o),o},clear:function(){n.clear()}}}(o,3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}return u(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,A(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();A(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?O.getFn:r,u=n.fieldNormWeight,o=void 0===u?O.fieldNormWeight:u,c=new I({getFn:i,fieldNormWeight:o});return c.setKeys(e.map(w)),c.setSources(t),c.create(),c}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,u=void 0===i?0:i,o=t.expectedLocation,c=void 0===o?0:o,a=t.distance,s=void 0===a?O.distance:a,h=t.ignoreLocation,l=void 0===h?O.ignoreLocation:h,f=r/e.length;if(l)return f;var d=Math.abs(c-u);return s?f+d/s:d?1:f}var N=32;function P(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,u=void 0===i?O.location:i,o=r.distance,c=void 0===o?O.distance:o,a=r.threshold,s=void 0===a?O.threshold:a,h=r.findAllMatches,l=void 0===h?O.findAllMatches:h,f=r.minMatchCharLength,d=void 0===f?O.minMatchCharLength:f,v=r.includeMatches,g=void 0===v?O.includeMatches:v,y=r.ignoreLocation,p=void 0===y?O.ignoreLocation:y;if(t.length>N)throw new Error("Pattern length exceeds max of ".concat(N,"."));for(var A,m=t.length,C=e.length,k=Math.max(0,Math.min(u,C)),E=s,F=k,M=d>1||g,b=M?Array(C):[];(A=e.indexOf(t,F))>-1;){var D=R(t,{currentLocation:A,expectedLocation:k,distance:c,ignoreLocation:p});if(E=Math.min(D,E),F=A+m,M)for(var B=0;B=$;z-=1){var T=z-1,K=n[e.charAt(T)];if(M&&(b[T]=+!!K),W[z]=(W[z+1]<<1|1)&K,_&&(W[z]|=(x[z+1]|x[z])<<1|1|x[z+1]),W[z]&L&&(w=R(t,{errors:_,currentLocation:T,expectedLocation:k,distance:c,ignoreLocation:p}))<=E){if(E=w,(F=T)<=k)break;$=Math.max(1,2*k-F)}}if(R(t,{errors:_+1,currentLocation:k,expectedLocation:k,distance:c,ignoreLocation:p})>E)break;x=W}var q={isMatch:F>=0,score:Math.max(.001,w)};if(M){var J=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.minMatchCharLength,n=[],r=-1,i=-1,u=0,o=e.length;u=t&&n.push([r,i]),r=-1)}return e[u-1]&&u-r>=t&&n.push([r,u-1]),n}(b,d);J.length?g&&(q.indices=J):q.isMatch=!1}return q}function W(e){for(var t={},n=0,r=e.length;n1&&void 0!==arguments[1]?arguments[1]:{},u=i.location,o=void 0===u?O.location:u,c=i.threshold,a=void 0===c?O.threshold:c,s=i.distance,h=void 0===s?O.distance:s,l=i.includeMatches,f=void 0===l?O.includeMatches:l,d=i.findAllMatches,v=void 0===d?O.findAllMatches:d,g=i.minMatchCharLength,y=void 0===g?O.minMatchCharLength:g,p=i.isCaseSensitive,A=void 0===p?O.isCaseSensitive:p,m=i.ignoreDiacritics,C=void 0===m?O.ignoreDiacritics:m,k=i.ignoreLocation,E=void 0===k?O.ignoreLocation:k;if(r(this,e),this.options={location:o,threshold:a,distance:h,includeMatches:f,findAllMatches:v,minMatchCharLength:y,isCaseSensitive:A,ignoreDiacritics:C,ignoreLocation:E},t=A?t:t.toLowerCase(),t=C?z(t):t,this.pattern=t,this.chunks=[],this.pattern.length){var F=function(e,t){n.chunks.push({pattern:e,alphabet:W(e),startIndex:t})},M=this.pattern.length;if(M>N){for(var b=0,D=M%N,B=M-D;b1&&void 0!==arguments[1]?arguments[1]:{},o=u.location,c=void 0===o?O.location:o,a=u.threshold,s=void 0===a?O.threshold:a,h=u.distance,l=void 0===h?O.distance:h,f=u.includeMatches,d=void 0===f?O.includeMatches:f,v=u.findAllMatches,g=void 0===v?O.findAllMatches:v,y=u.minMatchCharLength,p=void 0===y?O.minMatchCharLength:y,A=u.isCaseSensitive,m=void 0===A?O.isCaseSensitive:A,C=u.ignoreDiacritics,k=void 0===C?O.ignoreDiacritics:C,E=u.ignoreLocation,F=void 0===E?O.ignoreLocation:E;return r(this,n),(i=t.call(this,e))._bitapSearch=new T(e,{location:c,threshold:s,distance:l,includeMatches:d,findAllMatches:g,minMatchCharLength:p,isCaseSensitive:m,ignoreDiacritics:k,ignoreLocation:F}),i}return u(n,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n}(K),Y=function(e){c(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return u(n,[{key:"search",value:function(e){for(var t,n=0,r=[],i=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);var u=!!r.length;return{isMatch:u,score:u?0:1,indices:r}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n}(K),Z=[J,Y,V,G,Q,H,U,X],ee=Z.length,te=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ne=new Set([X.type,Y.type]),re=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.isCaseSensitive,u=void 0===i?O.isCaseSensitive:i,o=n.ignoreDiacritics,c=void 0===o?O.ignoreDiacritics:o,a=n.includeMatches,s=void 0===a?O.includeMatches:a,h=n.minMatchCharLength,l=void 0===h?O.minMatchCharLength:h,f=n.ignoreLocation,d=void 0===f?O.ignoreLocation:f,v=n.findAllMatches,g=void 0===v?O.findAllMatches:v,y=n.location,p=void 0===y?O.location:y,A=n.threshold,m=void 0===A?O.threshold:A,C=n.distance,k=void 0===C?O.distance:C;r(this,e),this.query=null,this.options={isCaseSensitive:u,ignoreDiacritics:c,includeMatches:s,minMatchCharLength:l,findAllMatches:g,ignoreLocation:d,location:p,threshold:m,distance:k},t=u?t:t.toLowerCase(),t=c?z(t):t,this.pattern=t,this.query=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(te).filter((function(e){return e&&!!e.trim()})),r=[],i=0,u=n.length;i2&&void 0!==arguments[2]?arguments[2]:{}).auto,r=void 0===n||n;return he(e)||(e=le(e)),function e(n){var i=Object.keys(n),u=function(e){return!!e[ae]}(n);if(!u&&i.length>1&&!he(n))return e(le(n));if(function(e){return!g(e)&&k(e)&&!he(e)}(n)){var o=u?n[ae]:i[0],c=u?n[se]:n[o];if(!A(c))throw new Error(function(e){return"Invalid value for key ".concat(e)}(o));var a={keyId:L(o),pattern:c};return r&&(a.searcher=ue(c,t)),a}var s={children:[],operator:i[0]};return i.forEach((function(t){var r=n[t];g(r)&&r.forEach((function(t){s.children.push(e(t))}))})),s}(e)}function de(e,t){var n=e.matches;t.matches=[],E(n)&&n.forEach((function(e){if(E(e.indices)&&e.indices.length){var n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function ve(e,t){t.score=e.score}var ge=function(){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=arguments.length>2?arguments[2]:void 0;r(this,e),this.options=t(t({},O),i),this.options.useExtendedSearch,this._keyStore=new x(this.options.keys),this.setCollection(n,u)}return u(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof I))throw new Error("Incorrect 'index' type");this._myIndex=t||$(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){E(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n1&&void 0!==arguments[1]?arguments[1]:{}).limit,n=void 0===t?-1:t,r=this.options,i=r.includeMatches,u=r.includeScore,o=r.shouldSort,c=r.sortFn,a=r.ignoreFieldNorm,s=A(e)?A(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,t){var n=t.ignoreFieldNorm,r=void 0===n?O.ignoreFieldNorm:n;e.forEach((function(e){var t=1;e.matches.forEach((function(e){var n=e.key,i=e.norm,u=e.score,o=n?n.weight:null;t*=Math.pow(0===u&&o?Number.EPSILON:u,(o||1)*(r?1:i))})),e.score=t}))}(s,{ignoreFieldNorm:a}),o&&s.sort(c),m(n)&&n>-1&&(s=s.slice(0,n)),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?O.includeMatches:r,u=n.includeScore,o=void 0===u?O.includeScore:u,c=[];return i&&c.push(de),o&&c.push(ve),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return c.length&&c.forEach((function(t){t(e,r)})),r}))}(s,this._docs,{includeMatches:i,includeScore:u})}},{key:"_searchStringList",value:function(e){var t=ue(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,i=e.i,u=e.n;if(E(n)){var o=t.searchIn(n),c=o.isMatch,a=o.score,s=o.indices;c&&r.push({item:n,idx:i,matches:[{score:a,value:n,norm:u,indices:s}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=fe(e,this.options),r=function e(n,r,i){if(!n.children){var u=n.keyId,o=n.searcher,c=t._findMatches({key:t._keyStore.get(u),value:t._myIndex.getValueForItemAtKeyId(r,u),searcher:o});return c&&c.length?[{idx:i,item:r,matches:c}]:[]}for(var a=[],s=0,h=n.children.length;s1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?O.getFn:n,i=t.fieldNormWeight,u=void 0===i?O.fieldNormWeight:i,o=e.keys,c=e.records,a=new I({getFn:r,fieldNormWeight:u});return a.setKeys(o),a.setIndexRecords(c),a},ge.config=O,function(){ie.push.apply(ie,arguments)}(re),ge},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Fuse=t(); \ No newline at end of file diff --git a/themes/coo/source/js/main.js b/themes/coo/source/js/main.js index 3cc6663..27727eb 100644 --- a/themes/coo/source/js/main.js +++ b/themes/coo/source/js/main.js @@ -2,7 +2,7 @@ const Utils = (function () { return { LIBRARY: { fuse: { - lib: ['/js/fuse_6.4.6.js'], + lib: ['/js/fuse_7.1.0.js'], instance: 'Fuse', attr: { async: true } } @@ -488,14 +488,12 @@ window.addEventListener('load', () => { Utils.externalLibrary(Utils.LIBRARY.fuse) .then((Fuse) => { if (typeof Fuse === 'undefined') { - // eslint-disable-next-line no-console console.error('Fuse.js library failed to load'); return; } new SearchEngine().start(); }) .catch((error) => { - // eslint-disable-next-line no-console console.error('Failed to load search library:', error); }); });