Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit 253c601

Browse files
committed
Bump non-breaking dependencies
1 parent 118432d commit 253c601

File tree

3 files changed

+349
-275
lines changed

3 files changed

+349
-275
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,42 +34,42 @@
3434
"node": ">=12"
3535
},
3636
"dependencies": {
37-
"@types/svgo": "^1.3.3",
37+
"@types/svgo": "^1.3.4",
3838
"hast-util-from-parse5": "^6.0.1",
39-
"mermaid": "^8.2.3",
39+
"mermaid": "^8.9.1",
4040
"parse5": "^6.0.1",
4141
"svgo": "^1.3.0",
42-
"unified": "^9.2.0",
42+
"unified": "^9.2.1",
4343
"unist-util-visit": "^2.0.0"
4444
},
4545
"peerDependencies": {
4646
"puppeteer": ">=7"
4747
},
4848
"devDependencies": {
4949
"@types/mdast": "^3.0.3",
50-
"@types/mermaid": "^8.2.1",
51-
"@typescript-eslint/eslint-plugin": "^4.15.1",
52-
"@typescript-eslint/parser": "^4.15.1",
53-
"eslint": "^7.20.0",
50+
"@types/mermaid": "^8.2.2",
51+
"@typescript-eslint/eslint-plugin": "^4.16.1",
52+
"@typescript-eslint/parser": "^4.16.1",
53+
"eslint": "^7.21.0",
5454
"eslint-config-remcohaszing": "^3.2.0",
5555
"eslint-plugin-eslint-comments": "^3.2.0",
5656
"eslint-plugin-import": "^2.18.2",
5757
"eslint-plugin-jest": "^24.1.5",
5858
"eslint-plugin-jest-formatting": "^2.0.1",
59-
"eslint-plugin-jsdoc": "^32.0.2",
59+
"eslint-plugin-jsdoc": "^32.2.0",
6060
"eslint-plugin-markdown": "^2.0.0",
6161
"eslint-plugin-node": "^11.1.0",
6262
"eslint-plugin-prettier": "^3.3.1",
6363
"eslint-plugin-sort-destructure-keys": "^1.3.5",
64-
"eslint-plugin-unicorn": "^28.0.1",
64+
"eslint-plugin-unicorn": "^28.0.2",
6565
"jest": "^26.6.3",
6666
"jest-file-snapshot": "^0.5.0",
6767
"prettier": "^2.2.1",
6868
"puppeteer": "^7.1.0",
6969
"rehype-stringify": "^8.0.0",
7070
"remark": "^13.0.0",
7171
"remark-rehype": "^8.0.0",
72-
"ts-jest": "^26.5.1",
73-
"typescript": "^4.1.5"
72+
"ts-jest": "^26.5.3",
73+
"typescript": "^4.2.3"
7474
}
7575
}

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export const defaultSVGOOptions: SVGO.Options = {
2020
indent: 2,
2121
pretty: true,
2222
},
23-
// @ts-expect-error https://github.com/DefinitelyTyped/DefinitelyTyped/pull/51286
2423
multipass: true,
2524
plugins: [
2625
{ cleanupAttrs: true },
@@ -124,7 +123,6 @@ export const remarkMermaid: Attacher<[RemarkMermaidOptions?]> = ({
124123
const id = 'a';
125124
mermaid.initialize({ theme: t });
126125
const div = document.createElement('div');
127-
// @ts-expect-error Despite what the types say, the callback is optional.
128126
div.innerHTML = mermaid.render(id, code);
129127
return div.innerHTML;
130128
}),

0 commit comments

Comments
 (0)