typescript 5.5.3 → 5.6.0-beta

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.
@@ -50,6 +50,7 @@ __export(nodeTypingsInstaller_exports, {
50
50
  NodeTypingsInstaller: () => NodeTypingsInstaller
51
51
  });
52
52
  module.exports = __toCommonJS(nodeTypingsInstaller_exports);
53
+ var import_child_process = require("child_process");
53
54
  var fs = __toESM(require("fs"));
54
55
  var path = __toESM(require("path"));
55
56
 
@@ -127,7 +128,6 @@ var NodeTypingsInstaller = class extends typescript_exports.server.typingsInstal
127
128
  this.log.writeLine(`NPM location: ${this.npmPath} (explicit '${typescript_exports.server.Arguments.NpmLocation}' ${npmLocation2 === void 0 ? "not " : ""} provided)`);
128
129
  this.log.writeLine(`validateDefaultNpmLocation: ${validateDefaultNpmLocation2}`);
129
130
  }
130
- ({ execSync: this.nodeExecSync } = require("child_process"));
131
131
  this.ensurePackageDirectoryExists(globalTypingsCacheLocation2);
132
132
  try {
133
133
  if (this.log.isEnabled()) {
@@ -182,7 +182,7 @@ var NodeTypingsInstaller = class extends typescript_exports.server.typingsInstal
182
182
  this.log.writeLine(`Exec: ${command}`);
183
183
  }
184
184
  try {
185
- const stdout = this.nodeExecSync(command, { ...options, encoding: "utf-8" });
185
+ const stdout = (0, import_child_process.execFileSync)(command, { ...options, encoding: "utf-8" });
186
186
  if (this.log.isEnabled()) {
187
187
  this.log.writeLine(` Succeeded. stdout:${indent(typescript_exports.sys.newLine, stdout)}`);
188
188
  }
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.3",
5
+ "version": "5.6.0-beta",
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,47 @@
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.4",
44
44
  "@esfx/canceltoken": "^1.0.0",
45
- "@octokit/rest": "^20.1.1",
45
+ "@eslint/js": "^8.57.0",
46
+ "@octokit/rest": "^21.0.1",
46
47
  "@types/chai": "^4.3.16",
47
- "@types/microsoft__typescript-etw": "^0.1.3",
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",
54
+ "@types/which": "^3.0.4",
55
+ "@typescript-eslint/utils": "^7.17.0",
56
+ "azure-devops-node-api": "^14.0.1",
57
+ "c8": "^10.1.2",
59
58
  "chai": "^4.4.1",
60
59
  "chalk": "^4.1.2",
61
60
  "chokidar": "^3.6.0",
62
61
  "diff": "^5.2.0",
63
- "dprint": "^0.46.1",
64
- "esbuild": "^0.21.4",
62
+ "dprint": "^0.47.2",
63
+ "esbuild": "^0.23.0",
65
64
  "eslint": "^8.57.0",
66
65
  "eslint-formatter-autolinkable-stylish": "^1.3.0",
67
- "eslint-plugin-local": "^4.2.2",
68
66
  "fast-xml-parser": "^4.4.0",
69
- "glob": "^10.4.1",
70
- "hereby": "^1.8.9",
71
- "jsonc-parser": "^3.2.1",
67
+ "glob": "^10.4.5",
68
+ "globals": "^13.24.0",
69
+ "hereby": "^1.9.0",
70
+ "jsonc-parser": "^3.3.1",
71
+ "knip": "^5.26.0",
72
72
  "minimist": "^1.2.8",
73
- "mocha": "^10.4.0",
73
+ "mocha": "^10.7.0",
74
74
  "mocha-fivemat-progress-reporter": "^0.1.0",
75
+ "monocart-coverage-reports": "^2.9.3",
75
76
  "ms": "^2.1.3",
76
77
  "node-fetch": "^3.3.2",
77
- "playwright": "^1.44.1",
78
+ "playwright": "^1.45.3",
78
79
  "source-map-support": "^0.5.21",
79
- "tslib": "^2.6.2",
80
- "typescript": "^5.4.5",
80
+ "tslib": "^2.6.3",
81
+ "typescript": "^5.5.4",
82
+ "typescript-eslint": "^7.17.0",
81
83
  "which": "^3.0.1"
82
84
  },
83
85
  "overrides": {
@@ -93,6 +95,7 @@
93
95
  "clean": "hereby clean",
94
96
  "gulp": "hereby",
95
97
  "lint": "hereby lint",
98
+ "knip": "hereby knip",
96
99
  "format": "dprint fmt",
97
100
  "setup-hooks": "node scripts/link-hooks.mjs"
98
101
  },
@@ -102,7 +105,6 @@
102
105
  "path": false,
103
106
  "crypto": false,
104
107
  "buffer": false,
105
- "@microsoft/typescript-etw": false,
106
108
  "source-map-support": false,
107
109
  "inspector": false,
108
110
  "perf_hooks": false
@@ -112,5 +114,5 @@
112
114
  "node": "20.1.0",
113
115
  "npm": "8.19.4"
114
116
  },
115
- "gitHead": "f0e992167440686f948965e5441a918b34251886"
117
+ "gitHead": "b4732bdd6199ec353ec0873f334515f391d80d3b"
116
118
  }