Update checked-in dependencies
This commit is contained in:
parent
fc090c44d2
commit
d8b8ad0cb2
151 changed files with 4948 additions and 2797 deletions
16
node_modules/typescript/lib/tsc.js
generated
vendored
16
node_modules/typescript/lib/tsc.js
generated
vendored
|
|
@ -18,7 +18,7 @@ and limitations under the License.
|
|||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.4";
|
||||
var version = "5.4.4";
|
||||
var version = "5.4.5";
|
||||
|
||||
// src/compiler/core.ts
|
||||
var emptyArray = [];
|
||||
|
|
@ -55344,12 +55344,10 @@ function createTypeChecker(host) {
|
|||
const target = type.target ?? type;
|
||||
const typeVariable = getHomomorphicTypeVariable(target);
|
||||
if (typeVariable && !target.declaration.nameType) {
|
||||
const constraint = getConstraintTypeFromMappedType(type);
|
||||
if (constraint.flags & 4194304 /* Index */) {
|
||||
const baseConstraint = getBaseConstraintOfType(constraint.type);
|
||||
if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
|
||||
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
|
||||
}
|
||||
const modifiersType = getModifiersTypeFromMappedType(type);
|
||||
const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType);
|
||||
if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
|
||||
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
|
||||
}
|
||||
}
|
||||
return type;
|
||||
|
|
@ -55510,13 +55508,13 @@ function createTypeChecker(host) {
|
|||
}
|
||||
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
||||
var _a, _b, _c;
|
||||
let property = ((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
|
||||
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
||||
if (!property) {
|
||||
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
||||
if (property) {
|
||||
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties.set(name, property);
|
||||
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties2.set(name, property);
|
||||
}
|
||||
|
|
|
|||
19
node_modules/typescript/lib/tsserver.js
generated
vendored
19
node_modules/typescript/lib/tsserver.js
generated
vendored
|
|
@ -2340,7 +2340,7 @@ module.exports = __toCommonJS(server_exports);
|
|||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.4";
|
||||
var version = "5.4.4";
|
||||
var version = "5.4.5";
|
||||
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
||||
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
||||
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
||||
|
|
@ -60088,12 +60088,10 @@ function createTypeChecker(host) {
|
|||
const target = type.target ?? type;
|
||||
const typeVariable = getHomomorphicTypeVariable(target);
|
||||
if (typeVariable && !target.declaration.nameType) {
|
||||
const constraint = getConstraintTypeFromMappedType(type);
|
||||
if (constraint.flags & 4194304 /* Index */) {
|
||||
const baseConstraint = getBaseConstraintOfType(constraint.type);
|
||||
if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
|
||||
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
|
||||
}
|
||||
const modifiersType = getModifiersTypeFromMappedType(type);
|
||||
const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType);
|
||||
if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
|
||||
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
|
||||
}
|
||||
}
|
||||
return type;
|
||||
|
|
@ -60254,13 +60252,13 @@ function createTypeChecker(host) {
|
|||
}
|
||||
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
||||
var _a, _b, _c;
|
||||
let property = ((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
|
||||
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
||||
if (!property) {
|
||||
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
||||
if (property) {
|
||||
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties.set(name, property);
|
||||
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties2.set(name, property);
|
||||
}
|
||||
|
|
@ -160459,7 +160457,8 @@ function getCompletionEntriesFromSymbols(symbols, entries, replacementToken, con
|
|||
}
|
||||
function symbolAppearsToBeTypeOnly(symbol) {
|
||||
var _a;
|
||||
return !(symbol.flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(symbol.flags & 788968 /* Type */));
|
||||
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
|
||||
return !(flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968 /* Type */));
|
||||
}
|
||||
}
|
||||
function getLabelCompletionAtPosition(node) {
|
||||
|
|
|
|||
19
node_modules/typescript/lib/typescript.js
generated
vendored
19
node_modules/typescript/lib/typescript.js
generated
vendored
|
|
@ -35,7 +35,7 @@ var ts = (() => {
|
|||
"src/compiler/corePublic.ts"() {
|
||||
"use strict";
|
||||
versionMajorMinor = "5.4";
|
||||
version = "5.4.4";
|
||||
version = "5.4.5";
|
||||
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
||||
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
||||
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
||||
|
|
@ -57843,12 +57843,10 @@ ${lanes.join("\n")}
|
|||
const target = type.target ?? type;
|
||||
const typeVariable = getHomomorphicTypeVariable(target);
|
||||
if (typeVariable && !target.declaration.nameType) {
|
||||
const constraint = getConstraintTypeFromMappedType(type);
|
||||
if (constraint.flags & 4194304 /* Index */) {
|
||||
const baseConstraint = getBaseConstraintOfType(constraint.type);
|
||||
if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
|
||||
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
|
||||
}
|
||||
const modifiersType = getModifiersTypeFromMappedType(type);
|
||||
const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType);
|
||||
if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
|
||||
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
|
||||
}
|
||||
}
|
||||
return type;
|
||||
|
|
@ -58009,13 +58007,13 @@ ${lanes.join("\n")}
|
|||
}
|
||||
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
||||
var _a, _b, _c;
|
||||
let property = ((_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;
|
||||
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
||||
if (!property) {
|
||||
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
||||
if (property) {
|
||||
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties.set(name, property);
|
||||
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48 /* Partial */) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
||||
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
||||
properties2.set(name, property);
|
||||
}
|
||||
|
|
@ -159682,7 +159680,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|||
}
|
||||
function symbolAppearsToBeTypeOnly(symbol) {
|
||||
var _a;
|
||||
return !(symbol.flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(symbol.flags & 788968 /* Type */));
|
||||
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
|
||||
return !(flags & 111551 /* Value */) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968 /* Type */));
|
||||
}
|
||||
}
|
||||
function getLabelCompletionAtPosition(node) {
|
||||
|
|
|
|||
2
node_modules/typescript/lib/typingsInstaller.js
generated
vendored
2
node_modules/typescript/lib/typingsInstaller.js
generated
vendored
|
|
@ -54,7 +54,7 @@ var path = __toESM(require("path"));
|
|||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.4";
|
||||
var version = "5.4.4";
|
||||
var version = "5.4.5";
|
||||
|
||||
// src/compiler/core.ts
|
||||
var emptyArray = [];
|
||||
|
|
|
|||
2
node_modules/typescript/package.json
generated
vendored
2
node_modules/typescript/package.json
generated
vendored
|
|
@ -2,7 +2,7 @@
|
|||
"name": "typescript",
|
||||
"author": "Microsoft Corp.",
|
||||
"homepage": "https://www.typescriptlang.org/",
|
||||
"version": "5.4.4",
|
||||
"version": "5.4.5",
|
||||
"license": "Apache-2.0",
|
||||
"description": "TypeScript is a language for application scale JavaScript development",
|
||||
"keywords": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue