diff --git a/.changeset/itchy-numbers-try.md b/.changeset/itchy-numbers-try.md new file mode 100644 index 000000000..13d3bd79e --- /dev/null +++ b/.changeset/itchy-numbers-try.md @@ -0,0 +1,8 @@ +--- +'@myst-theme/frontmatter': patch +'myst-demo': patch +'@myst-theme/article': patch +'@myst-theme/book': patch +--- + +Update for latest myst versions diff --git a/package-lock.json b/package-lock.json index ef4a2210b..9dc4999bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2449,31 +2449,10 @@ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" }, - "node_modules/@citation-js/cli": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@citation-js/cli/-/cli-0.6.9.tgz", - "integrity": "sha512-MPmaPmfZem1ZsfcrNRtAZX2IIpInB9Mod6k5GbNudF92vu96yz6dBgOXLFKZqxDGAp/bi2v1g+0LxEpbTeEiZQ==", - "dependencies": { - "@citation-js/core": "^0.6.9", - "@citation-js/plugin-bibjson": "^0.6.9", - "@citation-js/plugin-bibtex": "^0.6.9", - "@citation-js/plugin-csl": "^0.6.9", - "@citation-js/plugin-doi": "^0.6.9", - "@citation-js/plugin-ris": "^0.6.9", - "@citation-js/plugin-wikidata": "^0.6.9", - "commander": "^10.0.1" - }, - "bin": { - "citation-js": "lib/index.js" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@citation-js/core": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@citation-js/core/-/core-0.6.9.tgz", - "integrity": "sha512-ElG4cvedkaRm/a40yhWXOUPUzAImwqI7ZmIyL55GIR4EmfQ5PkaSEcFhA3dekMa66l52ddn4lQaNVO+/yECq9A==", + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/@citation-js/core/-/core-0.7.9.tgz", + "integrity": "sha512-fSbkB32JayDChZnAYC/kB+sWHRvxxL7ibVetyBOyzOc+5aCnjb6UVsbcfhnkOIEyAMoRRvWDyFmakEoTtA5ttQ==", "dependencies": { "@citation-js/date": "^0.5.0", "@citation-js/name": "^0.4.2", @@ -2481,7 +2460,7 @@ "sync-fetch": "^0.4.1" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" } }, "node_modules/@citation-js/date": { @@ -2500,95 +2479,35 @@ "node": ">=6" } }, - "node_modules/@citation-js/plugin-bibjson": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@citation-js/plugin-bibjson/-/plugin-bibjson-0.6.9.tgz", - "integrity": "sha512-AJI9kiMLeFm7tQ8mPXJ+DpABB0e9ZN8nchhxNnWcfy3Q5RB/i76RF6S/QEsDcQ4vdP4nWmBsKT9UmKdWkFrOQA==", - "dependencies": { - "@citation-js/date": "^0.5.0", - "@citation-js/name": "^0.4.2" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "@citation-js/core": "^0.6.0" - } - }, "node_modules/@citation-js/plugin-bibtex": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@citation-js/plugin-bibtex/-/plugin-bibtex-0.6.9.tgz", - "integrity": "sha512-35xHut8rbDAN2ffYt+BPn+DChxXhbVnN86fu2DHDQNWlCqCrUJhQTMRMlD0L1uuyHTDrkTvgLPtcs14WC+xKzA==", + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/@citation-js/plugin-bibtex/-/plugin-bibtex-0.7.9.tgz", + "integrity": "sha512-gIJpCd6vmmTOcRfDrSOjtoNhw2Mi94UwFxmgJ7GwkXyTYcNheW5VlMMo1tlqjakJGARQ0eOsKcI57gSPqJSS2g==", "dependencies": { "@citation-js/date": "^0.5.0", "@citation-js/name": "^0.4.2", "moo": "^0.5.1" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@citation-js/core": "^0.6.0" + "@citation-js/core": "^0.7.0" } }, "node_modules/@citation-js/plugin-csl": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@citation-js/plugin-csl/-/plugin-csl-0.6.9.tgz", - "integrity": "sha512-W8AYDK5o6qgkdBWgXPXmpzbTUxyfoADDbiGf1BqMdeD0IH3kSmgvXcsyeh8NMxiaM6B5VDg0k0pHaaxbTm5POA==", + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/@citation-js/plugin-csl/-/plugin-csl-0.7.9.tgz", + "integrity": "sha512-mbD7CnUiPOuVnjeJwo+d0RGUcY0PE8n01gHyjq0qpTeS42EGmQ9+LzqfsTUVWWBndTwc6zLRuIF1qFAUHKE4oA==", "dependencies": { "@citation-js/date": "^0.5.0", "citeproc": "^2.4.6" }, "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "@citation-js/core": "^0.6.0" - } - }, - "node_modules/@citation-js/plugin-doi": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@citation-js/plugin-doi/-/plugin-doi-0.6.9.tgz", - "integrity": "sha512-URU6z20r0O26qDBuqqT6zHRs0Kr7vUcL+hkayYV1b2Wnhjr0qLW3mxjUhcFEDO8lnKsdEBrXuZ6TBK1q+yI7CQ==", - "dependencies": { - "@citation-js/date": "^0.5.0" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "@citation-js/core": "^0.6.0" - } - }, - "node_modules/@citation-js/plugin-ris": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@citation-js/plugin-ris/-/plugin-ris-0.6.9.tgz", - "integrity": "sha512-ADoq3bEwh3KG1P1/m3dw4VN8n04oLh45o6a5x27tfqpL+nva47An0rSPjNkOAmKCAQQjOaZOtHnQahG1jjFPUw==", - "dependencies": { - "@citation-js/date": "^0.5.0", - "@citation-js/name": "^0.4.2" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "@citation-js/core": "^0.6.0" - } - }, - "node_modules/@citation-js/plugin-wikidata": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@citation-js/plugin-wikidata/-/plugin-wikidata-0.6.9.tgz", - "integrity": "sha512-SOpGhAtaBIbJYkf5+6eyh4fmED/WLjIhWorFOuWAtahjeU09L73hVwFffVbk6kxVfZm7OyH5RD2nhPmQLXrLCA==", - "dependencies": { - "@citation-js/date": "^0.5.0", - "@citation-js/name": "^0.4.2", - "wikidata-sdk": "^8.0.0" - }, - "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "peerDependencies": { - "@citation-js/core": "^0.6.0" + "@citation-js/core": "^0.7.0" } }, "node_modules/@codemirror/autocomplete": { @@ -13353,256 +13272,241 @@ } }, "node_modules/@unified-latex/unified-latex": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex/-/unified-latex-1.4.1.tgz", - "integrity": "sha512-wIAuGgU07OPFJ4WWbYzAe7muyw2AknEj2OjEEXYpZNvhCMg7jaX+GO32eBnvGU4MVsx2bwECeDZfjV6U3Az5Jw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex/-/unified-latex-1.7.0.tgz", + "integrity": "sha512-GoRtqHBph4Mvz7527dVmgPbrAH757sIyV/AHS943Bf/Q5uckyE0A7LglOe8vEqV/1tF4AGaU/GrQTNuntZs8dg==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-parse": "^1.4.1", - "@unified-latex/unified-latex-util-to-string": "^1.4.1", + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-parse": "^1.7.0", + "@unified-latex/unified-latex-util-to-string": "^1.7.0", "unified": "^10.1.2" } }, "node_modules/@unified-latex/unified-latex-builder": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-builder/-/unified-latex-builder-1.4.0.tgz", - "integrity": "sha512-cXUlY0rYEm+1oPmTSV4TFN9S8vvWpDBbehot4oY5SFDXiy2JTqYH0LcXIsRNtDcfRpdnyesncQ60FPjdDH53Pw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-builder/-/unified-latex-builder-1.7.0.tgz", + "integrity": "sha512-PIMWrn33xpidFBGsG1Z1dCuREvWXAhfuqxAst9rh9Dmlb3gJh/nNBbX5J3aW0Xd/gDDgQpWFTeucdQRNVbzhVg==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1" + "@unified-latex/unified-latex-types": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-ctan": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-ctan/-/unified-latex-ctan-1.4.1.tgz", - "integrity": "sha512-YyDdFUJNVAgVscyHJPd0ziNWJgrtjta6rTJwlLuEckkHQ0WP6CUKO8NfOxOBpctlk0lzV2NQNMihW1ps5AuZBA==", - "dependencies": { - "@unified-latex/unified-latex-builder": "^1.4.0", - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-argspec": "^1.4.0", - "@unified-latex/unified-latex-util-arguments": "^1.4.0", - "@unified-latex/unified-latex-util-comments": "^1.4.0", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-pegjs": "^1.4.0", - "@unified-latex/unified-latex-util-print-raw": "^1.4.0", - "@unified-latex/unified-latex-util-render-info": "^1.4.0", - "@unified-latex/unified-latex-util-replace": "^1.4.0", - "@unified-latex/unified-latex-util-scan": "^1.4.0", - "@unified-latex/unified-latex-util-split": "^1.4.0", - "@unified-latex/unified-latex-util-trim": "^1.4.0", - "@unified-latex/unified-latex-util-visit": "^1.4.0", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-ctan/-/unified-latex-ctan-1.7.0.tgz", + "integrity": "sha512-scFBVcazICd7lJdb5d6ahGTti6o7TXPugOFdib7m55orTOIFqqcC0zBPsy0Y999Z2slaFh8AHg15VRQ2iX3OSg==", + "dependencies": { + "@unified-latex/unified-latex-builder": "^1.7.0", + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-argspec": "^1.7.0", + "@unified-latex/unified-latex-util-arguments": "^1.7.0", + "@unified-latex/unified-latex-util-comments": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-pegjs": "^1.7.0", + "@unified-latex/unified-latex-util-print-raw": "^1.7.0", + "@unified-latex/unified-latex-util-render-info": "^1.7.0", + "@unified-latex/unified-latex-util-replace": "^1.7.0", + "@unified-latex/unified-latex-util-scan": "^1.7.0", + "@unified-latex/unified-latex-util-split": "^1.7.0", + "@unified-latex/unified-latex-util-trim": "^1.7.0", + "@unified-latex/unified-latex-util-visit": "^1.7.0", "color": "^4.2.3" } }, "node_modules/@unified-latex/unified-latex-prettier": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-prettier/-/unified-latex-prettier-1.4.2.tgz", - "integrity": "sha512-QMV2rQeYcH2zG3sAMZM1ajXMP5bZhhLZSURHDHgADxneFEf0iU0wZj1VxwUGQvVkAXqj+o4bWaBSM9FIhz8uiQ==", - "dependencies": { - "@unified-latex/unified-latex-ctan": "^1.4.1", - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-align": "^1.4.0", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-parse": "^1.4.1", - "@unified-latex/unified-latex-util-pgfkeys": "^1.4.0", - "@unified-latex/unified-latex-util-print-raw": "^1.4.0", - "@unified-latex/unified-latex-util-trim": "^1.4.0", - "@unified-latex/unified-latex-util-visit": "^1.4.0", - "prettier": "^2.8.8", - "unified": "^10.1.2" - } - }, - "node_modules/@unified-latex/unified-latex-prettier/node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-prettier/-/unified-latex-prettier-1.7.0.tgz", + "integrity": "sha512-/He7FxhjTTM33bRPWgcwTfBz6YuPGVJPEis48Wmxg9dGfPC7fn1LMovwL05HC1OkNwx5lrx8t83kF8q2EovolQ==", + "dependencies": { + "@unified-latex/unified-latex-ctan": "^1.7.0", + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-align": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-parse": "^1.7.0", + "@unified-latex/unified-latex-util-pgfkeys": "^1.7.0", + "@unified-latex/unified-latex-util-print-raw": "^1.7.0", + "@unified-latex/unified-latex-util-trim": "^1.7.0", + "@unified-latex/unified-latex-util-visit": "^1.7.0", + "prettier": "^3.0.3" } }, "node_modules/@unified-latex/unified-latex-types": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-types/-/unified-latex-types-1.3.1.tgz", - "integrity": "sha512-697Wc68b6HC4pG9+Gpt9hvZYJUeKQzNGY3ONTVERN3Sqfngd64i2p1Yh1dcqMxspckXaXwIn72XHRBSofITxSw==" + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-types/-/unified-latex-types-1.7.1.tgz", + "integrity": "sha512-WpwM9FxJi5gEvxYYWdbtcVutNgh52lHL3c1cU82pxRdJ4ltqdmDzLwZbqnWrQxOmsmVSeyaxAfOYQpv7B016CA==" }, "node_modules/@unified-latex/unified-latex-util-align": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-align/-/unified-latex-util-align-1.4.0.tgz", - "integrity": "sha512-dSyGpCigs+S4HbdROGw0XTT5XTWRQ7e3hfVw2aY25HpX4BOlGHqp60GUMzpDkQiJy21mK9fac/MnCM5CsPcmpw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-align/-/unified-latex-util-align-1.7.0.tgz", + "integrity": "sha512-hqe4UXLSyRI0cezFMccht5zqec1u/LP+pBOF9s7imyX8wSwfZkdvNKm0PxdqBJoSUpZKL4EUgsQSiEP8xnL3xA==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-pegjs": "^1.4.0" + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-pegjs": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-argspec": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-argspec/-/unified-latex-util-argspec-1.4.0.tgz", - "integrity": "sha512-FcovssslxYUwULFwplzhEJeSX4IKm5C/AS3/hXc9js75JWvbjV/qDP3apu8yN5kQFx4SJrwXVfXIq2IIC8tdCQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-argspec/-/unified-latex-util-argspec-1.7.0.tgz", + "integrity": "sha512-voHnA1/aBCqxKG0OnWWG4LPm1WqduK4+v9bk451Nxt51eZ1bhAHHXBfuAKF7hPcCVboBG8qBn65SQoXRvC2abw==", "dependencies": { - "@unified-latex/unified-latex-util-pegjs": "^1.4.0" + "@unified-latex/unified-latex-util-pegjs": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-arguments": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-arguments/-/unified-latex-util-arguments-1.4.0.tgz", - "integrity": "sha512-ItsC2CpL5lpOQyWxIA4197unZYk0L/TygCftVe2pYHv0pp58C/LH+ZTWyrig4eIdBZ44cg2GbOaH8gRLIwR+lA==", - "dependencies": { - "@unified-latex/unified-latex-builder": "^1.4.0", - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-argspec": "^1.4.0", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-render-info": "^1.4.0", - "@unified-latex/unified-latex-util-scan": "^1.4.0", - "@unified-latex/unified-latex-util-visit": "^1.4.0", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-arguments/-/unified-latex-util-arguments-1.7.0.tgz", + "integrity": "sha512-/IpO7SoDY2tKqoJpufywTTh2rDsxbQEmmPQ3Fb/Nq1L/FyVCs5A2gCFJzzjOFR0P2ULGdw/dtAGjuV/fNsVvvg==", + "dependencies": { + "@unified-latex/unified-latex-builder": "^1.7.0", + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-argspec": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-render-info": "^1.7.0", + "@unified-latex/unified-latex-util-scan": "^1.7.0", + "@unified-latex/unified-latex-util-visit": "^1.7.0", "unified": "^10.1.2" } }, "node_modules/@unified-latex/unified-latex-util-catcode": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-catcode/-/unified-latex-util-catcode-1.4.0.tgz", - "integrity": "sha512-1ADxrhtIHMKuPmxmIZlNpTC89kEtw/ohwKn7dtYmp7TsjQ2Qpw5I/FvMBGFCXPDzfB7U/hSAm7qZxG6XKgoEcg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-catcode/-/unified-latex-util-catcode-1.7.0.tgz", + "integrity": "sha512-WqrFM1IMMhXyOQT+mDol2JbLiaKlSB3WbHE1T7hJ3aqOjtTsIACVwZ8AEL9Up8HLfBdZtTVDj7Pta68bovCpow==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-visit": "^1.4.0" + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-visit": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-comments": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-comments/-/unified-latex-util-comments-1.4.0.tgz", - "integrity": "sha512-O8ACOuan89lpH23PD93Lo+7iySUI9dwkKXzLLdQF+2MJZQF6XSgh/URxxdmKEG+Qiydvj+JX0OpnvmHFz2XdKw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-comments/-/unified-latex-util-comments-1.7.0.tgz", + "integrity": "sha512-iTHW78azbFeeD0B1wkalBPmZxPnIrGcNZ+sphYIVDQSaPT5VTZIUqEh09UG1gGL7NnRQONmC8MUHe2qravAVrg==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-replace": "^1.4.0" + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-replace": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-environments": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-environments/-/unified-latex-util-environments-1.4.0.tgz", - "integrity": "sha512-fblSDxP5AcF2/Lr7+Kq9e6/M+PU8mTEED8qnIyED+inhAZ+omodPZyU87Nq+LBItSP2Zo6bj6WuZOY1hk88Q4w==", - "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-arguments": "^1.4.0", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-print-raw": "^1.4.0", - "@unified-latex/unified-latex-util-render-info": "^1.4.0", - "@unified-latex/unified-latex-util-visit": "^1.4.0", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-environments/-/unified-latex-util-environments-1.7.0.tgz", + "integrity": "sha512-VdYi90NUYhO9iLp24yMAdT8aNq0ewlBZwfNDT/umqIqBMQLbgx/vsu+cJsirWeoQaxywOJZIwicTBKNIEAuq3g==", + "dependencies": { + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-arguments": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-print-raw": "^1.7.0", + "@unified-latex/unified-latex-util-render-info": "^1.7.0", + "@unified-latex/unified-latex-util-visit": "^1.7.0", "unified": "^10.1.2" } }, "node_modules/@unified-latex/unified-latex-util-match": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-match/-/unified-latex-util-match-1.4.0.tgz", - "integrity": "sha512-LI5uJZFU5etsQ1SX3hhxi7VrAVEIg/T2LaSXIxYCH1J+UE657qO/7uQ6K4wo4CVmL1dN3KWQzkykohVqQ4nR7w==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-match/-/unified-latex-util-match-1.7.0.tgz", + "integrity": "sha512-0r4FRoHATScJRVgBDX6RTUi5eyUsdrKYcRlQ9T8AwNEQxdMJpJ8RAdzuGM7EDUaaFEiHDewtkHuXNeCj51U74Q==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-print-raw": "^1.4.0" + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-print-raw": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-parse": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-parse/-/unified-latex-util-parse-1.4.1.tgz", - "integrity": "sha512-aPjugXrklmyzhRf88XJuOVV2pSE+9dBFMCaQYbJGalJAxB5/eyrsy+TVKXhtoQ0OxDu/QmIa+SErEQlSApyZ0w==", - "dependencies": { - "@unified-latex/unified-latex-ctan": "^1.4.1", - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-arguments": "^1.4.0", - "@unified-latex/unified-latex-util-catcode": "^1.4.0", - "@unified-latex/unified-latex-util-environments": "^1.4.0", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-pegjs": "^1.4.0", - "@unified-latex/unified-latex-util-print-raw": "^1.4.0", - "@unified-latex/unified-latex-util-trim": "^1.4.0", - "@unified-latex/unified-latex-util-visit": "^1.4.0", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-parse/-/unified-latex-util-parse-1.7.0.tgz", + "integrity": "sha512-QJwxKXzYt7FrAh/Uib70FY1P6giP0ysdhVyI8sgkg900u7FzNo/+sghZP1GOeJ5BKrl5GDtRdD5aAfi8Ir8H9g==", + "dependencies": { + "@unified-latex/unified-latex-ctan": "^1.7.0", + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-arguments": "^1.7.0", + "@unified-latex/unified-latex-util-catcode": "^1.7.0", + "@unified-latex/unified-latex-util-environments": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-pegjs": "^1.7.0", + "@unified-latex/unified-latex-util-print-raw": "^1.7.0", + "@unified-latex/unified-latex-util-trim": "^1.7.0", + "@unified-latex/unified-latex-util-visit": "^1.7.0", "unified": "^10.1.2" } }, "node_modules/@unified-latex/unified-latex-util-pegjs": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-pegjs/-/unified-latex-util-pegjs-1.4.0.tgz", - "integrity": "sha512-Bw6YUN/L6vgYa79513ApF0SrdRk8dPyPupUfgXfq6EQu+RKlW9vDcRh/0RaaudrJi86XffCjwaFJ2fqzwzf3cQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-pegjs/-/unified-latex-util-pegjs-1.7.0.tgz", + "integrity": "sha512-cup8hNUJyyf46DmTv52tmX+TZRzekKhEDKZC4Bs0P0ZBSd0DVQH3qP9AifhgQu0Qtfx9GUnXwUDCxkp0gGxkhg==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0" + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-pgfkeys": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-pgfkeys/-/unified-latex-util-pgfkeys-1.4.0.tgz", - "integrity": "sha512-b5Fe0R2JiqcCNNeUfVh/bvCHL9yoHRUiNsSEA/kJnG8eCM6r3dqTrKkF+sIgjcjymztx8GKJxOarGkYYXw+Csw==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-pgfkeys/-/unified-latex-util-pgfkeys-1.7.0.tgz", + "integrity": "sha512-XUn+PLs+FCUQpMh/fx6rmlXRpMjc2O8MGxoLSsVyCeEkMxykON/wAGAZq7/rV/tbGUnmf1N4cO8d6gCwsDiKkA==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-pegjs": "^1.4.0", - "@unified-latex/unified-latex-util-print-raw": "^1.4.0" + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-pegjs": "^1.7.0", + "@unified-latex/unified-latex-util-print-raw": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-print-raw": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-print-raw/-/unified-latex-util-print-raw-1.4.0.tgz", - "integrity": "sha512-7CAq33vRbv2wCanfMirNpGnrMEoXbcqLEFr+WL5tDxNiZw8LSeNPHloL0ZwMiiwE87ylsSR7F8NLRvQGbgj+GQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-print-raw/-/unified-latex-util-print-raw-1.7.0.tgz", + "integrity": "sha512-wbs0brEx8/yEupwrR5Rf3xRMr/oi/dbnsCcgyYt8NDMEesEA9slIqQxHHcXaQhCz2pBbiywfetnvEZkP5RDhjA==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1" + "@unified-latex/unified-latex-types": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-render-info": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-render-info/-/unified-latex-util-render-info-1.4.0.tgz", - "integrity": "sha512-GKJ2gbncDGLE8RjM3GJA+0m4MJvqiBXxlNwWIj3Rz+hG7hHADj9oijDhy/S9UW1CzAs/y0kzcXVu1P+8x4P+zA==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-render-info/-/unified-latex-util-render-info-1.7.0.tgz", + "integrity": "sha512-9rYHp23dDZyIq7Nc0f3bXREjLtykjFg1YgUmE7cBL43kUWQq04m4dhjF8hKSjV/uE85NpZa1eaKPBld89T/9iA==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-visit": "^1.4.0" + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-visit": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-replace": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-replace/-/unified-latex-util-replace-1.4.0.tgz", - "integrity": "sha512-FVFr2UYdfRQLlep9b28uLeNGqTRDFiTQ2bmXT428H/FMw+9zb6wXs9BgQbth1R+1ZCxgDwmXoIE7q9q82kUu6g==", - "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-split": "^1.4.0", - "@unified-latex/unified-latex-util-trim": "^1.4.0", - "@unified-latex/unified-latex-util-visit": "^1.4.0", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-replace/-/unified-latex-util-replace-1.7.0.tgz", + "integrity": "sha512-TtiDFi+ldJOaKWx2WH04ycCvx2J78VyBLSTNda2fw27TUqD4LjhFYMTLZ+4u80ViASmy/mOP4JFqBHUH9CFCBw==", + "dependencies": { + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-split": "^1.7.0", + "@unified-latex/unified-latex-util-trim": "^1.7.0", + "@unified-latex/unified-latex-util-visit": "^1.7.0", "unified": "^10.1.2" } }, "node_modules/@unified-latex/unified-latex-util-scan": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-scan/-/unified-latex-util-scan-1.4.0.tgz", - "integrity": "sha512-z708ORhSUVh5f+mjwMy1kFpyfHg2Iy8hvUOhz/Y4VcZwX4M4uZXiCu3l1YjDnk0BEKnkeacTkq8kTHgIS1GtrQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-scan/-/unified-latex-util-scan-1.7.0.tgz", + "integrity": "sha512-2of6dLyFOiqhqLR+eZvtLMwb8KqaF1dLfRURBeWGex2FQCBQ7NCHHvSBUJZ4z1kNm8GrjtVwG3Hc+9IvrTyw0g==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-print-raw": "^1.4.0", + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-print-raw": "^1.7.0", "trie-prefix-tree": "^1.5.1" } }, "node_modules/@unified-latex/unified-latex-util-split": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-split/-/unified-latex-util-split-1.4.0.tgz", - "integrity": "sha512-g4Es3Mulve6Komzm4bF045qyrLlIZ8cwxqkMGz5fOW9xdxgSFtljs56AIg1z30ao3wQPT8VcB1bZKfTR8reSwQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-split/-/unified-latex-util-split-1.7.0.tgz", + "integrity": "sha512-BcmZlrM4PeWMV0ufAAywxTYDaUkX0rpFu/mZjs/7ODJsH/G0W5/ldk3XkorDm7jvc/5xnequINm3+VQEabxgDg==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0" + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0" } }, "node_modules/@unified-latex/unified-latex-util-to-string": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-to-string/-/unified-latex-util-to-string-1.4.1.tgz", - "integrity": "sha512-FSrqYf4gRSDBzszeADMwyCV5dr9legBMNWfJnSlBLn0FqzUlWOmUSE1T26bHVCXVCFVOT6iIn2brySAkJdz87A==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-to-string/-/unified-latex-util-to-string-1.7.0.tgz", + "integrity": "sha512-BryJpt9H1ZUta1KB566CsUOdFu7WEuNWUIaTE5i4gVo59eS7HBdICL8b5GKGn8AWFGHUY9BwmZOcc9PBjv8bDg==", "dependencies": { - "@unified-latex/unified-latex-prettier": "^1.4.1", - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-print-raw": "^1.4.0", - "prettier": "^2.6.2", + "@unified-latex/unified-latex-prettier": "^1.7.0", + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-print-raw": "^1.7.0", + "prettier": "^2.8.8", "unified": "^10.1.2" } }, @@ -13621,24 +13525,23 @@ } }, "node_modules/@unified-latex/unified-latex-util-trim": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-trim/-/unified-latex-util-trim-1.4.0.tgz", - "integrity": "sha512-nyhhUPIAeign8MyO/wOzT4lULzWFDo7GGsJCJ2byXHlJUhgszH6EoIRUS5naESz9Z3RLtNZIcXFLGFdiyq9aFg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-trim/-/unified-latex-util-trim-1.7.0.tgz", + "integrity": "sha512-NT2ERCDKFikIzgu20Iv91nQa96gRix3CxXt+AeCgQ30AwCNF37SD+k9diwzAgCJyYV2B8HsH6SaAoVNL+f4xdA==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0", - "@unified-latex/unified-latex-util-render-info": "^1.4.0", - "@unified-latex/unified-latex-util-visit": "^1.4.0", + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0", + "@unified-latex/unified-latex-util-visit": "^1.7.0", "unified": "^10.1.2" } }, "node_modules/@unified-latex/unified-latex-util-visit": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-visit/-/unified-latex-util-visit-1.4.0.tgz", - "integrity": "sha512-SGUrNwnj99W1eLi5KUHo9ViNNXb8nomQD3SRa8TUrBuW69364jnz2HjY9Im+xCgm5PEXrSJo0D88BZDE65nJoQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@unified-latex/unified-latex-util-visit/-/unified-latex-util-visit-1.7.0.tgz", + "integrity": "sha512-LOUSo9AfTYieOuPVvdGe8S6O6+YNjwo+xZ4LeeG54qqgUGxCfp+EZi0zdDys/0juYcvP2t5yC0BNoUSLVsWMrw==", "dependencies": { - "@unified-latex/unified-latex-types": "^1.3.1", - "@unified-latex/unified-latex-util-match": "^1.4.0" + "@unified-latex/unified-latex-types": "^1.7.0", + "@unified-latex/unified-latex-util-match": "^1.7.0" } }, "node_modules/@vanilla-extract/babel-plugin-debug-ids": { @@ -16839,36 +16742,14 @@ "node": ">=8" } }, - "node_modules/citation-js": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/citation-js/-/citation-js-0.6.9.tgz", - "integrity": "sha512-BaFBfaZXTbCdhYT2zTc4dpU6ktDnfPTLAQ2NYY3rZifL2/SdJ0/nFymmPtF4gUQxYL/qC8tyj3dEe3SRH6gAtQ==", - "dependencies": { - "@citation-js/cli": "0.6.9", - "@citation-js/core": "0.6.9", - "@citation-js/date": "0.5.1", - "@citation-js/name": "0.4.2", - "@citation-js/plugin-bibjson": "0.6.9", - "@citation-js/plugin-bibtex": "0.6.9", - "@citation-js/plugin-csl": "0.6.9", - "@citation-js/plugin-doi": "0.6.9", - "@citation-js/plugin-ris": "0.6.9", - "@citation-js/plugin-wikidata": "0.6.9", - "citeproc": "^2.4.59" - }, - "bin": { - "citation-js": "bin/cmd.js" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/citation-js-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/citation-js-utils/-/citation-js-utils-1.0.2.tgz", - "integrity": "sha512-rj1onNQvVUK3cAM8nr4FvkRRpUhOKdaC57Xknu0znxS0EkQpAOn2fjPaQ1GwB2dXaKaBRKu/79EwCTDsCeQJnA==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/citation-js-utils/-/citation-js-utils-1.1.2.tgz", + "integrity": "sha512-CsgarfdRX1Fbk5Ie9xyCh9cbDNIty7C7a5l9ruCIRuSoIrI/PeouAxCGr/j4dbxXvgsjUMaa1brapfzKvV5aZA==", "dependencies": { - "citation-js": "^0.6.3", + "@citation-js/core": "^0.7.6", + "@citation-js/plugin-bibtex": "^0.7.8", + "@citation-js/plugin-csl": "^0.7.6", "sanitize-html": "^2.7.0" }, "engines": { @@ -17213,11 +17094,11 @@ } }, "node_modules/commander": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", "engines": { - "node": ">=14" + "node": ">= 12" } }, "node_modules/common-path-prefix": { @@ -23429,9 +23310,9 @@ } }, "node_modules/hast-util-from-html/node_modules/@types/hast": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.3.tgz", - "integrity": "sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", "dependencies": { "@types/unist": "*" } @@ -23500,9 +23381,9 @@ } }, "node_modules/hast-util-from-parse5/node_modules/@types/hast": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.3.tgz", - "integrity": "sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", "dependencies": { "@types/unist": "*" } @@ -23600,9 +23481,9 @@ } }, "node_modules/hast-util-parse-selector/node_modules/@types/hast": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.3.tgz", - "integrity": "sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", "dependencies": { "@types/unist": "*" } @@ -23867,9 +23748,9 @@ } }, "node_modules/hastscript/node_modules/@types/hast": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.3.tgz", - "integrity": "sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", "dependencies": { "@types/unist": "*" } @@ -23991,15 +23872,6 @@ "node": ">= 10.0" } }, - "node_modules/html-minifier-terser/node_modules/commander": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", - "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", - "dev": true, - "engines": { - "node": ">= 12" - } - }, "node_modules/html-minifier-terser/node_modules/param-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", @@ -24532,6 +24404,14 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/intersphinx/node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "engines": { + "node": ">=14" + } + }, "node_modules/intersphinx/node_modules/data-uri-to-buffer": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", @@ -28044,14 +27924,6 @@ "katex": "cli.js" } }, - "node_modules/katex/node_modules/commander": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", - "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==", - "engines": { - "node": ">= 12" - } - }, "node_modules/kdbush": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz", @@ -30524,13 +30396,13 @@ } }, "node_modules/myst-common": { - "version": "1.1.18", - "resolved": "https://registry.npmjs.org/myst-common/-/myst-common-1.1.18.tgz", - "integrity": "sha512-TX3W9sFiCLl9r9KvDJYKgQC0HZDfF/l5Rwr8khfUpNrlPdTMhnrIAaGe1hGDjaBVA67cC3o0kToZkNbjimZn8A==", + "version": "1.1.31", + "resolved": "https://registry.npmjs.org/myst-common/-/myst-common-1.1.31.tgz", + "integrity": "sha512-Pbvuv0usD1DaCwiVgYcTUEyPnrh6rXWnmkpSvTNDYGwF05mPS8wAkXPFYX7jO3NSZvA0ZjnnGGPHPo2mK5V2wg==", "dependencies": { "mdast": "^3.0.0", - "myst-frontmatter": "^1.1.18", - "myst-spec": "^0.0.4", + "myst-frontmatter": "^1.1.31", + "myst-spec": "^0.0.5", "nanoid": "^4.0.0", "unified": "^10.1.2", "unist-util-remove": "^3.1.0", @@ -30540,11 +30412,11 @@ } }, "node_modules/myst-config": { - "version": "1.1.18", - "resolved": "https://registry.npmjs.org/myst-config/-/myst-config-1.1.18.tgz", - "integrity": "sha512-9tIOJfnPGMlyre5ivMMf4PRX1vMAhSoP5L8c6TiV/uHVY4iiDv/T/TOAHHVvDu48piUUA8ju6T8ySp2T1PjvnA==", + "version": "1.1.31", + "resolved": "https://registry.npmjs.org/myst-config/-/myst-config-1.1.31.tgz", + "integrity": "sha512-Q0AX8ojQrknVnz1aDGUtDjPCun2WicMLnpMpfcaSplFrVopdVD9Qh8AOi2htRTWHnAPw/Q5keMH2pu7GLJ4Zpw==", "dependencies": { - "myst-frontmatter": "^1.1.18", + "myst-frontmatter": "^1.1.31", "simple-validators": "^1.0.4" } }, @@ -30553,13 +30425,15 @@ "link": true }, "node_modules/myst-directives": { - "version": "1.0.18", - "resolved": "https://registry.npmjs.org/myst-directives/-/myst-directives-1.0.18.tgz", - "integrity": "sha512-ZSkIsOXc2HWhRlXqq1HU/5FhGF+hVTT2/nx59iksZakohGtzBNT45nKGsQBqTEU1h/ZbsGN57en1S8vb/XGSNw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/myst-directives/-/myst-directives-1.2.0.tgz", + "integrity": "sha512-+crEUZfl9EURdFBh9H0QvaipUaT8l0OK8yIDSK94hlEd3XA+uW+UOvm35EOpjp02Lh3kUa6IPfqgLlhhDVJ2mg==", "dependencies": { + "classnames": "^2.3.2", "js-yaml": "^4.1.0", - "myst-common": "^1.1.18", - "myst-spec-ext": "^1.1.18", + "myst-common": "^1.1.31", + "myst-spec-ext": "^1.1.31", + "nanoid": "^4.0.2", "unist-util-select": "^4.0.3", "vfile": "^5.3.7" } @@ -30581,50 +30455,50 @@ } }, "node_modules/myst-ext-card": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/myst-ext-card/-/myst-ext-card-1.0.4.tgz", - "integrity": "sha512-SsehKOhoNIFoD3Fq+Djq9A+vCnViYSUKvclLyBfmm8cabz2C6/h4qE7j9Fkmsw5H0fvleMLZxfh+Lj3lU4ooQw==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/myst-ext-card/-/myst-ext-card-1.0.5.tgz", + "integrity": "sha512-7bM/XGlJKmI8X+NxJb3P0gMmzlLHGOeRINo59kVIgbjx9u0zSDWieZM3IM5KIXVialDnQpD4J/DA8ZbLRxYJzg==", "dependencies": { - "myst-common": "^1.1.7" + "myst-common": "^1.1.20" } }, "node_modules/myst-ext-exercise": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/myst-ext-exercise/-/myst-ext-exercise-1.0.4.tgz", - "integrity": "sha512-cBzhiU/jZpP7J3cRw23GVX0pd+m65Er3H5NYTO/oKzKCpkLP1WvjsY7nH8sYEBxk4gXpQzsnwd3dHkfVnIMmgA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/myst-ext-exercise/-/myst-ext-exercise-1.0.5.tgz", + "integrity": "sha512-5K5eTZecsdtij1c4PWfAgTBH+TSs0s42rxfVKmjD+SZrle+aAHgy+d59CJfDbS0WB6fkR2ZQ3SjQOZvAhqZHpg==", "dependencies": { - "myst-common": "^1.1.7" + "myst-common": "^1.1.20" } }, "node_modules/myst-ext-grid": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/myst-ext-grid/-/myst-ext-grid-1.0.4.tgz", - "integrity": "sha512-whQfxPPkz3bcDbYNCS0nNs3m/7Yz5UBm4uOr6BvJuLrXH3qyGNAROJ6yCenyDk7TkSTj9pK8HxOiDcJ9I5G42g==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/myst-ext-grid/-/myst-ext-grid-1.0.5.tgz", + "integrity": "sha512-YunaK0eMsvnX2kBjTm2tZVyJo9TI9CuFZ+JCvuQFADQuXz7xfUZWRb2zlZj7ozxgwZwuT2h7YVhd3EpRl9GDmQ==", "dependencies": { - "myst-common": "^1.1.7" + "myst-common": "^1.1.20" } }, "node_modules/myst-ext-proof": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/myst-ext-proof/-/myst-ext-proof-1.0.6.tgz", - "integrity": "sha512-i3+8F86Mv2cbYOKylLaPeH6vwvrFysYkrAfmyGSxseHPwT0o5Z97atTLcHukgzKjVIZL1aG9ic82GUIOo3O7Nw==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/myst-ext-proof/-/myst-ext-proof-1.0.8.tgz", + "integrity": "sha512-vkFxL5YQJMbzv94eqWSCrFULxHykc2Ndd+zL7TmkdPFqSvzRQK7ajnJV1rLjmfEra76ZLdHAb4G2bNTjIzV2Lg==", "dependencies": { - "myst-common": "^1.1.11", - "myst-spec": "^0.0.4" + "myst-common": "^1.1.22", + "myst-spec": "^0.0.5" } }, "node_modules/myst-ext-tabs": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/myst-ext-tabs/-/myst-ext-tabs-1.0.4.tgz", - "integrity": "sha512-bY3x+OHwOo8EzrFgPdrp8lBkxg6rx3BO98yub2byNdCVaEHB423bXufjn1KbwYTamA2QfR71kL4ZSWui3brT1g==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/myst-ext-tabs/-/myst-ext-tabs-1.0.5.tgz", + "integrity": "sha512-cnri9PybF5MCIx4KkCjZuO6k7XYm+QbCExgXfPppJhjrummOJqhQeHh3fsRGo30TM3dRMdJo/sGbuvhUfhWObQ==", "dependencies": { - "myst-common": "^1.1.7" + "myst-common": "^1.1.20" } }, "node_modules/myst-frontmatter": { - "version": "1.1.18", - "resolved": "https://registry.npmjs.org/myst-frontmatter/-/myst-frontmatter-1.1.18.tgz", - "integrity": "sha512-BU9KSxgmGNbvFRiuMd3P1+Bor06ZuO/CtIS5DytMBdLB5X3suFeGNGCccYFsOUHO0JcYJzjbR5DOMhZhi/cCkA==", + "version": "1.1.31", + "resolved": "https://registry.npmjs.org/myst-frontmatter/-/myst-frontmatter-1.1.31.tgz", + "integrity": "sha512-f5b7HnohJuqh2pbi82J8APhpoDm9yRWMccROIACqZEL8CK5FSCE2lnxMXzrA2kIEcCBg7LynYc/Ecg1wbgVqsw==", "dependencies": { "credit-roles": "^2.1.0", "doi-utils": "^2.0.0", @@ -30634,9 +30508,9 @@ } }, "node_modules/myst-parser": { - "version": "1.0.18", - "resolved": "https://registry.npmjs.org/myst-parser/-/myst-parser-1.0.18.tgz", - "integrity": "sha512-dbMaj9HPbypkDr2WKVOruAHvQxSC/ZpUGkkx5NJIe7DrDfNQEy/VVxL2mleeT/b12dwdLGI78PP2izPc6ydktA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/myst-parser/-/myst-parser-1.2.0.tgz", + "integrity": "sha512-NXz/fXzd1ZJ57qg3WbKywWwviXjYcFVQjCm+0TbTALOkuOSAJtsxRE9JXX8b3/LkZurFXqKTPlLBHlriSKiO1g==", "dependencies": { "he": "^1.2.0", "markdown-it": "^12.3.2", @@ -30648,10 +30522,10 @@ "markdown-it-myst": "1.0.5", "markdown-it-myst-extras": "0.3.0", "markdown-it-task-lists": "^2.1.1", - "myst-common": "^1.1.18", - "myst-directives": "^1.0.18", - "myst-roles": "^1.0.18", - "myst-spec": "^0.0.4", + "myst-common": "^1.1.31", + "myst-directives": "^1.2.0", + "myst-roles": "^1.2.0", + "myst-spec": "^0.0.5", "unified": "^10.1.1", "unist-builder": "^3.0.0", "unist-util-remove": "^3.1.0", @@ -30661,45 +30535,45 @@ } }, "node_modules/myst-roles": { - "version": "1.0.18", - "resolved": "https://registry.npmjs.org/myst-roles/-/myst-roles-1.0.18.tgz", - "integrity": "sha512-PhE0yK3Ys8K0xIxJl96hc31WuBKkSPrwY6PydHwa3uk2hECJiCe0lML0bmtbcY8GyK3L4EuHh9Tc6H8NbFibOw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/myst-roles/-/myst-roles-1.2.0.tgz", + "integrity": "sha512-Tu+50zgyHdpYVEzObUws43pgJAYMnyHw1YqkPIvFC/kbLxrKuRsKuxSrQ8156eF8YrnKCrNPy80kEn7Q9IR6oA==", "dependencies": { - "myst-common": "^1.1.18", - "myst-spec-ext": "^1.1.18" + "myst-common": "^1.1.31", + "myst-spec-ext": "^1.1.31" } }, "node_modules/myst-spec": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/myst-spec/-/myst-spec-0.0.4.tgz", - "integrity": "sha512-1j7184Wmg5lhgSXt6AXtG82E0PFJ7ULFPplfshQDzb4nIOLKruYFD0CYWheRPMM/eVqNbNZUzc/LLrhyubsK0Q==" + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/myst-spec/-/myst-spec-0.0.5.tgz", + "integrity": "sha512-L/4TV1l5ZbWUOgSnXqiYrx192SV4I+HqjX7TBQ4k02/heeNFckpkUIyLulraap5heTyLcJs8UYBxu+Kv5JiiRw==" }, "node_modules/myst-spec-ext": { - "version": "1.1.18", - "resolved": "https://registry.npmjs.org/myst-spec-ext/-/myst-spec-ext-1.1.18.tgz", - "integrity": "sha512-Bxmmj4ZM8AKBNIwnuk7I+mvPIOLwe+YeySbwVOwZhHpd/Yc5HUi77XJ4z/fZk8rSn0f+/KS11ZiYW/IaeFEOjQ==", + "version": "1.1.31", + "resolved": "https://registry.npmjs.org/myst-spec-ext/-/myst-spec-ext-1.1.31.tgz", + "integrity": "sha512-qvlfseMT2JwbAbTWOVHBMlCSdPwmv0cSppKGOukSkBcKYYip9wZGsGIR0px/eTOj3ze83RhQLp0jZNy2o4LXUQ==", "dependencies": { - "myst-spec": "^0.0.4" + "myst-spec": "^0.0.5" } }, "node_modules/myst-to-docx": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/myst-to-docx/-/myst-to-docx-1.0.7.tgz", - "integrity": "sha512-W6yJX5wlDU5XkE3/No1FyYkKFYt0/w4+kY9QFJhGj41Uijc/tJHCXxPA1lr9mNyc6KXlN8bCA9tm7txrN0/EEg==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/myst-to-docx/-/myst-to-docx-1.0.9.tgz", + "integrity": "sha512-VATaeL+7QHwgql0I9MH/5OFA2tZrUjIi8PalKS5sem0hmAFdXsMW+tUKGpd6zGdAEI1jts13uSMdIAPp48P9EA==", "dependencies": { "buffer-image-size": "^0.6.4", "docx": "^7.3.0", - "myst-common": "^1.1.10", - "myst-frontmatter": "^1.1.10", - "myst-spec": "^0.0.4", - "myst-spec-ext": "^1.1.10", + "myst-common": "^1.1.22", + "myst-frontmatter": "^1.1.22", + "myst-spec": "^0.0.5", + "myst-spec-ext": "^1.1.22", "unist-util-select": "^4.0.3" } }, "node_modules/myst-to-html": { - "version": "1.0.18", - "resolved": "https://registry.npmjs.org/myst-to-html/-/myst-to-html-1.0.18.tgz", - "integrity": "sha512-SyoAosxqb7vZGSRvfZjg5zZ5zMQ3+NVPtywbzZ515GwjJrKJkl4rHK19zAbY5vAVvutuqXItHX6V6mKCXkAzKA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/myst-to-html/-/myst-to-html-1.2.0.tgz", + "integrity": "sha512-gQg2evW/9cRTBd5XDgZGGgVd9s9Tv2sImRThM1qYKBnpelIl53XXbnRQpqbD4dSBzreENYiknXNkIh7rocKZDg==", "dependencies": { "classnames": "^2.3.2", "hast": "^1.0.0", @@ -30708,7 +30582,7 @@ "mdast": "^3.0.0", "mdast-util-find-and-replace": "^2.1.0", "mdast-util-to-hast": "^12.3.0", - "myst-common": "^1.1.18", + "myst-common": "^1.1.31", "rehype-format": "^4.0.1", "rehype-parse": "^8.0.4", "rehype-remark": "^9.1.2", @@ -30761,21 +30635,21 @@ } }, "node_modules/myst-to-jats": { - "version": "1.0.19", - "resolved": "https://registry.npmjs.org/myst-to-jats/-/myst-to-jats-1.0.19.tgz", - "integrity": "sha512-lVT5tiUE2x0OScb2dWakiHzFEpjQStjecjvZkigId+2CjoS5KrfKJ882bt8cobIVW4B9JvVZ1yklsqs+US+FIQ==", + "version": "1.0.24", + "resolved": "https://registry.npmjs.org/myst-to-jats/-/myst-to-jats-1.0.24.tgz", + "integrity": "sha512-L61PRGs2/98vgjAUYGhd0Gq0tYzi2GmR2dC89/toJXDbGb7Nul7/oaRUTI7tQlYDUWW+f6UaejQVbdgSam4rWQ==", "dependencies": { - "citation-js-utils": "^1.0.2", + "citation-js-utils": "^1.1.1", "credit-roles": "^2.1.0", "doi-utils": "^2.0.1", "jats-tags": "^1.0.8", "jats-utils": "^1.0.8", "katex": "^0.15.2", - "myst-common": "^1.1.17", - "myst-frontmatter": "^1.1.17", - "myst-spec": "^0.0.4", - "myst-spec-ext": "^1.1.17", - "myst-transforms": "^1.1.15", + "myst-common": "^1.1.27", + "myst-frontmatter": "^1.1.27", + "myst-spec": "^0.0.5", + "myst-spec-ext": "^1.1.27", + "myst-transforms": "^1.2.3", "nbtx": "^0.2.3", "unified": "^10.1.2", "unist-util-remove": "^3.1.0", @@ -30790,36 +30664,36 @@ "link": true }, "node_modules/myst-to-tex": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/myst-to-tex/-/myst-to-tex-1.0.14.tgz", - "integrity": "sha512-SdwS7lDPNkAETRfwTuMrcKODsAOurJytoYM60PWuP4gDfCt+OgAzJqP88ecB7O1EQW57LM1sTJq7j0bEUmGKVg==", - "dependencies": { - "myst-common": "^1.1.15", - "myst-ext-proof": "^1.0.6", - "myst-frontmatter": "^1.1.15", - "myst-spec-ext": "^1.1.15", + "version": "1.0.23", + "resolved": "https://registry.npmjs.org/myst-to-tex/-/myst-to-tex-1.0.23.tgz", + "integrity": "sha512-4eacbgp9BRSKoeJAk7mzhw55RPPXVDS1unJ+vu9zwiJcQeVTIS7f0GV6Nj0jpBnjaJYA24cd4Ds+GFx4AgU/lw==", + "dependencies": { + "myst-common": "^1.1.31", + "myst-ext-proof": "^1.0.8", + "myst-frontmatter": "^1.1.31", + "myst-spec-ext": "^1.1.31", "unist-util-remove": "^3.1.0", "unist-util-select": "^4.0.3", "vfile-reporter": "^7.0.4" } }, "node_modules/myst-to-typst": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/myst-to-typst/-/myst-to-typst-0.0.6.tgz", - "integrity": "sha512-u2QXEi0IcSTav2vwABmc5KlGQhav5piPzmXx7wa3MjtdLyXM7w7hHEZhwLTuChKiX9gLAj4W8Bko+fP/VqwQ4g==", - "dependencies": { - "myst-common": "^1.1.10", - "myst-frontmatter": "^1.1.10", - "myst-spec-ext": "^1.1.10", - "tex-to-typst": "^0.0.3", + "version": "0.0.12", + "resolved": "https://registry.npmjs.org/myst-to-typst/-/myst-to-typst-0.0.12.tgz", + "integrity": "sha512-o4xWZ0M4PmRjKPKEAAGhmgJ5tYrgbnuIZu0234wtDQpEvtK+Qt/xngMd3bEJhhG2HuC4qadcGLkzzm+fWh08Lg==", + "dependencies": { + "myst-common": "^1.1.31", + "myst-frontmatter": "^1.1.31", + "myst-spec-ext": "^1.1.31", + "tex-to-typst": "^0.0.5", "unist-util-select": "^4.0.3", "vfile-reporter": "^7.0.4" } }, "node_modules/myst-transforms": { - "version": "1.1.16", - "resolved": "https://registry.npmjs.org/myst-transforms/-/myst-transforms-1.1.16.tgz", - "integrity": "sha512-9B5+Ji4JtThMmyWxLcVlSY8MCd+Rg1wxUU4cG56RfCT6FVWiQfgfokKopoMAi3VTK79MOlMa0pz2hRl/URjXSg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/myst-transforms/-/myst-transforms-1.3.1.tgz", + "integrity": "sha512-9mcJVKMZ/oHt0nU2x+Yq1WIZ/bIef0WS7n73gJiRWp6iPV957KBuQnqZOmnB2MXQNwSo4io6MxfvPpAA6eZ3yA==", "dependencies": { "doi-utils": "^2.0.0", "hast-util-from-html": "^2.0.1", @@ -30828,10 +30702,11 @@ "js-yaml": "^4.1.0", "katex": "^0.15.2", "mdast-util-find-and-replace": "^2.1.0", - "myst-common": "^1.1.18", - "myst-spec": "^0.0.4", - "myst-spec-ext": "^1.1.18", - "myst-to-html": "1.0.18", + "myst-common": "^1.1.31", + "myst-frontmatter": "^1.1.31", + "myst-spec": "^0.0.5", + "myst-spec-ext": "^1.1.31", + "myst-to-html": "1.2.0", "rehype-parse": "^8.0.4", "rehype-remark": "^9.1.2", "unified": "^10.0.0", @@ -32843,7 +32718,6 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", - "dev": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -36609,9 +36483,9 @@ } }, "node_modules/tex-to-typst": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tex-to-typst/-/tex-to-typst-0.0.3.tgz", - "integrity": "sha512-aNR+mi4i/n/O7GiTtElFaklvj4nKyoSlN+gEB55atgQYMnUAI1cjZHXJ0L/r5u/yB3RZdmg9oYx3hrhH+TjdTA==", + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/tex-to-typst/-/tex-to-typst-0.0.5.tgz", + "integrity": "sha512-5mrs0iGsvbTFy2ow7ZfJiGVl+sr3CQdwkxP5MjgaA7YT2DYsJOm99kzEDXU+01tk9pVPkYYPwaLoVXPY85xOLw==", "dependencies": { "@unified-latex/unified-latex": "^1.4.0", "@unified-latex/unified-latex-util-arguments": "^1.4.0", @@ -39050,26 +38924,6 @@ "node": ">=8" } }, - "node_modules/wikibase-sdk": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/wikibase-sdk/-/wikibase-sdk-8.1.1.tgz", - "integrity": "sha512-1NjMnfNQ4OaLh0dFAeTMvV3vGAq6HXsNKGfYUJYOVyBPGBDMunlY3QZ8+72hLV5FiKmc6Bzg1xbI0jCHfHmIew==", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/wikidata-sdk": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/wikidata-sdk/-/wikidata-sdk-8.1.1.tgz", - "integrity": "sha512-KOUhJtpCHg32k/tz7pFj/BaqiYAvYGz4sGzcT15t120832WtfNTGCSeohmln40/JOjpxzfzud/6q2x6Q0Ji5hg==", - "deprecated": "wikidata-sdk has been renamed wikibase-sdk", - "dependencies": { - "wikibase-sdk": "^8.1.1" - }, - "engines": { - "node": ">= 6.4" - } - }, "node_modules/word-wrap": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", @@ -39564,9 +39418,9 @@ "version": "0.7.0", "license": "MIT", "dependencies": { - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", - "myst-spec-ext": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-spec-ext": "^1.1.31", "nbtx": "^0.2.3", "unist-util-select": "^4.0.3" } @@ -39646,11 +39500,11 @@ "buffer": "^6.0.3", "classnames": "^2.3.2", "jupyterlab-plotly": "^5.18.0", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", - "myst-frontmatter": "^1.1.18", - "myst-spec": "^0.0.4", - "myst-spec-ext": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-frontmatter": "^1.1.31", + "myst-spec": "^0.0.5", + "myst-spec-ext": "^1.1.31", "myst-to-react": "^0.7.0", "nanoid": "^4.0.2", "nbtx": "^0.2.3", @@ -39701,25 +39555,26 @@ "@heroicons/react": "^2.0.18", "classnames": "^2.3.2", "js-yaml": "^4.1.0", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", - "myst-directives": "^1.0.18", - "myst-ext-card": "^1.0.4", - "myst-ext-exercise": "^1.0.4", - "myst-ext-grid": "^1.0.4", - "myst-ext-proof": "^1.0.6", - "myst-ext-tabs": "^1.0.4", - "myst-frontmatter": "^1.1.18", - "myst-parser": "^1.0.18", - "myst-spec": "^0.0.4", - "myst-to-docx": "^1.0.7", - "myst-to-html": "^1.0.18", - "myst-to-jats": "^1.0.19", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-directives": "^1.2.0", + "myst-ext-card": "^1.0.5", + "myst-ext-exercise": "^1.0.5", + "myst-ext-grid": "^1.0.5", + "myst-ext-proof": "^1.0.8", + "myst-ext-tabs": "^1.0.5", + "myst-frontmatter": "^1.1.31", + "myst-parser": "^1.2.0", + "myst-spec": "^0.0.5", + "myst-to-docx": "^1.0.9", + "myst-to-html": "^1.2.0", + "myst-to-jats": "^1.0.24", "myst-to-react": "^0.7.0", - "myst-to-tex": "^1.0.14", - "myst-to-typst": "^0.0.6", - "myst-transforms": "^1.1.16", + "myst-to-tex": "^1.0.23", + "myst-to-typst": "^0.0.12", + "myst-transforms": "^1.3.1", "unified": "^10.1.2", + "unist-util-remove": "^4.0.0", "unist-util-visit": "^4.1.2", "vfile": "^5.3.7", "vfile-message": "^3.1.4" @@ -39737,6 +39592,11 @@ "react-dom": "^16.8 || ^17.0 || ^18.0" } }, + "packages/myst-demo/node_modules/@types/unist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.2.tgz", + "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==" + }, "packages/myst-demo/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -39753,6 +39613,45 @@ "js-yaml": "bin/js-yaml.js" } }, + "packages/myst-demo/node_modules/unist-util-is": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.0.tgz", + "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "packages/myst-demo/node_modules/unist-util-remove": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-4.0.0.tgz", + "integrity": "sha512-b4gokeGId57UVRX/eVKej5gXqGlc9+trkORhFJpu9raqZkZhU0zm8Doi05+HaiBsMEIJowL+2WtQ5ItjsngPXg==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "packages/myst-demo/node_modules/unist-util-visit-parents": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", + "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "packages/myst-to-react": { "version": "0.7.0", "license": "MIT", @@ -39762,9 +39661,9 @@ "@radix-ui/react-hover-card": "^1.0.6", "buffer": "^6.0.3", "classnames": "^2.3.2", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", - "myst-spec": "^0.0.4", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-spec": "^0.0.5", "nanoid": "^4.0.2", "react-syntax-highlighter": "^15.5.0", "swr": "^2.1.5", @@ -39821,9 +39720,9 @@ "peerDependencies": { "@types/react": "^16.8 || ^17.0 || ^18.0", "@types/react-dom": "^16.8 || ^17.0 || ^18.0", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", - "myst-frontmatter": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-frontmatter": "^1.1.31", "react": "^16.8 || ^17.0 || ^18.0", "react-dom": "^16.8 || ^17.0 || ^18.0" } @@ -39843,10 +39742,10 @@ "@radix-ui/react-collapsible": "^1.0.3", "classnames": "^2.3.2", "lodash.throttle": "^4.1.1", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", "myst-demo": "^0.7.0", - "myst-spec-ext": "^1.1.18", + "myst-spec-ext": "^1.1.31", "myst-to-react": "^0.7.0", "nbtx": "^0.2.3", "node-cache": "^5.1.2", @@ -39894,8 +39793,8 @@ "@remix-run/node": "~1.17.0", "@remix-run/react": "~1.17.0", "@remix-run/vercel": "~1.17.0", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", "node-fetch": "^2.6.11", "react": "^18.2.0", "react-dom": "^18.2.0" @@ -39927,8 +39826,8 @@ "@remix-run/node": "~1.17.0", "@remix-run/react": "~1.17.0", "@remix-run/vercel": "~1.17.0", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", "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 83c7716e8..1005caf5f 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.1.18", - "myst-config": "^1.1.18", - "myst-spec-ext": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-spec-ext": "^1.1.31", "nbtx": "^0.2.3", "unist-util-select": "^4.0.3" } diff --git a/packages/jupyter/package.json b/packages/jupyter/package.json index 3eb865099..e963d593f 100644 --- a/packages/jupyter/package.json +++ b/packages/jupyter/package.json @@ -30,11 +30,11 @@ "buffer": "^6.0.3", "classnames": "^2.3.2", "jupyterlab-plotly": "^5.18.0", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", - "myst-frontmatter": "^1.1.18", - "myst-spec": "^0.0.4", - "myst-spec-ext": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-frontmatter": "^1.1.31", + "myst-spec": "^0.0.5", + "myst-spec-ext": "^1.1.31", "myst-to-react": "^0.7.0", "nanoid": "^4.0.2", "nbtx": "^0.2.3", diff --git a/packages/myst-demo/package.json b/packages/myst-demo/package.json index 2e0950b68..4e2bd0e8c 100644 --- a/packages/myst-demo/package.json +++ b/packages/myst-demo/package.json @@ -23,25 +23,26 @@ "@heroicons/react": "^2.0.18", "classnames": "^2.3.2", "js-yaml": "^4.1.0", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", - "myst-directives": "^1.0.18", - "myst-ext-card": "^1.0.4", - "myst-ext-exercise": "^1.0.4", - "myst-ext-grid": "^1.0.4", - "myst-ext-proof": "^1.0.6", - "myst-ext-tabs": "^1.0.4", - "myst-frontmatter": "^1.1.18", - "myst-parser": "^1.0.18", - "myst-spec": "^0.0.4", - "myst-to-docx": "^1.0.7", - "myst-to-html": "^1.0.18", - "myst-to-jats": "^1.0.19", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-directives": "^1.2.0", + "myst-ext-card": "^1.0.5", + "myst-ext-exercise": "^1.0.5", + "myst-ext-grid": "^1.0.5", + "myst-ext-proof": "^1.0.8", + "myst-ext-tabs": "^1.0.5", + "myst-frontmatter": "^1.1.31", + "myst-parser": "^1.2.0", + "myst-spec": "^0.0.5", + "myst-to-docx": "^1.0.9", + "myst-to-html": "^1.2.0", + "myst-to-jats": "^1.0.24", "myst-to-react": "^0.7.0", - "myst-to-tex": "^1.0.14", - "myst-to-typst": "^0.0.6", - "myst-transforms": "^1.1.16", + "myst-to-tex": "^1.0.23", + "myst-to-typst": "^0.0.12", + "myst-transforms": "^1.3.1", "unified": "^10.1.2", + "unist-util-remove": "^4.0.0", "unist-util-visit": "^4.1.2", "vfile": "^5.3.7", "vfile-message": "^3.1.4" diff --git a/packages/myst-demo/src/index.tsx b/packages/myst-demo/src/index.tsx index d9899831a..c7a4d7e04 100644 --- a/packages/myst-demo/src/index.tsx +++ b/packages/myst-demo/src/index.tsx @@ -1,9 +1,17 @@ import { VFile } from 'vfile'; 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 type { GenericNode, References } from 'myst-common'; +import { + fileError, + RuleId, + type GenericNode, + type GenericParent, + type References, +} from 'myst-common'; +import type { Code } from 'myst-spec'; import { SourceFileKind } from 'myst-spec-ext'; import type { DocxResult } from 'myst-to-docx'; import { validatePageFrontmatter } from 'myst-frontmatter'; @@ -11,7 +19,7 @@ import type { PageFrontmatter } from 'myst-frontmatter'; import type { NodeRenderer } from '@myst-theme/providers'; import { ReferencesProvider } from '@myst-theme/providers'; import { CopyIcon, CodeBlock, MyST } from 'myst-to-react'; -import React, { useEffect, useRef, useState } from 'react'; +import { useEffect, useRef, useState } from 'react'; import classnames from 'classnames'; import { ExclamationTriangleIcon, @@ -40,6 +48,36 @@ async function saveDocxFile(filename: string, mdast: any) { downloadBlob(filename, docxBlob as Blob); } +/** + * Simpler function than getFrontmatter from myst-transforms + * + * This only strips frontmatter yaml; it does nothing with headings + */ +function getFrontmatter(vfile: VFile, tree: GenericParent) { + const firstParent = tree.children[0]?.type === 'block' ? tree.children[0] : tree; + const firstNode = firstParent.children?.[0] as Code; + let frontmatter: Record = {}; + const firstIsYaml = firstNode?.type === 'code' && firstNode?.lang === 'yaml'; + if (firstIsYaml) { + try { + frontmatter = (yaml.load(firstNode.value) as Record) || {}; + (firstNode as any).type = '__delete__'; + } catch (err) { + fileError(vfile, 'Invalid YAML frontmatter', { + note: (err as Error).message, + ruleId: RuleId.frontmatterIsYaml, + }); + } + } + // Handles deleting the block if it is the only element in the block + const possibleNull = remove(tree, '__delete__'); + if (possibleNull === null) { + // null is returned if tree itself didn’t pass the test or is cascaded away + remove(tree, { cascade: false }, '__delete__'); + } + return frontmatter; +} + async function parse( text: string, defaultFrontmatter?: PageFrontmatter, @@ -66,7 +104,6 @@ async function parse( RRIDTransformer, linksPlugin, ReferenceState, - getFrontmatter, abbreviationPlugin, glossaryPlugin, joinGatesPlugin, @@ -80,7 +117,7 @@ async function parse( const { tabDirectives } = await import('myst-ext-tabs'); const { proofDirective } = await import('myst-ext-proof'); const { exerciseDirectives } = await import('myst-ext-exercise'); - const file = new VFile(); + const vfile = new VFile(); const parseMyst = (content: string) => mystParse(content, { markdownit: { linkify: true }, @@ -92,7 +129,7 @@ async function parse( ...exerciseDirectives, ], // roles: [reactiveRole], - vfile: file, + vfile, }); const mdast = parseMyst(text); const linkTransforms = [ @@ -110,17 +147,14 @@ async function parse( cite: { order: [], data: {} }, footnotes: {}, }; - const { frontmatter: frontmatterRaw } = getFrontmatter(file, mdast, { - removeYaml: true, - removeHeading: options?.removeHeading ?? false, - }); + const frontmatterRaw = getFrontmatter(vfile, mdast); const frontmatter = validatePageFrontmatter(frontmatterRaw, { property: 'frontmatter', messages: {}, }); - const state = new ReferenceState({ + const state = new ReferenceState('', { numbering: frontmatter.numbering ?? defaultFrontmatter?.numbering, - file, + vfile, }); visit(mdast, (n) => { // Before we put in the citation render, we can mark them as errors @@ -131,7 +165,7 @@ async function parse( unified() .use(basicTransformationsPlugin, { parser: parseMyst }) .use(mathPlugin, { macros: frontmatter?.math ?? {} }) // This must happen before enumeration, as it can add labels - .use(glossaryPlugin, { state }) // This should be before the enumerate plugins + .use(glossaryPlugin) // This should be before the enumerate plugins .use(abbreviationPlugin, { abbreviations: frontmatter.abbreviations }) .use(enumerateTargetsPlugin, { state }) .use(linksPlugin, { transformers: linkTransforms }) @@ -139,7 +173,7 @@ async function parse( .use(joinGatesPlugin) .use(resolveReferencesPlugin, { state }) .use(keysPlugin) - .runSync(mdast as any, file); + .runSync(mdast as any, vfile); const mdastPost = JSON.parse(JSON.stringify(mdast)); visit(mdastPost, (n) => { @@ -186,7 +220,7 @@ async function parse( typstWarnings: typstFile.messages, jats: jats, jatsWarnings: jatsFile.messages, - warnings: file.messages, + warnings: vfile.messages, }; } diff --git a/packages/myst-to-react/package.json b/packages/myst-to-react/package.json index 45a4d9506..7dd21629a 100644 --- a/packages/myst-to-react/package.json +++ b/packages/myst-to-react/package.json @@ -25,9 +25,9 @@ "@radix-ui/react-hover-card": "^1.0.6", "buffer": "^6.0.3", "classnames": "^2.3.2", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", - "myst-spec": "^0.0.4", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-spec": "^0.0.5", "nanoid": "^4.0.2", "react-syntax-highlighter": "^15.5.0", "swr": "^2.1.5", diff --git a/packages/providers/package.json b/packages/providers/package.json index f82438f32..d2f163f3d 100644 --- a/packages/providers/package.json +++ b/packages/providers/package.json @@ -25,9 +25,9 @@ "peerDependencies": { "@types/react": "^16.8 || ^17.0 || ^18.0", "@types/react-dom": "^16.8 || ^17.0 || ^18.0", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", - "myst-frontmatter": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", + "myst-frontmatter": "^1.1.31", "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 c9fe85b68..30dc2b02c 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -25,10 +25,10 @@ "@radix-ui/react-collapsible": "^1.0.3", "classnames": "^2.3.2", "lodash.throttle": "^4.1.1", - "myst-common": "^1.1.18", - "myst-config": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", "myst-demo": "^0.7.0", - "myst-spec-ext": "^1.1.18", + "myst-spec-ext": "^1.1.31", "myst-to-react": "^0.7.0", "nbtx": "^0.2.3", "node-cache": "^5.1.2", diff --git a/themes/article/package.json b/themes/article/package.json index 9b468c838..4af01cfe4 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.1.18", - "myst-config": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", "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 0e14e8835..d317ee8d0 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.1.18", - "myst-config": "^1.1.18", + "myst-common": "^1.1.31", + "myst-config": "^1.1.31", "node-fetch": "^2.6.11", "react": "^18.2.0", "react-dom": "^18.2.0"