From cc24fd48d53d053e0bbf87b93e788ee578261b45 Mon Sep 17 00:00:00 2001 From: Lukas Hass Date: Sat, 19 Feb 2022 00:13:25 +0100 Subject: [PATCH] update generic-type-guard and @geprog/vite-plugin-env-config allows to get rid of node built-in polyfills --- front/index.html | 1 - front/package.json | 4 ++-- front/src/Enum/EnvironmentVariable.ts | 2 +- front/yarn.lock | 16 ++++++++-------- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/front/index.html b/front/index.html index 715e1bf7..c941f715 100644 --- a/front/index.html +++ b/front/index.html @@ -28,7 +28,6 @@ - WorkAdventure diff --git a/front/package.json b/front/package.json index 9df7afc4..4a0ea649 100644 --- a/front/package.json +++ b/front/package.json @@ -4,7 +4,7 @@ "main": "index.js", "license": "SEE LICENSE IN LICENSE.txt", "devDependencies": { - "@geprog/vite-plugin-env-config": "^3.0.0", + "@geprog/vite-plugin-env-config": "^4.0.0", "@sveltejs/vite-plugin-svelte": "^1.0.0-next.36", "@tsconfig/svelte": "^1.0.10", "@types/google-protobuf": "^3.7.3", @@ -43,7 +43,7 @@ "cross-env": "^7.0.3", "deep-copy-ts": "^0.5.0", "easystarjs": "^0.4.4", - "generic-type-guard": "^3.2.0", + "generic-type-guard": "^3.4.2", "google-protobuf": "^3.13.0", "phaser": "^3.54.0", "phaser-animated-tiles": "workadventure/phaser-animated-tiles#da68bbededd605925621dd4f03bd27e69284b254", diff --git a/front/src/Enum/EnvironmentVariable.ts b/front/src/Enum/EnvironmentVariable.ts index 1fdd13bf..3e589241 100644 --- a/front/src/Enum/EnvironmentVariable.ts +++ b/front/src/Enum/EnvironmentVariable.ts @@ -1,4 +1,4 @@ -import { getEnvConfig } from "@geprog/vite-plugin-env-config"; +import { getEnvConfig } from "@geprog/vite-plugin-env-config/getEnvConfig"; const DEBUG_MODE: boolean = getEnvConfig("DEBUG_MODE") == "true"; const START_ROOM_URL: string = diff --git a/front/yarn.lock b/front/yarn.lock index e72dea26..083881d5 100644 --- a/front/yarn.lock +++ b/front/yarn.lock @@ -93,10 +93,10 @@ dependencies: "@fortawesome/fontawesome-common-types" "^0.2.35" -"@geprog/vite-plugin-env-config@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@geprog/vite-plugin-env-config/-/vite-plugin-env-config-3.0.0.tgz#b16e57ad16429be7d73d19f13b5b529a78e7f9fa" - integrity sha512-ocIPodgIZAJm+h6As20IB8s5RLV85wvlnXNRFU2oI1owbBLqDjzSleY9+6Ey0abGSu0MNXlJQZL5ApSg6L5qCg== +"@geprog/vite-plugin-env-config@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@geprog/vite-plugin-env-config/-/vite-plugin-env-config-4.0.0.tgz#989d95f23fbab5eae7c4c96d04a18abdc289b81e" + integrity sha512-25ZMNdpssqkyv1sxfa6gBhmL8yCxCqjRRc1c05GJfhPkqD6Cn9dnG6xnHHHfJaEqrDFCViD0Bcnr+tgs76OZ2Q== "@humanwhocodes/config-array@^0.9.2": version "0.9.2" @@ -1377,10 +1377,10 @@ fuzzysort@^1.1.4: resolved "https://registry.yarnpkg.com/fuzzysort/-/fuzzysort-1.1.4.tgz#a0510206ed44532cbb52cf797bf5a3cb12acd4ba" integrity sha512-JzK/lHjVZ6joAg3OnCjylwYXYVjRiwTY6Yb25LvfpJHK8bjisfnZJ5bY8aVWwTwCXgxPNgLAtmHL+Hs5q1ddLQ== -generic-type-guard@^3.2.0: - version "3.4.1" - resolved "https://registry.yarnpkg.com/generic-type-guard/-/generic-type-guard-3.4.1.tgz#0896dc018de915c890562a34763858076e4676da" - integrity sha512-sXce0Lz3Wfy2rR1W8O8kUemgEriTeG1x8shqSJeWGb0FwJu2qBEkB1M2qXbdSLmpgDnHcIXo0Dj/1VLNJkK/QA== +generic-type-guard@^3.4.2: + version "3.4.2" + resolved "https://registry.yarnpkg.com/generic-type-guard/-/generic-type-guard-3.4.2.tgz#fbbafde675dc30f12e701e67d2e0a451d17ccf07" + integrity sha512-k7HLCaToIwCx28Ck0H6SXwjxgV2GLoJuwq8CjgST5CeeFD0dEwE95jRinpv9ubsTPPXOCNdUufUAgJVbiRpMJg== get-browser-rtc@^1.1.0: version "1.1.0"