Skip to content

Commit

Permalink
Merge pull request #167 from jannis-baum/issue/166-upgrade-dependencies
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
jannis-baum authored Aug 26, 2024
2 parents 1120f1a + 41e44b0 commit 3a001bc
Show file tree
Hide file tree
Showing 4 changed files with 370 additions and 425 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- name: set up node
uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: actions/checkout@v4
- run: yarn
- run: yarn lint

test:
name: Test
needs: [lint]
runs-on: ubuntu-latest
steps:
- name: set up node
Expand All @@ -35,7 +40,7 @@ jobs:

build-linux:
name: Build Linux
needs: [lint]
needs: [test]
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -56,7 +61,7 @@ jobs:

build-macos:
name: Build MacOS
needs: [lint]
needs: [test]
runs-on: macos-latest
steps:
- name: checkout
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"ansi_up": "^6.0.2",
"axios": "^1.7.2",
"express": "^4.19.2",
"glob": "10.4.5",
"glob": "11.0.0",
"highlight.js": "^11.10.0",
"katex": "^0.16.11",
"markdown-it": "^14.1.0",
Expand Down Expand Up @@ -45,13 +45,13 @@
"@jupyterlab/nbformat": "^4.2.3",
"@types/express": "^4.17.21",
"@types/markdown-it": "^14.1.1",
"@types/node": "^20.14.10",
"@types/node": "^22.5.0",
"@types/primer__octicons": "^19.6.3",
"@types/tmp": "^0.2.6",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"eslint": "^9.6.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/parser/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function highlight(str: string, lang: string) {
language: lang,
ignoreIllegals: true,
}).value;
} catch (_) {}
} catch {}
}
}
return `<pre class="language-${lang}"><code>${content}</code></pre>`;
Expand Down
Loading

0 comments on commit 3a001bc

Please sign in to comment.