Skip to content

Commit

Permalink
Fix NodeJS namespace error
Browse files Browse the repository at this point in the history
  • Loading branch information
jordojordo committed May 31, 2024
1 parent ea8834c commit 80fb62e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@tsconfig/node20": "^20.1.4",
"@types/dompurify": "^3.0.5",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.12.5",
"@types/node": "^20.12.13",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
Expand Down
1 change: 0 additions & 1 deletion src/stores/useToolConfigStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export const useToolConfigStore = defineStore('toolConfig', {
runOpts: {
input: '',
disableCache: false,
cacheDir: '',
quiet: false,
chdir: '',
subTool: '',
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"types": ["node"]
}
}
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -680,13 +680,20 @@
"@types/node" "*"
form-data "^4.0.0"

"@types/node@*", "@types/node@^20.12.5":
"@types/node@*":
version "20.12.12"
resolved "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz#7cbecdf902085cec634fdb362172dfe12b8f2050"
integrity sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==
dependencies:
undici-types "~5.26.4"

"@types/node@^20.12.13":
version "20.12.13"
resolved "https://registry.npmjs.org/@types/node/-/node-20.12.13.tgz#90ed3b8a4e52dd3c5dc5a42dde5b85b74ad8ed88"
integrity sha512-gBGeanV41c1L171rR7wjbMiEpEI/l5XFQdLLfhr/REwpgDy/4U8y89+i8kRiLzDyZdOkXh+cRaTetUnCYutoXA==
dependencies:
undici-types "~5.26.4"

"@types/sync-fetch@^0.4.3":
version "0.4.3"
resolved "https://registry.npmjs.org/@types/sync-fetch/-/sync-fetch-0.4.3.tgz#a7420c6f81b6a9d586dd353c6d471e28a5736f55"
Expand Down

0 comments on commit 80fb62e

Please sign in to comment.