chore(deps): update dependency typescript to v5.6.2 (#16669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
1 parent
07b468917e
commit
c0f98f59f8
10 files changed
+25
-133
No files matched your search
+1
-1
@@ -97,7 +97,7 @@
|
|||||||
"smol-toml": "1.3.0",
|
"smol-toml": "1.3.0",
|
||||||
"strip-ansi": "7.1.0",
|
"strip-ansi": "7.1.0",
|
||||||
"to-fast-properties": "4.0.0",
|
"to-fast-properties": "4.0.0",
|
||||||
"typescript": "5.5.4",
|
"typescript": "5.6.2",
|
||||||
"unicode-regex": "4.0.0",
|
"unicode-regex": "4.0.0",
|
||||||
"unified": "9.2.2",
|
"unified": "9.2.2",
|
||||||
"url-or-path": "2.3.0",
|
"url-or-path": "2.3.0",
|
||||||
|
|||||||
@@ -272,12 +272,6 @@ function modifyTypescriptModule(text) {
|
|||||||
source.replaceModule("src/compiler/sys.ts", "var sys;");
|
source.replaceModule("src/compiler/sys.ts", "var sys;");
|
||||||
source.replaceModule("src/compiler/tracing.ts", "var tracing;");
|
source.replaceModule("src/compiler/tracing.ts", "var tracing;");
|
||||||
|
|
||||||
// perfLogger
|
|
||||||
source.replaceModule(
|
|
||||||
"src/compiler/perfLogger.ts",
|
|
||||||
"var perfLogger = new Proxy(() => {}, {get: () => perfLogger});",
|
|
||||||
);
|
|
||||||
|
|
||||||
// performance
|
// performance
|
||||||
source.replaceModule(
|
source.replaceModule(
|
||||||
"src/compiler/performanceCore.ts",
|
"src/compiler/performanceCore.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ export default new Set([
|
|||||||
"GoToDefinition",
|
"GoToDefinition",
|
||||||
"HighlightSpanKind",
|
"HighlightSpanKind",
|
||||||
"IdentifierNameMap",
|
"IdentifierNameMap",
|
||||||
"IdentifierNameMultiMap",
|
|
||||||
"ImportKind",
|
"ImportKind",
|
||||||
"IndentStyle",
|
"IndentStyle",
|
||||||
"InlayHintKind",
|
"InlayHintKind",
|
||||||
@@ -72,7 +71,6 @@ export default new Set([
|
|||||||
"WatchLogLevel",
|
"WatchLogLevel",
|
||||||
"WatchType",
|
"WatchType",
|
||||||
"accessPrivateIdentifier",
|
"accessPrivateIdentifier",
|
||||||
"addDisposableResourceHelper",
|
|
||||||
"addEmitFlags",
|
"addEmitFlags",
|
||||||
"addEmitHelper",
|
"addEmitHelper",
|
||||||
"addEmitHelpers",
|
"addEmitHelpers",
|
||||||
@@ -83,13 +81,7 @@ export default new Set([
|
|||||||
"affectsDeclarationPathOptionDeclarations",
|
"affectsDeclarationPathOptionDeclarations",
|
||||||
"affectsEmitOptionDeclarations",
|
"affectsEmitOptionDeclarations",
|
||||||
"allKeysStartWithDot",
|
"allKeysStartWithDot",
|
||||||
"assignHelper",
|
|
||||||
"asyncDelegator",
|
|
||||||
"asyncGeneratorHelper",
|
|
||||||
"asyncSuperHelper",
|
"asyncSuperHelper",
|
||||||
"asyncValues",
|
|
||||||
"awaitHelper",
|
|
||||||
"awaiterHelper",
|
|
||||||
"bindSourceFile",
|
"bindSourceFile",
|
||||||
"breakIntoCharacterSpans",
|
"breakIntoCharacterSpans",
|
||||||
"breakIntoWordSpans",
|
"breakIntoWordSpans",
|
||||||
@@ -98,6 +90,7 @@ export default new Set([
|
|||||||
"buildOverload",
|
"buildOverload",
|
||||||
"bundlerModuleNameResolver",
|
"bundlerModuleNameResolver",
|
||||||
"canBeConvertedToAsync",
|
"canBeConvertedToAsync",
|
||||||
|
"canEmitTsBuildInfo",
|
||||||
"canJsonReportNoInputFiles",
|
"canJsonReportNoInputFiles",
|
||||||
"canProduceDiagnostics",
|
"canProduceDiagnostics",
|
||||||
"canWatchAffectingLocation",
|
"canWatchAffectingLocation",
|
||||||
@@ -108,15 +101,11 @@ export default new Set([
|
|||||||
"classHasClassThisAssignment",
|
"classHasClassThisAssignment",
|
||||||
"classHasDeclaredOrExplicitlyAssignedName",
|
"classHasDeclaredOrExplicitlyAssignedName",
|
||||||
"classHasExplicitlyAssignedName",
|
"classHasExplicitlyAssignedName",
|
||||||
"classPrivateFieldGetHelper",
|
|
||||||
"classPrivateFieldInHelper",
|
|
||||||
"classPrivateFieldSetHelper",
|
|
||||||
"classicNameResolver",
|
"classicNameResolver",
|
||||||
"classifier",
|
"classifier",
|
||||||
"cleanExtendedConfigCache",
|
"cleanExtendedConfigCache",
|
||||||
"clearSharedExtendedConfigFileWatcher",
|
"clearSharedExtendedConfigFileWatcher",
|
||||||
"climbPastPropertyAccess",
|
"climbPastPropertyAccess",
|
||||||
"climbPastPropertyOrElementAccess",
|
|
||||||
"cloneCompilerOptions",
|
"cloneCompilerOptions",
|
||||||
"closeFileWatcherOf",
|
"closeFileWatcherOf",
|
||||||
"codefix",
|
"codefix",
|
||||||
@@ -125,15 +114,11 @@ export default new Set([
|
|||||||
"commonOptionsWithBuild",
|
"commonOptionsWithBuild",
|
||||||
"compareEmitHelpers",
|
"compareEmitHelpers",
|
||||||
"comparePatternKeys",
|
"comparePatternKeys",
|
||||||
"compileOnSaveCommandLineOption",
|
|
||||||
"compilerOptionsDidYouMeanDiagnostics",
|
"compilerOptionsDidYouMeanDiagnostics",
|
||||||
"compilerOptionsIndicateEsModules",
|
"compilerOptionsIndicateEsModules",
|
||||||
"computeCommonSourceDirectoryOfFilenames",
|
"computeCommonSourceDirectoryOfFilenames",
|
||||||
"computeSignature",
|
|
||||||
"computeSignatureWithDiagnostics",
|
"computeSignatureWithDiagnostics",
|
||||||
"computeSuggestionDiagnostics",
|
"computeSuggestionDiagnostics",
|
||||||
"configDirTemplateSubstitutionOptions",
|
|
||||||
"configDirTemplateSubstitutionWatchOptions",
|
|
||||||
"consumesNodeCoreModules",
|
"consumesNodeCoreModules",
|
||||||
"convertCompilerOptionsForTelemetry",
|
"convertCompilerOptionsForTelemetry",
|
||||||
"convertCompilerOptionsFromJson",
|
"convertCompilerOptionsFromJson",
|
||||||
@@ -148,16 +133,11 @@ export default new Set([
|
|||||||
"copyTrailingAsLeadingComments",
|
"copyTrailingAsLeadingComments",
|
||||||
"copyTrailingComments",
|
"copyTrailingComments",
|
||||||
"createAbstractBuilder",
|
"createAbstractBuilder",
|
||||||
"createBindingHelper",
|
|
||||||
"createBuildInfo",
|
|
||||||
"createBuilderProgram",
|
"createBuilderProgram",
|
||||||
"createBuilderProgramUsingProgramBuildInfo",
|
"createBuilderProgramUsingIncrementalBuildInfo",
|
||||||
"createBuilderStatusReporter",
|
"createBuilderStatusReporter",
|
||||||
"createCacheWithRedirects",
|
|
||||||
"createCacheableExportInfoMap",
|
"createCacheableExportInfoMap",
|
||||||
"createCachedDirectoryStructureHost",
|
"createCachedDirectoryStructureHost",
|
||||||
"createClassNamedEvaluationHelperBlock",
|
|
||||||
"createClassThisAssignmentBlock",
|
|
||||||
"createClassifier",
|
"createClassifier",
|
||||||
"createCompilerDiagnosticForInvalidCustomType",
|
"createCompilerDiagnosticForInvalidCustomType",
|
||||||
"createCompilerHost",
|
"createCompilerHost",
|
||||||
@@ -229,13 +209,10 @@ export default new Set([
|
|||||||
"createWatchStatusReporter",
|
"createWatchStatusReporter",
|
||||||
"createWriteFileMeasuringIO",
|
"createWriteFileMeasuringIO",
|
||||||
"decodeMappings",
|
"decodeMappings",
|
||||||
"decorateHelper",
|
|
||||||
"defaultIncludeSpec",
|
|
||||||
"defaultInitCompilerOptions",
|
"defaultInitCompilerOptions",
|
||||||
"diagnosticToString",
|
"diagnosticToString",
|
||||||
"displayPart",
|
"displayPart",
|
||||||
"disposeEmitNodes",
|
"disposeEmitNodes",
|
||||||
"disposeResourcesHelper",
|
|
||||||
"documentSpansEqual",
|
"documentSpansEqual",
|
||||||
"dumpTracingLegend",
|
"dumpTracingLegend",
|
||||||
"emitFiles",
|
"emitFiles",
|
||||||
@@ -244,12 +221,10 @@ export default new Set([
|
|||||||
"emitResolverSkipsTypeChecking",
|
"emitResolverSkipsTypeChecking",
|
||||||
"emitSkippedWithNoDiagnostics",
|
"emitSkippedWithNoDiagnostics",
|
||||||
"emptyOptions",
|
"emptyOptions",
|
||||||
"esDecorateHelper",
|
|
||||||
"executeCommandLine",
|
"executeCommandLine",
|
||||||
"explainFiles",
|
"explainFiles",
|
||||||
"explainIfFileIsRedirectAndImpliedFormat",
|
"explainIfFileIsRedirectAndImpliedFormat",
|
||||||
"exportStarHelper",
|
"fileContainsPackageImport",
|
||||||
"extendsHelper",
|
|
||||||
"fileIncludeReasonToDiagnostics",
|
"fileIncludeReasonToDiagnostics",
|
||||||
"fileShouldUseJavaScriptRequire",
|
"fileShouldUseJavaScriptRequire",
|
||||||
"filterSemanticDiagnostics",
|
"filterSemanticDiagnostics",
|
||||||
@@ -285,13 +260,11 @@ export default new Set([
|
|||||||
"formatting",
|
"formatting",
|
||||||
"generateDjb2Hash",
|
"generateDjb2Hash",
|
||||||
"generateTSConfig",
|
"generateTSConfig",
|
||||||
"generatorHelper",
|
|
||||||
"getAdjustedReferenceLocation",
|
"getAdjustedReferenceLocation",
|
||||||
"getAdjustedRenameLocation",
|
"getAdjustedRenameLocation",
|
||||||
"getAllDecoratorsOfClass",
|
"getAllDecoratorsOfClass",
|
||||||
"getAllDecoratorsOfClassElement",
|
"getAllDecoratorsOfClassElement",
|
||||||
"getAllProjectOutputs",
|
"getAllProjectOutputs",
|
||||||
"getAssignedNameOfIdentifier",
|
|
||||||
"getAutomaticTypeDirectiveNames",
|
"getAutomaticTypeDirectiveNames",
|
||||||
"getBuildInfo",
|
"getBuildInfo",
|
||||||
"getBuildInfoFileVersionMap",
|
"getBuildInfoFileVersionMap",
|
||||||
@@ -310,11 +283,11 @@ export default new Set([
|
|||||||
"getContainerNode",
|
"getContainerNode",
|
||||||
"getContextualTypeFromParent",
|
"getContextualTypeFromParent",
|
||||||
"getContextualTypeFromParentOrAncestorTypeNode",
|
"getContextualTypeFromParentOrAncestorTypeNode",
|
||||||
"getCurrentTime",
|
|
||||||
"getDeclarationDiagnostics",
|
"getDeclarationDiagnostics",
|
||||||
"getDefaultFormatCodeSettings",
|
"getDefaultFormatCodeSettings",
|
||||||
"getDefaultLikeExportInfo",
|
"getDefaultLikeExportInfo",
|
||||||
"getDefaultLikeExportNameFromDeclaration",
|
"getDefaultLikeExportNameFromDeclaration",
|
||||||
|
"getDefaultResolutionModeForFileWorker",
|
||||||
"getDiagnosticText",
|
"getDiagnosticText",
|
||||||
"getDiagnosticsWithinSpan",
|
"getDiagnosticsWithinSpan",
|
||||||
"getDirectoryToWatchFailedLookupLocation",
|
"getDirectoryToWatchFailedLookupLocation",
|
||||||
@@ -324,6 +297,7 @@ export default new Set([
|
|||||||
"getEditsForFileRename",
|
"getEditsForFileRename",
|
||||||
"getEffectiveTypeRoots",
|
"getEffectiveTypeRoots",
|
||||||
"getEmitHelpers",
|
"getEmitHelpers",
|
||||||
|
"getEmitModuleFormatOfFileWorker",
|
||||||
"getEncodedSemanticClassifications",
|
"getEncodedSemanticClassifications",
|
||||||
"getEncodedSyntacticClassifications",
|
"getEncodedSyntacticClassifications",
|
||||||
"getEntrypointsFromPackageJsonInfo",
|
"getEntrypointsFromPackageJsonInfo",
|
||||||
@@ -343,11 +317,13 @@ export default new Set([
|
|||||||
"getIdentifierAutoGenerate",
|
"getIdentifierAutoGenerate",
|
||||||
"getIdentifierGeneratedImportReference",
|
"getIdentifierGeneratedImportReference",
|
||||||
"getIdentifierTypeArguments",
|
"getIdentifierTypeArguments",
|
||||||
|
"getImpliedNodeFormatForEmitWorker",
|
||||||
"getImpliedNodeFormatForFile",
|
"getImpliedNodeFormatForFile",
|
||||||
"getImpliedNodeFormatForFileWorker",
|
"getImpliedNodeFormatForFileWorker",
|
||||||
"getImportNeedsImportDefaultHelper",
|
"getImportNeedsImportDefaultHelper",
|
||||||
"getImportNeedsImportStarHelper",
|
"getImportNeedsImportStarHelper",
|
||||||
"getInferredLibraryNameResolveFrom",
|
"getInferredLibraryNameResolveFrom",
|
||||||
|
"getIsFileExcluded",
|
||||||
"getKeyForCompilerOptions",
|
"getKeyForCompilerOptions",
|
||||||
"getLibraryNameFromLibFileName",
|
"getLibraryNameFromLibFileName",
|
||||||
"getLineInfo",
|
"getLineInfo",
|
||||||
@@ -370,13 +346,13 @@ export default new Set([
|
|||||||
"getNameForExportedSymbol",
|
"getNameForExportedSymbol",
|
||||||
"getNameFromPropertyName",
|
"getNameFromPropertyName",
|
||||||
"getNameOfCompilerOptionValue",
|
"getNameOfCompilerOptionValue",
|
||||||
"getNamesForExportedSymbol",
|
|
||||||
"getNewLineKind",
|
"getNewLineKind",
|
||||||
"getNewLineOrDefaultFromHost",
|
"getNewLineOrDefaultFromHost",
|
||||||
"getNodeId",
|
"getNodeId",
|
||||||
"getNodeKind",
|
"getNodeKind",
|
||||||
"getNodeModifiers",
|
"getNodeModifiers",
|
||||||
"getNonAssignmentOperatorForCompoundAssignment",
|
"getNonAssignmentOperatorForCompoundAssignment",
|
||||||
|
"getNonIncrementalBuildInfoRoots",
|
||||||
"getOptionFromName",
|
"getOptionFromName",
|
||||||
"getOptionsForLibraryResolution",
|
"getOptionsForLibraryResolution",
|
||||||
"getOptionsNameMap",
|
"getOptionsNameMap",
|
||||||
@@ -388,16 +364,13 @@ export default new Set([
|
|||||||
"getOutputFileNames",
|
"getOutputFileNames",
|
||||||
"getOutputJSFileNameWorker",
|
"getOutputJSFileNameWorker",
|
||||||
"getOutputPathsFor",
|
"getOutputPathsFor",
|
||||||
"getOutputPathsForBundle",
|
|
||||||
"getPackageJsonInfo",
|
|
||||||
"getPackageJsonTypesVersionsPaths",
|
"getPackageJsonTypesVersionsPaths",
|
||||||
"getPackageJsonsVisibleToFile",
|
|
||||||
"getPackageNameFromTypesPackageName",
|
"getPackageNameFromTypesPackageName",
|
||||||
"getPackageScopeForPath",
|
"getPackageScopeForPath",
|
||||||
"getParentNodeInSpan",
|
"getParentNodeInSpan",
|
||||||
"getParsedCommandLineOfConfigFile",
|
"getParsedCommandLineOfConfigFile",
|
||||||
"getPathUpdater",
|
"getPathUpdater",
|
||||||
"getPendingEmitKind",
|
"getPendingEmitKindWithSeen",
|
||||||
"getPossibleGenericSignatures",
|
"getPossibleGenericSignatures",
|
||||||
"getPossibleTypeArgumentsInfo",
|
"getPossibleTypeArgumentsInfo",
|
||||||
"getPreEmitDiagnostics",
|
"getPreEmitDiagnostics",
|
||||||
@@ -414,7 +387,6 @@ export default new Set([
|
|||||||
"getResolutionDiagnostic",
|
"getResolutionDiagnostic",
|
||||||
"getResolutionModeOverride",
|
"getResolutionModeOverride",
|
||||||
"getRootDirectoryOfResolutionCache",
|
"getRootDirectoryOfResolutionCache",
|
||||||
"getRootPathSplitLength",
|
|
||||||
"getScriptKind",
|
"getScriptKind",
|
||||||
"getSemanticClassifications",
|
"getSemanticClassifications",
|
||||||
"getSnapshotText",
|
"getSnapshotText",
|
||||||
@@ -427,7 +399,6 @@ export default new Set([
|
|||||||
"getSuperCallFromStatement",
|
"getSuperCallFromStatement",
|
||||||
"getSwitchedType",
|
"getSwitchedType",
|
||||||
"getSymbolId",
|
"getSymbolId",
|
||||||
"getSymbolParentOrFail",
|
|
||||||
"getSymbolTarget",
|
"getSymbolTarget",
|
||||||
"getSyntacticClassifications",
|
"getSyntacticClassifications",
|
||||||
"getSynthesizedDeepClone",
|
"getSynthesizedDeepClone",
|
||||||
@@ -455,16 +426,12 @@ export default new Set([
|
|||||||
"getWatchFactory",
|
"getWatchFactory",
|
||||||
"handleNoEmitOptions",
|
"handleNoEmitOptions",
|
||||||
"handleWatchOptionsConfigDirTemplateSubstitution",
|
"handleWatchOptionsConfigDirTemplateSubstitution",
|
||||||
"hasChildOfKind",
|
|
||||||
"hasDocComment",
|
"hasDocComment",
|
||||||
"hasIndexSignature",
|
"hasIndexSignature",
|
||||||
"hasPropertyAccessExpressionWithName",
|
"hasPropertyAccessExpressionWithName",
|
||||||
"helperString",
|
|
||||||
"identitySourceMapConsumer",
|
"identitySourceMapConsumer",
|
||||||
"ignoreSourceNewlines",
|
"ignoreSourceNewlines",
|
||||||
"ignoredPaths",
|
"ignoredPaths",
|
||||||
"importDefaultHelper",
|
|
||||||
"importStarHelper",
|
|
||||||
"inferredTypesContainingFile",
|
"inferredTypesContainingFile",
|
||||||
"injectClassNamedEvaluationHelperBlockIfMissing",
|
"injectClassNamedEvaluationHelperBlockIfMissing",
|
||||||
"injectClassThisAssignmentIfMissing",
|
"injectClassThisAssignmentIfMissing",
|
||||||
@@ -488,7 +455,6 @@ export default new Set([
|
|||||||
"isCompoundAssignment",
|
"isCompoundAssignment",
|
||||||
"isDecoratorTarget",
|
"isDecoratorTarget",
|
||||||
"isDeprecatedDeclaration",
|
"isDeprecatedDeclaration",
|
||||||
"isDiagnosticWithLocation",
|
|
||||||
"isDocumentRegistryEntry",
|
"isDocumentRegistryEntry",
|
||||||
"isEmittedFileOfProgram",
|
"isEmittedFileOfProgram",
|
||||||
"isEqualityOperatorKind",
|
"isEqualityOperatorKind",
|
||||||
@@ -499,7 +465,6 @@ export default new Set([
|
|||||||
"isExternalModuleSymbol",
|
"isExternalModuleSymbol",
|
||||||
"isFirstDeclarationOfSymbolParameter",
|
"isFirstDeclarationOfSymbolParameter",
|
||||||
"isFixablePromiseHandler",
|
"isFixablePromiseHandler",
|
||||||
"isGlobalDeclaration",
|
|
||||||
"isIgnoredFileFromWildCardWatching",
|
"isIgnoredFileFromWildCardWatching",
|
||||||
"isImportOrExportSpecifierName",
|
"isImportOrExportSpecifierName",
|
||||||
"isImportableFile",
|
"isImportableFile",
|
||||||
@@ -510,6 +475,8 @@ export default new Set([
|
|||||||
"isInRightSideOfInternalImportEqualsDeclaration",
|
"isInRightSideOfInternalImportEqualsDeclaration",
|
||||||
"isInString",
|
"isInString",
|
||||||
"isInTemplateString",
|
"isInTemplateString",
|
||||||
|
"isIncrementalBuildInfo",
|
||||||
|
"isIncrementalBundleEmitBuildInfo",
|
||||||
"isInitializedProperty",
|
"isInitializedProperty",
|
||||||
"isInsideJsxElement",
|
"isInsideJsxElement",
|
||||||
"isInsideJsxElementOrAttribute",
|
"isInsideJsxElementOrAttribute",
|
||||||
@@ -526,14 +493,11 @@ export default new Set([
|
|||||||
"isNameOfFunctionDeclaration",
|
"isNameOfFunctionDeclaration",
|
||||||
"isNameOfModuleDeclaration",
|
"isNameOfModuleDeclaration",
|
||||||
"isNewExpressionTarget",
|
"isNewExpressionTarget",
|
||||||
"isNonGlobalDeclaration",
|
|
||||||
"isNonStaticMethodOrAccessorWithPrivateName",
|
"isNonStaticMethodOrAccessorWithPrivateName",
|
||||||
"isObjectBindingElementWithoutPropertyName",
|
"isObjectBindingElementWithoutPropertyName",
|
||||||
"isPackageJsonInfo",
|
"isPackageJsonInfo",
|
||||||
"isPossiblyTypeArgumentPosition",
|
"isPossiblyTypeArgumentPosition",
|
||||||
"isProgramBundleEmitBuildInfo",
|
|
||||||
"isProgramUptoDate",
|
"isProgramUptoDate",
|
||||||
"isRawSourceMap",
|
|
||||||
"isReferenceFileLocation",
|
"isReferenceFileLocation",
|
||||||
"isReferencedFile",
|
"isReferencedFile",
|
||||||
"isReturnStatementWithFixablePromiseHandler",
|
"isReturnStatementWithFixablePromiseHandler",
|
||||||
@@ -541,7 +505,6 @@ export default new Set([
|
|||||||
"isRightSideOfQualifiedName",
|
"isRightSideOfQualifiedName",
|
||||||
"isSimpleCopiableExpression",
|
"isSimpleCopiableExpression",
|
||||||
"isSimpleInlineableExpression",
|
"isSimpleInlineableExpression",
|
||||||
"isSimpleParameter",
|
|
||||||
"isSimpleParameterList",
|
"isSimpleParameterList",
|
||||||
"isSourceFileFromLibrary",
|
"isSourceFileFromLibrary",
|
||||||
"isSourceMapping",
|
"isSourceMapping",
|
||||||
@@ -554,17 +517,12 @@ export default new Set([
|
|||||||
"isThis",
|
"isThis",
|
||||||
"isTraceEnabled",
|
"isTraceEnabled",
|
||||||
"isTypeKeyword",
|
"isTypeKeyword",
|
||||||
"isTypeKeywordToken",
|
|
||||||
"isTypeKeywordTokenOrIdentifier",
|
"isTypeKeywordTokenOrIdentifier",
|
||||||
"jsxModeNeedsExplicitImport",
|
"jsxModeNeedsExplicitImport",
|
||||||
"keywordPart",
|
"keywordPart",
|
||||||
"libMap",
|
"libMap",
|
||||||
"libs",
|
"libs",
|
||||||
"lineBreakPart",
|
"lineBreakPart",
|
||||||
"linkNamePart",
|
|
||||||
"linkPart",
|
|
||||||
"linkTextPart",
|
|
||||||
"listFiles",
|
|
||||||
"loadModuleFromGlobalCache",
|
"loadModuleFromGlobalCache",
|
||||||
"loadWithModeAwareCache",
|
"loadWithModeAwareCache",
|
||||||
"makeImport",
|
"makeImport",
|
||||||
@@ -573,7 +531,6 @@ export default new Set([
|
|||||||
"mapOneOrMany",
|
"mapOneOrMany",
|
||||||
"mapToDisplayParts",
|
"mapToDisplayParts",
|
||||||
"matchesExclude",
|
"matchesExclude",
|
||||||
"metadataHelper",
|
|
||||||
"missingFileModifiedTime",
|
"missingFileModifiedTime",
|
||||||
"moduleOptionDeclaration",
|
"moduleOptionDeclaration",
|
||||||
"moduleResolutionNameAndModeGetter",
|
"moduleResolutionNameAndModeGetter",
|
||||||
@@ -595,7 +552,6 @@ export default new Set([
|
|||||||
"nodeNextJsonConfigResolver",
|
"nodeNextJsonConfigResolver",
|
||||||
"nodeOverlapsWithStartEnd",
|
"nodeOverlapsWithStartEnd",
|
||||||
"nodeSeenTracker",
|
"nodeSeenTracker",
|
||||||
"nodeToDisplayParts",
|
|
||||||
"noopFileWatcher",
|
"noopFileWatcher",
|
||||||
"notImplementedResolver",
|
"notImplementedResolver",
|
||||||
"nullNodeConverters",
|
"nullNodeConverters",
|
||||||
@@ -606,7 +562,6 @@ export default new Set([
|
|||||||
"optionsAffectingProgramStructure",
|
"optionsAffectingProgramStructure",
|
||||||
"optionsForBuild",
|
"optionsForBuild",
|
||||||
"optionsForWatch",
|
"optionsForWatch",
|
||||||
"paramHelper",
|
|
||||||
"parameterNamePart",
|
"parameterNamePart",
|
||||||
"parseBuildCommand",
|
"parseBuildCommand",
|
||||||
"parseCommandLine",
|
"parseCommandLine",
|
||||||
@@ -625,7 +580,6 @@ export default new Set([
|
|||||||
"pathContainsNodeModules",
|
"pathContainsNodeModules",
|
||||||
"performIncrementalCompilation",
|
"performIncrementalCompilation",
|
||||||
"performance",
|
"performance",
|
||||||
"plainJSErrors",
|
|
||||||
"positionBelongsToNode",
|
"positionBelongsToNode",
|
||||||
"positionIsASICandidate",
|
"positionIsASICandidate",
|
||||||
"preProcessFile",
|
"preProcessFile",
|
||||||
@@ -633,7 +587,6 @@ export default new Set([
|
|||||||
"processTaggedTemplateExpression",
|
"processTaggedTemplateExpression",
|
||||||
"programContainsEsModules",
|
"programContainsEsModules",
|
||||||
"programContainsModules",
|
"programContainsModules",
|
||||||
"propKeyHelper",
|
|
||||||
"propertyNamePart",
|
"propertyNamePart",
|
||||||
"punctuationPart",
|
"punctuationPart",
|
||||||
"quote",
|
"quote",
|
||||||
@@ -646,13 +599,11 @@ export default new Set([
|
|||||||
"rangeOverlapsWithStartEnd",
|
"rangeOverlapsWithStartEnd",
|
||||||
"readBuilderProgram",
|
"readBuilderProgram",
|
||||||
"readConfigFile",
|
"readConfigFile",
|
||||||
"readHelper",
|
|
||||||
"readJsonConfigFile",
|
"readJsonConfigFile",
|
||||||
"refactor",
|
"refactor",
|
||||||
"removeAllComments",
|
"removeAllComments",
|
||||||
"removeEmitHelper",
|
"removeEmitHelper",
|
||||||
"removeIgnoredPath",
|
"removeIgnoredPath",
|
||||||
"removeOptionality",
|
|
||||||
"repeatString",
|
"repeatString",
|
||||||
"resolveConfigFileProjectName",
|
"resolveConfigFileProjectName",
|
||||||
"resolveJSModule",
|
"resolveJSModule",
|
||||||
@@ -663,12 +614,9 @@ export default new Set([
|
|||||||
"resolveProjectReferencePath",
|
"resolveProjectReferencePath",
|
||||||
"resolveTripleslashReference",
|
"resolveTripleslashReference",
|
||||||
"resolveTypeReferenceDirective",
|
"resolveTypeReferenceDirective",
|
||||||
"restHelper",
|
|
||||||
"returnNoopFileWatcher",
|
"returnNoopFileWatcher",
|
||||||
"returnsPromise",
|
"returnsPromise",
|
||||||
"runInitializersHelper",
|
|
||||||
"sameMapping",
|
"sameMapping",
|
||||||
"screenStartingMessageCodes",
|
|
||||||
"semanticDiagnosticsOptionDeclarations",
|
"semanticDiagnosticsOptionDeclarations",
|
||||||
"serializeCompilerOptions",
|
"serializeCompilerOptions",
|
||||||
"server",
|
"server",
|
||||||
@@ -676,13 +624,11 @@ export default new Set([
|
|||||||
"setConfigFileInOptions",
|
"setConfigFileInOptions",
|
||||||
"setConstantValue",
|
"setConstantValue",
|
||||||
"setEmitFlags",
|
"setEmitFlags",
|
||||||
"setFunctionNameHelper",
|
|
||||||
"setGetSourceFileAsHashVersioned",
|
"setGetSourceFileAsHashVersioned",
|
||||||
"setIdentifierAutoGenerate",
|
"setIdentifierAutoGenerate",
|
||||||
"setIdentifierGeneratedImportReference",
|
"setIdentifierGeneratedImportReference",
|
||||||
"setIdentifierTypeArguments",
|
"setIdentifierTypeArguments",
|
||||||
"setInternalEmitFlags",
|
"setInternalEmitFlags",
|
||||||
"setModuleDefaultHelper",
|
|
||||||
"setPrivateIdentifier",
|
"setPrivateIdentifier",
|
||||||
"setSnippetElement",
|
"setSnippetElement",
|
||||||
"setSourceMapRange",
|
"setSourceMapRange",
|
||||||
@@ -696,7 +642,6 @@ export default new Set([
|
|||||||
"setTypeNode",
|
"setTypeNode",
|
||||||
"shouldAllowImportingTsExtension",
|
"shouldAllowImportingTsExtension",
|
||||||
"shouldUseUriStyleNodeCoreModules",
|
"shouldUseUriStyleNodeCoreModules",
|
||||||
"signatureHasLiteralTypes",
|
|
||||||
"signatureHasRestParameter",
|
"signatureHasRestParameter",
|
||||||
"signatureToDisplayParts",
|
"signatureToDisplayParts",
|
||||||
"skipConstraint",
|
"skipConstraint",
|
||||||
@@ -704,7 +649,6 @@ export default new Set([
|
|||||||
"sourceMapCommentRegExp",
|
"sourceMapCommentRegExp",
|
||||||
"sourceMapCommentRegExpDontCareLineStart",
|
"sourceMapCommentRegExpDontCareLineStart",
|
||||||
"spacePart",
|
"spacePart",
|
||||||
"spreadArrayHelper",
|
|
||||||
"startEndContainsRange",
|
"startEndContainsRange",
|
||||||
"startEndOverlapsWithStartEnd",
|
"startEndOverlapsWithStartEnd",
|
||||||
"startTracing",
|
"startTracing",
|
||||||
@@ -715,13 +659,9 @@ export default new Set([
|
|||||||
"suppressTrailingTrivia",
|
"suppressTrailingTrivia",
|
||||||
"symbolEscapedNameNoDefault",
|
"symbolEscapedNameNoDefault",
|
||||||
"symbolNameNoDefault",
|
"symbolNameNoDefault",
|
||||||
"symbolPart",
|
|
||||||
"symbolToDisplayParts",
|
"symbolToDisplayParts",
|
||||||
"syntaxMayBeASICandidate",
|
|
||||||
"syntaxRequiresTrailingSemicolonOrASI",
|
|
||||||
"sysLog",
|
"sysLog",
|
||||||
"targetOptionDeclaration",
|
"targetOptionDeclaration",
|
||||||
"templateObjectHelper",
|
|
||||||
"testFormatSettings",
|
"testFormatSettings",
|
||||||
"textChanges",
|
"textChanges",
|
||||||
"textOrKeywordPart",
|
"textOrKeywordPart",
|
||||||
@@ -746,11 +686,11 @@ export default new Set([
|
|||||||
"transformESDecorators",
|
"transformESDecorators",
|
||||||
"transformESNext",
|
"transformESNext",
|
||||||
"transformGenerators",
|
"transformGenerators",
|
||||||
|
"transformImpliedNodeFormatDependentModule",
|
||||||
"transformJsx",
|
"transformJsx",
|
||||||
"transformLegacyDecorators",
|
"transformLegacyDecorators",
|
||||||
"transformModule",
|
"transformModule",
|
||||||
"transformNamedEvaluation",
|
"transformNamedEvaluation",
|
||||||
"transformNodeModule",
|
|
||||||
"transformNodes",
|
"transformNodes",
|
||||||
"transformSystemModule",
|
"transformSystemModule",
|
||||||
"transformTypeScript",
|
"transformTypeScript",
|
||||||
@@ -763,7 +703,6 @@ export default new Set([
|
|||||||
"tryFileExists",
|
"tryFileExists",
|
||||||
"tryGetDirectories",
|
"tryGetDirectories",
|
||||||
"tryGetSourceMappingURL",
|
"tryGetSourceMappingURL",
|
||||||
"tryIOAndConsumeErrors",
|
|
||||||
"tryParseRawSourceMap",
|
"tryParseRawSourceMap",
|
||||||
"tryReadDirectory",
|
"tryReadDirectory",
|
||||||
"tryReadFile",
|
"tryReadFile",
|
||||||
@@ -779,7 +718,6 @@ export default new Set([
|
|||||||
"updateResolutionField",
|
"updateResolutionField",
|
||||||
"updateSharedExtendedConfigFileWatcher",
|
"updateSharedExtendedConfigFileWatcher",
|
||||||
"updateWatchingWildcardDirectories",
|
"updateWatchingWildcardDirectories",
|
||||||
"valuesHelper",
|
|
||||||
"visitArray",
|
"visitArray",
|
||||||
"visitCommaListElements",
|
"visitCommaListElements",
|
||||||
"visitEachChild",
|
"visitEachChild",
|
||||||
@@ -789,6 +727,5 @@ export default new Set([
|
|||||||
"visitNode",
|
"visitNode",
|
||||||
"visitNodes",
|
"visitNodes",
|
||||||
"visitParameterList",
|
"visitParameterList",
|
||||||
"walkUpLexicalEnvironments",
|
|
||||||
"whitespaceOrMapCommentRegExp",
|
"whitespaceOrMapCommentRegExp",
|
||||||
]);
|
]);
|
||||||
@@ -71,14 +71,6 @@ exports[`export-star-as-string.js [flow] format 1`] = `
|
|||||||
2 |"
|
2 |"
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`export-star-as-string.js [typescript] format 1`] = `
|
|
||||||
"Identifier expected. (1:13)
|
|
||||||
> 1 | export * as 'foo' from 'foo'
|
|
||||||
| ^
|
|
||||||
2 |
|
|
||||||
Cause: Identifier expected."
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`export-star-as-string.js format 1`] = `
|
exports[`export-star-as-string.js format 1`] = `
|
||||||
====================================options=====================================
|
====================================options=====================================
|
||||||
parsers: ["babel", "flow", "typescript"]
|
parsers: ["babel", "flow", "typescript"]
|
||||||
@@ -100,14 +92,6 @@ exports[`export-star-as-string2.js [flow] format 1`] = `
|
|||||||
2 |"
|
2 |"
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`export-star-as-string2.js [typescript] format 1`] = `
|
|
||||||
"Identifier expected. (1:13)
|
|
||||||
> 1 | export * as "foo" from 'foo'
|
|
||||||
| ^
|
|
||||||
2 |
|
|
||||||
Cause: Identifier expected."
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`export-star-as-string2.js format 1`] = `
|
exports[`export-star-as-string2.js format 1`] = `
|
||||||
====================================options=====================================
|
====================================options=====================================
|
||||||
parsers: ["babel", "flow", "typescript"]
|
parsers: ["babel", "flow", "typescript"]
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
runFormatTest(import.meta, ["babel", "flow", "typescript"], {
|
runFormatTest(import.meta, ["babel", "flow", "typescript"], {
|
||||||
errors: {
|
errors: {
|
||||||
flow: ["export-star-as-string.js", "export-star-as-string2.js"],
|
flow: ["export-star-as-string.js", "export-star-as-string2.js"],
|
||||||
typescript: ["export-star-as-string.js", "export-star-as-string2.js"],
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -1,15 +1,5 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`bigint-key.js [typescript] format 1`] = `
|
|
||||||
"Property assignment expected. (1:6)
|
|
||||||
> 1 | a = {1n: ""}
|
|
||||||
| ^
|
|
||||||
2 | a = {1n() {}}
|
|
||||||
3 | a = {get 1n() {}}
|
|
||||||
4 |
|
|
||||||
Cause: Property assignment expected."
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`bigint-key.js format 1`] = `
|
exports[`bigint-key.js format 1`] = `
|
||||||
====================================options=====================================
|
====================================options=====================================
|
||||||
parsers: ["babel", "typescript", "flow"]
|
parsers: ["babel", "typescript", "flow"]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ runFormatTest(import.meta, ["babel", "typescript", "flow"], {
|
|||||||
errors: {
|
errors: {
|
||||||
acorn: ["expression.js"],
|
acorn: ["expression.js"],
|
||||||
espree: ["expression.js"],
|
espree: ["expression.js"],
|
||||||
typescript: ["expression.js", "bigint-key.js"],
|
typescript: ["expression.js"],
|
||||||
meriyah: ["expression.js"],
|
meriyah: ["expression.js"],
|
||||||
flow: ["expression.js"],
|
flow: ["expression.js"],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ export type * as ns from "./mod";
|
|||||||
================================================================================
|
================================================================================
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`export-type-star-from-2.ts [babel-ts] format 1`] = `
|
exports[`export-type-star-from-2.ts format 1`] = `
|
||||||
====================================options=====================================
|
====================================options=====================================
|
||||||
parsers: ["typescript"]
|
parsers: ["typescript"]
|
||||||
printWidth: 80
|
printWidth: 80
|
||||||
@@ -127,13 +127,3 @@ export type * as "ns2" from "./mod";
|
|||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`export-type-star-from-2.ts [typescript] format 1`] = `
|
|
||||||
"Identifier expected. (3:18)
|
|
||||||
1 | // Note: TSC doesn't support string module specifiers yet,
|
|
||||||
2 | // but it's easier for us to support them than not.
|
|
||||||
> 3 | export type * as "ns2" from './mod';
|
|
||||||
| ^
|
|
||||||
4 |
|
|
||||||
Cause: Identifier expected."
|
|
||||||
`;
|
|
||||||
@@ -1,3 +1 @@
|
|||||||
runFormatTest(import.meta, ["typescript"], {
|
runFormatTest(import.meta, ["typescript"]);
|
||||||
errors: { typescript: ["export-type-star-from-2.ts"] },
|
|
||||||
});
|
|
||||||
@@ -7338,7 +7338,7 @@ __metadata:
|
|||||||
tempy: "npm:3.1.0"
|
tempy: "npm:3.1.0"
|
||||||
to-fast-properties: "npm:4.0.0"
|
to-fast-properties: "npm:4.0.0"
|
||||||
ts-expect: "npm:1.3.0"
|
ts-expect: "npm:1.3.0"
|
||||||
typescript: "npm:5.5.4"
|
typescript: "npm:5.6.2"
|
||||||
unicode-regex: "npm:4.0.0"
|
unicode-regex: "npm:4.0.0"
|
||||||
unified: "npm:9.2.2"
|
unified: "npm:9.2.2"
|
||||||
url-or-path: "npm:2.3.0"
|
url-or-path: "npm:2.3.0"
|
||||||
@@ -8643,23 +8643,23 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@npm:5.5.4":
|
"typescript@npm:5.6.2":
|
||||||
version: 5.5.4
|
version: 5.6.2
|
||||||
resolution: "typescript@npm:5.5.4"
|
resolution: "typescript@npm:5.6.2"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: 10/1689ccafef894825481fc3d856b4834ba3cc185a9c2878f3c76a9a1ef81af04194849840f3c69e7961e2312771471bb3b460ca92561e1d87599b26c37d0ffb6f
|
checksum: 10/f95365d4898f357823e93d334ecda9fcade54f009b397c7d05b7621cd9e865981033cf89ccde0f3e3a7b73b1fdbae18e92bc77db237b43e912f053fef0f9a53b
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@patch:typescript@npm%3A5.5.4#optional!builtin<compat/typescript>":
|
"typescript@patch:typescript@npm%3A5.6.2#optional!builtin<compat/typescript>":
|
||||||
version: 5.5.4
|
version: 5.6.2
|
||||||
resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin<compat/typescript>::version=5.5.4&hash=379a07"
|
resolution: "typescript@patch:typescript@npm%3A5.6.2#optional!builtin<compat/typescript>::version=5.6.2&hash=8c6c40"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: 10/746fdd0865c5ce4f15e494c57ede03a9e12ede59cfdb40da3a281807853fe63b00ef1c912d7222143499aa82f18b8b472baa1830df8804746d09b55f6cf5b1cc
|
checksum: 10/8bfc7ca0d9feca4c3fcbd6c70741abfcd714197d6448e68225ae71e462447d904d3bfba49759a8fbe4956d87f054e2d346833c8349c222daa594a2626d4e1be8
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user