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:
2022-12-20 23:15:47 +01:00
committed by GitHub
parent 495b8b3635
commit e767b3372a
14 changed files with 1514 additions and 1282 deletions

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 {