Skip to content

Commit

Permalink
bump: Npgsql
Browse files Browse the repository at this point in the history
sass-1.80.1 deprecation reaction
  • Loading branch information
ChaosEngine committed Oct 18, 2024
1 parent a9b6da6 commit c3c5850
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/InkBall.Module/IBwwwroot/css/inkball.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@charset "UTF-8";
@import "svg-url";
@use "svg-url";

//////////////////////Functions, mixins start//////////////////////
@mixin generateBackgroundDataUrlSvg($cellWidth, $cellHeight, $strokePrefersLight, $strokePrefersDark) {
//https://codepen.io/jakob-e/pen/doMoML processed SVG
background-image: svg-url(
background-image: svg-url.svg-url(
'<svg xmlns="http://www.w3.org/2000/svg">' +
'<style>' +
'@media(prefers-color-scheme:dark){' +
Expand Down
11 changes: 6 additions & 5 deletions src/InkBall.Module/IBwwwroot/css/svg-url.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//Taken from https://codepen.io/jakob-e/pen/doMoML. Thnx!
@use "sass:string";
@use "sass:math";

//
Expand All @@ -8,7 +9,7 @@
//
// Add missing namespace
//
@if not str-index($svg,xmlns) {
@if not string.index($svg,xmlns) {
$svg: str-replace($svg, '<svg','<svg xmlns="http://www.w3.org/2000/svg"');
}
//
Expand All @@ -18,10 +19,10 @@
$encoded: '';
$slice: 2000;
$index: 0;
$loops: ceil(math.div(str-length($svg),$slice));
$loops: math.ceil(math.div(string.length($svg),$slice));

@for $i from 1 through $loops {
$chunk: str-slice($svg, $index, $index + $slice - 1);
$chunk: string.slice($svg, $index, $index + $slice - 1);
//
// Encode
//
Expand Down Expand Up @@ -65,6 +66,6 @@

// Helper function to replace characters in a string
@function str-replace($string, $search, $replace: '') {
$index: str-index($string, $search);
@return if($index, str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace), $string);
$index: string.index($string, $search);
@return if($index, string.slice($string, 1, $index - 1) + $replace + str-replace(string.slice($string, $index + string.length($search)), $search, $replace), $string);
}
4 changes: 2 additions & 2 deletions src/InkBall.Module/InkBall.Module.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="8.0.10" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="8.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.8" Condition="$(DefineConstants.Contains('INCLUDE_POSTGRES'))" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.10" Condition="$(DefineConstants.Contains('INCLUDE_POSTGRES'))" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.2" Condition="$(DefineConstants.Contains('INCLUDE_MYSQL'))" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.10" Condition="$(DefineConstants.Contains('INCLUDE_SQLSERVER'))" />
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.23.60" Condition="$(DefineConstants.Contains('INCLUDE_ORACLE'))" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="8.0.10" />
<PackageReference Include="MessagePack" Version="2.5.172" />
<PackageReference Include="MessagePack" Version="2.5.187" />
</ItemGroup>
<!--
<ItemGroup Condition="'$(Configuration)'=='Debug'">
Expand Down

0 comments on commit c3c5850

Please sign in to comment.