From a2e58e58aa4979eb45fca505b3ee44660fd397e7 Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Fri, 18 Oct 2024 12:37:18 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20myst@v1.3.14=20(#487)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/nine-bats-clean.md | 5 + .changeset/sweet-kangaroos-type.md | 13 + package-lock.json | 549 +++++++++--------- packages/common/package.json | 6 +- packages/common/src/types.ts | 5 +- packages/frontmatter/src/FrontmatterBlock.tsx | 18 +- packages/frontmatter/src/licenses.tsx | 7 +- packages/jupyter/package.json | 8 +- packages/myst-demo/package.json | 32 +- packages/myst-demo/src/index.tsx | 8 +- packages/myst-to-react/package.json | 6 +- packages/myst-to-react/src/code.tsx | 2 +- packages/providers/package.json | 6 +- packages/site/package.json | 6 +- packages/site/src/components/Headers.tsx | 13 +- themes/article/package.json | 4 +- themes/book/package.json | 4 +- 17 files changed, 347 insertions(+), 345 deletions(-) create mode 100644 .changeset/nine-bats-clean.md create mode 100644 .changeset/sweet-kangaroos-type.md diff --git a/.changeset/nine-bats-clean.md b/.changeset/nine-bats-clean.md new file mode 100644 index 000000000..fdceb26e4 --- /dev/null +++ b/.changeset/nine-bats-clean.md @@ -0,0 +1,5 @@ +--- +'@myst-theme/common': patch +--- + +Expose PageFrontmatterWithDownloads diff --git a/.changeset/sweet-kangaroos-type.md b/.changeset/sweet-kangaroos-type.md new file mode 100644 index 000000000..fda4da596 --- /dev/null +++ b/.changeset/sweet-kangaroos-type.md @@ -0,0 +1,13 @@ +--- +'myst-to-react': patch +'@myst-theme/frontmatter': patch +'myst-demo': patch +'@myst-theme/providers': patch +'@myst-theme/jupyter': patch +'@myst-theme/common': patch +'@myst-theme/article': patch +'@myst-theme/site': patch +'@myst-theme/book': patch +--- + +Update to mystmd 1.3.13 diff --git a/package-lock.json b/package-lock.json index cfd650035..7530af9e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10682,9 +10682,9 @@ "license": "MIT" }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.2.tgz", - "integrity": "sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.0.tgz", + "integrity": "sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==", "cpu": [ "arm" ], @@ -10696,9 +10696,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.2.tgz", - "integrity": "sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.0.tgz", + "integrity": "sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==", "cpu": [ "arm64" ], @@ -10710,9 +10710,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.2.tgz", - "integrity": "sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.0.tgz", + "integrity": "sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==", "cpu": [ "arm64" ], @@ -10724,9 +10724,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.2.tgz", - "integrity": "sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.0.tgz", + "integrity": "sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==", "cpu": [ "x64" ], @@ -10738,9 +10738,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.2.tgz", - "integrity": "sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.0.tgz", + "integrity": "sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==", "cpu": [ "arm" ], @@ -10752,9 +10752,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.2.tgz", - "integrity": "sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.0.tgz", + "integrity": "sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==", "cpu": [ "arm" ], @@ -10766,9 +10766,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.2.tgz", - "integrity": "sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.0.tgz", + "integrity": "sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==", "cpu": [ "arm64" ], @@ -10780,9 +10780,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.2.tgz", - "integrity": "sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.0.tgz", + "integrity": "sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==", "cpu": [ "arm64" ], @@ -10794,9 +10794,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.2.tgz", - "integrity": "sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.0.tgz", + "integrity": "sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==", "cpu": [ "ppc64" ], @@ -10808,9 +10808,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.2.tgz", - "integrity": "sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.0.tgz", + "integrity": "sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==", "cpu": [ "riscv64" ], @@ -10822,9 +10822,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.2.tgz", - "integrity": "sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.0.tgz", + "integrity": "sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==", "cpu": [ "s390x" ], @@ -10836,9 +10836,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.2.tgz", - "integrity": "sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz", + "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==", "cpu": [ "x64" ], @@ -10850,9 +10850,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.2.tgz", - "integrity": "sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.0.tgz", + "integrity": "sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==", "cpu": [ "x64" ], @@ -10864,9 +10864,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.2.tgz", - "integrity": "sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.0.tgz", + "integrity": "sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==", "cpu": [ "arm64" ], @@ -10878,9 +10878,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.2.tgz", - "integrity": "sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.0.tgz", + "integrity": "sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==", "cpu": [ "ia32" ], @@ -10892,9 +10892,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.2.tgz", - "integrity": "sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz", + "integrity": "sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==", "cpu": [ "x64" ], @@ -15185,9 +15185,9 @@ } }, "node_modules/@vanilla-extract/integration/node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", "dev": true, "license": "MIT" }, @@ -15264,13 +15264,13 @@ } }, "node_modules/@vanilla-extract/integration/node_modules/rollup": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.2.tgz", - "integrity": "sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.0.tgz", + "integrity": "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "1.0.5" + "@types/estree": "1.0.6" }, "bin": { "rollup": "dist/bin/rollup" @@ -15280,29 +15280,29 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.21.2", - "@rollup/rollup-android-arm64": "4.21.2", - "@rollup/rollup-darwin-arm64": "4.21.2", - "@rollup/rollup-darwin-x64": "4.21.2", - "@rollup/rollup-linux-arm-gnueabihf": "4.21.2", - "@rollup/rollup-linux-arm-musleabihf": "4.21.2", - "@rollup/rollup-linux-arm64-gnu": "4.21.2", - "@rollup/rollup-linux-arm64-musl": "4.21.2", - "@rollup/rollup-linux-powerpc64le-gnu": "4.21.2", - "@rollup/rollup-linux-riscv64-gnu": "4.21.2", - "@rollup/rollup-linux-s390x-gnu": "4.21.2", - "@rollup/rollup-linux-x64-gnu": "4.21.2", - "@rollup/rollup-linux-x64-musl": "4.21.2", - "@rollup/rollup-win32-arm64-msvc": "4.21.2", - "@rollup/rollup-win32-ia32-msvc": "4.21.2", - "@rollup/rollup-win32-x64-msvc": "4.21.2", + "@rollup/rollup-android-arm-eabi": "4.24.0", + "@rollup/rollup-android-arm64": "4.24.0", + "@rollup/rollup-darwin-arm64": "4.24.0", + "@rollup/rollup-darwin-x64": "4.24.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.24.0", + "@rollup/rollup-linux-arm-musleabihf": "4.24.0", + "@rollup/rollup-linux-arm64-gnu": "4.24.0", + "@rollup/rollup-linux-arm64-musl": "4.24.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.24.0", + "@rollup/rollup-linux-riscv64-gnu": "4.24.0", + "@rollup/rollup-linux-s390x-gnu": "4.24.0", + "@rollup/rollup-linux-x64-gnu": "4.24.0", + "@rollup/rollup-linux-x64-musl": "4.24.0", + "@rollup/rollup-win32-arm64-msvc": "4.24.0", + "@rollup/rollup-win32-ia32-msvc": "4.24.0", + "@rollup/rollup-win32-x64-msvc": "4.24.0", "fsevents": "~2.3.2" } }, "node_modules/@vanilla-extract/integration/node_modules/vite": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.3.tgz", - "integrity": "sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==", + "version": "5.4.9", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.9.tgz", + "integrity": "sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==", "dev": true, "license": "MIT", "dependencies": { @@ -17252,9 +17252,9 @@ } }, "node_modules/body-parser": { - "version": "1.20.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", - "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", "dev": true, "license": "MIT", "dependencies": { @@ -17266,7 +17266,7 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", - "qs": "6.11.0", + "qs": "6.13.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" @@ -17303,22 +17303,6 @@ "dev": true, "license": "MIT" }, - "node_modules/body-parser/node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", @@ -20810,9 +20794,9 @@ } }, "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", "dev": true, "license": "MIT", "engines": { @@ -23160,38 +23144,38 @@ } }, "node_modules/express": { - "version": "4.19.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", - "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", "dev": true, "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.2", + "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.2.0", + "finalhandler": "1.3.1", "fresh": "0.5.2", "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", + "merge-descriptors": "1.0.3", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", + "path-to-regexp": "0.1.10", "proxy-addr": "~2.0.7", - "qs": "6.11.0", + "qs": "6.13.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", + "send": "0.19.0", + "serve-static": "1.16.2", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", @@ -23203,9 +23187,9 @@ } }, "node_modules/express/node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", "dev": true, "license": "MIT", "engines": { @@ -23237,28 +23221,12 @@ "license": "MIT" }, "node_modules/express/node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", "dev": true, "license": "MIT" }, - "node_modules/express/node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/express/node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -23691,14 +23659,14 @@ } }, "node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", "dev": true, "license": "MIT", "dependencies": { "debug": "2.6.9", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "on-finished": "2.4.1", "parseurl": "~1.3.3", @@ -25156,9 +25124,9 @@ } }, "node_modules/hast-util-from-html": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.0.2.tgz", - "integrity": "sha512-HwOHwxdt2zC5KQ/CNoybBntRook2zJvfZE/u5/Ap7aLPe22bDqen7KwGkOqOyzL5zIqKwiYX/OTtE0FWgr6XXA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz", + "integrity": "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==", "license": "MIT", "dependencies": { "@types/hast": "^3.0.0", @@ -29868,11 +29836,14 @@ } }, "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/merge-stream": { "version": "2.0.0", @@ -31211,13 +31182,13 @@ } }, "node_modules/myst-common": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/myst-common/-/myst-common-1.7.0.tgz", - "integrity": "sha512-/75on6T4CMGQGDkWS4pXEg2X4RqVh/rd5Kj40Y0qRxyAJvUeV06iJsST86k/+6lPFNoeIRzB/c7XCIJxusUshQ==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/myst-common/-/myst-common-1.7.2.tgz", + "integrity": "sha512-xWYABtbIHNrX087EmwyuoSwhl9oJQfQ+3+6H+lv+bfLWRE1DZO4lr03113rjE4/I1IvjZgX3rE4Nb+SLF83DFQ==", "license": "MIT", "dependencies": { "mdast": "^3.0.0", - "myst-frontmatter": "^1.7.0", + "myst-frontmatter": "^1.7.2", "myst-spec": "^0.0.5", "nanoid": "^4.0.0", "unified": "^10.1.2", @@ -31244,12 +31215,13 @@ } }, "node_modules/myst-config": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/myst-config/-/myst-config-1.7.0.tgz", - "integrity": "sha512-soKeUozg4+F6NuqiwyKRpKUgwldSTYYZNn4UkoXcyPom1Hk43/Ll9NNo5grrQMrg4AG1e6kF1pbDcnk6VBylKg==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/myst-config/-/myst-config-1.7.2.tgz", + "integrity": "sha512-JuV54yVuMfgYGGFihNc/WDZ180smNer4wuw3jk7osmcow/CsldCWwXKNB44AO/Ii96aVLZCyPPm2CyhlE4W5pw==", "license": "MIT", "dependencies": { - "myst-frontmatter": "^1.7.0", + "myst-common": "^1.7.2", + "myst-frontmatter": "^1.7.2", "simple-validators": "^1.1.0" } }, @@ -31258,16 +31230,16 @@ "link": true }, "node_modules/myst-directives": { - "version": "1.5.6", - "resolved": "https://registry.npmjs.org/myst-directives/-/myst-directives-1.5.6.tgz", - "integrity": "sha512-EDkD5T32m+3pd81JFLS3VZNgxkWfn1p8JLfPdBdOGojD6SbBfSpNYtDXmOaxhF13M/KSeyKt3ZlHL7a5CeKwXA==", + "version": "1.5.7", + "resolved": "https://registry.npmjs.org/myst-directives/-/myst-directives-1.5.7.tgz", + "integrity": "sha512-+cC0HAZn8Xql1oWycYIKEGz8YBUPp41LIeFPOAH3EyCxF9Cz+EHS3O9XDBECOt9oLXN0R26u3xnXVhianeojrA==", "license": "MIT", "dependencies": { "classnames": "^2.3.2", "csv-parse": "^5.5.5", "js-yaml": "^4.1.0", - "myst-common": "^1.6.0", - "myst-spec-ext": "^1.6.0", + "myst-common": "^1.7.2", + "myst-spec-ext": "^1.7.2", "nanoid": "^4.0.2", "unist-util-select": "^4.0.3", "vfile": "^5.3.7" @@ -31292,55 +31264,55 @@ } }, "node_modules/myst-ext-card": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/myst-ext-card/-/myst-ext-card-1.0.8.tgz", - "integrity": "sha512-PytOUwM6hnv3tWxVnsBX25NtZiqMQM3lIGLhRPylPaNte6EvSFfV3myq/jotUjz9I4qLPaeaM1O2IhvIscS0Zw==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/myst-ext-card/-/myst-ext-card-1.0.9.tgz", + "integrity": "sha512-liqGqwt5zdl0rNBjCUFr8iFnjWBCkm0a19e8Ojw8ti6v7OPCBmWccw9/ut0W8WqUbtvSHL0MQW+RreEeqpsmMg==", "license": "MIT", "dependencies": { - "myst-common": "^1.5.1" + "myst-common": "^1.7.2" } }, "node_modules/myst-ext-exercise": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/myst-ext-exercise/-/myst-ext-exercise-1.0.7.tgz", - "integrity": "sha512-tOewH5qiW2wmGfE6CkCE1EpUif7BVdzitUpEaV7GdaurVGLFTBfNtd/jw0NtRxTTX5qiDTHwZkwPONDjmLXatg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/myst-ext-exercise/-/myst-ext-exercise-1.0.8.tgz", + "integrity": "sha512-Zn2AHmqdOfgeuwPV0EjL6kVkiEWiDizbleymMEQPVhPI8XgyOvS9h/JMd4TRz4++0Bjfk/BOHuOsvUybbE8K4A==", "license": "MIT", "dependencies": { - "myst-common": "^1.5.1" + "myst-common": "^1.7.2" } }, "node_modules/myst-ext-grid": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/myst-ext-grid/-/myst-ext-grid-1.0.7.tgz", - "integrity": "sha512-3VvLQ+ZvAonie72mAs6QFy/ZTqDSC6CF+ewO6wWG5uJRYMdAaCJd10+OJ13dwHhmKB+mVupR5f6O+AhWfasuXw==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/myst-ext-grid/-/myst-ext-grid-1.0.8.tgz", + "integrity": "sha512-usxlPRECxJOuDZTECMcwDqWMRD3e9Md0JCayByseWS/upJZGV+gM83oTHcKfEd8L5qFhRvCJVsZq6kQpvfP8Bg==", "license": "MIT", "dependencies": { - "myst-common": "^1.5.1" + "myst-common": "^1.7.2" } }, "node_modules/myst-ext-proof": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/myst-ext-proof/-/myst-ext-proof-1.0.10.tgz", - "integrity": "sha512-EtUwu4BtGRABkiHR7I9prIFeWqYM91dW86l//o0xSB0R4vWKMryVeoLmsDQye8UZnTHe4siCDym4B6fHEk8trA==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/myst-ext-proof/-/myst-ext-proof-1.0.11.tgz", + "integrity": "sha512-PH06TSQrwXY4M4JNmDcc1X1t7OE9/oxNvzooDR1/DS3K5yWXWlpUpkrbMMuT4ZmCTXQ391aMSoDa8Vp4XQ9QjQ==", "license": "MIT", "dependencies": { - "myst-common": "^1.5.1", + "myst-common": "^1.7.2", "myst-spec": "^0.0.5" } }, "node_modules/myst-ext-tabs": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/myst-ext-tabs/-/myst-ext-tabs-1.0.7.tgz", - "integrity": "sha512-Ew9JRotiuZ7Lqltkjn1bz5znv/ibmIZARbpe0Y0q65jGivhf5ydNc//RnasX7WPPlBAoi3sV2pQ8bCtpBC2Q4Q==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/myst-ext-tabs/-/myst-ext-tabs-1.0.8.tgz", + "integrity": "sha512-5HLtZ2WzJsjDUxJFKY1WCvlPLzluthK00I5c17004N9nxTHt1WPoptBkbwZoFalBI6c8mIzaxNYD/urAVMYjkw==", "license": "MIT", "dependencies": { - "myst-common": "^1.5.1" + "myst-common": "^1.7.2" } }, "node_modules/myst-frontmatter": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/myst-frontmatter/-/myst-frontmatter-1.7.0.tgz", - "integrity": "sha512-u8FWp+sXzGEZVVg+Q3KtxfU/VyfR+oQGW2M13ON963uled8n681W8go74aJsNNl/+EN0aK7xKtLpFPNgLFxvjA==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/myst-frontmatter/-/myst-frontmatter-1.7.2.tgz", + "integrity": "sha512-J2kvADyifsGkawRL8M96i3MIxCu3Z6JliBNYsEEfFGEJRGIzMtNAyJlLlu836QqQoBVV7WaRY5Dc6aYgSxqPUw==", "license": "MIT", "dependencies": { "credit-roles": "^2.1.0", @@ -31352,9 +31324,9 @@ } }, "node_modules/myst-parser": { - "version": "1.5.6", - "resolved": "https://registry.npmjs.org/myst-parser/-/myst-parser-1.5.6.tgz", - "integrity": "sha512-ZUDrTn8YRbfKoB5LX2KayYug2lnWzwg7Ggt+CzsPlosip+UWKonzVT/yYDCJisZOk7kpOxxsHo8vKuSwfqPhaA==", + "version": "1.5.7", + "resolved": "https://registry.npmjs.org/myst-parser/-/myst-parser-1.5.7.tgz", + "integrity": "sha512-QK1aggUCsLYgDRQgZtmDZXAOqwS5a4cJZp8CzPx8CROne8WGR687wStn1wAy87vP946ENwRhppDyRolSIttKfg==", "license": "MIT", "dependencies": { "he": "^1.2.0", @@ -31367,9 +31339,9 @@ "markdown-it-myst": "1.0.10", "markdown-it-myst-extras": "0.3.0", "markdown-it-task-lists": "^2.1.1", - "myst-common": "^1.6.0", - "myst-directives": "^1.5.6", - "myst-roles": "^1.5.6", + "myst-common": "^1.7.2", + "myst-directives": "^1.5.7", + "myst-roles": "^1.5.7", "myst-spec": "^0.0.5", "unified": "^10.1.1", "unist-builder": "^3.0.0", @@ -31395,13 +31367,13 @@ } }, "node_modules/myst-roles": { - "version": "1.5.6", - "resolved": "https://registry.npmjs.org/myst-roles/-/myst-roles-1.5.6.tgz", - "integrity": "sha512-iHlGOz4KpgeEAhRt0EVWIRP8Zavs8FgVcbGvhAkZkldFiKoel8l4cuppipTNp1wFbIj4a63/ug81tqxMsZ6ZYQ==", + "version": "1.5.7", + "resolved": "https://registry.npmjs.org/myst-roles/-/myst-roles-1.5.7.tgz", + "integrity": "sha512-jFFDmBuxTP5Ixw/W7xfpc03D8lmy08kJdiS7B8t32hHH+imvM1kMAl+49WvvbZGXzI/215FwX3TmJSf9aPr5OA==", "license": "MIT", "dependencies": { - "myst-common": "^1.6.0", - "myst-spec-ext": "^1.6.0" + "myst-common": "^1.7.2", + "myst-spec-ext": "^1.7.2" } }, "node_modules/myst-spec": { @@ -31411,33 +31383,33 @@ "license": "MIT" }, "node_modules/myst-spec-ext": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/myst-spec-ext/-/myst-spec-ext-1.7.0.tgz", - "integrity": "sha512-HrSGD9H8qENEd4ABJZsnsARm9VjqbC211IygYF6XyGpooEHpyw+E7fWc7P9/apVBtH39/Lkdkie9+oVXDRwyRg==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/myst-spec-ext/-/myst-spec-ext-1.7.2.tgz", + "integrity": "sha512-oYDMHicKW3tm16OwnsTTiAo0hYMXBK1v8MDFZyHzavb2Q8artsqyAl/O2N0cefM5zI8L2JdMHhewd9tcx9iwvA==", "license": "MIT", "dependencies": { "myst-spec": "^0.0.5" } }, "node_modules/myst-to-docx": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/myst-to-docx/-/myst-to-docx-1.0.11.tgz", - "integrity": "sha512-Tg/k77whHnxqR1VIgZTkZ9V/Imq2ad70wH+ibvL/VCqmwYnLgVjtenY+a3GXckwjquDirZiYsqSZ8RHecPun+w==", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/myst-to-docx/-/myst-to-docx-1.0.12.tgz", + "integrity": "sha512-7CPTfXO2Kfj4k6pAwkDS+a3r1u3ni8XtIudU81ppOl++/GjT3ZDuL3hElpUbjtaoDh6xvYXHGJ1luFOb26LMuw==", "license": "MIT", "dependencies": { "buffer-image-size": "^0.6.4", "docx": "^7.3.0", - "myst-common": "^1.5.1", - "myst-frontmatter": "^1.5.1", + "myst-common": "^1.7.2", + "myst-frontmatter": "^1.7.2", "myst-spec": "^0.0.5", - "myst-spec-ext": "^1.5.1", + "myst-spec-ext": "^1.7.2", "unist-util-select": "^4.0.3" } }, "node_modules/myst-to-html": { - "version": "1.5.6", - "resolved": "https://registry.npmjs.org/myst-to-html/-/myst-to-html-1.5.6.tgz", - "integrity": "sha512-d7exN4Y1f7AMGklwBaeXTNZWI26vEDw35zEs6PjazuI1yF0boG1Pxp9ktM/Zsljx6ndW4CE3T6gJQ5FltNqGUw==", + "version": "1.5.7", + "resolved": "https://registry.npmjs.org/myst-to-html/-/myst-to-html-1.5.7.tgz", + "integrity": "sha512-26DxGPnFBuB8Fg4JpzmOF9lgH069wSPowwWOa9H7W3hmnVERHWoHeSFsZw0ltfH4pfrLfwxluYOt/uN9t8Cj1w==", "license": "MIT", "dependencies": { "classnames": "^2.3.2", @@ -31447,7 +31419,7 @@ "mdast": "^3.0.0", "mdast-util-find-and-replace": "^2.1.0", "mdast-util-to-hast": "^12.3.0", - "myst-common": "^1.6.0", + "myst-common": "^1.7.2", "rehype-format": "^4.0.1", "rehype-parse": "^8.0.4", "rehype-remark": "^9.1.2", @@ -31519,9 +31491,9 @@ } }, "node_modules/myst-to-jats": { - "version": "1.0.27", - "resolved": "https://registry.npmjs.org/myst-to-jats/-/myst-to-jats-1.0.27.tgz", - "integrity": "sha512-ocQtFd/sT2nBQUuwJCTTkR/UwM4odAmgwOqXiVw+nUtBYetNvMQBctVs15tDWJoYUsZfR3YrsE51lNvoYCySAQ==", + "version": "1.0.30", + "resolved": "https://registry.npmjs.org/myst-to-jats/-/myst-to-jats-1.0.30.tgz", + "integrity": "sha512-TGFkqc2zadpJrCoF1oCxxdsR47p67e1tVw+FBOFciMxrNn7F2BLttDcwTKSg0UgdF7/GE/BWq+3e7g2DEdjYww==", "license": "MIT", "dependencies": { "citation-js-utils": "^1.2.3", @@ -31530,11 +31502,11 @@ "jats-tags": "^1.0.8", "jats-utils": "^1.0.8", "katex": "^0.15.2", - "myst-common": "^1.5.1", - "myst-frontmatter": "^1.5.1", + "myst-common": "^1.7.2", + "myst-frontmatter": "^1.7.2", "myst-spec": "^0.0.5", - "myst-spec-ext": "^1.5.1", - "myst-transforms": "^1.3.20", + "myst-spec-ext": "^1.7.2", + "myst-transforms": "^1.3.26", "nbtx": "^0.2.3", "unified": "^10.1.2", "unist-util-remove": "^3.1.0", @@ -31564,15 +31536,15 @@ "link": true }, "node_modules/myst-to-tex": { - "version": "1.0.37", - "resolved": "https://registry.npmjs.org/myst-to-tex/-/myst-to-tex-1.0.37.tgz", - "integrity": "sha512-oWo16UM5bfCTtlL3OHcaQG4l5tuRi4z+olWkJi2czwcRUSMX3GQrj2948evOpIXPvSJzp7lsZ7Fy5hJ+Wb1kBg==", + "version": "1.0.38", + "resolved": "https://registry.npmjs.org/myst-to-tex/-/myst-to-tex-1.0.38.tgz", + "integrity": "sha512-KZoRDDaXg1YLBg+84lD9veP1Koi6AgQb9k0+RG+Bs1wBQV4yBrVdIMwrpSN5vZeYaeEl+aEqju4PLm++JZRxoA==", "license": "MIT", "dependencies": { - "myst-common": "^1.6.1", - "myst-ext-proof": "^1.0.10", - "myst-frontmatter": "^1.6.1", - "myst-spec-ext": "^1.6.1", + "myst-common": "^1.7.2", + "myst-ext-proof": "^1.0.11", + "myst-frontmatter": "^1.7.2", + "myst-spec-ext": "^1.7.2", "unist-util-remove": "^3.1.0", "unist-util-select": "^4.0.3", "vfile-reporter": "^7.0.4" @@ -31594,14 +31566,14 @@ } }, "node_modules/myst-to-typst": { - "version": "0.0.22", - "resolved": "https://registry.npmjs.org/myst-to-typst/-/myst-to-typst-0.0.22.tgz", - "integrity": "sha512-3wV3uvW7n39eDAd2DdmbiEdfEzetC6KKsLmdhO8TvBXPsK/udnA7RIj9rrv4+RxUbyKZtcAR2qvR+u7IGjH8eA==", + "version": "0.0.24", + "resolved": "https://registry.npmjs.org/myst-to-typst/-/myst-to-typst-0.0.24.tgz", + "integrity": "sha512-d13fSRBGk+kdEaF5tX0T/RsmdGPkO1hSxcX+v5vvRE3wvhhSFVpD8tACxK+IHhZC7XrUUR+RZ7/F6KXPvpoIyw==", "license": "MIT", "dependencies": { - "myst-common": "^1.7.0", - "myst-frontmatter": "^1.7.0", - "myst-spec-ext": "^1.7.0", + "myst-common": "^1.7.2", + "myst-frontmatter": "^1.7.2", + "myst-spec-ext": "^1.7.2", "tex-to-typst": "^0.0.7", "unist-util-select": "^4.0.3", "vfile-reporter": "^7.0.4" @@ -31617,9 +31589,9 @@ } }, "node_modules/myst-transforms": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/myst-transforms/-/myst-transforms-1.3.25.tgz", - "integrity": "sha512-wtUaIwcpqQtWomlfOmiQ+Z789MrGJJ8zPXCjtRr3B3+o4Kg3if7sEG2i0gZ8vmihdvp7EszPfWnS3sDHgnPjIw==", + "version": "1.3.26", + "resolved": "https://registry.npmjs.org/myst-transforms/-/myst-transforms-1.3.26.tgz", + "integrity": "sha512-nl+WWZCdrAmaLkbOx+zjZyFdTZJ/5gCARZZagBgqKgps3bmdv9v9GEVbCB7GpVg9AXcfFVWhX7lgum3ZFCc6aQ==", "license": "MIT", "dependencies": { "doi-utils": "^2.0.0", @@ -31629,11 +31601,11 @@ "js-yaml": "^4.1.0", "katex": "^0.15.2", "mdast-util-find-and-replace": "^2.1.0", - "myst-common": "^1.6.0", - "myst-frontmatter": "^1.6.0", + "myst-common": "^1.7.2", + "myst-frontmatter": "^1.7.2", "myst-spec": "^0.0.5", - "myst-spec-ext": "^1.6.0", - "myst-to-html": "1.5.6", + "myst-spec-ext": "^1.7.2", + "myst-to-html": "1.5.7", "rehype-parse": "^8.0.4", "rehype-remark": "^9.1.2", "unified": "^10.0.0", @@ -35940,9 +35912,9 @@ "license": "Unlicense" }, "node_modules/rollup": { - "version": "3.29.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", - "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", + "version": "3.29.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.5.tgz", + "integrity": "sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==", "dev": true, "license": "MIT", "bin": { @@ -36164,9 +36136,9 @@ } }, "node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "dev": true, "license": "MIT", "dependencies": { @@ -36205,6 +36177,16 @@ "dev": true, "license": "MIT" }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/send/node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -36229,16 +36211,16 @@ } }, "node_modules/serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", "dev": true, "license": "MIT", "dependencies": { - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.18.0" + "send": "0.19.0" }, "engines": { "node": ">= 0.8.0" @@ -39829,9 +39811,9 @@ } }, "node_modules/vite": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.3.tgz", - "integrity": "sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==", + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.5.tgz", + "integrity": "sha512-ifW3Lb2sMdX+WU91s3R0FyQlAyLxOzCSCP37ujw0+r5POeHPwe6udWVIElKQq8gk3t7b8rkmvqC6IHBpCff4GQ==", "dev": true, "license": "MIT", "dependencies": { @@ -40989,9 +40971,9 @@ "version": "0.13.1", "license": "MIT", "dependencies": { - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", - "myst-spec-ext": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", + "myst-spec-ext": "^1.7.2", "nbtx": "^0.2.3", "unist-util-select": "^4.0.3" } @@ -41080,11 +41062,11 @@ "buffer": "^6.0.3", "classnames": "^2.5.1", "jupyterlab-plotly": "^5.24.0", - "myst-common": "^1.7.0", - "myst-config": "^1.6.0", - "myst-frontmatter": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", + "myst-frontmatter": "^1.7.2", "myst-spec": "^0.0.5", - "myst-spec-ext": "^1.7.0", + "myst-spec-ext": "^1.7.2", "myst-to-react": "^0.13.1", "nanoid": "^4.0.2", "nbtx": "^0.2.3", @@ -41136,24 +41118,24 @@ "@heroicons/react": "^2.0.18", "classnames": "^2.3.2", "js-yaml": "^4.1.0", - "myst-common": "^1.7.0", - "myst-config": "^1.5.0", - "myst-directives": "^1.5.6", - "myst-ext-card": "^1.0.8", - "myst-ext-exercise": "^1.0.7", - "myst-ext-grid": "^1.0.7", - "myst-ext-proof": "^1.0.10", - "myst-ext-tabs": "^1.0.7", - "myst-frontmatter": "^1.7.0", - "myst-parser": "^1.5.6", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", + "myst-directives": "^1.5.7", + "myst-ext-card": "^1.0.9", + "myst-ext-exercise": "^1.0.8", + "myst-ext-grid": "^1.0.8", + "myst-ext-proof": "^1.0.11", + "myst-ext-tabs": "^1.0.8", + "myst-frontmatter": "^1.7.2", + "myst-parser": "^1.5.7", "myst-spec": "^0.0.5", - "myst-to-docx": "^1.0.11", - "myst-to-html": "^1.5.6", - "myst-to-jats": "^1.0.27", + "myst-to-docx": "^1.0.12", + "myst-to-html": "^1.5.7", + "myst-to-jats": "^1.0.30", "myst-to-react": "^0.13.1", - "myst-to-tex": "^1.0.37", - "myst-to-typst": "^0.0.22", - "myst-transforms": "^1.3.25", + "myst-to-tex": "^1.0.38", + "myst-to-typst": "^0.0.24", + "myst-transforms": "^1.3.26", "unified": "^10.1.2", "unist-util-remove": "^4.0.0", "unist-util-visit": "^4.1.2", @@ -41198,11 +41180,11 @@ "@heroicons/react": "^2.0.18", "@myst-theme/providers": "^0.13.1", "@radix-ui/react-hover-card": "^1.0.6", - "@scienceicons/react": "^0.0.6", + "@scienceicons/react": "^0.0.11", "buffer": "^6.0.3", "classnames": "^2.3.2", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", "myst-spec": "^0.0.5", "nanoid": "^4.0.2", "react-syntax-highlighter": "15.5.0", @@ -41223,15 +41205,6 @@ "react-dom": "^16.8 || ^17.0 || ^18.0" } }, - "packages/myst-to-react/node_modules/@scienceicons/react": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@scienceicons/react/-/react-0.0.6.tgz", - "integrity": "sha512-nDzPOhVAOuZrKfuK/GFvV7uI8T0bm8ByWv1DuPi4i8oGPJX2h18DOBwTT4IPbsaDKAU4JPkAMirH5sX8TQvZmQ==", - "license": "MIT", - "peerDependencies": { - "react": ">= 16" - } - }, "packages/myst-to-react/node_modules/buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -41270,9 +41243,9 @@ "peerDependencies": { "@types/react": "^16.8 || ^17.0 || ^18.0", "@types/react-dom": "^16.8 || ^17.0 || ^18.0", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", - "myst-frontmatter": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", + "myst-frontmatter": "^1.7.2", "react": "^16.8 || ^17.0 || ^18.0", "react-dom": "^16.8 || ^17.0 || ^18.0" } @@ -41312,10 +41285,10 @@ "@radix-ui/react-visually-hidden": "^1.1.0", "classnames": "^2.3.2", "lodash.throttle": "^4.1.1", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", "myst-demo": "^0.13.1", - "myst-spec-ext": "^1.7.0", + "myst-spec-ext": "^1.7.2", "myst-to-react": "^0.13.1", "nbtx": "^0.2.3", "node-cache": "^5.1.2", @@ -41376,8 +41349,8 @@ "@remix-run/node": "~1.17.0", "@remix-run/react": "~1.17.0", "@remix-run/vercel": "~1.17.0", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", "node-fetch": "^2.6.11", "react": "^18.2.0", "react-dom": "^18.2.0" @@ -41409,8 +41382,8 @@ "@remix-run/node": "~1.17.0", "@remix-run/react": "~1.17.0", "@remix-run/vercel": "~1.17.0", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", "node-fetch": "^2.6.11", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/packages/common/package.json b/packages/common/package.json index f0e365167..2b47615a1 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -19,9 +19,9 @@ "build": "npm-run-all -l clean -p build:esm" }, "dependencies": { - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", - "myst-spec-ext": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", + "myst-spec-ext": "^1.7.2", "nbtx": "^0.2.3", "unist-util-select": "^4.0.3" } diff --git a/packages/common/src/types.ts b/packages/common/src/types.ts index bb235b60c..cc052bf1a 100644 --- a/packages/common/src/types.ts +++ b/packages/common/src/types.ts @@ -45,7 +45,10 @@ export type FooterLinks = { }; }; -type PageFrontmatterWithDownloads = Omit & { +export type PageFrontmatterWithDownloads = Omit< + PageFrontmatter, + 'parts' | 'downloads' | 'exports' +> & { parts?: Record; downloads?: SiteAction[]; exports?: SiteExport[]; diff --git a/packages/frontmatter/src/FrontmatterBlock.tsx b/packages/frontmatter/src/FrontmatterBlock.tsx index 36c66ad22..72f3ff4f2 100644 --- a/packages/frontmatter/src/FrontmatterBlock.tsx +++ b/packages/frontmatter/src/FrontmatterBlock.tsx @@ -152,17 +152,18 @@ export function OpenAccessBadge({ open_access }: { open_access?: boolean }) { export function Journal({ venue, - biblio, + volume, + issue, className, }: { venue?: Required['venue']; - biblio?: Required['biblio']; + volume?: Required['volume']; + issue?: Required['issue']; className?: string; }) { if (!venue) return null; const { title, url } = typeof venue === 'string' ? { title: venue, url: null } : venue; if (!title) return null; - const { volume, issue } = biblio ?? {}; return (
{url ? ( @@ -178,8 +179,8 @@ export function Journal({ )} {volume != null && ( - Volume {volume} - {issue != null && <>, Issue {issue}} + Volume {volume.title} + {issue != null && <>, Issue {issue.title}} )}
@@ -211,7 +212,8 @@ export function FrontmatterBlock({ license, github, venue, - biblio, + volume, + issue, exports, downloads, date, @@ -221,7 +223,7 @@ export function FrontmatterBlock({ const hasExports = downloads ? downloads.length > 0 : exports && exports.length > 0; const hasAuthors = authors && authors.length > 0; const hasBadges = !!open_access || !!license || !!hasExports || !!isJupyter || !!github; - const hasHeaders = !!subject || !!venue || !!biblio; + const hasHeaders = !!subject || !!venue || !!volume || !!issue; const hasDateOrDoi = !!doi || !!date; const showHeaderBlock = hasHeaders || (hasBadges && !hideBadges) || (hasExports && !hideExports); if (!title && !subtitle && !showHeaderBlock && !hasAuthors && !hasDateOrDoi) { @@ -245,7 +247,7 @@ export function FrontmatterBlock({ {subject} )} - +
{!hideBadges && ( <> diff --git a/packages/frontmatter/src/licenses.tsx b/packages/frontmatter/src/licenses.tsx index 6705862a2..078404641 100644 --- a/packages/frontmatter/src/licenses.tsx +++ b/packages/frontmatter/src/licenses.tsx @@ -11,9 +11,9 @@ import { ScaleIcon } from '@heroicons/react/24/outline'; import classNames from 'classnames'; type License = { - name: string; - url: string; - id: string; + id?: string; + name?: string; + url?: string; free?: boolean; CC?: boolean; osi?: boolean; @@ -28,6 +28,7 @@ export function CreativeCommonsBadge({ preamble?: string; className?: string; }) { + if (!license.id) return null; const match = /^([CBYSAND0-]+)(?:(?:-)([0-9].[0-9]))?$/.exec(license.id); if (!license.CC || !match) return null; const title = `${preamble}${license.name ?? (license as any).title} (${license.id})`; diff --git a/packages/jupyter/package.json b/packages/jupyter/package.json index 4ec6fe20b..f864457ce 100644 --- a/packages/jupyter/package.json +++ b/packages/jupyter/package.json @@ -30,11 +30,11 @@ "buffer": "^6.0.3", "classnames": "^2.5.1", "jupyterlab-plotly": "^5.24.0", - "myst-common": "^1.7.0", - "myst-config": "^1.6.0", - "myst-frontmatter": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", + "myst-frontmatter": "^1.7.2", "myst-spec": "^0.0.5", - "myst-spec-ext": "^1.7.0", + "myst-spec-ext": "^1.7.2", "myst-to-react": "^0.13.1", "nanoid": "^4.0.2", "nbtx": "^0.2.3", diff --git a/packages/myst-demo/package.json b/packages/myst-demo/package.json index 6bc4e1c24..ee18b9256 100644 --- a/packages/myst-demo/package.json +++ b/packages/myst-demo/package.json @@ -23,24 +23,24 @@ "@heroicons/react": "^2.0.18", "classnames": "^2.3.2", "js-yaml": "^4.1.0", - "myst-common": "^1.7.0", - "myst-config": "^1.5.0", - "myst-directives": "^1.5.6", - "myst-ext-card": "^1.0.8", - "myst-ext-exercise": "^1.0.7", - "myst-ext-grid": "^1.0.7", - "myst-ext-proof": "^1.0.10", - "myst-ext-tabs": "^1.0.7", - "myst-frontmatter": "^1.7.0", - "myst-parser": "^1.5.6", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", + "myst-directives": "^1.5.7", + "myst-ext-card": "^1.0.9", + "myst-ext-exercise": "^1.0.8", + "myst-ext-grid": "^1.0.8", + "myst-ext-proof": "^1.0.11", + "myst-ext-tabs": "^1.0.8", + "myst-frontmatter": "^1.7.2", + "myst-parser": "^1.5.7", "myst-spec": "^0.0.5", - "myst-to-docx": "^1.0.11", - "myst-to-html": "^1.5.6", - "myst-to-jats": "^1.0.27", + "myst-to-docx": "^1.0.12", + "myst-to-html": "^1.5.7", + "myst-to-jats": "^1.0.30", "myst-to-react": "^0.13.1", - "myst-to-tex": "^1.0.37", - "myst-to-typst": "^0.0.22", - "myst-transforms": "^1.3.25", + "myst-to-tex": "^1.0.38", + "myst-to-typst": "^0.0.24", + "myst-transforms": "^1.3.26", "unified": "^10.1.2", "unist-util-remove": "^4.0.0", "unist-util-visit": "^4.1.2", diff --git a/packages/myst-demo/src/index.tsx b/packages/myst-demo/src/index.tsx index 6e7ef4f56..13b5e4800 100644 --- a/packages/myst-demo/src/index.tsx +++ b/packages/myst-demo/src/index.tsx @@ -3,7 +3,7 @@ import type { LatexResult } from 'myst-to-tex'; // Only import the type!! import type { TypstResult } from 'myst-to-typst'; // Only import the type!! import { remove } from 'unist-util-remove'; import type { VFileMessage } from 'vfile-message'; -import yaml from 'js-yaml'; +import { load as yamlLoad, dump as yamlDump } from 'js-yaml'; import { fileError, RuleId, @@ -60,7 +60,7 @@ function getFrontmatter(vfile: VFile, tree: GenericParent) { const firstIsYaml = firstNode?.type === 'code' && firstNode?.lang === 'yaml'; if (firstIsYaml) { try { - frontmatter = (yaml.load(firstNode.value) as Record) || {}; + frontmatter = (yamlLoad(firstNode.value) as Record) || {}; (firstNode as any).type = '__delete__'; } catch (err) { fileError(vfile, 'Invalid YAML frontmatter', { @@ -152,7 +152,7 @@ async function parse( footnotes: {}, }; const frontmatterRaw = getFrontmatter(vfile, mdast); - const frontmatter = validatePageFrontmatter(frontmatterRaw, { + const frontmatter: Omit = validatePageFrontmatter(frontmatterRaw, { property: 'frontmatter', messages: {}, }); @@ -449,7 +449,7 @@ export function MySTRenderer({ diff --git a/packages/myst-to-react/package.json b/packages/myst-to-react/package.json index 286c8b5a3..6f25232de 100644 --- a/packages/myst-to-react/package.json +++ b/packages/myst-to-react/package.json @@ -22,12 +22,12 @@ "dependencies": { "@heroicons/react": "^2.0.18", "@myst-theme/providers": "^0.13.1", - "@scienceicons/react": "^0.0.6", + "@scienceicons/react": "^0.0.11", "@radix-ui/react-hover-card": "^1.0.6", "buffer": "^6.0.3", "classnames": "^2.3.2", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", "myst-spec": "^0.0.5", "nanoid": "^4.0.2", "react-syntax-highlighter": "15.5.0", diff --git a/packages/myst-to-react/src/code.tsx b/packages/myst-to-react/src/code.tsx index 699fdaaf6..e7f571293 100644 --- a/packages/myst-to-react/src/code.tsx +++ b/packages/myst-to-react/src/code.tsx @@ -103,7 +103,7 @@ export function CodeBlock(props: Props) { )} - + {value} {showCopy && ( diff --git a/packages/providers/package.json b/packages/providers/package.json index f2b41b318..1cd5f5d95 100644 --- a/packages/providers/package.json +++ b/packages/providers/package.json @@ -27,9 +27,9 @@ "peerDependencies": { "@types/react": "^16.8 || ^17.0 || ^18.0", "@types/react-dom": "^16.8 || ^17.0 || ^18.0", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", - "myst-frontmatter": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", + "myst-frontmatter": "^1.7.2", "react": "^16.8 || ^17.0 || ^18.0", "react-dom": "^16.8 || ^17.0 || ^18.0" }, diff --git a/packages/site/package.json b/packages/site/package.json index 54e2c33e1..2aebfce6d 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -35,10 +35,10 @@ "@radix-ui/react-visually-hidden": "^1.1.0", "classnames": "^2.3.2", "lodash.throttle": "^4.1.1", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", "myst-demo": "^0.13.1", - "myst-spec-ext": "^1.7.0", + "myst-spec-ext": "^1.7.2", "myst-to-react": "^0.13.1", "nbtx": "^0.2.3", "node-cache": "^5.1.2", diff --git a/packages/site/src/components/Headers.tsx b/packages/site/src/components/Headers.tsx index 0584a7ce9..624907d26 100644 --- a/packages/site/src/components/Headers.tsx +++ b/packages/site/src/components/Headers.tsx @@ -7,7 +7,7 @@ import { } from '@myst-theme/frontmatter'; import { useGridSystemProvider } from '@myst-theme/providers'; import classNames from 'classnames'; -import type { PageFrontmatter } from 'myst-frontmatter'; +import type { PageFrontmatterWithDownloads } from '@myst-theme/common'; import { ThemeButton } from './Navigation/index.js'; export function ArticleHeader({ @@ -16,13 +16,13 @@ export function ArticleHeader({ toggleTheme, className, }: { - frontmatter: PageFrontmatter; + frontmatter: PageFrontmatterWithDownloads; children?: React.ReactNode; toggleTheme?: boolean; className?: string; }) { const grid = useGridSystemProvider(); - const { subject, venue, biblio, ...rest } = frontmatter ?? {}; + const { subject, venue, volume, issue, ...rest } = frontmatter ?? {}; const positionBackground = { 'col-page-right': grid === 'article-left-grid', 'col-page': grid === 'article-grid', @@ -71,7 +71,12 @@ export function ArticleHeader({ })} > {subject &&
{subject}
} - +
diff --git a/themes/article/package.json b/themes/article/package.json index aec838aa9..60123a854 100644 --- a/themes/article/package.json +++ b/themes/article/package.json @@ -25,8 +25,8 @@ "@remix-run/node": "~1.17.0", "@remix-run/react": "~1.17.0", "@remix-run/vercel": "~1.17.0", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", "node-fetch": "^2.6.11", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/themes/book/package.json b/themes/book/package.json index 0355bf680..b835ea971 100644 --- a/themes/book/package.json +++ b/themes/book/package.json @@ -25,8 +25,8 @@ "@remix-run/node": "~1.17.0", "@remix-run/react": "~1.17.0", "@remix-run/vercel": "~1.17.0", - "myst-common": "^1.7.0", - "myst-config": "^1.7.0", + "myst-common": "^1.7.2", + "myst-config": "^1.7.2", "node-fetch": "^2.6.11", "react": "^18.2.0", "react-dom": "^18.2.0"