Skip to content

[Snyk] Fix for 6 vulnerabilities #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -55,17 +55,17 @@
"watch:labextension": "jupyter labextension watch ."
},
"dependencies": {
"@jupyterlab/application": "^4.0.0",
"@jupyterlab/codemirror": "^4.0.0",
"markdown-it": "^12.2.3",
"@jupyterlab/application": "^4.2.0",
"@jupyterlab/codemirror": "^4.2.0",
"markdown-it": "^13.0.2",
"markdown-it-attrs": "^4.1.6",
"markdown-it-deflist": "^2.0.3",
"markdown-it-footnote": "^3.0.2",
"markdown-it-implicit-figures": "^0.11.0",
"markdown-it-sub": "^1.0.0",
"markdown-it-sup": "^1.0.0",
"markdown-it-task-lists": "^1.3.0",
"mermaid": "^9.1.7",
"mermaid": "^11.5.0",
"wcwidth": "^1.0.1"
},
"devDependencies": {

Unchanged files with check annotations Beta

const plugin: JupyterFrontEndPlugin<MarkdownItManager> = {
id: `${kPackageNamespace}:plugin`,
autoStart: true,
provides: kMarkdownItMgr,

Check failure on line 45 in src/index.ts

GitHub Actions / build

Type 'import("/home/runner/work/jupyterlab-quarto/jupyterlab-quarto/node_modules/@lumino/coreutils/types/token").Token<import("/home/runner/work/jupyterlab-quarto/jupyterlab-quarto/src/types").MarkdownItManager>' is not assignable to type 'import("/home/runner/work/jupyterlab-quarto/jupyterlab-quarto/node_modules/@jupyterlab/application/node_modules/@lumino/coreutils/types/token").Token<import("/home/runner/work/jupyterlab-quarto/jupyterlab-quarto/src/types").MarkdownItManager>'.
requires: [IEditorThemeRegistry, IEditorLanguageRegistry],
activate: (
_app: JupyterFrontEnd,
// Store HTML
imageHTML = html;
},
element

Check failure on line 59 in src/plugins/mermaid/index.ts

GitHub Actions / build

Expected 2-3 arguments, but got 4.
);
} catch (e) {
return `<pre>Failed to render mermaid diagram.${e}</pre>`;
import { MarkdownItManager, MarkdownItPluginProvider } from '../types';
export function markdownItExtension(provider: MarkdownItPluginProvider) {
return {

Check failure on line 13 in src/providers/provider.ts

GitHub Actions / build

Conversion of type '{ id: string; autoStart: true; requires: Token<MarkdownItManager>[]; activate: (_app: JupyterFrontEnd<IShell, "desktop" | "mobile">, manager: MarkdownItManager) => void; }' to type 'JupyterFrontEndPlugin<void>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
id: `${kPackageNamespace}:${provider.id}`,
autoStart: true,
requires: [kMarkdownItMgr],