Updated dependencies

This commit is contained in:
squidfunk 2021-05-24 15:34:23 +02:00
parent f147eb676b
commit d6bb0b8a99
18 changed files with 377 additions and 383 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -39,10 +39,10 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.bde7dde4.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.10e03543.min.css' | url }}">
{% if config.theme.palette %} {% if config.theme.palette %}
{% set palette = config.theme.palette %} {% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ef6f36e2.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.f1a3b89f.min.css' | url }}">
{% if palette.primary %} {% if palette.primary %}
{% import "partials/palette.html" as map %} {% import "partials/palette.html" as map %}
{% set primary = map.primary( {% set primary = map.primary(
@ -223,7 +223,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.a1609d9a.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.a6b08407.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,7 @@
<meta name="twitter:title" content="{{ title }}"> <meta name="twitter:title" content="{{ title }}">
<meta name="twitter:description" content="{{ config.site_description }}"> <meta name="twitter:description" content="{{ config.site_description }}">
<meta name="twitter:image" content="{{ image }}"> <meta name="twitter:image" content="{{ image }}">
<link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.774bffd6.min.css' | url }}"> <link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.90c53ea0.min.css' | url }}">
{% endblock %} {% endblock %}
{% block announce %} {% block announce %}
<a href="https://twitter.com/squidfunk"> <a href="https://twitter.com/squidfunk">
@ -35,5 +35,5 @@
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
{{ super() }} {{ super() }}
<script src="{{ 'overrides/assets/javascripts/bundle.8507451f.min.js' | url }}"></script> <script src="{{ 'overrides/assets/javascripts/bundle.c2c2e800.min.js' | url }}"></script>
{% endblock %} {% endblock %}

596
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -39,7 +39,7 @@
"fuzzaldrin-plus": "^0.6.0", "fuzzaldrin-plus": "^0.6.0",
"lunr": "^2.3.9", "lunr": "^2.3.9",
"lunr-languages": "^1.4.0", "lunr-languages": "^1.4.0",
"rxjs": "^7.0.1" "rxjs": "^7.1.0"
}, },
"devDependencies": { "devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.3", "@fortawesome/fontawesome-free": "^5.15.3",
@ -50,30 +50,30 @@
"@types/fuzzaldrin-plus": "^0.6.1", "@types/fuzzaldrin-plus": "^0.6.1",
"@types/html-minifier": "^4.0.0", "@types/html-minifier": "^4.0.0",
"@types/lunr": "^2.3.3", "@types/lunr": "^2.3.3",
"@types/node": "^15.3.0", "@types/node": "^15.6.0",
"@types/resize-observer-browser": "^0.1.5", "@types/resize-observer-browser": "^0.1.5",
"@types/sass": "^1.16.0", "@types/sass": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^4.23.0", "@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.23.0", "@typescript-eslint/parser": "^4.24.0",
"autoprefixer": "^10.2.5", "autoprefixer": "^10.2.5",
"chokidar": "^3.5.1", "chokidar": "^3.5.1",
"cssnano": "^5.0.2", "cssnano": "^5.0.4",
"esbuild": "^0.11.23", "esbuild": "^0.12.1",
"eslint": "^7.26.0", "eslint": "^7.27.0",
"eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.23.2", "eslint-plugin-import": "^2.23.3",
"eslint-plugin-jsdoc": "^34.6.3", "eslint-plugin-jsdoc": "^35.0.0",
"eslint-plugin-no-null": "^1.0.2", "eslint-plugin-no-null": "^1.0.2",
"github-types": "^1.0.0", "github-types": "^1.0.0",
"gitlab": "^14.2.2", "gitlab": "^14.2.2",
"html-minifier": "^4.0.0", "html-minifier": "^4.0.0",
"material-design-color": "^2.3.2", "material-design-color": "^2.3.2",
"material-shadows": "^3.0.1", "material-shadows": "^3.0.1",
"postcss": "^8.2.15", "postcss": "^8.3.0",
"postcss-inline-svg": "^5.0.0", "postcss-inline-svg": "^5.0.0",
"preact": "^10.5.13", "preact": "^10.5.13",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"sass": "^1.32.13", "sass": "^1.34.0",
"stylelint": "^13.13.1", "stylelint": "^13.13.1",
"stylelint-config-rational-order": "^0.1.2", "stylelint-config-rational-order": "^0.1.2",
"stylelint-config-recommended": "^5.0.0", "stylelint-config-recommended": "^5.0.0",
@ -81,7 +81,7 @@
"stylelint-scss": "^3.19.0", "stylelint-scss": "^3.19.0",
"svgo": "^2.3.0", "svgo": "^2.3.0",
"tiny-glob": "^0.2.9", "tiny-glob": "^0.2.9",
"ts-node": "^9.1.1", "ts-node": "^10.0.0",
"typescript": "^4.2.4" "typescript": "^4.2.4"
}, },
"engines": { "engines": {

View File

@ -20,6 +20,8 @@
/// DEALINGS /// DEALINGS
//// ////
@use "sass:math";
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Helpers // Helpers
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@ -28,7 +30,7 @@
/// Strip units from a number /// Strip units from a number
/// ///
@function strip-units($number) { @function strip-units($number) {
@return $number / ($number * 0 + 1); @return math.div($number, ($number * 0 + 1));
} }
/// ///
@ -52,7 +54,7 @@
@function px2em($size, $base: 16px) { @function px2em($size, $base: 16px) {
@if unit($size) == px { @if unit($size) == px {
@if unit($base) == px { @if unit($base) == px {
@return ($size / $base) * 1em; @return math.div($size, $base) * 1em;
} @else { } @else {
@error "Invalid base: #{$base} - unit must be 'px'"; @error "Invalid base: #{$base} - unit must be 'px'";
} }
@ -67,7 +69,7 @@
@function px2rem($size, $base: 20px) { @function px2rem($size, $base: 20px) {
@if unit($size) == px { @if unit($size) == px {
@if unit($base) == px { @if unit($base) == px {
@return ($size / $base) * 1rem; @return math.div($size, $base) * 1rem;
} @else { } @else {
@error "Invalid base: #{$base} - unit must be 'px'"; @error "Invalid base: #{$base} - unit must be 'px'";
} }