瀏覽代碼

[Web] Update npm packages

Fabio Alessandrelli 2 年之前
父節點
當前提交
61e7d47344
共有 3 個文件被更改,包括 422 次插入342 次删除
  1. 1 1
      platform/web/js/libs/library_godot_webgl2.js
  2. 415 333
      platform/web/package-lock.json
  3. 6 8
      platform/web/package.json

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

@@ -40,7 +40,7 @@ const GodotWebGL2 = {
 		if (typeof context.multiviewExt === 'undefined') {
 			const /** OVR_multiview2 */ ext = context.GLctx.getExtension('OVR_multiview2');
 			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;
 			}
 			context.multiviewExt = ext;

文件差異過大導致無法顯示
+ 415 - 333
platform/web/package-lock.json


+ 6 - 8
platform/web/package.json

@@ -21,14 +21,12 @@
   "author": "Godot Engine contributors",
   "license": "MIT",
   "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"
   }
 }

部分文件因文件數量過多而無法顯示