typescript 5.5.4 → 5.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/lib/cs/diagnosticMessages.generated.json +292 -85
  2. package/lib/de/diagnosticMessages.generated.json +292 -85
  3. package/lib/es/diagnosticMessages.generated.json +290 -83
  4. package/lib/fr/diagnosticMessages.generated.json +292 -85
  5. package/lib/it/diagnosticMessages.generated.json +291 -84
  6. package/lib/ja/diagnosticMessages.generated.json +291 -84
  7. package/lib/ko/diagnosticMessages.generated.json +291 -84
  8. package/lib/lib.dom.asynciterable.d.ts +14 -6
  9. package/lib/lib.dom.d.ts +349 -858
  10. package/lib/lib.dom.iterable.d.ts +95 -79
  11. package/lib/lib.es2015.generator.d.ts +2 -2
  12. package/lib/lib.es2015.iterable.d.ts +100 -68
  13. package/lib/lib.es2017.object.d.ts +4 -4
  14. package/lib/lib.es2018.asyncgenerator.d.ts +2 -2
  15. package/lib/lib.es2018.asynciterable.d.ts +16 -6
  16. package/lib/lib.es2020.bigint.d.ts +8 -8
  17. package/lib/lib.es2020.string.d.ts +2 -2
  18. package/lib/lib.es2020.symbol.wellknown.d.ts +5 -1
  19. package/lib/lib.es2022.intl.d.ts +5 -1
  20. package/lib/lib.esnext.d.ts +1 -0
  21. package/lib/lib.esnext.disposable.d.ts +8 -0
  22. package/lib/lib.esnext.iterator.d.ts +148 -0
  23. package/lib/lib.webworker.asynciterable.d.ts +14 -6
  24. package/lib/lib.webworker.d.ts +79 -100
  25. package/lib/lib.webworker.iterable.d.ts +47 -35
  26. package/lib/pl/diagnosticMessages.generated.json +290 -83
  27. package/lib/pt-br/diagnosticMessages.generated.json +292 -85
  28. package/lib/ru/diagnosticMessages.generated.json +292 -85
  29. package/lib/tr/diagnosticMessages.generated.json +292 -85
  30. package/lib/tsc.js +2744 -1783
  31. package/lib/tsserver.js +33 -31
  32. package/lib/typescript.d.ts +244 -156
  33. package/lib/typescript.js +4460 -3392
  34. package/lib/typingsInstaller.js +3 -3
  35. package/lib/zh-cn/diagnosticMessages.generated.json +291 -84
  36. package/lib/zh-tw/diagnosticMessages.generated.json +290 -83
  37. package/package.json +36 -31
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.5.4",
5
+ "version": "5.6.2",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -13,11 +13,11 @@
13
13
  "javascript"
14
14
  ],
15
15
  "bugs": {
16
- "url": "https://github.com/Microsoft/TypeScript/issues"
16
+ "url": "https://github.com/microsoft/TypeScript/issues"
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "https://github.com/Microsoft/TypeScript.git"
20
+ "url": "https://github.com/microsoft/TypeScript.git"
21
21
  },
22
22
  "main": "./lib/typescript.js",
23
23
  "typings": "./lib/typescript.d.ts",
@@ -39,45 +39,50 @@
39
39
  "!**/.gitattributes"
40
40
  ],
