aboutsummaryrefslogtreecommitdiffstats
path: root/vitest.config.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-12-20 23:15:47 +0100
committerGitHub <noreply@github.com>2022-12-20 17:15:47 -0500
commite767b3372a2171860f07ff57ce165d6cd68448c8 (patch)
treeb4c6b875583ea6f44291076463c7d810299a4043 /vitest.config.js
parent495b8b3635bdcc42aa419be7845c9bbaf72d7473 (diff)
downloadgitea-e767b3372a2171860f07ff57ce165d6cd68448c8.tar.gz
gitea-e767b3372a2171860f07ff57ce165d6cd68448c8.zip
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
Diffstat (limited to 'vitest.config.js')
-rw-r--r--vitest.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vitest.config.js b/vitest.config.js
index 838360970f..37ebfa5722 100644
--- a/vitest.config.js
+++ b/vitest.config.js
@@ -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 {