From 125853b2a703914205c9c278d970b8bec133647b Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Wed, 17 Apr 2024 22:29:32 -0400 Subject: [PATCH] Update script tags to pull v1.9.12 - Update Git repo paths in package metadata --- src/Common/README.md | 2 +- src/Directory.Build.props | 8 ++++---- src/Htmx/README.md | 2 +- src/Tests/ViewEngine.fs | 4 ++-- src/ViewEngine.Htmx/Htmx.fs | 8 ++++---- src/ViewEngine.Htmx/README.md | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Common/README.md b/src/Common/README.md index bd7ea51..fdb479a 100644 --- a/src/Common/README.md +++ b/src/Common/README.md @@ -2,4 +2,4 @@ This package contains common code shared between [`Giraffe.Htmx`](https://www.nuget.org/packages/Giraffe.Htmx) and [`Giraffe.ViewEngine.Htmx`](https://www.nuget.org/packages/Giraffe.ViewEngine.Htmx), and will be automatically installed when you install either one. -**htmx version: 1.9.11** +**htmx version: 1.9.12** diff --git a/src/Directory.Build.props b/src/Directory.Build.props index ca23561..5ac10e8 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,13 +2,13 @@ net6.0;net7.0;net8.0 - 1.9.11 - Update script tags to pull htmx 1.9.11 + 1.9.12 + Update script tags to pull htmx 1.9.12 danieljsummers Bit Badger Solutions - https://github.com/bit-badger/Giraffe.Htmx + https://git.bitbadger.solutions/bit-badger/Giraffe.Htmx false - https://github.com/bit-badger/Giraffe.Htmx + https://git.bitbadger.solutions/bit-badger/Giraffe.Htmx Git MIT License MIT diff --git a/src/Htmx/README.md b/src/Htmx/README.md index 4c93fd3..99905bb 100644 --- a/src/Htmx/README.md +++ b/src/Htmx/README.md @@ -2,7 +2,7 @@ This package enables server-side support for [htmx](https://htmx.org) within [Giraffe](https://giraffe.wiki) and ASP.NET's `HttpContext`. -**htmx version: 1.9.11** +**htmx version: 1.9.12** ### Setup diff --git a/src/Tests/ViewEngine.fs b/src/Tests/ViewEngine.fs index d242c72..3aa4caf 100644 --- a/src/Tests/ViewEngine.fs +++ b/src/Tests/ViewEngine.fs @@ -820,14 +820,14 @@ let script = let html = RenderView.AsString.htmlNode Script.minified Expect.equal html - """""" + """""" "Minified script tag is incorrect" } test "unminified succeeds" { let html = RenderView.AsString.htmlNode Script.unminified Expect.equal html - """""" + """""" "Unminified script tag is incorrect" } ] diff --git a/src/ViewEngine.Htmx/Htmx.fs b/src/ViewEngine.Htmx/Htmx.fs index cb3461e..d2f8593 100644 --- a/src/ViewEngine.Htmx/Htmx.fs +++ b/src/ViewEngine.Htmx/Htmx.fs @@ -450,14 +450,14 @@ module Script = /// Script tag to load the minified version from unpkg.com let minified = - script [ _src "https://unpkg.com/htmx.org@1.9.11" - _integrity "sha384-0gxUXCCR8yv9FM2b+U3FDbsKthCI66oH5IA9fHppQq9DDMHuMauqq1ZHBpJxQ0J0" + script [ _src "https://unpkg.com/htmx.org@1.9.12" + _integrity "sha384-ujb1lZYygJmzgSwoxRggbCHcjc0rB2XoQrxeTUQyRjrOnlCoYta87iKBWq3EsdM2" _crossorigin "anonymous" ] [] /// Script tag to load the unminified version from unpkg.com let unminified = - script [ _src "https://unpkg.com/htmx.org@1.9.11/dist/htmx.js" - _integrity "sha384-l9bYT9SL4CAW0Hl7pAOpfRc18mys1b0wK4U8UtGnWOxPVbVMgrOdB+jyz/WY8Jue" + script [ _src "https://unpkg.com/htmx.org@1.9.12/dist/htmx.js" + _integrity "sha384-qbtR4rS9RrUMECUWDWM2+YGgN3U4V4ZncZ0BvUcg9FGct0jqXz3PUdVpU1p0yrXS" _crossorigin "anonymous" ] [] diff --git a/src/ViewEngine.Htmx/README.md b/src/ViewEngine.Htmx/README.md index eef4e92..a451914 100644 --- a/src/ViewEngine.Htmx/README.md +++ b/src/ViewEngine.Htmx/README.md @@ -2,7 +2,7 @@ This package enables [htmx](https://htmx.org) support within the [Giraffe](https://giraffe.wiki) view engine. -**htmx version: 1.9.11** +**htmx version: 1.9.12** ### Setup