소스 검색

[Blazor][Fixes #29763] Update JavaScript dependencies, target modern JS (#29881)

Uses the latest typescript version in conjunction with the latest dependencies and updates our generated bundles to target ES2019
Javier Calvarro Nelson 5 년 전
부모
커밋
7a2b8205fb

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
src/Components/Web.JS/dist/Release/blazor.server.js


+ 10 - 10
src/Components/Web.JS/package.json

@@ -18,16 +18,16 @@
     "@microsoft/signalr-protocol-msgpack": "link:../../SignalR/clients/ts/signalr-protocol-msgpack",
     "@microsoft/dotnet-js-interop": "link:../../JSInterop/Microsoft.JSInterop.JS/src",
     "@types/emscripten": "^1.39.3",
-    "@types/jest": "^24.9.1",
-    "@types/jsdom": "11.0.6",
-    "@typescript-eslint/eslint-plugin": "^1.13.0",
-    "@typescript-eslint/parser": "^1.13.0",
-    "eslint": "^5.16.0",
-    "jest": "^24.9.0",
-    "rimraf": "^2.7.1",
-    "ts-jest": "^24.3.0",
-    "ts-loader": "^4.4.1",
-    "typescript": "^3.8.3",
+    "@types/jest": "^26.0.20",
+    "@types/jsdom": "^16.2.6",
+    "@typescript-eslint/eslint-plugin": "^4.14.2",
+    "@typescript-eslint/parser": "^4.14.2",
+    "eslint": "^7.19.0",
+    "jest": "^26.6.3",
+    "rimraf": "^3.0.2",
+    "ts-jest": "^26.5.0",
+    "ts-loader": "^8.0.14",
+    "typescript": "^4.1.3",
     "webpack": "^4.42.1",
     "webpack-cli": "^3.3.11"
   },

+ 3 - 3
src/Components/Web.JS/tsconfig.json

@@ -1,12 +1,12 @@
 {
   "compilerOptions": {
+    "moduleResolution": "node",
     "noImplicitAny": false,
     "noEmitOnError": true,
     "removeComments": false,
     "sourceMap": true,
-    "downlevelIteration": true,
-    "target": "es5",
-    "lib": ["es2015", "dom"],
+    "target": "es2019",
+    "lib": ["es2019", "dom"],
     "strict": true
   }
 }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 601 - 194
src/Components/Web.JS/yarn.lock


+ 2 - 2
src/Components/WebAssembly/Authentication.Msal/src/Interop/package.json

@@ -7,8 +7,8 @@
     "watch": "webpack --watch --mode development --env.configuration=Debug"
   },
   "devDependencies": {
-    "ts-loader": "^6.2.1",
-    "typescript": "^3.7.5",
+    "ts-loader": "^8.0.14",
+    "typescript": "^4.1.3",
     "webpack": "^4.41.5",
     "webpack-cli": "^3.3.10"
   },

+ 2 - 2
src/Components/WebAssembly/WebAssembly.Authentication/src/Interop/package.json

@@ -7,8 +7,8 @@
     "watch": "webpack --watch --mode development --env.configuration=Debug"
   },
   "devDependencies": {
-    "ts-loader": "^6.2.1",
-    "typescript": "^3.7.5",
+    "ts-loader": "^8.0.14",
+    "typescript": "^4.1.3",
     "webpack": "^4.41.5",
     "webpack-cli": "^3.3.10"
   },

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.