update generic-type-guard and @geprog/vite-plugin-env-config

allows to get rid of node built-in polyfills
This commit is contained in:
Lukas Hass 2022-02-19 00:13:25 +01:00
parent 2755489ccf
commit cc24fd48d5
No known key found for this signature in database
GPG Key ID: 7C8CEF72C4039178
4 changed files with 11 additions and 12 deletions

View File

@ -28,7 +28,6 @@
<meta name="theme-color" content="#000000">
<base href="/">
<script>/*polyfill for node built-ins*/window.global = window; window.process = { env: {}};</script>
<style>/*hide cowebsite container before scss is loaded*/#cowebsite { visibility: collapse };</style>
<title>WorkAdventure</title>

View File

@ -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",

View File

@ -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 =

View File

@ -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"