Selaa lähdekoodia

[Web] Update npm packages

(cherry picked from commit 61e7d4734441b09db1f4e94ba24757a082fb19da)
Fabio Alessandrelli 2 vuotta sitten
vanhempi
commit
4355bf9cf3

+ 1 - 1
platform/web/js/libs/library_godot_webgl2.js

@@ -40,7 +40,7 @@ const GodotWebGL2 = {
 		if (typeof context.multiviewExt === 'undefined') {
 		if (typeof context.multiviewExt === 'undefined') {
 			const /** OVR_multiview2 */ ext = context.GLctx.getExtension('OVR_multiview2');
 			const /** OVR_multiview2 */ ext = context.GLctx.getExtension('OVR_multiview2');
 			if (!ext) {
 			if (!ext) {
-				console.error('Trying to call glFramebufferTextureMultiviewOVR() without the OVR_multiview2 extension');
+				GodotRuntime.error('Trying to call glFramebufferTextureMultiviewOVR() without the OVR_multiview2 extension');
 				return;
 				return;
 			}
 			}
 			context.multiviewExt = ext;
 			context.multiviewExt = ext;

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 415 - 333
platform/web/package-lock.json


+ 6 - 8
platform/web/package.json

@@ -21,14 +21,12 @@
   "author": "Godot Engine contributors",
   "author": "Godot Engine contributors",
   "license": "MIT",
   "license": "MIT",
   "devDependencies": {
   "devDependencies": {
-    "@html-eslint/eslint-plugin": "^0.15.0",
-    "@html-eslint/parser": "^0.15.0",
-    "eslint": "^7.32.0",
-    "eslint-config-airbnb-base": "^14.2.1",
-    "eslint-plugin-import": "^2.23.4",
-    "jsdoc": "^3.6.7"
-  },
-  "dependencies": {
+    "@html-eslint/eslint-plugin": "^0.19.1",
+    "@html-eslint/parser": "^0.19.1",
+    "eslint": "^8.46.0",
+    "eslint-config-airbnb-base": "^15.0.0",
+    "eslint-plugin-import": "^2.28.0",
+    "jsdoc": "^4.0.2",
     "eslint-plugin-html": "^7.1.0"
     "eslint-plugin-html": "^7.1.0"
   }
   }
 }
 }

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä