Update dependencies

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2022-11-15 23:59:22 +01:00
parent b8ec63497b
commit 3fbd832ef1
4 changed files with 1262 additions and 172 deletions
+1246 -166
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -20,12 +20,12 @@
},
"devDependencies": {
"@rsksmart/mock-web3-provider": "^1.0.1",
"@sveltejs/vite-plugin-svelte": "^1.1.0",
"@sveltejs/vite-plugin-svelte": "^1.2.0",
"@tsconfig/svelte": "^3.0.0",
"@types/dompurify": "^2.4.0",
"@types/katex": "^0.14.0",
"@types/lodash": "^4.14.188",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@types/lodash": "^4.14.189",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"cypress": "^10.11.0",
"eslint": "^8.27.0",
"eslint-plugin-svelte3": "^4.0.0",
@@ -33,9 +33,9 @@
"prettier-plugin-svelte": "^2.8.0",
"svelte-check": "^2.9.2",
"typescript": "^4.8.4",
"vite": "^3.2.3",
"vite": "^3.2.4",
"vite-plugin-rewrite-all": "^1.0.0",
"vitest": "^0.24.5"
"vitest": "^0.25.2"
},
"dependencies": {
"@ethersproject/abstract-provider": "^5.4.0",
@@ -55,7 +55,7 @@
"md5": "^2.3.0",
"pure-svg-code": "^1.0.6",
"siwe": "^2.0.5",
"svelte": "^3.52.0",
"svelte": "^3.53.1",
"svelte-preprocess": "^4.10.7",
"twemoji": "^14.0.2",
"util": "^0.12.5"
+1
View File
@@ -12,6 +12,7 @@ const config: UserConfig = {
deps: {
inline: ["@ethersproject/signing-key", "@ethersproject/basex"],
},
setupFiles: "./vitest/setupVitest",
environment: "happy-dom",
include: ["**/*.test.ts"],
reporters: "verbose",
+9
View File
@@ -0,0 +1,9 @@
// Found in https://github.com/belgattitude/nextjs-monorepo-example/pull/2913
// Hack for vitest 0.25.2 / happy-dom. Keep till those issues are fixed
// - https://github.com/vitest-dev/vitest/issues/2305#issuecomment-1311420462
// - https://github.com/capricorn86/happy-dom/issues/569
import { URL } from "node:url";
//@ts-expect-error The two types don't match, but for this hack we have to
//overwrite the given URL by happy-dom with the URL class passed by Node
globalThis.URL = URL;