Update JS dependencies and eslint (#22190)

- Update all JS dependencies to latest version
- Enable unicorn/prefer-node-protocol and autofix issues
- Regenerate SVGs
- Add some comments to eslint rules
- Tested build, Mermaid and Katex rendering
This commit is contained in:
silverwind authored and GitHub committed 2022-12-20 17:15:47 -05:00
1 parent 495b8b3635
commit e767b3372a
14 files changed
+1514 -1282

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import {defineConfig} from 'vitest/dist/config.js';
import {readFile} from 'fs/promises';
import {readFile} from 'node:fs/promises';
import {dataToEsm} from '@rollup/pluginutils';
import {extname} from 'path';
import {extname} from 'node:path';
function stringPlugin() {
return {