From ad49b76b75b3b05e0cb079e71e64222b0ea45f4a Mon Sep 17 00:00:00 2001
From: Omri
Date: Tue, 17 Oct 2023 21:14:03 +0300
Subject: [PATCH 01/13] Change CSS properties to their bidirectional
counterparts
---
src/styles.js | 184 +++++++++++++++++++++++++-------------------------
1 file changed, 92 insertions(+), 92 deletions(-)
diff --git a/src/styles.js b/src/styles.js
index faa1af8..d73817b 100644
--- a/src/styles.js
+++ b/src/styles.js
@@ -35,7 +35,7 @@ let defaultModifiers = {
blockquote: {
marginTop: em(24, 18),
marginBottom: em(24, 18),
- paddingLeft: em(20, 18),
+ paddingInlineStart: em(20, 18),
},
h1: {
fontSize: em(30, 14),
@@ -80,9 +80,9 @@ let defaultModifiers = {
fontSize: em(12, 14),
borderRadius: rem(5),
paddingTop: em(2, 14),
- paddingRight: em(5, 14),
+ paddingInlineEnd: em(5, 14),
paddingBottom: em(2, 14),
- paddingLeft: em(5, 14),
+ paddingInlineStart: em(5, 14),
},
code: {
fontSize: em(12, 14),
@@ -100,29 +100,29 @@ let defaultModifiers = {
marginBottom: em(20, 12),
borderRadius: rem(4),
paddingTop: em(8, 12),
- paddingRight: em(12, 12),
+ paddingInlineEnd: em(12, 12),
paddingBottom: em(8, 12),
- paddingLeft: em(12, 12),
+ paddingInlineStart: em(12, 12),
},
ol: {
marginTop: em(16, 14),
marginBottom: em(16, 14),
- paddingLeft: em(22, 14),
+ paddingInlineStart: em(22, 14),
},
ul: {
marginTop: em(16, 14),
marginBottom: em(16, 14),
- paddingLeft: em(22, 14),
+ paddingInlineStart: em(22, 14),
},
li: {
marginTop: em(4, 14),
marginBottom: em(4, 14),
},
'ol > li': {
- paddingLeft: em(6, 14),
+ paddingInlineStart: em(6, 14),
},
'ul > li': {
- paddingLeft: em(6, 14),
+ paddingInlineStart: em(6, 14),
},
'> ul > li p': {
marginTop: em(8, 14),
@@ -153,7 +153,7 @@ let defaultModifiers = {
},
dd: {
marginTop: em(4, 14),
- paddingLeft: em(22, 14),
+ paddingInlineStart: em(22, 14),
},
hr: {
marginTop: em(40, 14),
@@ -176,27 +176,27 @@ let defaultModifiers = {
lineHeight: round(18 / 12),
},
'thead th': {
- paddingRight: em(12, 12),
+ paddingInlineEnd: em(12, 12),
paddingBottom: em(8, 12),
- paddingLeft: em(12, 12),
+ paddingInlineStart: em(12, 12),
},
'thead th:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'thead th:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
'tbody td, tfoot td': {
paddingTop: em(8, 12),
- paddingRight: em(12, 12),
+ paddingInlineEnd: em(12, 12),
paddingBottom: em(8, 12),
- paddingLeft: em(12, 12),
+ paddingInlineStart: em(12, 12),
},
'tbody td:first-child, tfoot td:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'tbody td:last-child, tfoot td:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
figure: {
marginTop: em(24, 14),
@@ -240,7 +240,7 @@ let defaultModifiers = {
blockquote: {
marginTop: em(32, 20),
marginBottom: em(32, 20),
- paddingLeft: em(20, 20),
+ paddingInlineStart: em(20, 20),
},
h1: {
fontSize: em(36, 16),
@@ -285,9 +285,9 @@ let defaultModifiers = {
fontSize: em(14, 16),
borderRadius: rem(5),
paddingTop: em(3, 16),
- paddingRight: em(6, 16),
+ paddingInlineEnd: em(6, 16),
paddingBottom: em(3, 16),
- paddingLeft: em(6, 16),
+ paddingInlineStart: em(6, 16),
},
code: {
fontSize: em(14, 16),
@@ -305,29 +305,29 @@ let defaultModifiers = {
marginBottom: em(24, 14),
borderRadius: rem(6),
paddingTop: em(12, 14),
- paddingRight: em(16, 14),
+ paddingInlineEnd: em(16, 14),
paddingBottom: em(12, 14),
- paddingLeft: em(16, 14),
+ paddingInlineStart: em(16, 14),
},
ol: {
marginTop: em(20, 16),
marginBottom: em(20, 16),
- paddingLeft: em(26, 16),
+ paddingInlineStart: em(26, 16),
},
ul: {
marginTop: em(20, 16),
marginBottom: em(20, 16),
- paddingLeft: em(26, 16),
+ paddingInlineStart: em(26, 16),
},
li: {
marginTop: em(8, 16),
marginBottom: em(8, 16),
},
'ol > li': {
- paddingLeft: em(6, 16),
+ paddingInlineStart: em(6, 16),
},
'ul > li': {
- paddingLeft: em(6, 16),
+ paddingInlineStart: em(6, 16),
},
'> ul > li p': {
marginTop: em(12, 16),
@@ -358,7 +358,7 @@ let defaultModifiers = {
},
dd: {
marginTop: em(8, 16),
- paddingLeft: em(26, 16),
+ paddingInlineStart: em(26, 16),
},
hr: {
marginTop: em(48, 16),
@@ -381,27 +381,27 @@ let defaultModifiers = {
lineHeight: round(24 / 14),
},
'thead th': {
- paddingRight: em(8, 14),
+ paddingInlineEnd: em(8, 14),
paddingBottom: em(8, 14),
- paddingLeft: em(8, 14),
+ paddingInlineStart: em(8, 14),
},
'thead th:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'thead th:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
'tbody td, tfoot td': {
paddingTop: em(8, 14),
- paddingRight: em(8, 14),
+ paddingInlineEnd: em(8, 14),
paddingBottom: em(8, 14),
- paddingLeft: em(8, 14),
+ paddingInlineStart: em(8, 14),
},
'tbody td:first-child, tfoot td:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'tbody td:last-child, tfoot td:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
figure: {
marginTop: em(32, 16),
@@ -445,7 +445,7 @@ let defaultModifiers = {
blockquote: {
marginTop: em(40, 24),
marginBottom: em(40, 24),
- paddingLeft: em(24, 24),
+ paddingInlineStart: em(24, 24),
},
h1: {
fontSize: em(48, 18),
@@ -490,9 +490,9 @@ let defaultModifiers = {
fontSize: em(16, 18),
borderRadius: rem(5),
paddingTop: em(4, 18),
- paddingRight: em(8, 18),
+ paddingInlineEnd: em(8, 18),
paddingBottom: em(4, 18),
- paddingLeft: em(8, 18),
+ paddingInlineStart: em(8, 18),
},
code: {
fontSize: em(16, 18),
@@ -510,29 +510,29 @@ let defaultModifiers = {
marginBottom: em(32, 16),
borderRadius: rem(6),
paddingTop: em(16, 16),
- paddingRight: em(24, 16),
+ paddingInlineEnd: em(24, 16),
paddingBottom: em(16, 16),
- paddingLeft: em(24, 16),
+ paddingInlineStart: em(24, 16),
},
ol: {
marginTop: em(24, 18),
marginBottom: em(24, 18),
- paddingLeft: em(28, 18),
+ paddingInlineStart: em(28, 18),
},
ul: {
marginTop: em(24, 18),
marginBottom: em(24, 18),
- paddingLeft: em(28, 18),
+ paddingInlineStart: em(28, 18),
},
li: {
marginTop: em(12, 18),
marginBottom: em(12, 18),
},
'ol > li': {
- paddingLeft: em(8, 18),
+ paddingInlineStart: em(8, 18),
},
'ul > li': {
- paddingLeft: em(8, 18),
+ paddingInlineStart: em(8, 18),
},
'> ul > li p': {
marginTop: em(16, 18),
@@ -563,7 +563,7 @@ let defaultModifiers = {
},
dd: {
marginTop: em(12, 18),
- paddingLeft: em(28, 18),
+ paddingInlineStart: em(28, 18),
},
hr: {
marginTop: em(56, 18),
@@ -586,27 +586,27 @@ let defaultModifiers = {
lineHeight: round(24 / 16),
},
'thead th': {
- paddingRight: em(12, 16),
+ paddingInlineEnd: em(12, 16),
paddingBottom: em(12, 16),
- paddingLeft: em(12, 16),
+ paddingInlineStart: em(12, 16),
},
'thead th:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'thead th:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
'tbody td, tfoot td': {
paddingTop: em(12, 16),
- paddingRight: em(12, 16),
+ paddingInlineEnd: em(12, 16),
paddingBottom: em(12, 16),
- paddingLeft: em(12, 16),
+ paddingInlineStart: em(12, 16),
},
'tbody td:first-child, tfoot td:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'tbody td:last-child, tfoot td:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
figure: {
marginTop: em(32, 18),
@@ -650,7 +650,7 @@ let defaultModifiers = {
blockquote: {
marginTop: em(48, 30),
marginBottom: em(48, 30),
- paddingLeft: em(32, 30),
+ paddingInlineStart: em(32, 30),
},
h1: {
fontSize: em(56, 20),
@@ -695,9 +695,9 @@ let defaultModifiers = {
fontSize: em(18, 20),
borderRadius: rem(5),
paddingTop: em(5, 20),
- paddingRight: em(8, 20),
+ paddingInlineEnd: em(8, 20),
paddingBottom: em(5, 20),
- paddingLeft: em(8, 20),
+ paddingInlineStart: em(8, 20),
},
code: {
fontSize: em(18, 20),
@@ -715,29 +715,29 @@ let defaultModifiers = {
marginBottom: em(36, 18),
borderRadius: rem(8),
paddingTop: em(20, 18),
- paddingRight: em(24, 18),
+ paddingInlineEnd: em(24, 18),
paddingBottom: em(20, 18),
- paddingLeft: em(24, 18),
+ paddingInlineStart: em(24, 18),
},
ol: {
marginTop: em(24, 20),
marginBottom: em(24, 20),
- paddingLeft: em(32, 20),
+ paddingInlineStart: em(32, 20),
},
ul: {
marginTop: em(24, 20),
marginBottom: em(24, 20),
- paddingLeft: em(32, 20),
+ paddingInlineStart: em(32, 20),
},
li: {
marginTop: em(12, 20),
marginBottom: em(12, 20),
},
'ol > li': {
- paddingLeft: em(8, 20),
+ paddingInlineStart: em(8, 20),
},
'ul > li': {
- paddingLeft: em(8, 20),
+ paddingInlineStart: em(8, 20),
},
'> ul > li p': {
marginTop: em(16, 20),
@@ -768,7 +768,7 @@ let defaultModifiers = {
},
dd: {
marginTop: em(12, 20),
- paddingLeft: em(32, 20),
+ paddingInlineStart: em(32, 20),
},
hr: {
marginTop: em(56, 20),
@@ -791,27 +791,27 @@ let defaultModifiers = {
lineHeight: round(28 / 18),
},
'thead th': {
- paddingRight: em(12, 18),
+ paddingInlineEnd: em(12, 18),
paddingBottom: em(16, 18),
- paddingLeft: em(12, 18),
+ paddingInlineStart: em(12, 18),
},
'thead th:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'thead th:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
'tbody td, tfoot td': {
paddingTop: em(16, 18),
- paddingRight: em(12, 18),
+ paddingInlineEnd: em(12, 18),
paddingBottom: em(16, 18),
- paddingLeft: em(12, 18),
+ paddingInlineStart: em(12, 18),
},
'tbody td:first-child, tfoot td:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'tbody td:last-child, tfoot td:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
figure: {
marginTop: em(40, 20),
@@ -855,7 +855,7 @@ let defaultModifiers = {
blockquote: {
marginTop: em(64, 36),
marginBottom: em(64, 36),
- paddingLeft: em(40, 36),
+ paddingInlineStart: em(40, 36),
},
h1: {
fontSize: em(64, 24),
@@ -900,9 +900,9 @@ let defaultModifiers = {
fontSize: em(20, 24),
borderRadius: rem(6),
paddingTop: em(6, 24),
- paddingRight: em(8, 24),
+ paddingInlineEnd: em(8, 24),
paddingBottom: em(6, 24),
- paddingLeft: em(8, 24),
+ paddingInlineStart: em(8, 24),
},
code: {
fontSize: em(20, 24),
@@ -920,29 +920,29 @@ let defaultModifiers = {
marginBottom: em(40, 20),
borderRadius: rem(8),
paddingTop: em(24, 20),
- paddingRight: em(32, 20),
+ paddingInlineEnd: em(32, 20),
paddingBottom: em(24, 20),
- paddingLeft: em(32, 20),
+ paddingInlineStart: em(32, 20),
},
ol: {
marginTop: em(32, 24),
marginBottom: em(32, 24),
- paddingLeft: em(38, 24),
+ paddingInlineStart: em(38, 24),
},
ul: {
marginTop: em(32, 24),
marginBottom: em(32, 24),
- paddingLeft: em(38, 24),
+ paddingInlineStart: em(38, 24),
},
li: {
marginTop: em(12, 24),
marginBottom: em(12, 24),
},
'ol > li': {
- paddingLeft: em(10, 24),
+ paddingInlineStart: em(10, 24),
},
'ul > li': {
- paddingLeft: em(10, 24),
+ paddingInlineStart: em(10, 24),
},
'> ul > li p': {
marginTop: em(20, 24),
@@ -973,7 +973,7 @@ let defaultModifiers = {
},
dd: {
marginTop: em(12, 24),
- paddingLeft: em(38, 24),
+ paddingInlineStart: em(38, 24),
},
hr: {
marginTop: em(72, 24),
@@ -996,27 +996,27 @@ let defaultModifiers = {
lineHeight: round(28 / 20),
},
'thead th': {
- paddingRight: em(12, 20),
+ paddingInlineEnd: em(12, 20),
paddingBottom: em(16, 20),
- paddingLeft: em(12, 20),
+ paddingInlineStart: em(12, 20),
},
'thead th:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'thead th:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
'tbody td, tfoot td': {
paddingTop: em(16, 20),
- paddingRight: em(12, 20),
+ paddingInlineEnd: em(12, 20),
paddingBottom: em(16, 20),
- paddingLeft: em(12, 20),
+ paddingInlineStart: em(12, 20),
},
'tbody td:first-child, tfoot td:first-child': {
- paddingLeft: '0',
+ paddingInlineStart: '0',
},
'tbody td:last-child, tfoot td:last-child': {
- paddingRight: '0',
+ paddingInlineEnd: '0',
},
figure: {
marginTop: em(48, 24),
@@ -1476,8 +1476,8 @@ module.exports = {
fontWeight: '500',
fontStyle: 'italic',
color: 'var(--tw-prose-quotes)',
- borderLeftWidth: '0.25rem',
- borderLeftColor: 'var(--tw-prose-quote-borders)',
+ borderInlineStartWidth: '0.25rem',
+ borderInlineStartColor: 'var(--tw-prose-quote-borders)',
quotes: '"\\201C""\\201D""\\2018""\\2019"',
},
'blockquote p:first-of-type::before': {
From 5735dad50f5c5a538a83ab18afd99a9795067da8 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sat, 7 Oct 2023 08:08:29 -0400
Subject: [PATCH 02/13] Bump postcss from 8.4.18 to 8.4.31 (#321)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.18 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.18...8.4.31)
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 41cd922..c60290d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6388,10 +6388,16 @@
"dev": true
},
"node_modules/nanoid": {
- "version": "3.3.4",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
- "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
+ "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
"dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
"bin": {
"nanoid": "bin/nanoid.cjs"
},
@@ -6965,9 +6971,9 @@
}
},
"node_modules/postcss": {
- "version": "8.4.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz",
- "integrity": "sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==",
+ "version": "8.4.31",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
"dev": true,
"funding": [
{
@@ -6977,10 +6983,14 @@
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
}
],
"dependencies": {
- "nanoid": "^3.3.4",
+ "nanoid": "^3.3.6",
"picocolors": "^1.0.0",
"source-map-js": "^1.0.2"
},
@@ -14307,9 +14317,9 @@
"dev": true
},
"nanoid": {
- "version": "3.3.4",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
- "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
+ "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
"dev": true
},
"nanomatch": {
@@ -14732,12 +14742,12 @@
"dev": true
},
"postcss": {
- "version": "8.4.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz",
- "integrity": "sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==",
+ "version": "8.4.31",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
"dev": true,
"requires": {
- "nanoid": "^3.3.4",
+ "nanoid": "^3.3.6",
"picocolors": "^1.0.0",
"source-map-js": "^1.0.2"
}
From 884bbf744a6fae3f852487f49127961a6e82808a Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 17 Oct 2023 14:08:44 -0400
Subject: [PATCH 03/13] Bump @babel/traverse from 7.17.0 to 7.23.2 (#322)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.17.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 391 ++++++++++++++++++++++++++++------------------
1 file changed, 235 insertions(+), 156 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index c60290d..05052ac 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -34,12 +34,13 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz",
- "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==",
+ "version": "7.22.13",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
+ "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
"dev": true,
"dependencies": {
- "@babel/highlight": "^7.16.7"
+ "@babel/highlight": "^7.22.13",
+ "chalk": "^2.4.2"
},
"engines": {
"node": ">=6.9.0"
@@ -77,64 +78,49 @@
}
},
"node_modules/@babel/generator": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.0.tgz",
- "integrity": "sha512-I3Omiv6FGOC29dtlZhkfXO6pgkmukJSlT26QjVvS1DGZe/NzSVCPG41X0tS21oZkJYlovfj9qDWgKP+Cn4bXxw==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz",
+ "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.17.0",
- "jsesc": "^2.5.1",
- "source-map": "^0.5.0"
+ "@babel/types": "^7.23.0",
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "@jridgewell/trace-mapping": "^0.3.17",
+ "jsesc": "^2.5.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-environment-visitor": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz",
- "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
+ "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
"dev": true,
- "dependencies": {
- "@babel/types": "^7.16.7"
- },
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-function-name": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz",
- "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==",
- "dev": true,
- "dependencies": {
- "@babel/helper-get-function-arity": "^7.16.7",
- "@babel/template": "^7.16.7",
- "@babel/types": "^7.16.7"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-get-function-arity": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz",
- "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
+ "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.16.7"
+ "@babel/template": "^7.22.15",
+ "@babel/types": "^7.23.0"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-hoist-variables": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz",
- "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==",
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
+ "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.16.7"
+ "@babel/types": "^7.22.5"
},
"engines": {
"node": ">=6.9.0"
@@ -193,21 +179,30 @@
}
},
"node_modules/@babel/helper-split-export-declaration": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz",
- "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==",
+ "version": "7.22.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
+ "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.16.7"
+ "@babel/types": "^7.22.5"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
+ "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz",
- "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
+ "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -228,13 +223,13 @@
}
},
"node_modules/@babel/highlight": {
- "version": "7.16.10",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz",
- "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
+ "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
"dev": true,
"dependencies": {
- "@babel/helper-validator-identifier": "^7.16.7",
- "chalk": "^2.0.0",
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
},
"engines": {
@@ -242,9 +237,9 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.0.tgz",
- "integrity": "sha512-VKXSCQx5D8S04ej+Dqsr1CzYvvWgf20jIw2D+YhQCrIlr2UZGaDds23Y0xg75/skOxpLCRpUZvk/1EAVkGoDOw==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",
+ "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==",
"dev": true,
"bin": {
"parser": "bin/babel-parser.js"
@@ -442,33 +437,33 @@
}
},
"node_modules/@babel/template": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz",
- "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==",
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
+ "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
"dev": true,
"dependencies": {
- "@babel/code-frame": "^7.16.7",
- "@babel/parser": "^7.16.7",
- "@babel/types": "^7.16.7"
+ "@babel/code-frame": "^7.22.13",
+ "@babel/parser": "^7.22.15",
+ "@babel/types": "^7.22.15"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/traverse": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.0.tgz",
- "integrity": "sha512-fpFIXvqD6kC7c7PUNnZ0Z8cQXlarCLtCUpt2S1Dx7PjoRtCFffvOkHHSom+m5HIxMZn5bIBVb71lhabcmjEsqg==",
- "dev": true,
- "dependencies": {
- "@babel/code-frame": "^7.16.7",
- "@babel/generator": "^7.17.0",
- "@babel/helper-environment-visitor": "^7.16.7",
- "@babel/helper-function-name": "^7.16.7",
- "@babel/helper-hoist-variables": "^7.16.7",
- "@babel/helper-split-export-declaration": "^7.16.7",
- "@babel/parser": "^7.17.0",
- "@babel/types": "^7.17.0",
+ "version": "7.23.2",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz",
+ "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.22.13",
+ "@babel/generator": "^7.23.0",
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-function-name": "^7.23.0",
+ "@babel/helper-hoist-variables": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "@babel/parser": "^7.23.0",
+ "@babel/types": "^7.23.0",
"debug": "^4.1.0",
"globals": "^11.1.0"
},
@@ -477,12 +472,13 @@
}
},
"node_modules/@babel/types": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
- "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz",
+ "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==",
"dev": true,
"dependencies": {
- "@babel/helper-validator-identifier": "^7.16.7",
+ "@babel/helper-string-parser": "^7.22.5",
+ "@babel/helper-validator-identifier": "^7.22.20",
"to-fast-properties": "^2.0.0"
},
"engines": {
@@ -1140,6 +1136,54 @@
"node": ">=8"
}
},
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
+ "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
+ "dev": true,
+ "dependencies": {
+ "@jridgewell/set-array": "^1.0.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.9"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
+ "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
+ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
+ "dev": true
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.19",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz",
+ "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==",
+ "dev": true,
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
"node_modules/@mdx-js/loader": {
"version": "1.6.22",
"resolved": "https://registry.npmjs.org/@mdx-js/loader/-/loader-1.6.22.tgz",
@@ -2551,7 +2595,7 @@
"node_modules/color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
"dev": true
},
"node_modules/combined-stream": {
@@ -2900,7 +2944,7 @@
"node_modules/escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true,
"engines": {
"node": ">=0.8.0"
@@ -3548,7 +3592,7 @@
"node_modules/has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
"dev": true,
"engines": {
"node": ">=4"
@@ -9533,12 +9577,13 @@
},
"dependencies": {
"@babel/code-frame": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz",
- "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==",
+ "version": "7.22.13",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
+ "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
"dev": true,
"requires": {
- "@babel/highlight": "^7.16.7"
+ "@babel/highlight": "^7.22.13",
+ "chalk": "^2.4.2"
}
},
"@babel/core": {
@@ -9566,52 +9611,40 @@
}
},
"@babel/generator": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.0.tgz",
- "integrity": "sha512-I3Omiv6FGOC29dtlZhkfXO6pgkmukJSlT26QjVvS1DGZe/NzSVCPG41X0tS21oZkJYlovfj9qDWgKP+Cn4bXxw==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz",
+ "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==",
"dev": true,
"requires": {
- "@babel/types": "^7.17.0",
- "jsesc": "^2.5.1",
- "source-map": "^0.5.0"
+ "@babel/types": "^7.23.0",
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "@jridgewell/trace-mapping": "^0.3.17",
+ "jsesc": "^2.5.1"
}
},
"@babel/helper-environment-visitor": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz",
- "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==",
- "dev": true,
- "requires": {
- "@babel/types": "^7.16.7"
- }
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
+ "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
+ "dev": true
},
"@babel/helper-function-name": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz",
- "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
+ "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
"dev": true,
"requires": {
- "@babel/helper-get-function-arity": "^7.16.7",
- "@babel/template": "^7.16.7",
- "@babel/types": "^7.16.7"
- }
- },
- "@babel/helper-get-function-arity": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz",
- "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==",
- "dev": true,
- "requires": {
- "@babel/types": "^7.16.7"
+ "@babel/template": "^7.22.15",
+ "@babel/types": "^7.23.0"
}
},
"@babel/helper-hoist-variables": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz",
- "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==",
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
+ "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
"dev": true,
"requires": {
- "@babel/types": "^7.16.7"
+ "@babel/types": "^7.22.5"
}
},
"@babel/helper-module-imports": {
@@ -9655,18 +9688,24 @@
}
},
"@babel/helper-split-export-declaration": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz",
- "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==",
+ "version": "7.22.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
+ "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
"dev": true,
"requires": {
- "@babel/types": "^7.16.7"
+ "@babel/types": "^7.22.5"
}
},
+ "@babel/helper-string-parser": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
+ "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
+ "dev": true
+ },
"@babel/helper-validator-identifier": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz",
- "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
+ "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
"dev": true
},
"@babel/helpers": {
@@ -9681,20 +9720,20 @@
}
},
"@babel/highlight": {
- "version": "7.16.10",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz",
- "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==",
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
+ "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
"dev": true,
"requires": {
- "@babel/helper-validator-identifier": "^7.16.7",
- "chalk": "^2.0.0",
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "chalk": "^2.4.2",
"js-tokens": "^4.0.0"
}
},
"@babel/parser": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.0.tgz",
- "integrity": "sha512-VKXSCQx5D8S04ej+Dqsr1CzYvvWgf20jIw2D+YhQCrIlr2UZGaDds23Y0xg75/skOxpLCRpUZvk/1EAVkGoDOw==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",
+ "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==",
"dev": true
},
"@babel/plugin-proposal-object-rest-spread": {
@@ -9835,41 +9874,42 @@
}
},
"@babel/template": {
- "version": "7.16.7",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz",
- "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==",
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
+ "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
"dev": true,
"requires": {
- "@babel/code-frame": "^7.16.7",
- "@babel/parser": "^7.16.7",
- "@babel/types": "^7.16.7"
+ "@babel/code-frame": "^7.22.13",
+ "@babel/parser": "^7.22.15",
+ "@babel/types": "^7.22.15"
}
},
"@babel/traverse": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.0.tgz",
- "integrity": "sha512-fpFIXvqD6kC7c7PUNnZ0Z8cQXlarCLtCUpt2S1Dx7PjoRtCFffvOkHHSom+m5HIxMZn5bIBVb71lhabcmjEsqg==",
- "dev": true,
- "requires": {
- "@babel/code-frame": "^7.16.7",
- "@babel/generator": "^7.17.0",
- "@babel/helper-environment-visitor": "^7.16.7",
- "@babel/helper-function-name": "^7.16.7",
- "@babel/helper-hoist-variables": "^7.16.7",
- "@babel/helper-split-export-declaration": "^7.16.7",
- "@babel/parser": "^7.17.0",
- "@babel/types": "^7.17.0",
+ "version": "7.23.2",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz",
+ "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.22.13",
+ "@babel/generator": "^7.23.0",
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-function-name": "^7.23.0",
+ "@babel/helper-hoist-variables": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "@babel/parser": "^7.23.0",
+ "@babel/types": "^7.23.0",
"debug": "^4.1.0",
"globals": "^11.1.0"
}
},
"@babel/types": {
- "version": "7.17.0",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
- "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz",
+ "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==",
"dev": true,
"requires": {
- "@babel/helper-validator-identifier": "^7.16.7",
+ "@babel/helper-string-parser": "^7.22.5",
+ "@babel/helper-validator-identifier": "^7.22.20",
"to-fast-properties": "^2.0.0"
}
},
@@ -10375,6 +10415,45 @@
}
}
},
+ "@jridgewell/gen-mapping": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
+ "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
+ "dev": true,
+ "requires": {
+ "@jridgewell/set-array": "^1.0.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.9"
+ }
+ },
+ "@jridgewell/resolve-uri": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
+ "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
+ "dev": true
+ },
+ "@jridgewell/set-array": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
+ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
+ "dev": true
+ },
+ "@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
+ "dev": true
+ },
+ "@jridgewell/trace-mapping": {
+ "version": "0.3.19",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz",
+ "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==",
+ "dev": true,
+ "requires": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
"@mdx-js/loader": {
"version": "1.6.22",
"resolved": "https://registry.npmjs.org/@mdx-js/loader/-/loader-1.6.22.tgz",
@@ -11426,7 +11505,7 @@
"color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
"dev": true
},
"combined-stream": {
@@ -11694,7 +11773,7 @@
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true
},
"escodegen": {
@@ -12194,7 +12273,7 @@
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
"dev": true
},
"has-value": {
From 04bd9d41ccc7a419ec24367d5ce002525bc1c156 Mon Sep 17 00:00:00 2001
From: Jonathan Reinink
Date: Thu, 22 Feb 2024 15:43:28 -0500
Subject: [PATCH 04/13] Add docs to readme
---
README.md | 376 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 373 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 70970ca..f428984 100644
--- a/README.md
+++ b/README.md
@@ -8,13 +8,383 @@
-A plugin that provides a set of `prose` classes you can use to add beautiful typographic defaults to any vanilla HTML you don't control, like HTML rendered from Markdown, or pulled from a CMS.
+The official Tailwind CSS Typography plugin provides a set of `prose` classes you can use to add beautiful typographic defaults to any vanilla HTML you don’t control, like HTML rendered from Markdown, or pulled from a CMS.
+
+```html
+{{ markdown }}
+```
+
+To see what it looks like in action, check out our [live demo](https://play.tailwindcss.com/uj1vGACRJA?layout=preview) on Tailwind Play.
+
+---
+
+## Installation
+
+Install the plugin from npm:
+
+```shell
+npm install -D @tailwindcss/typography
+```
+
+Then add the plugin to your `tailwind.config.js` file:
+
+```js
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+ theme: {
+ // ...
+ },
+ plugins: [
+ require('@tailwindcss/typography'),
+ // ...
+ ],
+}
+```
+
+---
+
+## Basic usage
+
+Now you can use the `prose` classes to add sensible typography styles to any vanilla HTML:
+
+```html
+
+ Garlic bread with cheese: What the science tells us
+
+ For years parents have espoused the health benefits of eating garlic bread with cheese to their
+ children, with the food earning such an iconic status in our culture that kids will often dress
+ up as warm, cheesy loaf for Halloween.
+
+
+ But a recent study shows that the celebrated appetizer may be linked to a series of rabies cases
+ springing up around the country.
+
+
+
+```
+
+### Choosing a gray scale
+
+This plugin includes a modifier class for each of the five gray scales Tailwind includes by default so you can easily style your content to match the grays you're using in your project.
+
+```html
+{{ markdown }}
+```
+
+Here are the classes that are generated using a totally default Tailwind CSS v2.0 build:
+
+| Class | Gray scale |
+| ------------------------ | ---------- |
+| `prose-gray` _(default)_ | Gray |
+| `prose-slate` | Slate |
+| `prose-zinc` | Zinc |
+| `prose-neutral` | Neutral |
+| `prose-stone` | Stone |
+
+Modifier classes are designed to be used with the [multi-class modifier pattern](http://nicolasgallagher.com/about-html-semantics-front-end-architecture/#component-modifiers) and must be used in conjunction with the base `prose` class.
+
+> [!NOTE]
+> Always include the `prose` class when adding a gray scale modifier
+
+```html
+{{ markdown }}
+```
+
+To learn about creating your own color themes, read the [adding custom color themes](#adding-custom-color-themes) documentation.
+
+### Applying a type scale
+
+Size modifiers allow you to adjust the overall size of your typography for different contexts.
+
+```html
+{{ markdown }}
+```
+
+Five different typography sizes are included out of the box:
+
+| Class | Body font size |
+| ------------------------ | ----------------- |
+| `prose-sm` | 0.875rem _(14px)_ |
+| `prose-base` _(default)_ | 1rem _(16px)_ |
+| `prose-lg` | 1.125rem _(18px)_ |
+| `prose-xl` | 1.25rem _(20px)_ |
+| `prose-2xl` | 1.5rem _(24px)_ |
+
+These can be used in combination with Tailwind's [breakpoint modifiers](https://tailwindcss.com/docs/responsive-design) to change the overall font size of a piece of content at different viewport sizes:
+
+```html
+{{ markdown }}
+```
+
+Everything about the provided size modifiers has been hand-tuned by professional designers to look as beautiful as possible, including the relationships between font sizes, heading spacing, code block padding, and more.
+
+Size modifiers are designed to be used with the [multi-class modifier pattern](http://nicolasgallagher.com/about-html-semantics-front-end-architecture/#component-modifiers) and must be used in conjunction with the base `prose` class.
+
+> [!NOTE]
+> Always include the `prose` class when adding a size modifier
+
+```html
+{{ markdown }}
+```
+
+To learn about customizing the included type scales, read the documentation on [customizing the CSS](#customizing-the-css).
+
+### Adapting to dark mode
+
+Each default color theme includes a hand-designed dark mode version that you can trigger by adding the `prose-invert` class:
+
+```html
+{{ markdown }}
+```
+
+To learn about creating your own color themes, read the [adding custom color themes](#adding-custom-color-themes) documentation.
+
+### Element modifiers
+
+Use element modifiers to customize the style of individual elements in your content directly in your HTML:
+
+```html
+
+ {{ markdown }}
+
+```
+
+This makes it easy to do things like style links to match your brand, add a border radius to images, and tons more.
+
+Here's a complete list of available element modifiers:
+
+| Modifier | Target |
+| ---------------------------- | ---------------------------- |
+| `prose-headings:{utility}` | `h1`, `h2`, `h3`, `h4`, `th` |
+| `prose-lead:{utility}` | `[class~="lead"]` |
+| `prose-h1:{utility}` | `h1` |
+| `prose-h2:{utility}` | `h2` |
+| `prose-h3:{utility}` | `h3` |
+| `prose-h4:{utility}` | `h4` |
+| `prose-p:{utility}` | `p` |
+| `prose-a:{utility}` | `a` |
+| `prose-blockquote:{utility}` | `blockquote` |
+| `prose-figure:{utility}` | `figure` |
+| `prose-figcaption:{utility}` | `figcaption` |
+| `prose-strong:{utility}` | `strong` |
+| `prose-em:{utility}` | `em` |
+| `prose-code:{utility}` | `code` |
+| `prose-pre:{utility}` | `pre` |
+| `prose-ol:{utility}` | `ol` |
+| `prose-ul:{utility}` | `ul` |
+| `prose-li:{utility}` | `li` |
+| `prose-table:{utility}` | `table` |
+| `prose-thead:{utility}` | `thead` |
+| `prose-tr:{utility}` | `tr` |
+| `prose-th:{utility}` | `th` |
+| `prose-td:{utility}` | `td` |
+| `prose-img:{utility}` | `img` |
+| `prose-video:{utility}` | `video` |
+| `prose-hr:{utility}` | `hr` |
+
+When stacking these modifiers with other modifiers like `hover`, you most likely want the other modifier to come first:
+
+```html
+{{ markdown }}
+```
+
+Read the Tailwind CSS documentation on [ordering stacked modifiers](https://tailwindcss.com/docs/hover-focus-and-other-states#ordering-stacked-modifiers) to learn more.
+
+### Overriding max-width
+
+Each size modifier comes with a baked in `max-width` designed to keep the content as readable as possible. This isn't always what you want though, and sometimes you'll want the content to just fill the width of its container.
+
+In those cases, all you need to do is add `max-w-none` to your content to override the embedded max-width:
+
+```html
+
+```
---
-## Documentation
+## Advanced topics
+
+### Undoing typography styles
+
+If you have a block of markup embedded in some content that shouldn't inherit the `prose` styles, use the `not-prose` class to sandbox it:
+
+```html
+
+ My Heading
+ ...
+
+
+
+
+
+ ...
+
+
+```
+
+Note that you can't nest new `prose` instances within a `not-prose` block at this time.
+
+### Adding custom color themes
-For full documentation, visit [tailwindcss.com/docs/typography-plugin](https://tailwindcss.com/docs/typography-plugin).
+You can create your own color theme by adding a new key in the `typography` section of your `tailwind.config.js` file and providing your colors under the `css` key:
+
+```js {{ filename: 'tailwind.config.js' }}
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+ theme: {
+ extend: {
+ typography: ({ theme }) => ({
+ pink: {
+ css: {
+ '--tw-prose-body': theme('colors.pink[800]'),
+ '--tw-prose-headings': theme('colors.pink[900]'),
+ '--tw-prose-lead': theme('colors.pink[700]'),
+ '--tw-prose-links': theme('colors.pink[900]'),
+ '--tw-prose-bold': theme('colors.pink[900]'),
+ '--tw-prose-counters': theme('colors.pink[600]'),
+ '--tw-prose-bullets': theme('colors.pink[400]'),
+ '--tw-prose-hr': theme('colors.pink[300]'),
+ '--tw-prose-quotes': theme('colors.pink[900]'),
+ '--tw-prose-quote-borders': theme('colors.pink[300]'),
+ '--tw-prose-captions': theme('colors.pink[700]'),
+ '--tw-prose-code': theme('colors.pink[900]'),
+ '--tw-prose-pre-code': theme('colors.pink[100]'),
+ '--tw-prose-pre-bg': theme('colors.pink[900]'),
+ '--tw-prose-th-borders': theme('colors.pink[300]'),
+ '--tw-prose-td-borders': theme('colors.pink[200]'),
+ '--tw-prose-invert-body': theme('colors.pink[200]'),
+ '--tw-prose-invert-headings': theme('colors.white'),
+ '--tw-prose-invert-lead': theme('colors.pink[300]'),
+ '--tw-prose-invert-links': theme('colors.white'),
+ '--tw-prose-invert-bold': theme('colors.white'),
+ '--tw-prose-invert-counters': theme('colors.pink[400]'),
+ '--tw-prose-invert-bullets': theme('colors.pink[600]'),
+ '--tw-prose-invert-hr': theme('colors.pink[700]'),
+ '--tw-prose-invert-quotes': theme('colors.pink[100]'),
+ '--tw-prose-invert-quote-borders': theme('colors.pink[700]'),
+ '--tw-prose-invert-captions': theme('colors.pink[400]'),
+ '--tw-prose-invert-code': theme('colors.white'),
+ '--tw-prose-invert-pre-code': theme('colors.pink[300]'),
+ '--tw-prose-invert-pre-bg': 'rgb(0 0 0 / 50%)',
+ '--tw-prose-invert-th-borders': theme('colors.pink[600]'),
+ '--tw-prose-invert-td-borders': theme('colors.pink[700]'),
+ },
+ },
+ }),
+ },
+ },
+ plugins: [
+ require('@tailwindcss/typography'),
+ // ...
+ ],
+}
+```
+
+See our internal [style definitions](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/src/styles.js) for some more examples.
+
+### Changing the default class name
+
+If you need to use a class name other than `prose` for any reason, you can do so using the `className` option when registering the plugin:
+
+```js {{ filename: 'tailwind.config.js' }}
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+ theme: {
+ // ...
+ },
+ plugins: [
+ require('@tailwindcss/typography')({
+ className: 'wysiwyg',
+ }),
+ ]
+ ...
+}
+```
+
+Now every instance of `prose` in the default class names will be replaced by your custom class name:
+
+```html
+
+ My Heading
+ ...
+
+
+
+
+
+ ...
+
+
+```
+
+### Customizing the CSS
+
+If you want to customize the raw CSS generated by this plugin, add your overrides under the `typography` key in the `theme` section of your `tailwind.config.js` file:
+
+```js {{ filename: 'tailwind.config.js' }}
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+ theme: {
+ extend: {
+ typography: {
+ DEFAULT: {
+ css: {
+ color: '#333',
+ a: {
+ color: '#3182ce',
+ '&:hover': {
+ color: '#2c5282',
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ plugins: [
+ require('@tailwindcss/typography'),
+ // ...
+ ],
+}
+```
+
+Like with all theme customizations in Tailwind, you can also define the `typography` key as a function if you need access to the `theme` helper:
+
+```js {{ filename: 'tailwind.config.js' }}
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+ theme: {
+ extend: {
+ typography: (theme) => ({
+ DEFAULT: {
+ css: {
+ color: theme('colors.gray.800'),
+
+ // ...
+ },
+ },
+ }),
+ },
+ },
+ plugins: [
+ require('@tailwindcss/typography'),
+ // ...
+ ],
+}
+```
+
+Customizations should be applied to a specific modifier like `DEFAULT` or `xl`, and must be added under the `css` property. Customizations are authored in the same [CSS-in-JS syntax](https://tailwindcss.com/docs/plugins#css-in-js-syntax) used to write Tailwind plugins.
+
+See [the default styles](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/src/styles.js) for this plugin for more in-depth examples of configuring each modifier.
+
+---
## Community
From 9d4cd555ce934603f91805668e3556e06d4811d9 Mon Sep 17 00:00:00 2001
From: saibotk
Date: Fri, 22 Mar 2024 18:24:02 +0100
Subject: [PATCH 05/13] ci: add provenance to insider packages (#336)
This commit adds provenance for insider packages. See the NPM documentation [0].
Provenance will allow people to verify that the packages were actually built on GH Actions and with the content of the corresponding commit. This will help with supply chain security.
For this to work, the `id-token` permission was added only where necessary.
[0]: https://docs.npmjs.com/generating-provenance-statements
---
.github/workflows/release-insiders.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml
index bc7b345..8ec2def 100644
--- a/.github/workflows/release-insiders.yml
+++ b/.github/workflows/release-insiders.yml
@@ -4,6 +4,10 @@ on:
push:
branches: [master]
+permissions:
+ contents: read
+ id-token: write
+
jobs:
build:
runs-on: ubuntu-latest
@@ -49,7 +53,7 @@ jobs:
run: npm version 0.0.0-insiders.${{ steps.vars.outputs.sha_short }} --force --no-git-tag-version
- name: Publish
- run: npm publish --tag insiders
+ run: npm publish --provenance --tag insiders
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
From 96544e8bb11c37ddf17dd4ac6ad0e75d741710b1 Mon Sep 17 00:00:00 2001
From: Archez
Date: Tue, 26 Mar 2024 07:45:20 -0400
Subject: [PATCH 06/13] Retain order of video selector with figure (#339)
---
src/styles.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/styles.js b/src/styles.js
index d73817b..aa55b8e 100644
--- a/src/styles.js
+++ b/src/styles.js
@@ -1522,6 +1522,7 @@ module.exports = {
picture: {
display: 'block',
},
+ video: {}, // Required to maintain correct order when merging
kbd: {
fontWeight: '500',
fontFamily: 'inherit',
From 4056e09074c737bf8171b39601372ed8cfd4696c Mon Sep 17 00:00:00 2001
From: Jonathan Reinink
Date: Tue, 26 Mar 2024 07:46:09 -0400
Subject: [PATCH 07/13] Update changelog
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3635a58..1d7c3a8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
-- Nothing yet!
+- Fix space between `` and `