From 2352cb5a61b7cde7a69636c30cf27666a0e10c79 Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 15 Jan 2024 16:31:42 +0100 Subject: [PATCH] Update dependencies. --- Cargo.toml | 6 +++--- package.json | 14 +++++++------- source/minify.rs | 4 ++++ 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6e26114..63f10ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,10 +14,10 @@ name = "bauke-xyz" path = "source/main.rs" [dependencies] -askama = "0.11.1" +askama = "0.12.1" color-eyre = "0.6.2" -comrak = "0.15.0" -minify-html = "0.10.7" +comrak = "0.20.0" +minify-html = "0.15.0" rsass = "0.23.4" toml-frontmatter = "0.1.0" diff --git a/package.json b/package.json index c42feea..9cc503a 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,15 @@ { "private": "true", "dependencies": { - "modern-normalize": "^1.1.0" + "modern-normalize": "^2.0.0" }, "devDependencies": { - "@bauke/eslint-config": "^0.1.2", - "@bauke/prettier-config": "^0.1.2", - "@bauke/stylelint-config": "^0.1.2", - "netlify-cli": "^12.5.0", - "stylelint": "^14.16.1", - "xo": "^0.53.1" + "@bauke/eslint-config": "^0.1.5", + "@bauke/prettier-config": "^0.1.5", + "@bauke/stylelint-config": "^0.1.5", + "netlify-cli": "^17.13.2", + "stylelint": "^16.1.0", + "xo": "^0.56.0" }, "prettier": "@bauke/prettier-config", "stylelint": { diff --git a/source/minify.rs b/source/minify.rs index 448b8a8..73b5a2d 100644 --- a/source/minify.rs +++ b/source/minify.rs @@ -10,9 +10,13 @@ pub fn html(data: String) -> Result { keep_closing_tags: true, keep_comments: false, keep_html_and_head_opening_tags: true, + keep_input_type_text_attr: true, keep_spaces_between_attributes: true, + keep_ssi_comments: false, minify_css: false, minify_js: false, + preserve_brace_template_syntax: false, + preserve_chevron_percent_template_syntax: false, remove_bangs: false, remove_processing_instructions: false, };