41
41
  "devDependencies": {
42
- "@dprint/formatter": "^0.3.0",
43
- "@dprint/typescript": "0.91.0",
42
+ "@dprint/formatter": "^0.4.1",
43
+ "@dprint/typescript": "0.91.6",
44
44
  "@esfx/canceltoken": "^1.0.0",
45
- "@octokit/rest": "^20.1.1",
46
- "@types/chai": "^4.3.16",
47
- "@types/microsoft__typescript-etw": "^0.1.3",
45
+ "@eslint/js": "^9.9.0",
46
+ "@octokit/rest": "^21.0.1",
47
+ "@types/chai": "^4.3.17",
48
+ "@types/diff": "^5.2.1",
48
49
  "@types/minimist": "^1.2.5",
49
- "@types/mocha": "^10.0.6",
50
+ "@types/mocha": "^10.0.7",
50
51
  "@types/ms": "^0.7.34",
51
52
  "@types/node": "latest",
52
53
  "@types/source-map-support": "^0.5.10",
53
- "@types/which": "^3.0.3",
54
- "@typescript-eslint/eslint-plugin": "^7.11.0",
55
- "@typescript-eslint/parser": "^7.11.0",
56
- "@typescript-eslint/utils": "^7.11.0",
57
- "azure-devops-node-api": "^13.0.0",
58
- "c8": "^9.1.0",
59
- "chai": "^4.4.1",
54
+ "@types/which": "^3.0.4",
55
+ "@typescript-eslint/rule-tester": "^8.1.0",
56
+ "@typescript-eslint/type-utils": "^8.1.0",
57
+ "@typescript-eslint/utils": "^8.1.0",
58
+ "azure-devops-node-api": "^14.0.2",
59
+ "c8": "^10.1.2",
60
+ "chai": "^4.5.0",
60
61
  "chalk": "^4.1.2",
61
62
  "chokidar": "^3.6.0",
62
63
  "diff": "^5.2.0",
63
- "dprint": "^0.46.1",
64
- "esbuild": "^0.21.4",
65
- "eslint": "^8.57.0",
66
- "eslint-formatter-autolinkable-stylish": "^1.3.0",
67
- "eslint-plugin-local": "^4.2.2",
68
- "fast-xml-parser": "^4.4.0",
69
- "glob": "^10.4.1",
70
- "hereby": "^1.8.9",
71
- "jsonc-parser": "^3.2.1",
64
+ "dprint": "^0.47.2",
65
+ "esbuild": "^0.23.0",
66
+ "eslint": "^9.9.0",
67
+ "eslint-formatter-autolinkable-stylish": "^1.4.0",
68
+ "eslint-plugin-regexp": "^2.6.0",
69
+ "fast-xml-parser": "^4.4.1",
70
+ "glob": "^10.4.5",
71
+ "globals": "^15.9.0",
72
+ "hereby": "^1.9.0",
73
+ "jsonc-parser": "^3.3.1",
74
+ "knip": "^5.27.2",
72
75
  "minimist": "^1.2.8",
73
- "mocha": "^10.4.0",
76
+ "mocha": "^10.7.3",
74
77
  "mocha-fivemat-progress-reporter": "^0.1.0",
78
+ "monocart-coverage-reports": "^2.10.2",
75
79
  "ms": "^2.1.3",
76
80
  "node-fetch": "^3.3.2",
77
- "playwright": "^1.44.1",
81
+ "playwright": "^1.46.0",
78
82
  "source-map-support": "^0.5.21",
79
- "tslib": "^2.6.2",
80
- "typescript": "^5.4.5",
83
+ "tslib": "^2.6.3",
84
+ "typescript": "^5.5.4",
85
+ "typescript-eslint": "^8.1.0",
81
86
  "which": "^3.0.1"
82
87
  },
83
88
  "overrides": {
@@ -93,6 +98,7 @@
93
98
  "clean": "hereby clean",
94
99
  "gulp": "hereby",
95
100
  "lint": "hereby lint",
101
+ "knip": "hereby knip",
96
102
  "format": "dprint fmt",
97
103
  "setup-hooks": "node scripts/link-hooks.mjs"
98
104
  },
@@ -102,7 +108,6 @@
102
108
  "path": false,
103
109
  "crypto": false,
104
110
  "buffer": false,
105
- "@microsoft/typescript-etw": false,
106
111
  "source-map-support": false,
107
112
  "inspector": false,
108
113
  "perf_hooks": false
@@ -112,5 +117,5 @@
112
117
  "node": "20.1.0",
113
118
  "npm": "8.19.4"
114
119
  },
115
- "gitHead": "c8a7d589e647e19c94150d9892909f3aa93e48eb"
120
+ "gitHead": "a7e3374f13327483fbe94e32806d65785b0b6cda"
116
121
  }