From cf6879754a0d043200631fb436c2b157a7dd1970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Mon, 16 Jan 2023 12:20:50 +0100 Subject: [PATCH 1/2] shoore(package/luxon): update to remove security warning --- package-lock.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3e29232..642ac9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -157,9 +157,9 @@ } }, "node_modules/@11ty/eleventy/node_modules/luxon": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-2.5.0.tgz", - "integrity": "sha512-IDkEPB80Rb6gCAU+FEib0t4FeJ4uVOuX1CQ9GsvU3O+JAGIgu0J7sf1OarXKaKDygTZIoJyU6YdZzTFRu+YR0A==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-2.5.2.tgz", + "integrity": "sha512-Yg7/RDp4nedqmLgyH0LwgGRvMEKVzKbUdkBYyCosbHgJ+kaOUx0qzSiSatVc3DFygnirTPYnMM2P5dg2uH1WvA==", "engines": { "node": ">=12" } @@ -4276,9 +4276,9 @@ "dev": true }, "node_modules/luxon": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-1.16.0.tgz", - "integrity": "sha512-qaqB+JwpGwtl7UbIXng3A/l4W/ySBr8drQvwtMLZBMiLD2V+0fEnPWMrs+UjnIy9PsktazQaKvwDUCLzoWz0Hw==", + "version": "1.28.1", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-1.28.1.tgz", + "integrity": "sha512-gYHAa180mKrNIUJCbwpmD0aTu9kV0dREDrwNnuyFAsO1Wt0EVYSZelPnJlbj9HplzXX/YWXHFTL45kvZ53M0pw==", "engines": { "node": "*" } @@ -8068,9 +8068,9 @@ } }, "luxon": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-2.5.0.tgz", - "integrity": "sha512-IDkEPB80Rb6gCAU+FEib0t4FeJ4uVOuX1CQ9GsvU3O+JAGIgu0J7sf1OarXKaKDygTZIoJyU6YdZzTFRu+YR0A==" + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-2.5.2.tgz", + "integrity": "sha512-Yg7/RDp4nedqmLgyH0LwgGRvMEKVzKbUdkBYyCosbHgJ+kaOUx0qzSiSatVc3DFygnirTPYnMM2P5dg2uH1WvA==" }, "path-key": { "version": "3.1.1", @@ -11414,9 +11414,9 @@ "dev": true }, "luxon": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/luxon/-/luxon-1.16.0.tgz", - "integrity": "sha512-qaqB+JwpGwtl7UbIXng3A/l4W/ySBr8drQvwtMLZBMiLD2V+0fEnPWMrs+UjnIy9PsktazQaKvwDUCLzoWz0Hw==" + "version": "1.28.1", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-1.28.1.tgz", + "integrity": "sha512-gYHAa180mKrNIUJCbwpmD0aTu9kV0dREDrwNnuyFAsO1Wt0EVYSZelPnJlbj9HplzXX/YWXHFTL45kvZ53M0pw==" }, "magic-string": { "version": "0.25.7", From 33339fc8e9cce995f66ce2da030c2d481b8bd022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Mon, 16 Jan 2023 12:21:31 +0100 Subject: [PATCH 2/2] fix(css/leading-zero): remove it to prevent error when doing stylelint --- src/_data/tokens.json | 2 +- src/scss/global.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_data/tokens.json b/src/_data/tokens.json index 4316a96..70f4a9c 100644 --- a/src/_data/tokens.json +++ b/src/_data/tokens.json @@ -1,7 +1,7 @@ { "size-scale": { "base": "1rem", - "300": "0.8rem", + "300": ".8rem", "500": "1.25rem", "600": "1.56rem", "700": "1.95rem", diff --git a/src/scss/global.scss b/src/scss/global.scss index 44f01e2..a6e3bde 100644 --- a/src/scss/global.scss +++ b/src/scss/global.scss @@ -46,7 +46,7 @@ img { :focus { outline: 1px solid var(--color-dark); - outline-offset: 0.25rem; + outline-offset: .25rem; } /**