@typescript-deploys/pr-build 4.5.0-pr-46209-2 → 4.5.0-pr-46218-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 +4 -3
- package/lib/tsserver.js +4 -3
- package/lib/tsserverlibrary.js +4 -3
- package/lib/typescript.js +4 -3
- package/lib/typescriptServices.js +4 -3
- package/lib/typingsInstaller.js +4 -3
- package/package.json +1 -1
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.5";
|
|
72
|
-
ts.version = ts.versionMajorMinor + ".0-insiders.
|
|
72
|
+
ts.version = ts.versionMajorMinor + ".0-insiders.20211005";
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
function tryGetNativeMap() {
|
|
@@ -51107,7 +51107,8 @@ var ts;
|
|
|
51107
51107
|
return mapTypeWithAlias(getReducedType(mappedTypeVariable), function (t) {
|
|
51108
51108
|
if (t.flags & (3 | 58982400 | 524288 | 2097152) && t !== wildcardType && !isErrorType(t)) {
|
|
51109
51109
|
if (!type.declaration.nameType) {
|
|
51110
|
-
|
|
51110
|
+
var constraint = void 0;
|
|
51111
|
+
if (isArrayType(t) || (t.flags & 1) && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, ts.or(isArrayType, isTupleType))) {
|
|
51111
51112
|
return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
|
|
51112
51113
|
}
|
|
51113
51114
|
if (isGenericTupleType(t)) {
|
|
@@ -100196,7 +100197,7 @@ var ts;
|
|
|
100196
100197
|
program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
|
|
100197
100198
|
state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
|
|
100198
100199
|
var path = _a[0], data = _a[1];
|
|
100199
|
-
return [state.host.realpath
|
|
100200
|
+
return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
|
|
100200
100201
|
}));
|
|
100201
100202
|
if (state.watch) {
|
|
100202
100203
|
state.builderPrograms.set(projectPath, program);
|
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 = ts.versionMajorMinor + ".0-insiders.
|
|
103
|
+
ts.version = ts.versionMajorMinor + ".0-insiders.20211005";
|
|
104
104
|
/* @internal */
|
|
105
105
|
var Comparison;
|
|
106
106
|
(function (Comparison) {
|
|
@@ -61452,7 +61452,8 @@ var ts;
|
|
|
61452
61452
|
return mapTypeWithAlias(getReducedType(mappedTypeVariable), function (t) {
|
|
61453
61453
|
if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
|
|
61454
61454
|
if (!type.declaration.nameType) {
|
|
61455
|
-
|
|
61455
|
+
var constraint = void 0;
|
|
61456
|
+
if (isArrayType(t) || (t.flags & 1 /* Any */) && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, ts.or(isArrayType, isTupleType))) {
|
|
61456
61457
|
return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
|
|
61457
61458
|
}
|
|
61458
61459
|
if (isGenericTupleType(t)) {
|
|
@@ -121096,7 +121097,7 @@ var ts;
|
|
|
121096
121097
|
program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
|
|
121097
121098
|
state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
|
|
121098
121099
|
var path = _a[0], data = _a[1];
|
|
121099
|
-
return [state.host.realpath
|
|
121100
|
+
return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
|
|
121100
121101
|
}));
|
|
121101
121102
|
if (state.watch) {
|
|
121102
121103
|
state.builderPrograms.set(projectPath, program);
|
package/lib/tsserverlibrary.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 = ts.versionMajorMinor + ".0-insiders.
|
|
297
|
+
ts.version = ts.versionMajorMinor + ".0-insiders.20211005";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -61646,7 +61646,8 @@ var ts;
|
|
|
61646
61646
|
return mapTypeWithAlias(getReducedType(mappedTypeVariable), function (t) {
|
|
61647
61647
|
if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
|
|
61648
61648
|
if (!type.declaration.nameType) {
|
|
61649
|
-
|
|
61649
|
+
var constraint = void 0;
|
|
61650
|
+
if (isArrayType(t) || (t.flags & 1 /* Any */) && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, ts.or(isArrayType, isTupleType))) {
|
|
61650
61651
|
return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
|
|
61651
61652
|
}
|
|
61652
61653
|
if (isGenericTupleType(t)) {
|
|
@@ -121290,7 +121291,7 @@ var ts;
|
|
|
121290
121291
|
program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
|
|
121291
121292
|
state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
|
|
121292
121293
|
var path = _a[0], data = _a[1];
|
|
121293
|
-
return [state.host.realpath
|
|
121294
|
+
return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
|
|
121294
121295
|
}));
|
|
121295
121296
|
if (state.watch) {
|
|
121296
121297
|
state.builderPrograms.set(projectPath, program);
|
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 = ts.versionMajorMinor + ".0-insiders.
|
|
297
|
+
ts.version = ts.versionMajorMinor + ".0-insiders.20211005";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -61646,7 +61646,8 @@ var ts;
|
|
|
61646
61646
|
return mapTypeWithAlias(getReducedType(mappedTypeVariable), function (t) {
|
|
61647
61647
|
if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
|
|
61648
61648
|
if (!type.declaration.nameType) {
|
|
61649
|
-
|
|
61649
|
+
var constraint = void 0;
|
|
61650
|
+
if (isArrayType(t) || (t.flags & 1 /* Any */) && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, ts.or(isArrayType, isTupleType))) {
|
|
61650
61651
|
return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
|
|
61651
61652
|
}
|
|
61652
61653
|
if (isGenericTupleType(t)) {
|
|
@@ -121290,7 +121291,7 @@ var ts;
|
|
|
121290
121291
|
program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
|
|
121291
121292
|
state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
|
|
121292
121293
|
var path = _a[0], data = _a[1];
|
|
121293
|
-
return [state.host.realpath
|
|
121294
|
+
return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
|
|
121294
121295
|
}));
|
|
121295
121296
|
if (state.watch) {
|
|
121296
121297
|
state.builderPrograms.set(projectPath, program);
|
|
@@ -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 = ts.versionMajorMinor + ".0-insiders.
|
|
297
|
+
ts.version = ts.versionMajorMinor + ".0-insiders.20211005";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -61646,7 +61646,8 @@ var ts;
|
|
|
61646
61646
|
return mapTypeWithAlias(getReducedType(mappedTypeVariable), function (t) {
|
|
61647
61647
|
if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
|
|
61648
61648
|
if (!type.declaration.nameType) {
|
|
61649
|
-
|
|
61649
|
+
var constraint = void 0;
|
|
61650
|
+
if (isArrayType(t) || (t.flags & 1 /* Any */) && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, ts.or(isArrayType, isTupleType))) {
|
|
61650
61651
|
return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
|
|
61651
61652
|
}
|
|
61652
61653
|
if (isGenericTupleType(t)) {
|
|
@@ -121290,7 +121291,7 @@ var ts;
|
|
|
121290
121291
|
program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
|
|
121291
121292
|
state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
|
|
121292
121293
|
var path = _a[0], data = _a[1];
|
|
121293
|
-
return [state.host.realpath
|
|
121294
|
+
return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
|
|
121294
121295
|
}));
|
|
121295
121296
|
if (state.watch) {
|
|
121296
121297
|
state.builderPrograms.set(projectPath, program);
|
package/lib/typingsInstaller.js
CHANGED
|
@@ -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 = ts.versionMajorMinor + ".0-insiders.
|
|
92
|
+
ts.version = ts.versionMajorMinor + ".0-insiders.20211005";
|
|
93
93
|
/* @internal */
|
|
94
94
|
var Comparison;
|
|
95
95
|
(function (Comparison) {
|
|
@@ -61441,7 +61441,8 @@ var ts;
|
|
|
61441
61441
|
return mapTypeWithAlias(getReducedType(mappedTypeVariable), function (t) {
|
|
61442
61442
|
if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {
|
|
61443
61443
|
if (!type.declaration.nameType) {
|
|
61444
|
-
|
|
61444
|
+
var constraint = void 0;
|
|
61445
|
+
if (isArrayType(t) || (t.flags & 1 /* Any */) && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, ts.or(isArrayType, isTupleType))) {
|
|
61445
61446
|
return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));
|
|
61446
61447
|
}
|
|
61447
61448
|
if (isGenericTupleType(t)) {
|
|
@@ -121085,7 +121086,7 @@ var ts;
|
|
|
121085
121086
|
program = host.createProgram(config.fileNames, config.options, compilerHost, getOldProgram(state, projectPath, config), ts.getConfigFileParsingDiagnostics(config), config.projectReferences);
|
|
121086
121087
|
state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && ts.map(state.moduleResolutionCache.getPackageJsonInfoCache().entries(), function (_a) {
|
|
121087
121088
|
var path = _a[0], data = _a[1];
|
|
121088
|
-
return [state.host.realpath
|
|
121089
|
+
return [state.host.realpath ? toPath(state, state.host.realpath(path)) : path, data];
|
|
121089
121090
|
}));
|
|
121090
121091
|
if (state.watch) {
|
|
121091
121092
|
state.builderPrograms.set(projectPath, program);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typescript-deploys/pr-build",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "4.5.0-pr-
|
|
5
|
+
"version": "4.5.0-pr-46218-4",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|