typescript 4.4.3 → 4.4.4

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.
package/lib/tsc.js CHANGED
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
69
69
  var ts;
70
70
  (function (ts) {
71
71
  ts.versionMajorMinor = "4.4";
72
- ts.version = "4.4.3";
72
+ ts.version = "4.4.4";
73
73
  var NativeCollections;
74
74
  (function (NativeCollections) {
75
75
  function tryGetNativeMap() {
@@ -98529,11 +98529,11 @@ var ts;
98529
98529
  (_a = state.moduleResolutionCache) === null || _a === void 0 ? void 0 : _a.update(config.options);
98530
98530
  (_b = state.typeReferenceDirectiveResolutionCache) === null || _b === void 0 ? void 0 : _b.update(config.options);
98531
98531
  program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
98532
- state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
98533
- var path = _a[0], data = _a[1];
98534
- return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
98535
- }));
98536
98532
  if (state.watch) {
98533
+ state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
98534
+ var path = _a[0], data = _a[1];
98535
+ return [state.host.realpath && data ? toPath(state, state.host.realpath(path)) : path, data];
98536
+ }));
98537
98537
  state.builderPrograms.set(projectPath, program);
98538
98538
  }
98539
98539
  step++;
package/lib/tsserver.js CHANGED
@@ -100,7 +100,7 @@ var ts;
100
100
  // The following is baselined as a literal template type without intervention
101
101
  /** The version of the TypeScript compiler release */
102
102
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
103
- ts.version = "4.4.3";
103
+ ts.version = "4.4.4";
104
104
  /* @internal */
105
105
  var Comparison;
106
106
  (function (Comparison) {
@@ -119123,11 +119123,11 @@ var ts;
119123
119123
  (_b = state.typeReferenceDirectiveResolutionCache) === null || _b === void 0 ? void 0 : _b.update(config.options);
119124
119124
  // Create program
119125
119125
  program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
119126
- state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119127
- var path = _a[0], data = _a[1];
119128
- return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
119129
- }));
119130
119126
  if (state.watch) {
119127
+ state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119128
+ var path = _a[0], data = _a[1];
119129
+ return [state.host.realpath && data ? toPath(state, state.host.realpath(path)) : path, data];
119130
+ }));
119131
119131
  state.builderPrograms.set(projectPath, program);
119132
119132
  }
119133
119133
  step++;
@@ -294,7 +294,7 @@ var ts;
294
294
  // The following is baselined as a literal template type without intervention
295
295
  /** The version of the TypeScript compiler release */
296
296
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
297
- ts.version = "4.4.3";
297
+ ts.version = "4.4.4";
298
298
  /* @internal */
299
299
  var Comparison;
300
300
  (function (Comparison) {
@@ -119317,11 +119317,11 @@ var ts;
119317
119317
  (_b = state.typeReferenceDirectiveResolutionCache) === null || _b === void 0 ? void 0 : _b.update(config.options);
119318
119318
  // Create program
119319
119319
  program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
119320
- state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119321
- var path = _a[0], data = _a[1];
119322
- return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
119323
- }));
119324
119320
  if (state.watch) {
119321
+ state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119322
+ var path = _a[0], data = _a[1];
119323
+ return [state.host.realpath && data ? toPath(state, state.host.realpath(path)) : path, data];
119324
+ }));
119325
119325
  state.builderPrograms.set(projectPath, program);
119326
119326
  }
119327
119327
  step++;
package/lib/typescript.js CHANGED
@@ -294,7 +294,7 @@ var ts;
294
294
  // The following is baselined as a literal template type without intervention
295
295
  /** The version of the TypeScript compiler release */
296
296
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
297
- ts.version = "4.4.3";
297
+ ts.version = "4.4.4";
298
298
  /* @internal */
299
299
  var Comparison;
300
300
  (function (Comparison) {
@@ -119317,11 +119317,11 @@ var ts;
119317
119317
  (_b = state.typeReferenceDirectiveResolutionCache) === null || _b === void 0 ? void 0 : _b.update(config.options);
119318
119318
  // Create program
119319
119319
  program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
119320
- state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119321
- var path = _a[0], data = _a[1];
119322
- return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
119323
- }));
119324
119320
  if (state.watch) {
119321
+ state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119322
+ var path = _a[0], data = _a[1];
119323
+ return [state.host.realpath && data ? toPath(state, state.host.realpath(path)) : path, data];
119324
+ }));
119325
119325
  state.builderPrograms.set(projectPath, program);
119326
119326
  }
119327
119327
  step++;
@@ -294,7 +294,7 @@ var ts;
294
294
  // The following is baselined as a literal template type without intervention
295
295
  /** The version of the TypeScript compiler release */
296
296
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
297
- ts.version = "4.4.3";
297
+ ts.version = "4.4.4";
298
298
  /* @internal */
299
299
  var Comparison;
300
300
  (function (Comparison) {
@@ -119317,11 +119317,11 @@ var ts;
119317
119317
  (_b = state.typeReferenceDirectiveResolutionCache) === null || _b === void 0 ? void 0 : _b.update(config.options);
119318
119318
  // Create program
119319
119319
  program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
119320
- state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119321
- var path = _a[0], data = _a[1];
119322
- return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
119323
- }));
119324
119320
  if (state.watch) {
119321
+ state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119322
+ var path = _a[0], data = _a[1];
119323
+ return [state.host.realpath && data ? toPath(state, state.host.realpath(path)) : path, data];
119324
+ }));
119325
119325
  state.builderPrograms.set(projectPath, program);
119326
119326
  }
119327
119327
  step++;
@@ -89,7 +89,7 @@ var ts;
89
89
  // The following is baselined as a literal template type without intervention
90
90
  /** The version of the TypeScript compiler release */
91
91
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
92
- ts.version = "4.4.3";
92
+ ts.version = "4.4.4";
93
93
  /* @internal */
94
94
  var Comparison;
95
95
  (function (Comparison) {
@@ -119112,11 +119112,11 @@ var ts;
119112
119112
  (_b = state.typeReferenceDirectiveResolutionCache) === null || _b === void 0 ? void 0 : _b.update(config.options);
119113
119113
  // Create program
119114
119114
  program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
119115
- state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119116
- var path = _a[0], data = _a[1];
119117
- return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
119118
- }));
119119
119115
  if (state.watch) {
119116
+ state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
119117
+ var path = _a[0], data = _a[1];
119118
+ return [state.host.realpath && data ? toPath(state, state.host.realpath(path)) : path, data];
119119
+ }));
119120
119120
  state.builderPrograms.set(projectPath, program);
119121
119121
  }
119122
119122
  step++;
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": "4.4.3",
5
+ "version": "4.4.4",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [