From 53e0acd82d63fba2aa8cf03413781bf0e8ae1e9e Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Wed, 26 May 2021 19:28:06 -0500 Subject: [PATCH 1/2] chore: use named export for markdown --- lib/components/inspector.tsx | 2 +- lib/components/result-view/display.tsx | 2 +- lib/components/result-view/markdown.tsx | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/components/inspector.tsx b/lib/components/inspector.tsx index 823040f43..06649c893 100644 --- a/lib/components/inspector.tsx +++ b/lib/components/inspector.tsx @@ -3,7 +3,7 @@ import { observer } from "mobx-react"; import { RichMedia, Media } from "@nteract/outputs"; import { INSPECTOR_URI } from "../utils"; import type Kernel from "../kernel"; -import Markdown from "./result-view/markdown"; +import { Markdown } from "./result-view/markdown"; type Props = { store: { kernel: Kernel | null | undefined; diff --git a/lib/components/result-view/display.tsx b/lib/components/result-view/display.tsx index 8894d1379..d42b5cbd5 100644 --- a/lib/components/result-view/display.tsx +++ b/lib/components/result-view/display.tsx @@ -21,7 +21,7 @@ import { Vega4, Vega5, } from "@nteract/transform-vega"; -import Markdown from "./markdown"; +import { Markdown } from "./markdown"; // All supported media types for output go here export const supportedMediaTypes = ( diff --git a/lib/components/result-view/markdown.tsx b/lib/components/result-view/markdown.tsx index c4f743640..6ca1467d6 100644 --- a/lib/components/result-view/markdown.tsx +++ b/lib/components/result-view/markdown.tsx @@ -35,4 +35,3 @@ export class Markdown extends React.PureComponent { ); } } -export default Markdown; From 690be3417213177573ae6105f46669628057c1dc Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Wed, 26 May 2021 19:42:50 -0500 Subject: [PATCH 2/2] fix: update @ntereact/transform-vega and @nteract/outputs --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a95a2d481..1c934178e 100644 --- a/package.json +++ b/package.json @@ -57,20 +57,20 @@ "atom": ">=1.28.0 <2.0.0" }, "dependencies": { + "@aminya/jmp": "^2.0.9", "@aminya/xmlhttprequest": "^1.8.2", "@babel/runtime-corejs2": "^7.0.0", "@jupyterlab/services": "^0.52.0", "@nteract/commutable": "^7.1.4", "@nteract/markdown": "^4.5.1", "@nteract/mathjax": "^4.0.2", - "@nteract/outputs": "^3.0.0", + "@nteract/outputs": "^3.0.11", "@nteract/plotly": "^1.48.3", - "@nteract/transform-vega": "^7.0.0", + "@nteract/transform-vega": "^7.0.10", "anser": "^2.0.1", "atom-select-list": "^0.7.0", "escape-carriage": "^1.2.0", "escape-string-regexp": "^4.0.0", - "@aminya/jmp": "^2.0.9", "kernelspecs": "^2.0.0", "lodash": "^4.14.0", "mathjax-electron": "^3.0.0",