From b0191baacaefacded0f60679c0e6a596c7fd4377 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Thu, 15 Feb 2024 13:11:57 +0000 Subject: [PATCH] ENH: update theme (#215) * MAINT: bump dependencies * FIX: bugs in CI * MAINT: run prettier * FIX: restore test file * fix: enable frontmatter in viewer by default * fix: don't pass unused options * TEST: update tests to include markdown viewer * MAINT: run linter --- .github/workflows/build.yml | 8 ++-- package.json | 6 +-- src/__tests__/jupyterlab_myst.spec.ts | 9 ++++ src/components/listItem.tsx | 16 +++---- src/index.ts | 17 +++++-- src/myst.ts | 21 +++++---- src/renderers.tsx | 10 ++++- src/types.ts | 1 - src/userExpressions.ts | 3 -- src/widget.tsx | 7 +-- ui-tests/jupyter_server_test_config.py | 2 + ui-tests/package.json | 26 +++++------ ui-tests/playwright.config.js | 6 ++- ui-tests/tests/files-run.spec.ts | 31 +++++++++++++ ...arkdown-file-and-render-result-1-linux.png | Bin 0 -> 7747 bytes ui-tests/tests/files/myst_tests.md | 6 +++ ...ebook-and-capture-cell-outputs-1-linux.png | Bin 6260 -> 9376 bytes ui-tests/tests/notebooks/myst_tests.ipynb | 9 ++-- ui-tests/yarn.lock | 28 ++++++------ yarn.lock | 42 +++++++++--------- 20 files changed, 156 insertions(+), 92 deletions(-) create mode 100644 src/__tests__/jupyterlab_myst.spec.ts create mode 100644 ui-tests/tests/files-run.spec.ts create mode 100644 ui-tests/tests/files-run.spec.ts-snapshots/File-Run-View-Markdown-file-and-render-result-1-linux.png create mode 100644 ui-tests/tests/files/myst_tests.md diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd082e0..6fa3100 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,11 @@ name: Build on: push: - branches: main + branches: + - main pull_request: - branches: '*' + branches: + - '*' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -159,4 +161,4 @@ jobs: - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1 with: - ignore_links: "https?://mybinder\.org.*" + ignore_links: "https?://mybinder\\.org.*" diff --git a/package.json b/package.json index 2527739..0cbccb3 100644 --- a/package.json +++ b/package.json @@ -65,9 +65,9 @@ "@jupyterlab/notebook": "^4.0.0", "@jupyterlab/rendermime": "^4.0.0", "@jupyterlab/translation": "^4.0.0", - "@myst-theme/diagrams": "^0.5.21", - "@myst-theme/frontmatter": "^0.5.21", - "@myst-theme/providers": "^0.5.21", + "@myst-theme/diagrams": "^0.5.22", + "@myst-theme/frontmatter": "^0.5.22", + "@myst-theme/providers": "^0.5.22", "katex": "^0.15.2", "myst-common": "^1.1.24", "myst-ext-card": "^1.0.5", diff --git a/src/__tests__/jupyterlab_myst.spec.ts b/src/__tests__/jupyterlab_myst.spec.ts new file mode 100644 index 0000000..df4f470 --- /dev/null +++ b/src/__tests__/jupyterlab_myst.spec.ts @@ -0,0 +1,9 @@ +/** + * Example of [Jest](https://jestjs.io/docs/getting-started) unit tests + */ + +describe('jupyterlab-myst', () => { + it('should be tested', () => { + expect(1 + 1).toEqual(2); + }); +}); diff --git a/src/components/listItem.tsx b/src/components/listItem.tsx index f31b265..8e6cb6d 100644 --- a/src/components/listItem.tsx +++ b/src/components/listItem.tsx @@ -41,11 +41,10 @@ export function ListItem({ line, children }: { - checked?: boolean, - line?: number, - children?: any[] - - }): JSX.Element { + checked?: boolean; + line?: number; + children?: any[]; +}): JSX.Element { if (checked === null) { return (
  • @@ -54,11 +53,8 @@ export function ListItem({ ); } return ( - + ); -}; +} diff --git a/src/index.ts b/src/index.ts index aa1020a..4fd4489 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15,7 +15,7 @@ import { import { Cell } from '@jupyterlab/cells'; import { MySTContentFactory } from './MySTContentFactory'; import { IRenderMimeRegistry } from '@jupyterlab/rendermime'; - +import { ISettingRegistry } from '@jupyterlab/settingregistry'; import { notebookCellExecuted } from './actions'; import { mystMarkdownRendererFactory } from './mime'; @@ -59,15 +59,26 @@ const mimeRendererPlugin: JupyterFrontEndPlugin = { id: 'jupyterlab-myst:mime-renderer', requires: [IRenderMimeRegistry], autoStart: true, - optional: [IMarkdownViewerTracker], + optional: [IMarkdownViewerTracker, ISettingRegistry], activate: ( app: JupyterFrontEnd, registry: IRenderMimeRegistry, // We don't need this tracker directly, but it ensures that the built-in // Markdown renderer is registered, so that we can then safely add our own. - tracker?: IMarkdownViewerTracker + tracker?: IMarkdownViewerTracker, + settingRegistry?: ISettingRegistry ) => { console.log('Using jupyterlab-myst:mime-renderer'); + + // Enable frontmatter by default + if (settingRegistry) { + settingRegistry + .load('@jupyterlab/markdownviewer-extension:plugin') + .then((settings: ISettingRegistry.ISettings) => { + settings.set('hideFrontMatter', false); + }); + } + // Add the MyST markdown renderer factory. registry.addFactory(mystMarkdownRendererFactory); } diff --git a/src/myst.ts b/src/myst.ts index 34d3e59..22cd7a7 100644 --- a/src/myst.ts +++ b/src/myst.ts @@ -30,7 +30,11 @@ import { exerciseDirectives } from 'myst-ext-exercise'; import { StaticNotebook } from '@jupyterlab/notebook'; import { IRenderMimeRegistry } from '@jupyterlab/rendermime'; import { IRenderMime } from '@jupyterlab/rendermime-interfaces'; -import { imageUrlSourceTransform, internalLinksTransform, addCiteChildrenPlugin } from './transforms'; +import { + imageUrlSourceTransform, + internalLinksTransform, + addCiteChildrenPlugin +} from './transforms'; import { IUserExpressionMetadata } from './userExpressions'; import { IMySTMarkdownCell } from './types'; import { Cell, ICellModel } from '@jupyterlab/cells'; @@ -92,16 +96,14 @@ export async function processArticleMDAST( article: mdast as any }; - const { frontmatter: frontmatterRaw } = getFrontmatter(file, mdast, { - }); + const { frontmatter: frontmatterRaw } = getFrontmatter(file, mdast); + // unnestKernelSpec(rawPageFrontmatter); const frontmatter = validatePageFrontmatter(frontmatterRaw, { property: 'frontmatter', messages: {} }); - const state = new ReferenceState( - "", - { + const state = new ReferenceState('', { numbering: frontmatter.numbering, vfile: file }); @@ -158,9 +160,7 @@ export async function processNotebookMDAST( const { frontmatter: frontmatterRaw } = getFrontmatter( file, // This is the first cell, which might have a YAML block or header. - mdast.children[0] as any, - { - } + mdast.children[0] as any ); const frontmatter = validatePageFrontmatter(frontmatterRaw, { @@ -168,7 +168,7 @@ export async function processNotebookMDAST( messages: {} }); - const state = new ReferenceState("",{ + const state = new ReferenceState('', { numbering: frontmatter.numbering, vfile: file }); @@ -226,7 +226,6 @@ export async function renderNotebook(notebook: StaticNotebook) { frontmatter, mdast: processedMDAST } = await processNotebookMDAST( - mdast, notebook.rendermime.resolver ?? undefined ); diff --git a/src/renderers.tsx b/src/renderers.tsx index ad2bb61..78dff8a 100644 --- a/src/renderers.tsx +++ b/src/renderers.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { DEFAULT_RENDERERS } from 'myst-to-react'; import { MermaidNodeRenderer } from '@myst-theme/diagrams'; import { NodeRenderer } from '@myst-theme/providers'; -import { InlineExpression, ListItem } from './components'; +import { InlineExpression, ListItem } from './components'; import { useSanitizer } from './providers'; export const renderers: Record = { @@ -12,7 +12,13 @@ export const renderers: Record = { return ; }, listItem: ({ node }) => { - return ; + return ( + + ); }, html: ({ node }, children) => { const { sanitizer } = useSanitizer(); diff --git a/src/types.ts b/src/types.ts index 5e0d887..eb9f4e8 100644 --- a/src/types.ts +++ b/src/types.ts @@ -2,7 +2,6 @@ import { MarkdownCell } from '@jupyterlab/cells'; import { IMySTModel } from './widget'; import { IRenderMime } from '@jupyterlab/rendermime-interfaces'; - export type IMySTMarkdownCell = MarkdownCell & { readonly fragmentMDAST: any | undefined; readonly attachmentsResolver: IRenderMime.IResolver; diff --git a/src/userExpressions.ts b/src/userExpressions.ts index d52355b..e01e632 100644 --- a/src/userExpressions.ts +++ b/src/userExpressions.ts @@ -2,7 +2,6 @@ import { PartialJSONObject } from '@lumino/coreutils'; import { Cell } from '@jupyterlab/cells'; import type { IMySTMarkdownCell } from './types'; - export const metadataSection = 'user_expressions'; /** @@ -38,7 +37,6 @@ export function isError(output: IExpressionResult): output is IExpressionError { return output.status === 'error'; } - export interface IUserExpressionMetadata extends PartialJSONObject { expression: string; result: IExpressionResult; @@ -48,7 +46,6 @@ export interface IUserExpressionsMetadata extends PartialJSONObject { [metadataSection]: IUserExpressionMetadata[]; } - export function getUserExpressions( cell: IMySTMarkdownCell | Cell ): IUserExpressionMetadata[] | undefined { diff --git a/src/widget.tsx b/src/widget.tsx index 0dc3ec2..dc18d7e 100644 --- a/src/widget.tsx +++ b/src/widget.tsx @@ -13,11 +13,13 @@ import { } from '@myst-theme/providers'; import { MyST } from 'myst-to-react'; import React from 'react'; -import { UserExpressionsProvider, +import { + UserExpressionsProvider, ITaskItemChange, ITaskItemController, TaskItemControllerProvider, - SanitizerProvider } from './providers'; + SanitizerProvider +} from './providers'; import { renderers } from './renderers'; import { IUserExpressionMetadata } from './userExpressions'; import { linkFactory } from './transforms'; @@ -122,7 +124,6 @@ export class MySTWidget extends VDomRenderer { this._sanitizer = sanitizer; this._taskItemController = change => this._taskItemChanged.emit(change); this.addClass('myst'); - } private _trusted?: boolean = false; diff --git a/ui-tests/jupyter_server_test_config.py b/ui-tests/jupyter_server_test_config.py index f2a9478..d0e2935 100644 --- a/ui-tests/jupyter_server_test_config.py +++ b/ui-tests/jupyter_server_test_config.py @@ -10,3 +10,5 @@ # Uncomment to set server log level to debug level # c.ServerApp.log_level = "DEBUG" + +c.ServerApp.port = 9999 diff --git a/ui-tests/package.json b/ui-tests/package.json index 502941f..30a131b 100644 --- a/ui-tests/package.json +++ b/ui-tests/package.json @@ -1,15 +1,15 @@ { - "name": "jupyterlab-myst-ui-tests", - "version": "1.0.0", - "description": "JupyterLab jupyterlab-myst Integration Tests", - "private": true, - "scripts": { - "start": "jupyter lab --config jupyter_server_test_config.py", - "test": "jlpm playwright test", - "test:update": "jlpm playwright test --update-snapshots" - }, - "devDependencies": { - "@jupyterlab/galata": "^5.0.5", - "@playwright/test": "^1.37.0" - } + "name": "jupyterlab-myst-ui-tests", + "version": "1.0.0", + "description": "JupyterLab jupyterlab-myst Integration Tests", + "private": true, + "scripts": { + "start": "jupyter lab --config jupyter_server_test_config.py", + "test": "jlpm playwright test", + "test:update": "jlpm playwright test --update-snapshots" + }, + "devDependencies": { + "@jupyterlab/galata": "^5.0.5", + "@playwright/test": "^1.37.0" + } } diff --git a/ui-tests/playwright.config.js b/ui-tests/playwright.config.js index 9ece6fa..c83368c 100644 --- a/ui-tests/playwright.config.js +++ b/ui-tests/playwright.config.js @@ -5,9 +5,13 @@ const baseConfig = require('@jupyterlab/galata/lib/playwright-config'); module.exports = { ...baseConfig, + use: { + ...baseConfig.use, + baseURL: process.env.TARGET_URL ?? 'http://127.0.0.1:9999' + }, webServer: { command: 'jlpm start', - url: 'http://localhost:8888/lab', + url: 'http://localhost:9999/lab', timeout: 120 * 1000, reuseExistingServer: !process.env.CI } diff --git a/ui-tests/tests/files-run.spec.ts b/ui-tests/tests/files-run.spec.ts new file mode 100644 index 0000000..8c0b278 --- /dev/null +++ b/ui-tests/tests/files-run.spec.ts @@ -0,0 +1,31 @@ +// Copyright (c) Jupyter Development Team. +// Distributed under the terms of the Modified BSD License. + +import { expect, galata, test } from '@jupyterlab/galata'; +import * as path from 'path'; + +const fileName = 'myst_tests.md'; +const FACTORY = 'Markdown Preview'; +// test.use({ tmpPath: 'notebook-run-test' }); + +test.describe.serial('File Run', () => { + test.beforeEach(async ({ request, page, tmpPath }) => { + const contents = galata.newContentsHelper(request, page); + await contents.uploadFile( + path.resolve(__dirname, `./files/${fileName}`), + `${tmpPath}/${fileName}` + ); + }); + + test('View Markdown file and render result', async ({ page, tmpPath }) => { + const filePath = `${tmpPath}/${fileName}`; + await page.filebrowser.open(filePath, FACTORY); + + const name = path.basename(filePath); + await page.activity.getTab(name); + + const panel = await page.activity.getPanel(name); + + expect(await panel!.screenshot()).toMatchSnapshot(); + }); +}); diff --git a/ui-tests/tests/files-run.spec.ts-snapshots/File-Run-View-Markdown-file-and-render-result-1-linux.png b/ui-tests/tests/files-run.spec.ts-snapshots/File-Run-View-Markdown-file-and-render-result-1-linux.png new file mode 100644 index 0000000000000000000000000000000000000000..8b625e5683467158c938b9ca5b67c85e0dd6c2f0 GIT binary patch literal 7747 zcmeHMdsLF?y8o&vn<;h8v>P)s_8u*3G%fLx7o^#hMy7Vv%3J0I%?l=9nT1sVO1|nj)rL3`9f__UHU@_Bwl=^Y2+_?HLyD`W7GW<$0gm z@Ap3M-ILxP`d@AT3IG6o#IYl%0bp$t*j{ej0KO^x_I^G1Sc5+8@pqtxvEvi?;|uiP z5ob4opOlSZKLdcN7;)r>vp<%K$FSs~#4_n;fZsr&0 z#j-e$E8q8RvwTtixN3*^Y{ug&WZ%*AkGwCOxaVzA-FDV)FlvuYM$i1|>0N_A9EfY@ zy=F&ipR@|j7S*2p;tj7x%5R4 zhUDO=GsBT~13Vti2|Zn9z(u-F8h`v2ocCgR|1nt+wCV7j^Y_3R^n1XUr@ycUfae{;PMftpGul zj^8q5G+mvv4SD;IzJsO!;D76ft)PzPuYLL7)%Cn}XkAPck(=OYP1VRW8X=siQOOAj zf}Z<3Va{qXF_^bd;TZn$x4R{&cM2^1rt9d|^mBfJ1pkPk2ZnIU5)Dww99#-1-yeR0g35tAx6@d2gcK-A%AijNll->4q&RsXx zZ?a96P4(j8aD+@&M0L%#@L@bU5Gs2CU)f8D=<8V>y34b0YH2cu*=ZD9ddt8$@(>aL zUdFxOAUSLZdq}q?i4bB^ib|Fh2bYrNwn#>)-S(`~#Ni9c9VWcj!;7iPF-H&6#Ip?N zxvEldH_eikIa~B}ucnW$>D$fZ<6oV5vDhib^5nSEpJrc0$HEuhA4ZRaWC;GT#k>30 zbCn4)ngw!E#5Q)mHglb^1~|!nqR$1jEeM6EM+UW}&pnH#f625yo<~+xqXKQ>Sl0#+ z7J?qj+Fo$!B4cR8=E!k3&3uQdKPT;>IXk+xRrWb2oy=b`fNSQ-f_*63ePgH$G(*I6 zZ*lUrx?Cra ziiHJpM4{D%yqcPt%@8*YqHq3)q-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2HpnySa!+s_Z0pQk13-T(>05^b8o}exS@!33mq0DY`D=Vz0pPXM zzg1WMz3%ldbN->KR{v2YxIZ`Z$0@h|Y3o02{bvqey|MWdx&A=6On;`m|95Hc;i7pl k44YI5UbkFd^O?^G;Rk>GCBp{12nG;Gy^qxV{nE{U0(6VT@c;k- literal 0 HcmV?d00001 diff --git a/ui-tests/tests/files/myst_tests.md b/ui-tests/tests/files/myst_tests.md new file mode 100644 index 0000000..88f9085 --- /dev/null +++ b/ui-tests/tests/files/myst_tests.md @@ -0,0 +1,6 @@ +# Hello + +```{note} +:class: dropdown +This is MyST in a notebook rendered by `jupyterlab-myst`!! +``` diff --git a/ui-tests/tests/notebook-run.spec.ts-snapshots/Notebook-Run-Run-Notebook-and-capture-cell-outputs-1-linux.png b/ui-tests/tests/notebook-run.spec.ts-snapshots/Notebook-Run-Run-Notebook-and-capture-cell-outputs-1-linux.png index 67df7fedcd82d3b7bbc723560fcf2814a3446e81..a4e36cfadaf9c0a4dfaad1b7dda304a27944ac46 100644 GIT binary patch literal 9376 zcmeI2XH-+^-srdEQD#I%Mx{ub!9i3629=^f;z&En04ma?Nl-y)MoPc{ab`p!C7H1R zLlqEF5kdq)2@p$2RC*7DBtwy&Km?LN+WX|(yVm(~Kin_(J@2|}vesT%yF7b8```b+ zXWu{P>a=6qzHJZ$?KtyK`wI~C6$xyqUvC9RVhoh0z~83m3r?q@sxIw0u=9`T(`PPz z4StDVU%^7qchDL8pDxDdb6Mz|p{oTVe)ln@txj9dY4jE8E4lyF>8_*_k3AaUWm!*p zFm~MQOy}7?o2l-NtLogyN_xl9EpJRPNcHYNF zGbJl4tK|6>=!vBfIB>2Gg07q!V(o^YI~R6=S9|(h_$KI|KQX?7e*d+43-sNVAZ6&( zws&gKojrGrA?VQ8z7X`ExDeTCK1}`a$Nu1{4}TD2=K3mOJE5N4Uo*Lvd1H;-Agg4F z$T*pG-brWgekWW;Z>bY%d=Y|f{hwYbC5=}ImGP$@y3vw^EOm;QwS@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|qJqc_gsdC@YcpO}pZ2w|g38rqH!SMPD-K{{3N4c-8?QY9@$&^|BG~ zq+1PUtuy3QK z*$g;yXw~4UjNIJZ_tN=J1?Sx1N-Gj!y2gYE^x&CWg4qE-!y1((em zNGS^5s-j4`-nF=J!ST2E%@f^bPU67Q(*_P!CHKUYYO{_+?bz?K)qi1R*SY`{ZeU=* zB5Cfn1&)eE)5^~GfYl-+6s)=$K72@|pF4Z@tRMVcO~s;MnO%;6s!7LscrjZtWd*&O zXWLGcgV?n84YKqiy;}Fl2$T8Ty<8KC%e6|Uj`Lsk2WDuW{pg<^^D^X1qpqCud8SsU zqS2nM_r31Jx(m_nCr`>qrHSkYQ=*+B40Lc@H_eZ)Dy-hnH{XFzvdJ=7qD8R@5ZIb~ zRw^bk0~NuHn1#V~evD2(Oc5=5zWW(6*A5AP2XbOS%<*1M2mWomgi)~kCh0>L_>0^C z!4cJ4eGiR9WoIg_VL8_&hjM)T3p2?mIG{9q@?gaDz@qvh?<-5%2z_7*bR#?ibl~1J z2w}6WnzfpuhUUwqCvh4}x86P8l}l? zc9dSt@7kV?E<+SXE?s9&s~sM@y79^#i)nMr^eg5lw*8rFNioL*MM6p%cJ--GG6%d z0lII#7?q^qR{B`k*7?G$t?DD2Oud7Fs?ya1AhG}{=8e*;paHmAg5UwRAV3fU2?y+q zfL)1uET!7q4x^UI>$-cPz~`IafGxwp1dNS5aPOP5Y$cVoK+uh!?wI`VHDtcm)cFor z|5!)p?*adNwe1f#oW6;V20Lv3svGs6P#l!|Gj{no#s7`k{RbOy;H!Vnw%_x(Z>@nJ z6#qRL-)R#5f4Cj+)qm#l|Bv3z6|;Y<3QfGO{TFito#g-k diff --git a/ui-tests/tests/notebooks/myst_tests.ipynb b/ui-tests/tests/notebooks/myst_tests.ipynb index af477f3..bf2a4f0 100644 --- a/ui-tests/tests/notebooks/myst_tests.ipynb +++ b/ui-tests/tests/notebooks/myst_tests.ipynb @@ -7,10 +7,11 @@ "tags": [] }, "source": [ - "## Hello\n", + "# Hello\n", "\n", "```{note}\n", ":class: dropdown\n", + "\n", "This is MyST in a notebook rendered by `jupyterlab-myst`!!\n", "```" ] @@ -18,7 +19,7 @@ { "cell_type": "code", "execution_count": null, - "id": "124203ea-d9d8-4c2b-91b7-eca7cd68ee3f", + "id": "f3cc605e-a90d-4b26-9771-8f7a27b58134", "metadata": {}, "outputs": [], "source": [] @@ -26,7 +27,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.9.10 64-bit", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -40,7 +41,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.10" + "version": "3.10.13" }, "vscode": { "interpreter": { diff --git a/ui-tests/yarn.lock b/ui-tests/yarn.lock index de49ac8..d831067 100644 --- a/ui-tests/yarn.lock +++ b/ui-tests/yarn.lock @@ -1385,14 +1385,14 @@ __metadata: languageName: node linkType: hard -"@playwright/test@npm:^1.32.2, @playwright/test@npm:^1.37.0": - version: 1.41.2 - resolution: "@playwright/test@npm:1.41.2" +"@playwright/test@npm:1.38.0": + version: 1.38.0 + resolution: "@playwright/test@npm:1.38.0" dependencies: - playwright: 1.41.2 + playwright: 1.38.0 bin: playwright: cli.js - checksum: 87d9e725106111b2af1b2dec32454cd2a2d9665ff735669dc751caa30240e6db595ecfb9422719fa65dcff6ca19dea93ac2ae70d587efddde31def0754549d4c + checksum: 0768b6b98f0993d9d8017e4bcca3a5c3fe1bf0270acaa89b141479c4319c16350d60e6d2511cbd655283942059fa409ce23fce30435f0936f5e2577834f356ba languageName: node linkType: hard @@ -3101,27 +3101,27 @@ __metadata: languageName: node linkType: hard -"playwright-core@npm:1.41.2": - version: 1.41.2 - resolution: "playwright-core@npm:1.41.2" +"playwright-core@npm:1.38.0": + version: 1.38.0 + resolution: "playwright-core@npm:1.38.0" bin: playwright-core: cli.js - checksum: b41ede0db3fd3e3f7e0b0efbdfb2dbc4db345e113cf9c4451af21d1d5b5d9ab5e969f5662852925e37b2198ae5daab92aa48108fe3d4eb81c849ba8752aaf8cc + checksum: 9eb43fc6c3cb392d5f35b0fd0b7291b38a8cbdc3cbb944a8261f744f30d09196dfa3b5d84aa02ffc09af87d08d31b385b007b6af20d0b6cd50a29344f3b0db8d languageName: node linkType: hard -"playwright@npm:1.41.2": - version: 1.41.2 - resolution: "playwright@npm:1.41.2" +"playwright@npm:1.38.0": + version: 1.38.0 + resolution: "playwright@npm:1.38.0" dependencies: fsevents: 2.3.2 - playwright-core: 1.41.2 + playwright-core: 1.38.0 dependenciesMeta: fsevents: optional: true bin: playwright: cli.js - checksum: acf166003ec42cd795f5fca096c5135880d78e84ec2d0a1911b2cab984cf75dc06e50d3aa24b56cbcbc5369ca8c61831e76c5f8674531a272fbd0f6e624fa387 + checksum: c5356690a391d5dd41f814d4e2694b93ba9e79381ce63de752da1c6c59b1f9c69bc6be853d973d0542d73a44a6b15f7c0081a164a64cd27b6b31207710c0ab34 languageName: node linkType: hard diff --git a/yarn.lock b/yarn.lock index e8e5fde..4115727 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3165,37 +3165,37 @@ __metadata: languageName: node linkType: hard -"@myst-theme/common@npm:^0.5.21": - version: 0.5.21 - resolution: "@myst-theme/common@npm:0.5.21" +"@myst-theme/common@npm:^0.5.22": + version: 0.5.22 + resolution: "@myst-theme/common@npm:0.5.22" dependencies: myst-common: ^1.1.18 myst-config: ^1.1.18 myst-spec-ext: ^1.1.18 nbtx: ^0.2.3 unist-util-select: ^4.0.3 - checksum: c4d9c600524ab7b95061230a6bc5335cb3b13b250c424bfc101bf91683d18574bd8f1c6e7889d6055688fa97e571a5def226fa598c98cdb9fde35a776cb709d1 + checksum: ea47c479cb19c31c75b685bde5356f4d1ed1f7040832510b553a240840393570e65ce5bc27bce082cb6794069005d113618a0e5eb6ab063d19ff8474dde892df languageName: node linkType: hard -"@myst-theme/diagrams@npm:^0.5.21": - version: 0.5.21 - resolution: "@myst-theme/diagrams@npm:0.5.21" +"@myst-theme/diagrams@npm:^0.5.22": + version: 0.5.22 + resolution: "@myst-theme/diagrams@npm:0.5.22" dependencies: - "@myst-theme/providers": ^0.5.21 + "@myst-theme/providers": ^0.5.22 mermaid: ^9.3.0 peerDependencies: "@types/react": ^16.8 || ^17.0 || ^18.0 "@types/react-dom": ^16.8 || ^17.0 || ^18.0 react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: 4462d1f9bd91f327946f47d2e384d58128df330d8508cb35f41806bed613cf36593bb02e992e7cfd1d202e3c920bdd70dddac076ada799726fee5b99956cf0d2 + checksum: c53c51cba28c708839155bf0b02c9d8f5d1adae402253593d15c4fc72b56632fafdb8fed641263b0d42d0f7bf7745800fa506a2048d9126608a01b638f0231f1 languageName: node linkType: hard -"@myst-theme/frontmatter@npm:^0.5.21": - version: 0.5.21 - resolution: "@myst-theme/frontmatter@npm:0.5.21" +"@myst-theme/frontmatter@npm:^0.5.22": + version: 0.5.22 + resolution: "@myst-theme/frontmatter@npm:0.5.22" dependencies: "@headlessui/react": ^1.7.15 "@heroicons/react": ^2.0.18 @@ -3209,15 +3209,15 @@ __metadata: "@types/react-dom": ^16.8 || ^17.0 || ^18.0 react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: e9f25b0a7aa3517988778e246f4b8fd0a602258053b9e65d175ba3297f21f3cbf64ad986b1374d9d5638e99ad86a0603a615d298574d60c21133683e90cbfc2e + checksum: 747b8d9c971c1df7d8e369182ef89a17d7bc939e92b7970290529635fa96a549770ca183d4e945b12430a19ea077b3c7273ec34013f2124b7c5340a0c9e75b04 languageName: node linkType: hard -"@myst-theme/providers@npm:^0.5.21": - version: 0.5.21 - resolution: "@myst-theme/providers@npm:0.5.21" +"@myst-theme/providers@npm:^0.5.21, @myst-theme/providers@npm:^0.5.22": + version: 0.5.22 + resolution: "@myst-theme/providers@npm:0.5.22" dependencies: - "@myst-theme/common": ^0.5.21 + "@myst-theme/common": ^0.5.22 peerDependencies: "@types/react": ^16.8 || ^17.0 || ^18.0 "@types/react-dom": ^16.8 || ^17.0 || ^18.0 @@ -3226,7 +3226,7 @@ __metadata: myst-frontmatter: ^1.1.18 react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: 81d06861353a3955c2bc35c5aaf9e451769afbab835d755e1a74c38883168338fe6fe664f50da9f75317c193a91b44ab881f95d5c0838b343d37f9b5857e5089 + checksum: 90e7bc72028e40c4bc6aa25e391f1f069916fb46d517176f75f3ea38476460f33073b62f2ec17517e9ad335dbc12e6f33a9ae5ae9037a79b49655c3756b6eeb0 languageName: node linkType: hard @@ -9013,9 +9013,9 @@ __metadata: "@jupyterlab/rendermime": ^4.0.0 "@jupyterlab/testutils": ^4.0.0 "@jupyterlab/translation": ^4.0.0 - "@myst-theme/diagrams": ^0.5.21 - "@myst-theme/frontmatter": ^0.5.21 - "@myst-theme/providers": ^0.5.21 + "@myst-theme/diagrams": ^0.5.22 + "@myst-theme/frontmatter": ^0.5.22 + "@myst-theme/providers": ^0.5.22 "@myst-theme/styles": ^0.5.21 "@tailwindcss/typography": ^0.5.8 "@types/jest": ^29.2.0